Jan Rottschaefer wrote:
Hi,

maybe this is only a small one but i could not find a solution so far:

I have a problem with converting avi's to mpeg . I am recording from my tv-card (haupauge pci) to an avi file using streamer from xawtv and want to convert it using mjpeg tools to a mpeg file and burn it to a SVCD DVD.

When i record one hour with

streamer -t 1:00:00 -s 480x576 -r 25 -j 85 -f mjpeg -F stereo -o testy.avi

i get a 6 to 7Gig avi file. Next step i extract video and audio using:

lav2wav +p testy.avi | mp2enc -o testy.mp2

lav2yuv +p testy.avi | mpeg2enc -f8 -b4000 -o testy.m1v

and after that i am using mplex and dvdauthor to finalize it...

mplex -f8 testy.mp2 testy.m1v -o testy.mpg
dvdauthor -o testy -v 480x576+pal+4:3 -a mp2+de testy.mpg
dvdauthor -o testy -T

Now the DVD seems to look fine but only the first 17 to 20 minutes of the original material are on the final disk. It seems that after extracting 2Gig of the the 6Gig avi (~20 minutes equals one third of an hour) the

lav2yuv +p testy.avi | mpeg2enc -f8 -b4000 -o testy.m1v

stops. Now what i did was rechecking the ./configure script of the mjpeg build for large file support options but I could only find a "disable" option. Anyhow I tried the following

./configure --prefix=/usr/local/mjpeg/1.6.2/ --enable-largefile=yes

but still when I am doing the extraction of the video part the final result contains not more than 20 minutes of film sequence.

I assume that the large file support should be turned on per default ?? I do not have a problem with large files with other applications on my system (debian woody running 2.6.10) like tar , samba, dd etc. so generally spoken it should be ok. Maybe i am wrong but am i running into a 2gig issue here? Is there something missing in my ./configure script?

Sounds like the 2 GB file size limit... You could try mencoder from the mplayer package. I find it to be quite poor at recording video (doesn't seem to know how to deal with variable A/V sync issues resulting from dropped frames, so resyncing later is unfeasibly difficult), but I have always found it to be VERY good transcoding video that is already well synced into a different format (I used it for transcoding to VCD).


HTH.

Gordan


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to