Discussion:
[MPlayer-users] MPlayer - playing JPG
David Hepburn
2016-06-28 06:05:13 UTC
Permalink
mplayer plays my videos like a legend.
However, I would like to know how to play a JPEG image for say 15 seconds using mplayer line command. I've tried various options but I seem to always get the msg "[image2 @ 015799e0]Could find no file with path 'mp:C:\Program Files (x86)\MediaUnleashed\test.jpg' and index in the range 0-4
LAVF_header: av_open_input_stream() failed"

The line command issued is:-
mplayer.exe "C:\Program Files (x86)\MediaUnleashed\test.jpg"

I've also tried adding various options like "-vo jpeg"

Could somebody please send me the line command required to run on Windows.
Thanks.
Dave.

Windows 10
I7 processor
David Hepburn
2016-06-29 00:27:56 UTC
Permalink
UPDATE:
I found the way was to do it was to add the MF parameters however the current directory must be the location of the jpg files.

Line Command to play a jpg for 10secs:-
"C:\Program Files (x86)\MediaUnleashed\mplayer.exe" "mf://test.jpg" -mf fps=1 -loop 425

Is there any way to specify a windows path so the media path doesn't have to be the current directory?
I tried adding in a Windows path like this "mf://C:\Program Files (x86)\MediaUnleashed\media\test.jpg" but it was ignored.
Loading...