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

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to