VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. I currently use this process to make SVCD's from my tv capture card but would like to know how to get rid of the need for having a stream.yuv file


    ################################################## #

    mencoder -tv on:driver=v4l:width=480:height=480:input=1:norm=nt sc:amode=1:adevice=/dev/dsp:fps=29.97 -oac copy -o recording.raw.avi -ovc lavc -lavcopts vcodec=huffyuv:keyint=300:vstrict=-1

    ## edit out commercials and stream copy to recording.avi with avidemux##

    mplayer recording.avi -ao pcm -aofile stream.wav -vo null
    mplayer recording.avi -vo yuv4mpeg -nosound
    mpeg2enc -o video.m2v -f 4 -q 2 -I 1 -V 200 -n n -F 4 -r 32 -4 1 -2 1 -b 2400 stream.yuv --correct-svcd-hds --aspect 2
    cat stream.wav | mp2enc -v 2 -b 96 -o sound.mp2
    mplex -f 4 sound.mp2 video.m2v -o svcd.mpg
    vcdimager -t svcd svcd.mpg

    ##################################

    Any other ways to optomize quality would help including a way to de-interlace the video without reencoding with avidemux
    Quote Quote  
  2. -q 2 ... -b 2400 ???
    such a low bitrate with such a high quality setting ... will not work ver well IMHO, you should choose a higher q . It lowers quantization and quality, but makes mpeg2enc spend less bitrate on low motion scenes.

    For deinterlacing and denoising, well, you can use the various filters from the mjpegpackage, like yuvdenoise, which is able to de-interlace. Use it via pipe ( yuvdenoise | mpeg2enc ...)

    The recent CVS version of mjpegtools contain even some more filters. They will lower the encoding speed, however, especially on single processor machines.
    Adrian
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!