Transcoding MJPEG Stream to FLV or MP4

11,183

Solution 1

I suggest using Handbrake. It makes a nice front end to VLC transcoding.

Solution 2

Try this: (On Linux) ffmpeg -f mjpeg -r 8 -i *ttp://your_IP_address:port/video.jpg -f flv -vcodec flv -r 25 -b 26000 -s 320x240 /opt/lampp/htdocs/output.flv

Share:
11,183

Related videos on Youtube

tobi
Author by

tobi

Updated on September 17, 2022

Comments

  • tobi
    tobi almost 2 years

    I want to transcode MJPEG stream that comes from IP camera (http://xx.yy.zz.tt:8080/video.cgi) to FLV or MP4 stream under Linux OS so that users can play the file using a web based Flash player such as Flowplayer.

    I discovered VLC for that purpose but I cannot figure out the exact command line string. I also need HTTP authentication feature since IP camera access is password protected.

    I also interested in any non-VLC solution if any (ffmpeg?).