Opened 10 years ago

Last modified 10 years ago

#3537 open defect

Invalid chapters are copied if -t is used as input option

Reported by: vikigns Owned by:
Priority: normal Component: ffmpeg
Version: git-master Keywords: chapters regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description (last modified by Carl Eugen Hoyos)

See comment:14 for a sample command.


Summary of the bug:
Try convert some parts of WMV file to MP4
How to reproduce:

% /usr/local/bin/ffmpeg -ss 10 -t 29 -i /home/1280.wmv -f mp4 -s 640:360  -r 29.97 -vcodec libx264 -preset slow -threads 2 -g 24 -b 750k -bt 750k -acodec libfaac -ac 2  -ab 32k -async 1 -y -profile baseline /home/0003-test-F.1.mp4
ffmpeg version N-62246-g02497a5 Copyright (c) 2000-2014 the FFmpeg developers
  built on Apr  7 2014 08:03:10 with gcc 4.2.1 (GCC) 20070831 patched [FeeBSD]
  configuration: --disable-indev=alsa --disable-outdev=alsa --enable-libopencore-amrnb --disable-libopencore-amrwb --disable-libass --disable-libcdio --enable-libcelt --enable-libfaac --disable-libfdk-aac --enable-ffserver --enable-fontconfig --enable-libfreetype --enable-frei0r --enable-gnutls --disable-libgsm --enable-iconv --disable-indev=jack --disable-libmp3lame --disable-libbluray --disable-libv4l2 --disable-indev=v4l2 --disable-outdev=v4l2 --disable-libmodplug --disable-openal --disable-indev=openal --disable-libopenjpeg --disable-libopus --disable-libpulse --disable-indev=pulse --disable-outdev=pulse --disable-librtmp --enable-libschroedinger --disable-libspeex --enable-libtheora --disable-vaapi --disable-vdpau --enable-libvorbis --disable-libvo-aacenc --disable-libvo-amrwbenc --enable-libvpx --enable-libx264 --enable-libxvid --prefix=/usr/local --mandir=/usr/local/man --datadir=/usr/local/share/ffmpeg --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --enable-memalign-hack --disable-libstagefright-h264 --disable-libutvideo --disable-libsoxr --cc=cc --extra-cflags='-msse -I/usr/local/include/vorbis -I/usr/local/include' --extra-ldflags='-L/usr/local/lib ' --extra-libs=-pthread --disable-debug --disable-ffplay --disable-outdev=sdl --enable-nonfree --enable-version3
  libavutil      52. 74.100 / 52. 74.100
  libavcodec     55. 58.102 / 55. 58.102
  libavformat    55. 36.102 / 55. 36.102
  libavdevice    55. 11.100 / 55. 11.100
  libavfilter     4.  3.100 /  4.  3.100
  libavresample   1.  2.  0 /  1.  2.  0
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
[wmv3 @ 0x8088e4620] Extra data: 8 bits left, value: 0
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, asf, from '/home/1280.wmv':
  Metadata:
    SfOriginalFPS   : 300000
    WMFSDKVersion   : 12.0.7600.16385
    WMFSDKNeeded    : 0.0.0.0000
    _SfMarkerDuration_0: 0
    IsVBR           : 0
    DeviceConformanceTemplate: MP@HL
  Duration: 00:21:25.36, start: 0.000000, bitrate: 3157 kb/s
    Chapter #0.0: start 56.589000, end 1285.363000
    Metadata:
      title           : 
    Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp, 96 kb/s
    Stream #0:1: Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 1280x720, 3049 kb/s, 30 tbr, 1k tbn, 1k tbc
Please use -b:a or -b:v, -b is ambiguous
Please use -profile:a or -profile:v, -profile is ambiguous
-async is forwarded to lavfi similarly to -af aresample=async=1:min_hard_comp=0.100000:first_pts=0.
[libx264 @ 0x8088e4b20] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0x8088e4b20] profile Constrained Baseline, level 3.0
[libx264 @ 0x8088e4b20] 264 - core 125 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=0 ref=5 deblock=1:0:0 analyse=0x1:0x111 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=2 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=24 keyint_min=2 scenecut=40 intra_refresh=0 rc_lookahead=24 rc=abr mbtree=1 bitrate=750 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[wmv3 @ 0x8088e4620] Extra data: 8 bits left, value: 0
Output #0, mp4, to '/home/0003-test-F.1.mp4':
  Metadata:
    SfOriginalFPS   : 300000
    WMFSDKVersion   : 12.0.7600.16385
    WMFSDKNeeded    : 0.0.0.0000
    _SfMarkerDuration_0: 0
    IsVBR           : 0
    DeviceConformanceTemplate: MP@HL
    encoder         : Lavf55.36.102
    Chapter #0.0: start 55.589000, end 1284.363000
    Metadata:
      title           : 
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 640x360, q=-1--1, 750 kb/s, 11988 tbn, 29.97 tbc
    Stream #0:1: Audio: aac (libfaac) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, s16, 32 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (wmv3 -> libx264)
  Stream #0:0 -> #0:1 (wmav2 -> libfaac)
Press [q] to stop, [?] for help
frame=  870 fps= 63 q=-1.0 Lsize=    3051kB time=00:00:29.02 bitrate= 860.9kbits/s    
video:2836kB audio:189kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.858561%
[libx264 @ 0x8088e4b20] frame I:37    Avg QP:16.11  size: 21824
[libx264 @ 0x8088e4b20] frame P:833   Avg QP:21.53  size:  2516
[libx264 @ 0x8088e4b20] mb I  I16..4: 47.0%  0.0% 53.0%
[libx264 @ 0x8088e4b20] mb P  I16..4:  1.9%  0.0%  1.0%  P16..4: 31.6%  7.4%  3.8%  0.0%  0.0%    skip:54.4%
[libx264 @ 0x8088e4b20] final ratefactor: 19.71
[libx264 @ 0x8088e4b20] coded y,uvDC,uvAC intra: 45.1% 49.5% 30.4% inter: 8.8% 14.1% 2.4%
[libx264 @ 0x8088e4b20] i16 v,h,dc,p: 47% 27%  8% 17%
[libx264 @ 0x8088e4b20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 15% 12% 10% 11%  9% 12%  9% 11%
[libx264 @ 0x8088e4b20] i8c dc,h,v,p: 62% 18% 14%  6%
[libx264 @ 0x8088e4b20] ref P L0: 58.4% 17.1% 12.9%  5.8%  5.8%
[libx264 @ 0x8088e4b20] kb/s:800.16

Duration: 00:21:25.36, start: 0.000000, bitrate: 3157 kb/s
But it must be 29s!!!
http://gyazo.com/ba0dbadb3ee6dd3212b51279ab9a89bc - in windows I can see meta duration is incorrect but video duration correct :)
If I try it in player it play but I cant rewind it to some part :(
It bug some of WMVs file, all ok with MP4 files it in 2.1 and 2.2, all was ok in 1.2
Sorry for my English
Info from Media Player Classic
General
Complete name : V:\0003-test-F.1.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 2.98 MiB
Duration : 21mn 24s
Overall bit rate : 19.5 Kbps
Writing application : Lavf55.36.102

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L3.0
Format settings, CABAC : No
Format settings, ReFrames : 5 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 29s 30ms
Bit rate : 800 Kbps
Nominal bit rate : 750 Kbps
Width : 640 pixels
Height : 360 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.116
Stream size : 2.77 MiB (93%)
Writing library : x264 core 125
Encoding settings : cabac=0 / ref=5 / deblock=1:0:0 / analyse=0x1:0x111 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=2 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=24 / keyint_min=2 / scenecut=40 / intra_refresh=0 / rc_lookahead=24 / rc=abr / mbtree=1 / bitrate=750 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 29s 24ms
Duration_LastFrame : -2ms
Bit rate mode : Constant
Bit rate : 53.2 Kbps
Channel count : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 189 KiB (6%)

Menu #1
ID : 3
Codec ID : text
Duration : 21mn 24s
Language : English

Menu #2

Plz help asap

Change History (17)

comment:1 by Carl Eugen Hoyos, 10 years ago

Where can I find the input sample 1280.wmv?

comment:2 by vikigns, 10 years ago

It's not public video :(
How can I send you link not in public?

Correct duration was with:
Writing application : Lavf54.63.104

in reply to:  1 comment:3 by vikigns, 10 years ago

Replying to cehoyos:

Where can I find the input sample 1280.wmv?

Give me your email/icq plz.
Thanks

in reply to:  2 comment:4 by Carl Eugen Hoyos, 10 years ago

Replying to vikigns:

It's not public video :(
How can I send you link not in public?

Please read http://ffmpeg.org/bugreports.html
There is no hard filesize limit.

comment:5 by vikigns, 10 years ago

It's private video from one of my client :(
email me plz (you've got my email) will email you link.
Thanks for your help!

Last edited 10 years ago by vikigns (previous) (diff)

comment:6 by vikigns, 10 years ago

Wrong coding source have:

_SfMarkerDuration_0: 0

and
Chapter #0.0: start 56.589000, end 1285.363000
Good does not!
Possible it help?

[wmv3 @ 0x8088e4620] Extra data: 8 bits left, value: 0
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, asf, from '/home/1280.wmv':

Metadata:

SfOriginalFPS : 300000
WMFSDKVersion : 12.0.7600.16385
WMFSDKNeeded : 0.0.0.0000
_SfMarkerDuration_0: 0
IsVBR : 0
DeviceConformanceTemplate: MP@HL

Duration: 00:21:25.36, start: 0.000000, bitrate: 3157 kb/s

Chapter #0.0: start 56.589000, end 1285.363000
Metadata:

title :

Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp, 96 kb/s
Stream #0:1: Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 1280x720, 3049 kb/s, 30 tbr, 1k tbn, 1k tbc

At least one output file must be specified

[wmv3 @ 0x8088e4620] Extra data: 8 bits left, value: 0
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, asf, from '/home/1289.wmv':

Metadata:

SfOriginalFPS : 300000
WMFSDKVersion : 12.0.7600.16385
WMFSDKNeeded : 0.0.0.0000
IsVBR : 0
DeviceConformanceTemplate: MP@HL

Duration: 00:25:00.10, start: 0.000000, bitrate: 3158 kb/s

Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp, 96 kb/s
Stream #0:1(eng): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 1280x720, 3049 kb/s, 30 tbr, 1k tbn, 1k tbc

Last edited 10 years ago by vikigns (previous) (diff)

comment:7 by Carl Eugen Hoyos, 10 years ago

If you cannot upload your video to our ftp server (which only developers can read), then please run git bisect to find the change that introduced the regression. Valid regression reports need the commit that introduced the regression, I can only run the tests for you if you upload the sample.
(You should easily find out my email address, but if you send the file to me I will upload it to our private samples directory so that doesn't make any difference.)

comment:8 by vikigns, 10 years ago

Got it!
File uploading...
Thanks.

comment:9 by vikigns, 10 years ago

Please check
/incoming/ticked-3537.txt
/incoming/1280.wmv

And all files that have
_SfMarkerDuration_0: 0
and
Chapter #0.0: start xx., end yyy
In Metadata have same problem :(
Without it - all ok.
Thanks

Last edited 10 years ago by vikigns (previous) (diff)

comment:10 by Carl Eugen Hoyos, 10 years ago

I tested the following command line:

$ ffmpeg -ss 10 -i 1280.wmv -vcodec mpeg4 -strict -2 -acodec aac -t 29 -qscale 2 -s 640:360 out.mp4

FFmpeg, MPlayer and vlc all report the length of the output file as 29 seconds. How can I reproduce the problem?

$ ffmpeg -i out.mp4
ffmpeg version N-62246-g02497a5 Copyright (c) 2000-2014 the FFmpeg developers
  built on Apr  7 2014 12:19:24 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      52. 74.100 / 52. 74.100
  libavcodec     55. 58.102 / 55. 58.102
  libavformat    55. 36.102 / 55. 36.102
  libavdevice    55. 11.100 / 55. 11.100
  libavfilter     4.  3.100 /  4.  3.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf55.36.102
  Duration: 00:00:29.02, start: 0.023220, bitrate: 2954 kb/s
    Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 2821 kb/s, 30 fps, 30 tbr, 15360 tbn, 30 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
At least one output file must be specified

comment:11 by Carl Eugen Hoyos, 10 years ago

To work-around your issue, move -t (which is an output option) in front of the output file name.

comment:12 by vikigns, 10 years ago

LOL :)
THANKS I just got it!!!

comment:13 by vikigns, 10 years ago

Resolution: fixed
Status: newclosed

comment:14 by Carl Eugen Hoyos, 10 years ago

Component: undeterminedffmpeg
Description: modified (diff)
Keywords: chapters regression added
Priority: importantnormal
Resolution: fixed
Status: closedreopened
Summary: Wrong duration of some WMV to MP4 file or wrong meta data with ffmpeg 2.1 and 2.2, but ok with 1.2 and oldInvalid chapters are copied if -t is used as input option
Version: unspecifiedgit-master

Could be considered a regression because for one output file, the same command line worked as if -t was used as an output option.

$ wget samples.ffmpeg.org/Matroska/matrix/Matrix.Reloaded.Trailer-RV9-Karl640x432_HE_AAC_subtitled_chapters.mkv
$ffmpeg -t 1 -i Matrix.Reloaded.Trailer-RV9-Karl640x432_HE_AAC_subtitled_chapters.mkv -an -y -qscale 2 out.mov
ffmpeg version N-62246-g02497a5 Copyright (c) 2000-2014 the FFmpeg developers
  built on Apr  7 2014 12:19:24 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      52. 74.100 / 52. 74.100
  libavcodec     55. 58.102 / 55. 58.102
  libavformat    55. 36.102 / 55. 36.102
  libavdevice    55. 11.100 / 55. 11.100
  libavfilter     4.  3.100 /  4.  3.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, matroska,webm, from 'Matrix.Reloaded.Trailer-RV9-Karl640x432_HE_AAC_subtitled_chapters.mkv':
  Metadata:
    encoder         : libebml v0.6.2 + libmatroska v0.6.1
    creation_time   : 2003-12-07 15:51:35
  Duration: 00:02:31.47, start: 0.000000, bitrate: 1125 kb/s
    Chapter #0.0: start 30.000000, end 60.000000
    Metadata:
      title           : Test Chapter 1
    Chapter #0.1: start 60.000000, end 90.000000
    Metadata:
      title           : Test Chapter 2
    Chapter #0.2: start 90.000000, end 120.000000
    Metadata:
      title           : Test Chapter 3
    Chapter #0.3: start 120.000000, end 151.473000
    Metadata:
      title           : Test Chapter 4
    Stream #0:0(eng): Video: rv40, yuv420p, 640x432, SAR 5:4 DAR 50:27, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      title           : Matrix Trailer - RV9 encoded by Real Networks Inc. for the matroska team
    Stream #0:1(eng): Audio: aac, 44100 Hz, stereo, fltp (default)
    Metadata:
      title           : Original Trailer Soundtrack - HE-AAC encoded with Nero6
    Stream #0:2(ara): Subtitle: subrip
    Metadata:
      title           : This is to
    Stream #0:3(cat): Subtitle: ssa
    Metadata:
      title           : show the
    Stream #0:4(dut): Subtitle: ssa
    Metadata:
      title           : power of
    Stream #0:5(eng): Subtitle: ssa (default)
    Metadata:
      title           : custom made
    Stream #0:6(fin): Subtitle: ssa
    Metadata:
      title           : track names
    Stream #0:7(fre): Subtitle: ssa
    Metadata:
      title           : in matroska
    Stream #0:8(ger): Subtitle: ssa
    Metadata:
      title           : the great
    Stream #0:9(jpn): Subtitle: subrip
    Metadata:
      title           : Japanese
    Stream #0:10(por): Subtitle: ssa
    Metadata:
      title           : opensource
    Stream #0:11(slv): Subtitle: ssa
    Metadata:
      title           : open standard
    Stream #0:12(spa): Subtitle: ssa
    Metadata:
      title           : A/V container
    Stream #0:13: Attachment: mjpeg
    Metadata:
      filename        : matrixreloaded1.jpg
      mimetype        : image/jpeg
    Stream #0:14: Attachment: mjpeg
    Metadata:
      filename        : matrixreloaded2.jpg
      mimetype        : image/jpeg
    Stream #0:15: Attachment: mjpeg
    Metadata:
      filename        : matrixreloaded3.jpg
      mimetype        : image/jpeg
    Stream #0:16: Attachment: mjpeg
    Metadata:
      filename        : matrixreloaded-frontcover.jpg
      mimetype        : image/jpeg
    Stream #0:17: Attachment: mjpeg
    Metadata:
      filename        : matrixreloaded-backcover.jpg
      mimetype        : image/jpeg
    Stream #0:18: Attachment: mjpeg
    Metadata:
      filename        : reloaded.jpg
      mimetype        : image/jpeg
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, mov, to 'out.mov':
  Metadata:
    encoder         : Lavf55.36.102
    Chapter #0.0: start 30.000000, end 60.000000
    Metadata:
      title           : Test Chapter 1
    Chapter #0.1: start 60.000000, end 90.000000
    Metadata:
      title           : Test Chapter 2
    Chapter #0.2: start 90.000000, end 120.000000
    Metadata:
      title           : Test Chapter 3
    Chapter #0.3: start 120.000000, end 151.473000
    Metadata:
      title           : Test Chapter 4
    Stream #0:0(eng): Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 640x432 [SAR 5:4 DAR 50:27], q=2-31, 200 kb/s, 15360 tbn, 30 tbc (default)
    Metadata:
      title           : Matrix Trailer - RV9 encoded by Real Networks Inc. for the matroska team
Stream mapping:
  Stream #0:0 -> #0:0 (rv40 -> mpeg4)
Press [q] to stop, [?] for help
frame=   30 fps=0.0 q=2.0 Lsize=     146kB time=00:00:01.00 bitrate=1194.0kbits/s dup=5 drop=0
video:144kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.233102%

Chapters are copied although the output file is shorter than the chapters, this does not happen if the output option -t is used:

$ ffmpeg -i Matrix.Reloaded.Trailer-RV9-Karl640x432_HE_AAC_subtitled_chapters.mkv -an -y -qscale 2 -t 1 out.mov
ffmpeg version N-62246-g02497a5 Copyright (c) 2000-2014 the FFmpeg developers
  built on Apr  7 2014 12:19:24 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      52. 74.100 / 52. 74.100
  libavcodec     55. 58.102 / 55. 58.102
  libavformat    55. 36.102 / 55. 36.102
  libavdevice    55. 11.100 / 55. 11.100
  libavfilter     4.  3.100 /  4.  3.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, matroska,webm, from 'Matrix.Reloaded.Trailer-RV9-Karl640x432_HE_AAC_subtitled_chapters.mkv':
  Metadata:
    encoder         : libebml v0.6.2 + libmatroska v0.6.1
    creation_time   : 2003-12-07 15:51:35
  Duration: 00:02:31.47, start: 0.000000, bitrate: 1125 kb/s
    Chapter #0.0: start 30.000000, end 60.000000
    Metadata:
      title           : Test Chapter 1
    Chapter #0.1: start 60.000000, end 90.000000
    Metadata:
      title           : Test Chapter 2
    Chapter #0.2: start 90.000000, end 120.000000
    Metadata:
      title           : Test Chapter 3
    Chapter #0.3: start 120.000000, end 151.473000
    Metadata:
      title           : Test Chapter 4
    Stream #0:0(eng): Video: rv40, yuv420p, 640x432, SAR 5:4 DAR 50:27, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      title           : Matrix Trailer - RV9 encoded by Real Networks Inc. for the matroska team
    Stream #0:1(eng): Audio: aac, 44100 Hz, stereo, fltp (default)
    Metadata:
      title           : Original Trailer Soundtrack - HE-AAC encoded with Nero6
    Stream #0:2(ara): Subtitle: subrip
    Metadata:
      title           : This is to
    Stream #0:3(cat): Subtitle: ssa
    Metadata:
      title           : show the
    Stream #0:4(dut): Subtitle: ssa
    Metadata:
      title           : power of
    Stream #0:5(eng): Subtitle: ssa (default)
    Metadata:
      title           : custom made
    Stream #0:6(fin): Subtitle: ssa
    Metadata:
      title           : track names
    Stream #0:7(fre): Subtitle: ssa
    Metadata:
      title           : in matroska
    Stream #0:8(ger): Subtitle: ssa
    Metadata:
      title           : the great
    Stream #0:9(jpn): Subtitle: subrip
    Metadata:
      title           : Japanese
    Stream #0:10(por): Subtitle: ssa
    Metadata:
      title           : opensource
    Stream #0:11(slv): Subtitle: ssa
    Metadata:
      title           : open standard
    Stream #0:12(spa): Subtitle: ssa
    Metadata:
      title           : A/V container
    Stream #0:13: Attachment: mjpeg
    Metadata:
      filename        : matrixreloaded1.jpg
      mimetype        : image/jpeg
    Stream #0:14: Attachment: mjpeg
    Metadata:
      filename        : matrixreloaded2.jpg
      mimetype        : image/jpeg
    Stream #0:15: Attachment: mjpeg
    Metadata:
      filename        : matrixreloaded3.jpg
      mimetype        : image/jpeg
    Stream #0:16: Attachment: mjpeg
    Metadata:
      filename        : matrixreloaded-frontcover.jpg
      mimetype        : image/jpeg
    Stream #0:17: Attachment: mjpeg
    Metadata:
      filename        : matrixreloaded-backcover.jpg
      mimetype        : image/jpeg
    Stream #0:18: Attachment: mjpeg
    Metadata:
      filename        : reloaded.jpg
      mimetype        : image/jpeg
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, mov, to 'out.mov':
  Metadata:
    encoder         : Lavf55.36.102
    Stream #0:0(eng): Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 640x432 [SAR 5:4 DAR 50:27], q=2-31, 200 kb/s, 15360 tbn, 30 tbc (default)
    Metadata:
      title           : Matrix Trailer - RV9 encoded by Real Networks Inc. for the matroska team
Stream mapping:
  Stream #0:0 -> #0:0 (rv40 -> mpeg4)
Press [q] to stop, [?] for help
frame=   30 fps=0.0 q=2.0 Lsize=     145kB time=00:00:01.00 bitrate=1187.8kbits/s dup=5 drop=0
video:144kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.709475%

comment:15 by Carl Eugen Hoyos, 10 years ago

Reproduced by developer: set
Status: reopenedopen

Another work-around is to use -map_chapters -1.

in reply to:  11 comment:16 by llogan, 10 years ago

Replying to cehoyos:

To work-around your issue, move -t (which is an output option) in front of the output file name.

Is it both an input and output option? See b7fc269 (not sure if it matters for this ticket). Perhaps the docs should be updated...unless I'm mistaken and I'm getting offtopic.

comment:17 by Carl Eugen Hoyos, 10 years ago

Sorry what I meant was "use the output option -t instead of the input option -t (or -map_chapters -1) as a workaround for this bug".

Note: See TracTickets for help on using tickets.