Playback of mjpeg file

New product: VCL components for displaying and controlling IP cameras, webcams, video conferencing, video chats
Post Reply
Posts: 11
Joined: Mon Aug 28, 2017 4:42 am

Playback of mjpeg file

Post by oliver » Mon Aug 28, 2017 4:47 am

I have tried, but haven't been able to playback the mjpeg files that are created with the RVMedia components. Actually, the mjpeg extension isn't even recognized by any of my video player applications (including VLC). Is it just a matter of changing the extension (to what)? Do I need a codec to play this? If so, which one?



Sergey Tkachenko
Site Admin
Posts: 13467
Joined: Sat Aug 27, 2005 10:28 am

Re: Playback of mjpeg file

Post by Sergey Tkachenko » Mon Aug 28, 2017 5:45 pm

VLC can play MJPEG files.
I am not sure how to open it in user interface, but you can open it in the command line:

Code: Select all

"c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" demo.mjpg --mjpeg-fps=3
This example opens VLC to play demo.mjpg in 3 frames per second.

PS: the new version can use FFmpeg to record files in standard formats, for as MPEG. It is available for registered users as beta (but no examples for recording are supplied yet)

Post Reply