[mythtv] cutlists and transcoding

Geoffrey Hausheer ou401cru02 at sneakemail.com
Mon Aug 18 11:54:59 EDT 2003


On Sun, 17 Aug 2003 14:41:43 -0700, "Chris Petersen
lists-at-forevermore.net |mythtv/1.0-Allow|"
<o8f8hesx3k0t at sneakemail.com> said:
> mkdir fifo
> mythtranscode -f fifo -s ......
> 
> nice -n 19 ffmpeg -f rawvideo -s 640x480 -r 29.97 -i fifo/vidout \
>  -f yuv4mpegpipe - | nice -n 19 yuvscaler -v 0 -n n -M BICUBIC -O SVCD \
>  | nice -n 19 mpeg2enc --format 5 --quantisation 10 --video-bitrate 2500
>  \
>  --aspect 2 --frame-rate 4 --interlace-mode 0 \
>  --motion-search-radius 32 --video-buffer 300 --nonvideo-bitrate 192 \
>  --sequence-length 795 --multi-thread 2 -o test.mpv
> 
> nice -n 19 toolame -m j -b 192 fifo/audout test.mp2
> 
> lastly, when things are done:
> 
> tcmplex -m s -i test.mpv -p test.mp2 -o test.mpg
> 
> use tcmplex (mplex sucks for svcd)
> 
Ughh...no wonder you're using so much memory.  This is the same as doing
a 'cat audout > file', something I explicitily warned against doing.  I
will give you a method to do this though.  Spent my free time this
weekend trying (and failing) to get my PVR250 running on my 2.5.73 kernel
(while keeping my bttv card working too), so I have to get my box back in
wrking order first.  I'll work up a patch that will let the above use
much less memory.

As for the audio sync, it'll take longer to get working, but I'll try. 
In general, you should get better quality using this method than
mencoder, but the difference will depend alot on what formats you are
working with, and what you are trying to accomplish.

.Geoff


More information about the mythtv-dev mailing list