I hope someone can help me with this
I am using VLC 2.2.4 Weatherwax (64bit) on Windows 10 64Bit Pro .
I used to use the following (on Windows 7 32Bit) to capture Video and Audio from a set top box, but it no longer works....
Code: Select all
IF "%watch%"=="y" (
%VLC% --run-time=%sec% dshow:// :dshow-vdev="USB 2861 Device" :dshow-adev="Line (3- USB 2861 Device)" :dshow-aspect-ratio=16\:9 :sout=#transcode{vcodec=mp2v,vb=6000,scale=1,fps=25,width=720,height=576,acodec=mpga,ab=320,channels=2,samplerate=48000}:duplicate{dst=file{dst="g:\vlc\%file_name%.ts"},dst=display} :sout-all :sout-keep --no-overlay --deinterlace={-1} --deinterlace-mode={yadif2x} vlc://quit
) ELSE (
%VLC% --run-time=%sec% dshow:// :dshow-vdev="USB 2861 Device" :dshow-adev="Line (3- USB 2861 Device)" :dshow-aspect-ratio=16\:9 :sout=#transcode{vcodec=mp2v,vb=6000,scale=1,fps=25,width=720,height=576,acodec=mpga,ab=320,channels=2,samplerate=48000}:duplicate{dst=file{dst="g:\vlc\%file_name%.ts"}} :sout-all :sout-keep --qt-start-minimized --no-overlay --deinterlace={-1} --deinterlace-mode={yadif2x} vlc://quit
)
"Capture failed:
The device you selected cannot be used, because its type is not supported."
I can Record Video and Audio via "Media -> Open Capture Device... -> Direct Show.... USB 2861 Device and Line (3-USB 2861 Device) and use the "Record Button" but I get an AVI File. MPG would be preferred.
Code: Select all
General
Complete name : F:\VLC\vlc-record-2016-09-07-09h52m54s-dshow___-.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 6.02 GiB
Duration : 5mn 9s
Overall bit rate : 167 Mbps
Video
ID : 0
Format : YUV
Codec ID : YUY2
Codec ID/Info : YUV 4:2:2 as for UYVY but with different component ordering within the u_int32 macropixel
Duration : 5mn 9s
Bit rate : 159 Mbps
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 5:4
Frame rate : 25.000 fps
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:2
Compression mode : Lossless
Bits/(Pixel*Frame) : 15.361
Stream size : 5.73 GiB (95%)
Audio
ID : 1
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 1
Duration : 5mn 9s
Bit rate mode : Constant
Bit rate : 1 411.2 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Stream size : 52.0 MiB (1%)
Alignment : Aligned on interleaves
Mark