Cannot view MPEG transport stream
Posted: 24 Feb 2015 03:33
Stream any h264 file using ffmpeg.
eg. ffmpeg -f h264 -i slamtv60.264 -vcodec copy -f mpegts udp://234.42.42.1:1234
this can be played with ffplay
eg. ffplay -f mpegts -i udp://234.42.42.1:1234
Now run VLC and set the demux preference to MPEG Transport Stream demuxer.
Open the network stream udp://234.42.42.1:1234.
Run ffmpeg again.
ffplay will work fine but VLC shows nothing.
Any ideas?
Thanks
eg. ffmpeg -f h264 -i slamtv60.264 -vcodec copy -f mpegts udp://234.42.42.1:1234
this can be played with ffplay
eg. ffplay -f mpegts -i udp://234.42.42.1:1234
Now run VLC and set the demux preference to MPEG Transport Stream demuxer.
Open the network stream udp://234.42.42.1:1234.
Run ffmpeg again.
ffplay will work fine but VLC shows nothing.
Any ideas?
Thanks