[FFmpeg-devel] Demuxer libopenmpt doesn't show subsong duration
Reino Wijnsma
rwijnsma at xs4all.nl
Sun Sep 17 15:43:28 EEST 2017
On 10-9-2017 21:05, Reino Wijnsma <rwijnsma at xs4all.nl> wrote:
> Hello,
>
> Today I've compiled FFmpeg with libopenmpt (N-87255-gcbe181c) for the
> first time and I must say I'm very pleased with it. Especially with
> the subsong option.
>
> ffmpeg -i "K_vision.umx"
> Input #0, libopenmpt, from 'K_vision.umx':
> Metadata:
> title : Nightvision - Sandman/KFM
> encoder : Impulse Tracker 2.14p2
> [...]
> Duration: 00:02:53.98, bitrate: 31 kb/s
> Stream #0:0: Audio: pcm_f32le, 48000 Hz, 2 channels, flt, 3072 kb/s
>
> 02:53.98 is the duration of the 1st subsong (of 3).
>
> ffmpeg -subsong 1 -i "K_vision.umx"
> Input #0, libopenmpt, from 'K_vision.umx':
> Metadata:
> title : Nightvision - Sandman/KFM
> encoder : Impulse Tracker 2.14p2
> [...]
> track : 2
> Duration: 00:02:53.98, bitrate: 31 kb/s
> Stream #0:0: Audio: pcm_f32le, 48000 Hz, 2 channels, flt, 3072 kb/s
>
> With -subsong 1 I expected to see Duration: 00:00:48.05, but it still
> shows the 1st subsong's duration.
> Is this a bug?
>
> ffplay -subsong 1 -i "K_vision.umx" -autoexit
> Input #0, libopenmpt, from 'K_vision.umx':
> Metadata:
> title : Nightvision - Sandman/KFM
> encoder : Impulse Tracker 2.14p2
> [...]
> track : 2
> Duration: 00:02:53.98, bitrate: 31 kb/s
> Stream #0:0: Audio: pcm_f32le, 48000 Hz, 2 channels, flt, 3072 kb/s
> *48.05* M-A: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
>
> FFplay does show me the actual duration if I let it play track 2 till
> the end.
>
> -- Reino
>
*ping*
('/K_vision.umx/' attached)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: K_vision.umx
Type: application/octet-stream
Size: 689549 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170917/178b44bd/attachment.obj>
More information about the ffmpeg-devel
mailing list