[Mjpeg-users] Create an audio only VCD/SVCD using mjpegtools?

2004-01-26 Thread Steven Ellis
Anyone tried this. My old DVD player won't support MP3 playback and I want
to build a single disk for a party with a couple of hours worth of audio.

Ideally I want individual tracks so that I can simply hit random, but if
that won't work then a sequence of VCD/SVCD/DVD movies with a single image
and the appropriate audio would probably suffice.

Has anyone tried this under Linux?

Steve




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] Best capture tools under Linux for V4L2?

2004-06-21 Thread Steven Ellis
Ok first up sorry for the cross post. I read all these lists and I feel 
this is a suitable subject for them all. Also sorry about the length, 
but I had quite a few things to cover off

Been playing with numerous tools over the last few years, and whilst i'm 
reasonably happy with the quality i'm getting at the moment, it still 
isn't quite there.

HW - Athlon XP 2.8, SAA7134 based capture, TNT2-M64 graphics, 512Mb Ram.
OS - RedHat 9.0 with a 2.4.26 kernel with v4l2/saa7134 patches
Storage - 80 Gb Seagate 7200 rpm ATA 100 HD (capture only, additional 
drives present for system and long term storage) - dedicated ide channel.

Now I know the graphics card is a little ancient but hey it works well 
enough for my editing.

Requirements

Full screen D1 PAL Capture with 48000Hz Audio, to be transcoded into 
DVD. Zero frame drops or under 5 frames/hour. Accurate sync. Lossless, 
or close to lossless.

Tools - Capture
---
ffmpeg - Never happy with the level of control or the poor v4l2 support 
when i've tried it in the past. Has this gotten a lot better. Remember 
the frame drop requirements.

mencoder - Also strange v4l2 problems so I haven't used it in quite some 
time.

lavrec - Way too many frame drops. Don't understand why. Can someone 
give me some tips on how to best tweak this.

nvrec - Used this for quite a while, especially when some of the ffmpeg 
codecs worked with it. Generally ok at 1/2 D1 but struggled at D1. Used 
to capture 1/2 D2 to produce CVD disks, but aiming for DVD quality now.

ffv1rec - A by-product of the avidemux tools (http://avidemux.sf.net). 
Based on nvrec (nuppel container) with a lot of codecs supported (MJPEG, 
HUFFYUV, FFV1, MPEG4, XVID). Now this tool i've used the most of late 
and so i'll talk about it a bit more. It has all the great sync features 
of nuvec with the added bonus of better codec support. Plus 'mean' is a 
great developer.

ffv1rec + FFV1 - Hammers the hell out of the machine. Requires too much 
CPU but produces great size lossless files. Speeding this code up (a 
lot) would be wonderful

ffv1rec + HUFFYUV - Great quality, hammers the HD instead. Had some RAID 
0 problems so i've dropped back to a single drive at the moment. Ok for 
shows upto 30 minutes but after thay I usually get loads of frame drops.

ffv1rec + MPEG4 - Using the ffmpeg MPEG4 support is pretty damn awesome. 
Biggest problem are badly encoded interlaced artifacts. Turning on the 
interlaced video support is usually too much of a CPU hit.

ffv1rec + XVID - Similar to MPEG4. Some people prefer it. Haven't tried 
it with XVID 1.0 yet.

ffv1rec + MJPEG - Currenly my standard for longer captures (over 1/2 hr) 
but even though I use the highest quality setting i'm not happy with the 
video. Too many problems with dark areas, but better handling of 
interlaced video than MPEG4

ffv1rec + LJPEG - modified the source to add Lossless MJPEG support. 
Great video but not enought CPU. Real shame.

ffv1rec + MPEG2 - Again tried to modify the source, but haven't got it 
working yet.

Tools - Editing/Tweaking

MPlayer - Together with mencoder. Great at tweaking/playing broken video 
streams.

ffmpeg - Need I say more. Awesome guys
Avidemux2 - Currently the only gui based tool I generally use. Plus the 
only tool that reads the ffv1rec nuppel based files. Great VirtualDub 
style tool (cheers mean). The filters here really help clean things up.

lverequant - Great for shrinking MPEG2 encodes slightly and quickly to 
fit on a DVD.

dvdauthor - Well I am aiming for DVD aren't I.
Editing Process
---
Typical process to produce a decent DVD capable MPEG2.
1. Load ffv1rec generated nuppel video file into avidemux2 and produce 
index.
2. Clean up the framing by blackening borders or junke, and hard framing 
if it is widescreen.
3. Take out adverts (oh the joys of commercial television) or clean up 
edits.
4. Add a deinterlace filter if video is suitable - improves compression 
dramatically if the video source is clean enough
5. Add a decent filter to clean up colour issues etc (gotta luv 
capturing on a windy night).
6. Render Audio to decent rate AC3 (192k or above)
7. Render Video to suitable size MPEG2 file (between 1Gb and 1.3Gb for a 
typical 45 Minute show).
8. Mplex to a DVD MPG file and burn away.

The Issues
--
1. The better quality codecs keep resulting in frame drops. Some due to 
CPU (FFV1 + LJPEG) others due to data rate (HUFFYUV).

2. No equivalent to the high performance lossless MJPEG codecs available 
on windows like PicVideo.

3. Current solutions (MJPEG / MPEG4 / XVID) have interlace video issues 
or dark area encoding problems.

4. No suitable real-time software MPEG2 solution at this stage.
5. FFMPEG has a much quicker MPEG2 renderer than MJPEG Tools, but it 
still isn't quite standards compliant enough for my Philips DVD 711.

Solutions ?
---
1. Software equivalent to Current HW MPEG2 solutions. Capture at high 
bitrate 

Re: [Mjpeg-users] Best capture tools under Linux for V4L2?

2004-06-22 Thread Steven Ellis
On Tue, 2004-06-22 at 17:45, Steven M. Schultz wrote:
> On Tue, 22 Jun 2004, Steven Ellis wrote:

>   Get yourself a IEEE1394 card (very cheap) and a Canopus ADVC100 or 
>   even better (but somewhat more expensive) ADVC300 analog to DV 
>   converter.  The ADVC300 has a TBC and denoising capability built in
>   so it's well suited to convering VHS tapes which have less than great
>   picture stability/quality.


Well thanks for the interesting tip. Already considered this angle and
there are a couple of issues.

1. Can't really build a PVR around this, which is part of the long term
goal.

2. Its too expensive here in NZ (NZ$ 600)

On the firewire front already use it for my digital work.

Wonder if anyone has played with realtime capture to DV from an analog
card?

Steve

-- 
Steven Ellis <[EMAIL PROTECTED]>



---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Best capture tools under Linux for V4L2?

2004-06-23 Thread Steven Ellis
On Wed, 2004-06-23 at 16:12, Steven M. Schultz wrote:
> On Tue, 22 Jun 2004, Trent Piepho wrote:
> 

>   DV has the extra 8 pixels on each side of a 704x480 frame but 
>   Bt8x8 cards converting an analog signal shouldn't be giving out
>   720x480 unless the right and left 8 pixels are black and the center
>   704 are the actual data.   I wouldn't be surprised if something is
>   padding/scaling things up a bit.  One app I had (on another OS)
>   very carefully padded the 29.97... up to 30 :(

Oooo Gotta love those rounding errors..

-- 
Steven Ellis <[EMAIL PROTECTED]>



---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Re: 24fps vs 30fps - why bother? :)

2005-06-27 Thread Steven Ellis


Really interesting thread on the strengths and weaknesses of different 
ways to encode material.


Have any of you looked at the two pass MPEG2 code used in avidemux2. Its 
based on the mjpeg project, borrowing a 2 pass engine from XviD I 
belive. Anyhow I use this a  lot when targetting final file size.


One useful feature is it outputs a statistics file with the final MPEG 2 
file when running in 2 pass mode so you get some idea of how efficient 
the encode has been.


For example I take an off air D1 PAL video capture, edit out adverts to 
45 minutes approx


1. Clean up the black borders, ie remove non-visible junk.

2. Use the DGraft Kern Deinterlacer filter  -

Yes I know I should leave it interlaced, but a lot of my material was a 
film -> TV transfer and de-interlaces really well.


3. Use the Mplayer HQ Denoise filter.

4. Encode to MPEG 2, target filesize of 1300 (3 episodes per DVD with 
Audio), Max Bitrate 8000


Now if the video is left interlaced I get an average Q of 8 with, and 
generally average video quality.


With the deinterlaced video I get an average Q of 3-4 and pretty damn 
good video quality.


Have a play and see what you think. It also has useful filters for 
telecine etc.


Steve



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] Equivalent to Womble's GOP fix tool?

2008-05-04 Thread Steven Ellis
The Womble MPEG video wizard (http://www.womble.com/products/mvw.html) has
a GOP fix tool that is very useful when trying to make selected MPEG2 DVB
streams DVB compliant.

One issue here in NZ is that one of the broadcasters is now using a rather
large variable GOP size which means the MPEG2 streams are a long way from
being DVD compliant.

If I run the stream through ProjectX to make a PS file, and then through
Womble under Windows the file can then be authored to DVD, but it makes it
a very lengthy process.

Any ideas on Linux tools for this job.

Steve



-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Equivalent to Womble's GOP fix tool?

2008-05-04 Thread Steven Ellis
On Mon, May 5, 2008 15:52, Steven Ellis wrote:
> The Womble MPEG video wizard (http://www.womble.com/products/mvw.html) has
> a GOP fix tool that is very useful when trying to make selected MPEG2 DVB
> streams DVB compliant.
>
> One issue here in NZ is that one of the broadcasters is now using a rather
> large variable GOP size which means the MPEG2 streams are a long way from
> being DVD compliant.
>
> If I run the stream through ProjectX to make a PS file, and then through
> Womble under Windows the file can then be authored to DVD, but it makes it
> a very lengthy process.
>

It appears this issue also occurs on the UK when GOP sizes were increased
on DVB-T - http://www.digitalspy.co.uk/forums/showthread.php?t=213595

Steve

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Equivalent to Womble's GOP fix tool?

2008-05-08 Thread Steven Ellis
On Thu, May 8, 2008 02:57, Bernhard Praschinger wrote:
> Hallo
>
>
> Steven Ellis wrote:
>> The Womble MPEG video wizard (http://www.womble.com/products/mvw.html)
>> has
>> a GOP fix tool that is very useful when trying to make selected MPEG2
>> DVB
>> streams DVB compliant.
>>
>> One issue here in NZ is that one of the broadcasters is now using a
>> rather
>> large variable GOP size which means the MPEG2 streams are a long way
>> from
>> being DVD compliant.
>>
>> If I run the stream through ProjectX to make a PS file, and then through
>> Womble under Windows the file can then be authored to DVD, but it makes
>> it
>> a very lengthy process.
>>
>> Any ideas on Linux tools for this job.
> No idea.
>
> I do not know of any tool that is able to change the gop structures
> without the step of decoding it to yuv.

Well I've played with Womble and it appears to be too quick to be
performing a full re-encode. Makes we wonder what smarts it has

> Here they usually use a to high framerate, so they don't fit to a DVD. I
> always reencode what I record.

Thankfully our bitstreams are usually 4.5-6.5 Mbit so perfect for DVD if
the GOP size was correct

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Interlaced DVD

2003-12-11 Thread Steven Ellis
> Given some of the problems I've been having with yuvkineco I thought I'd
> try using mpeg2enc with -I 1 and pass it interlaced material.
>
> So I ran the following sequence:
>
> exportvideo -D 0 -Y 2 {filename} | mpeg2enc -f 8 -i 1 -q 4 -g 6 -G 18 -n
> n -F 4 -a 2 -s
>
> When I play this on my computer it looks bad - which I would have
> expected.  So I burned it to DVD, popped it in the player, and it looks
> even worse...any motion is really odd looking - as if it is moving
> foward, backing up, then moving forward again.  I tried various things
> with 'yuvcorrect' to change the interlacing options and get the same
> result.
>
> Is mpeg2enc supposed to be able to handle interlaced material for DVD?
> Or does that only work for SVCD?  I was looking around at the code and
> it seemed like it expects progressive frames whenever -f 8 is used.

DV has the opposite field order to anlogue video for some (stupid) reason.
So either deinterlace, or I belive there is an option to switch the field
order on the encoder to fix this..

Steve




---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users