Help - Video Capture from Kworld DVD Maker 2 - Batch

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
puck64
Blank Cone
Blank Cone
Posts: 17
Joined: 21 Aug 2012 03:41

Help - Video Capture from Kworld DVD Maker 2 - Batch

Postby puck64 » 21 Aug 2012 04:51

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

puck64
Blank Cone
Blank Cone
Posts: 17
Joined: 21 Aug 2012 03:41

Need some HELP with BATCH

Postby puck64 » 24 Aug 2012 08:38

Please help.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 24 Aug 2012 18:46

Isn't that missing a --sout part? and your acodec AND vcodec are worong.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

puck64
Blank Cone
Blank Cone
Posts: 17
Joined: 21 Aug 2012 03:41

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

Postby puck64 » 27 Aug 2012 10:04

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 :-)

puck64
Blank Cone
Blank Cone
Posts: 17
Joined: 21 Aug 2012 03:41

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

Postby puck64 » 29 Aug 2012 09:45

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 29 Aug 2012 12:20

Your syntax does not match anything that is correct
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

puck64
Blank Cone
Blank Cone
Posts: 17
Joined: 21 Aug 2012 03:41

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

Postby puck64 » 29 Aug 2012 13:07

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

puck64
Blank Cone
Blank Cone
Posts: 17
Joined: 21 Aug 2012 03:41

Video Capture from Kworld DVD Maker 2 - Batch

Postby puck64 » 09 Sep 2012 06:00

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

puck64
Blank Cone
Blank Cone
Posts: 17
Joined: 21 Aug 2012 03:41

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

Postby puck64 » 20 Sep 2012 01:15

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

puck64
Blank Cone
Blank Cone
Posts: 17
Joined: 21 Aug 2012 03:41

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

Postby puck64 » 06 Oct 2012 13:50

See my post for at viewtopic.php?f=14&t=104411&p=355038#p355038 for the solution

Mark


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 57 guests