Page 1 of 1

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

Posted: 28 Jul 2011 20:16
by maitrepiet
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?

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

Posted: 29 Jul 2011 14:35
by Jean-Baptiste Kempf
look at the logs in the message window to see the issue...

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

Posted: 30 Jul 2011 16:33
by maitrepiet
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.

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

Posted: 30 Jul 2011 16:55
by RĂ©mi Denis-Courmont
You cannot use PCM and DV inside MPEG-TS.

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

Posted: 30 Jul 2011 22:10
by maitrepiet
Ah!
That explains. I knew HDV was mpeg2 TS. So I was incorrectly assuming this was also the case for DV.

Thanks!