[FFmpeg-user] convert HLS stream to UDP
sorin at evox.ro
Thu Nov 12 20:19:27 CET 2015
I am trying to convert (without transcoding) an HLS stream to UDP and
send it to my computer. For that I use this command, unnder Ubuntu 14.04:
-map 0:1 -map 0:2 -c:v:0 copy -c:a:0 copy -f mpegts udp://192.168.2.227:1234
I am then using VLC on Windows to view that stream (udp://:1234).
It does not work, as the video it's all some random colored squares and
audio is just some random noise and cracking.
Using same command to save the file local:
-map 0:1 -map 0:2 -c:v:0 copy -c:a:0 copy test.avi
produces a perfectly readable file that I can view with VLC.
I've tried various options here (with and without transcoding),
multicast... nothing. I get the same unusable video and audio.
Could you tell me what am I missing here? There is no packet loss
between my Windows computer (the one with VLC) and the Ubuntu server.
I've also tried other computers with same result.
Thank you and sorry if this is a trivial question! I do not have
experience playing with video streams, or at least not more than viewing
them in VLC.
More information about the ffmpeg-user