[MPlayer-dev-eng] Wishlist round 2
Arpi
arpi at thot.banki.hu
Thu Aug 29 13:29:54 CEST 2002
Hi,
> > * ability of vo drivers to request 'scaling' playback speed of fixed
> > fps movies. (so that mplayer would automatically speed up 23.97 fps
> > material to 25 fps for playback on a pal tv (i.e. the sound will be
> > played faster too to stay in sync, the pitch becomes higher)
>
> This would be nice for ff/slow motion playback, configured
> through keyboard :)
> I tried to implement sthg like this, but I always got problems with
> audio/sync/buffer/etc... Afaik it the possible sound playback speed
> if based on srate depends on the driver and is limited, donno.
> Muting would be a choice but then you'll get problems if you
> unmute it (sync) and I didn't know how to solve the buffer
> problem... :(
way 1: with audio
you have to change audio playback speed too.
for simple cases, like 2x 4x faster/slower playback, it's easy
(duplicate/drop every sample n-1 times) for custom speed factors
it's harder, needs soundcard or resample filter to support it
way 2: no audio
stop audio demuxing (not easy and not implemented by all demuxers yet,
anyway it's a TODO entry to fix -nosound with all demuxers, some just
ignore it)
when you've done what you want, then do seeking. now it's only
possible to seek both audio&video, so the video will jump to nearest
keyframe :( with new demuxer layer we could try to implement audio-only
seeking, but it isn't easy for interleaved files
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng
mailing list