[<<][pool][>>][..]
Sun Apr 20 20:41:46 EDT 2008

mjpegtools

dvd authoring. maybe time to figure out how to link packetforth to
mjpegtools?

1st attempt: without switches, gives mpeg1

2nd attempt:

 lav2yuv mvi_1271.avi | mpeg2enc -f 8 -n n -o test.mpg
 lav2wav mvi_1271.avi | mp2enc -V -o test.mp2

lav2wav complains:

**ERROR: [lav2wav] Input file(s) must have 16 bit audio!

get it out with mencoder or ffmpeg?

mencoder \
-of mpeg -mpegopts format=dvd:tsaf \
-lavcopts vcodec=mpeg2video:vbitrate=9800

mencoder \
-ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=9800 \
-oac pcm \
-of mpeg -mpegopts format=dvd:tsaf \
mvi_1271.avi -o test2.mpg

this hangs..

updating, taking mplayer from lenny.

myabe the smoothest ride is to use mencoder to produce raw files, then
use mpeg2enc and mp2enc ?

upgraded dev-SVN-r25315 from debian-multimedia.org, still hangs

damn minefield..

EDIT: dump audio from movie
mplayer -vc null -vo null -ao pcm -benchmark test.avi

WTF?

.. and this dumps core:
 mencoder -dumpaudio -dumpfile test4.wav mvi_1271.avi

i got something working now:

dvd_ntsc_half () {
    mencoder \
	$1 \
        -vf scale=352:240 \
	-ovc lavc -oac lavc \
        -of mpeg -mpegopts format=dvd:tsaf \
        -srate 48000 \
        -lavcopts \
vcodec=mpeg2video:\
vbitrate=4800:\
vrc_maxrate=9800:\
vrc_buf_size=1835:\
keyint=18:\
aspect=4/3:\
acodec=ac3:\
abitrate=192  \
	-o $2
}


EDIT:

changing to 30000/1001 and using dvdauthor:

dvdauthor -o dvd -t easter3.vob ...
...
dvdauthor -o dvd -T

mkisofs -dvd-video -udf -o dvd.iso dvd/




[Reply][About]
[<<][pool][>>][..]