streaming of (H)DV cam using dshow://

About encoding, codec settings, muxers and filter usage
maitrepiet
Blank Cone
Blank Cone
Posts: 69
Joined: 27 Oct 2009 14:44

streaming of (H)DV cam using dshow://

Postby maitrepiet » 28 Jul 2011 20:16

Hi all,
I have this weird problem:
I have a PC i5 with Windows 7.

I start to stream my video camera connected to the PC through IEEE1394, using the below command line.
"C:\Program Files\VideoLAN\VLC\vlc.exe" dshow:// --dshow-vdev="Sony HDR-HC5E" --sout=#rtp{dst=229.0.0.1,port=1234,mux=ts} :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep
I then connect an other vlc player instance on the same PC and connect to rtp stream.
When my camera is in High Definition (HDV) mode, it is recognized by dshow as "Sony HDR-HC5E", and everything works fine.

However,
when I use my camera in standard DV mode, it is recognized by dshow as "Microsoft DV Camera and VCR", and the streaming does not work.
If I try it with local playback, it is displayed correctly. Somehow either, the streaming does not happen, or the reception of the stream does not work.

"C:\Program Files\VideoLAN\VLC\vlc.exe" dshow:// --dshow-vdev="Microsoft DV Camera and VCR" --sout=#rtp{dst=229.0.0.1,port=1234,mux=ts} :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep

The only difference is the mode in which the camera is, and how it is recognized by dshow.

Any one knows what could be the problem?

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: streaming of (H)DV cam using dshow://

Postby Jean-Baptiste Kempf » 29 Jul 2011 14:35

look at the logs in the message window to see the issue...
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.

maitrepiet
Blank Cone
Blank Cone
Posts: 69
Joined: 27 Oct 2009 14:44

Re: streaming of (H)DV cam using dshow://

Postby maitrepiet » 30 Jul 2011 16:33

I get:
main mux error: cannot add this stream
stream_out_rtp stream out error: cannot add this stream to the muxer
main decoder error: cannot create packetizer output (s16l)
main mux error: cannot add this stream
stream_out_rtp stream out error: cannot add this stream to the muxer
main decoder error: cannot create packetizer output (dv )

I get no error when I put the camera to HDV.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: streaming of (H)DV cam using dshow://

Postby Rémi Denis-Courmont » 30 Jul 2011 16:55

You cannot use PCM and DV inside MPEG-TS.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

maitrepiet
Blank Cone
Blank Cone
Posts: 69
Joined: 27 Oct 2009 14:44

Re: streaming of (H)DV cam using dshow://

Postby maitrepiet » 30 Jul 2011 22:10

Ah!
That explains. I knew HDV was mpeg2 TS. So I was incorrectly assuming this was also the case for DV.

Thanks!


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 11 guests