[vlc] Capturing mulitple video streams

Christopher Brooks cab938 at mail.usask.ca
Mon Feb 5 17:54:40 CET 2007


Hi,

I'm trying to capture from three different streams to three different files
at once.  Two of the streams are video (one from a capture card, the other
from an external usb device), and one of the streams is audio (from a sound
card).  I've got (with the help of this list), a VLM that worked for two
streams, but when I add the second video stream (from the framegrabber), it
doesn't seem to save it correctly.  Here's my VLM file:

#if dshow input isn't 2, then you get b&w
new main broadcast enabled
setup main input "dshow://"
setup main option "dshow-vdev=Hauppauge WinTV PVR PCI II Capture"
setup main option "dshow-adec=none"
setup main option "dshow-video-input=2"
setup main output
#transcode{vcodec=mp2v,vb=1024,scale=1,acodec=mpga,ab=128,channels=2}:standa
rd{access=file,url=c:\lecturevideo.mpg}


new odd broadcast enabled
setup odd input "dshow://"
setup odd option "dshow-adev=SB Live! Audio [D800]"
setup odd option "dshow-vdev=none"
setup odd output
#transcode{vcodec=mp2v,vb=1024,scale=1,acodec=mp3,ab=192,channels=2}:standar
d{access=file,url=c:\lectureaudio.mpg}

new epiphan broadcast enabled
setup epiphan input "dshow://"
setup epiphan option "dshow-vdev=VGA2USB by Epiphan Systems Inc."
setup epiphan option "dshow-adec=none"
setup epiphan output
#transcode{vcodec=mp2v,vb=1024,scale=1,acodec=mpga,ab=128,channels=2}:standa
rd{access=file,url=c:\screen.mpg}

control odd play
control main play
control epiphan play


Here is the output from ffmpeg:

Input #0, mpeg, from 'screen.mpg':
  Duration: 00:16:22.0, start: 1055.004944, bitrate: 134 kb/s
  Stream #0.0[0x1c0]: Audio: mp2, 44100 Hz, stereo, 128 kb/s
Input #0, mpeg, from 'lectureaudio.mpg':
  Duration: 00:16:33.4, start: 1048.380411, bitrate: 198 kb/s
  Stream #0.0[0x1c0]: Audio: mp3, 44100 Hz, stereo, 192 kb/s
Input #0, mpeg, from 'lecturevideo.mpg':
  Duration: 00:16:40.2, start: 1048.996389, bitrate: 862 kb/s
  Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480, 104857 kb/s,
29.92 fps(r)
  Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 128 kb/s

As I see this I am wondering what VLC will do if the capture device can't
live up to the high frame rate required by mpeg2 - I'm sure our framegrabber
can only do 10fps at best, will changing formats help with this?  (guess
that is on todays agenda...).

Chris
--
Christopher A. Brooks
Research Officer, ARIES Group
University of Saskatchewan 
 
Email: cab938 at mail.usask.ca
Mail: Christopher Brooks
  Department of Computer Science
  University of Saskatchewan
  57 Campus Drive
  Saskatoon, Saskatchewan, S7N 5A9
  Canada  


-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list