Page 1 of 1

Using ffmpeg as codec with parameters

Posted: 26 Oct 2014 14:48
by petzo
Hi,

I have an IP camera video/audio stream which can be correctly played/decoded with ffplay/ffmpeg:

Code: Select all

ffmpeg -f mpegts -i "udp://localhost:1234" -f mpegts -vcodec copy udp://localhost:1000 vlc udp://@:1000
VLC does not correctly decode the UDP stream when directly called:

Code: Select all

vlc udp://@:1234 vlc udp/ts://@:1234 vlc udp/h264://@:1234
Instead of using ffmpeg as an intermediate demuxing/muxing step, I would like to tell VLC player to use the internal VLC ffmpeg plugin for decoding, e.g. something like:

Code: Select all

vlc --codec ffmpeg mpegts -i "udp://localhost:1234"
How can I pass ffmpeg with parameters to VLC using the command line?

Regards,