Page 1 of 1

Help - Video Capture from Kworld DVD Maker 2 - Batch

Posted: 21 Aug 2012 04:51
by puck64
Hi All,

I need some HELP.
I am using a Kworld DVD Maker 2 (USB Device) to capture video and audio from an external device (Foxtel).
The supplied software is way too complex for my needs.

O/S is Windows 7 (32 bit)

I can Capture video and audio to a file using the VLC Gui (VLC media player 2.0.2 Twoflower), but I would like to set ud a batch process that would enable me to make the capture a "One Click" solution.

The following is my attempt, but all it does is bring up the GUI and the command window and no capture is done :(
The Kworld DVD MAker 2 appears as "USB Capture Device" in the Device Manager but appears in VLC as "USB 2861 Device" for Video and "Line (2- USB 2861 Device)" for Audio.

I would like to add Deinterlacing (Yadif 2 or Linea) as well as a time limit for the job.

Here is my attempt so far.... not much, I know :D Any HELP would be Very Much Appreciated :?

Code: Select all

set vlc="C:\Program Files\VideoLAN\VLC\vlc.exe" %vlc% -vvv :dshow-vdev="USB 2861 Device" :dshow-adev="Line (2- USB 2861 Device)" :dshow-aspect-ratio=16\:9 :dshow-chroma= :dshow-fps=25 :no-dshow-config :no-dshow-tuner :dshow-tuner-channel=0 :dshow-tuner-frequency=0 :dshow-tuner-country=0 :dshow-tuner-standard=0 :dshow-tuner-input=0 :dshow-video-input=-1 :dshow-video-output=-1 :dshow-audio-input=-1 :dshow-audio-output=-1 :dshow-amtuner-mode=1 :dshow-audio-channels=0 :dshow-audio-samplerate=0 :dshow-audio-bitspersample=0 :live-caching=300{vcodec=MPEG-2,vb=8000,scale=1,acodec=A52/AC-3,ab=320,channels=2,samplerate=48000}:std{access=file,mux=ts,dst="G:\VLC\mytest.mpg"} pause exit
Regards,
Mark

Need some HELP with BATCH

Posted: 24 Aug 2012 08:38
by puck64
Please help.

Re: Help - Video Capture from Kworld DVD Maker 2 - Batch

Posted: 24 Aug 2012 18:46
by Jean-Baptiste Kempf
Isn't that missing a --sout part? and your acodec AND vcodec are worong.

Re: Help - Video Capture from Kworld DVD Maker 2 - Batch

Posted: 27 Aug 2012 10:04
by puck64
Thanl You for the hints - it is very much appreciated.
I will try them when I get time to swap the Foxtel outputs. It's such a Pain, the wife watches 1 output in the bedroom and the other goes to the PVR.
You can't interrupt the wife :-)

Re: Help - Video Capture from Kworld DVD Maker 2 - Batch

Posted: 29 Aug 2012 09:45
by puck64
Hi Jean-Baptiste,

I hope I have your name right!

I had to interrupt the wifes' viewing .... she was not happy

I did some digging around in the forum and found some code, which I amended to mpg and ac3
It dumps the Video and Audio to the screne ... Pretty good stuff :)

Code: Select all

%vlc% dshow:// :dshow-vdev="USB 2861 Device" :dshow-adev="Line (2- USB 2861 Device)" :dshow-aspect-ratio=16\:9:dshow-size="" :dshow-caching=196 :dshow-chroma="" :dshow-fps=0.000000 :no-dshow-config :no-dshow-tuner :dshow-tuner-channel=57 :dshow-tuner-country=44 :dshow-tuner-input=2 :dshow-video-input=-1 :dshow-audio-input=-1 :dshow-video-output=-1 :dshow-audio-output=-1:sout=#transcode:vout-filter=deinterlace :deinterlace-mode=yadif2{vcodec=mp2v,vb=8000,scale=1}acodec=ac3,ab=320,channels=2,samplerate=48000}:duplicate{dst=display,dst=std{access=mmsh,mux=ts,dst=192.168.0.2:1234}} :sout-all
I then further amended it (tried to anyway) to dump the Audio and Video to a local file, no luck, no video output file :(

Please take me by the hand and lead me all the way.... but not up the "garden path"

Code: Select all

%vlc% dshow:// :dshow-vdev="USB 2861 Device" :dshow-adev="Line (2- USB 2861 Device)" :dshow-aspect-ratio=16\:9:dshow-size="" :dshow-caching=196 :dshow-chroma="" :dshow-fps=0.000000 :no-dshow-config :no-dshow-tuner :dshow-tuner-channel=57 :dshow-tuner-country=44 :dshow-tuner-input=2 :dshow-video-input=-1 :dshow-audio-input=-1 :dshow-video-output=-1 :dshow-audio-output=-1:sout=#transcode:vout-filter=deinterlace :deinterlace-mode=yadif2{vcodec=mp2v,vb=8000,scale=1}acodec=ac3,ab=320,channels=2,samplerate=48000}:duplicate{dst=std{access=file,mux=ts,url="G:\VLC\filename.ts"}}:sout-all
Regards,
Mark

Re: Help - Video Capture from Kworld DVD Maker 2 - Batch

Posted: 29 Aug 2012 12:20
by Jean-Baptiste Kempf
Your syntax does not match anything that is correct

Re: Help - Video Capture from Kworld DVD Maker 2 - Batch

Posted: 29 Aug 2012 13:07
by puck64
It can't be too far off....

Both bits of code show video and audio to the GUI.
It seems to me that all I have wrong is the syntax for the output file.

Can you please help me with correct sysntax?

Please, do not be cryptic .... The correct syntax would help other people who are trying to do the same type of thing.

I will post the full and correct solution here for others to use.

Regards
Mark

Video Capture from Kworld DVD Maker 2 - Batch

Posted: 09 Sep 2012 06:00
by puck64
Hi All,

Can Anyone give me the correct syntax?

I am almost bald now :oops:

This is my base code (same as above)

Code: Select all

%vlc% dshow:// :dshow-vdev="USB 2861 Device" :dshow-adev="Line (2- USB 2861 Device)" :dshow-aspect-ratio=16\:9:dshow-size="" :dshow-caching=196 :dshow-chroma="" :dshow-fps=0.000000 :no-dshow-config :no-dshow-tuner :dshow-tuner-channel=57 :dshow-tuner-country=44 :dshow-tuner-input=2 :dshow-video-input=-1 :dshow-audio-input=-1 :dshow-video-output=-1 :dshow-audio-output=-1:sout=#transcode:vout-filter=deinterlace :deinterlace-mode=yadif2{vcodec=mp2v,vb=8000,scale=1}acodec=ac3,ab=320,channels=2,samplerate=48000}:duplicate{dst=display,dst=std{access=mmsh,mux=ts,dst=192.168.0.2:1234}} :sout-all %vlc% dshow:// :dshow-vdev="USB 2861 Device" :dshow-adev="Line (2- USB 2861 Device)" :dshow-aspect-ratio=16\:9:dshow-size="" :dshow-caching=196 :dshow-chroma="" :dshow-fps=0.000000 :no-dshow-config :no-dshow-tuner :dshow-tuner-channel=57 :dshow-tuner-country=44 :dshow-tuner-input=2 :dshow-video-input=-1 :dshow-audio-input=-1 :dshow-video-output=-1 :dshow-audio-output=-1:sout=#transcode:vout-filter=deinterlace :deinterlace-mode=yadif2{vcodec=mp2v,vb=8000,scale=1}acodec=ac3,ab=320,channels=2,samplerate=48000}:duplicate{dst=std{access=file,mux=ts,url="G:\VLC\filename.ts"}}:sout-all

Re: Help - Video Capture from Kworld DVD Maker 2 - Batch

Posted: 20 Sep 2012 01:15
by puck64
Solved....
Here is the code .... 1. Screen Display and File Save
2. File Save only.

Regards,
Mark

Code: Select all

cd c:\program files\videolan\vlc del "c:\TMP\camera1.ts" vlc dshow:// :dshow-vdev="USB 2861 Device" :dshow-adev="Line (2- USB 2861 Device)" :dshow-aspect-ratio=16\:9 :sout=#transcode{vcodec=mp2v,vb=9000,scale=1,fps=25,width=720,height=576,acodec=mpga,ab=320,channels=2,samplerate=48000}:duplicate{dst=file{dst="c:\TMP\camera1.ts"},dst=display} :sout-all :sout-keep pause exit

Code: Select all

cd c:\program files\videolan\vlc vlc dshow:// :dshow-vdev="USB 2861 Device" :dshow-adev="Line (2- USB 2861 Device)" :dshow-aspect-ratio=16\:9 :sout=#transcode{vcodec=mp2v,vb=9000,scale=1,fps=25,width=720,height=576,acodec=mpga,ab=320,channels=2,samplerate=48000}:duplicate{dst=file{dst="c:\TMP\camera1.ts"}} :sout-all :sout-keep pause exit

Re: Help - Video Capture from Kworld DVD Maker 2 - Batch

Posted: 06 Oct 2012 13:50
by puck64
See my post for at viewtopic.php?f=14&t=104411&p=355038#p355038 for the solution

Mark