[vlc] stupid question re v4l->deinterlace->transcode->sout

Paul Forgey paulf at aphrodite.com
Sun Jun 1 10:10:10 CEST 2003


I'm successfully transcoding a v4l source into mp4v and streaming it  
(and I'm extremely impressed that ffmpeg can do this in real time with  
640x480 at decent quality, by the way :).  I'm trying to figure out how  
to hook up the command line options to have the deinterlacer come in  
before the mp4v codec.  I know the client end can de-interlace, but  
there are all sorts of reasons to deinterlace _before_ the encoder, not  
after.

In other words, I'm after a chain which looks like this:  
v4l->deinterlace->transcode->sout

Here's what I've got right now, which is encoding the interlaced video  
source ($1 is my shell script arg):

vlc v4l:/dev/video0:norm=ntsc:channel=2:size=vga:adev=/dev/dsp --sout  
'#transcode{vcodec=mp4v,keyint=150,vb=2000,bt=800000,acodec=mpga,ab=128} 
:std{access=udp,mux=ts,url='$1'}'

..which sends to $1 the SVHS input of my bttv card at 640x480.  Adding  
this to the command line seems to have no effect:

vlc v4l:/dev/video0:norm=ntsc:channel=2:size=vga:adev=/dev/dsp  
--deinterlace=mean --sout  
'#transcode{vcodec=mp4v,keyint=150,vb=2000,bt=800000,acodec=mpga,ab=128} 
:std{access=udp,mux=ts,url='$1'}'

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list