Page 1 of 1
Problems multicasting to LAN
Posted: 29 Mar 2012 22:11
by mohawk24
Hi All, looking for some help to solve my multicasting issues...here is the environment
Laptop running ubuntu 11.10, vlc 2.0, multicasting on local lan thru kr2 router that supports igmp,
Trying to multicast to 239.16.6.6:1234, using following string in vlc
vlc -vvv pvr:///dev/video0 :bitrate=7000000 :maxbitrate=8000000 --sout '#standard{access=udp,mux=ts,dst=239.16.6.6:1234}' --ttl 1 --cr-average 10000
utilizing the hd pvr from hauppage as source device.
vlc starts streaming and shows locally, but when i try to access the stream from a different laptop using vlc it wont connect.
Is there a way in ubuntu to show if it is actually going out??
in media information in vlc it shows the data being processed however nothing being output
in netstat it doesnt show the stream in network services, or multicast.
What else can i use to determine if it is actually going out to network?? and how do i fix this issue.
Any help would be extremely helpful.
Re: Problems multicasting to LAN
Posted: 29 Mar 2012 22:41
by Rémi Denis-Courmont
sudo iptraf
Re: Problems multicasting to LAN
Posted: 29 Mar 2012 22:45
by mohawk24
command not found
ubuntu 11.10 terminal comes back that this command is not found??
any other ideas...
Re: Problems multicasting to LAN
Posted: 30 Mar 2012 15:52
by mohawk24
Ok so i have managed to get the file to start streaming thru lan with following command
cat /dev/video1 | ffmpeg -i - -vcodec copy -sameq -acodec copy -f mpegts udp://239.16.6.6:1234
now i get black screen on receiving pc it sees the stream but cannot play video
sending machine states
main warning: trying to send non-dated packet to stream output!
any ideas??
Re: Problems multicasting to LAN
Posted: 30 Mar 2012 17:48
by mohawk24
This is what i get when i try to use v4l2
v4l2 warning: Could not select any of the default chromas; attempting to open as MPEG encoder card (access)
v4l2 warning: Unable to query for frame sizes
v4l2 warning: Unable to query for frame sizes
v4l2 warning: Unable to query for frame sizes
v4l2 warning: Unable to query for frame sizes
v4l2 warning: Could not select any of the default chromas; attempting to open as MPEG encoder card (access)
v4l2 warning: Interlacing setting: unknown type (0)
ts warning: lost synchro
ts error: MPEG-4 descriptor not found
v4l2 warning: Unimplemented query in control(4097).
ts warning: first packet for pid=4113 cc=0x3
ts warning: first packet for pid=4352 cc=0xe
main error: cannot add this stream
main error: cannot create packetizer output (s16l)
Re: Problems multicasting to LAN
Posted: 30 Mar 2012 19:52
by mohawk24
also is there a command line to force vlc to record from the hd pvr composite input???
I could not get this to work only the component inputs worked
Is there a command line out there that should work for me??? i have tried all of the following:
vlc -vvv pvr:///dev/video0 :bitrate=7000000 :maxbitrate=8000000 --sout '#standard{access=udp,mux=ts,dst=239.16.6.6:1234}' --ttl 1 --cr-average 10000
Does not seem to go to LAN
cat /dev/video0 | ffmpeg -i - -vcodec copy -sameq -acodec copy -f mpegts udp://127.0.0.1:1234 ----this one works... but black screen only on client end, has
main warning: trying to send non-dated packet to stream output!
vlc udp://@224.1.1.1:1234 -vv --sout-mux-caching=5000 --sout "#standard{access=udp,mux=ts,dst=239.16.6.6:1234}" –ttl 5 –cr-average 10000
does not work
cat /dev/video0 :bitrate=7000000 :maxbitrate=8000000 --sout '#standard{access=udp,mux=ts,dst=239.16.6.6:1234}' --ttl 1 --cr-average 10000
does not work
vlc -vvv 4l2:////dev/video1 | ffmpeg -i - -vcodec copy -sameq -acodec copy -f mpegts udp://239.16.6.6:1234
creates above errors...
Im really getting frustrated have exhausted a lot of different options to no avail....any help would be extremely appreciated.