Opened 11 years ago

Last modified 11 years ago

#2124 closed enhancement (invalid)

option to halt video on last frame

Reported by: bernhard@… Owned by: reimar
Priority: normal Component: core
Version: unspecified Severity: minor
Keywords: Cc: cehoyos
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Hi!

I want an option that makes mplayer halt/pause the video on the last frame.

wm4@#mplayer@… already implemented that in his mpv fork.

Thx

Change History (9)

comment:1 by bernhard@…, 11 years ago

Can possibly be found here: https://github.com/mpv-player/mpv

comment:2 by reimar, 11 years ago

Resolution: worksforme
Status: newclosed

I don't think there is anything to implement, -idle -fixed-vo should already behave like that.
Or did you think of some other behaviour?

comment:3 by bernhard@…, 11 years ago

Resolution: worksforme
Status: closedreopened

mplayer -idle -fixed-vo latest_1024_4500.mpg

closes the video window at the end of the video, but doesn't quit in the shell. 'q' quits mplayer then.

I want the video window to remain open, preferably with a chance to rewind.

bernhard@b:/data/home/bernhard/Downloads$ mplayer -idle -fixed-vo latest_1024_4500.mpg
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing latest_1024_4500.mpg.
Detected file format: MPEG-PS
MPEG: No audio stream found -> no sound.
VIDEO: MPEG1 1024x1024 (aspect 1) 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
Load subtitles in .
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Asking decoder to use 2 threads if supported.
Selected video codec: [ffmpeg1] vfm: ffmpeg (FFmpeg MPEG-1)
==========================================================================
Audio: no sound
Starting playback...
Movie-Aspect is 1.00:1 - prescaling to correct movie aspect.
VO: [vdpau] 1024x1024 => 1024x1024 Planar YV12
[vdpau] Got display refresh rate 85.000 Hz.
[vdpau] If that value looks wrong give the -vo vdpau:fps=X suboption manually.
V: 2.7 54/ 54 21% 8% 0.0% 0 0


Exiting... (Quit)
bernhard@b:/data/home/bernhard/Downloads$

comment:4 by reimar, 11 years ago

That might be a VDPAU issue/bug, can you try with -vo gl instead?

comment:5 by reimar, 11 years ago

Just to clarify: it works fine for me with -vo gl, including switching to fullscreen etc.

comment:6 by bernhard@…, 11 years ago

mplayer -idle -fixed-vo -vo gl latest_1024_4500.mpg

same thing

comment:7 by reimar, 11 years ago

You are using MPlayer2, that is a fork and we have nothing to do with it.
Did you actually try MPlayer?
I can't say for sure, there might be some conditions that break it, but as said, it definitely worked when I tested it.

comment:8 by bernhard@…, 11 years ago

Umm, yes, mplayer2. IIRC I 'upgraded' that to fix an issue, dunno which.

ii mplayer2 2.0-554-gf63dbad-1~bpo60+1 next generation movie player for Unix-like systems

Thx. I guess you can close this then.

comment:9 by cehoyos, 11 years ago

Resolution: invalid
Status: reopenedclosed, cehoyos@ag.or.at

No MPlayer issue.

Note: See TracTickets for help on using tickets.