[libav-bugs] [Bug 538] New: Can't mux subtitles in .avi container

bugzilla at libav.org bugzilla at libav.org
Tue Jul 16 19:04:00 CEST 2013


https://bugzilla.libav.org/show_bug.cgi?id=538

           Summary: Can't mux subtitles in .avi container
           Product: Libav
           Version: git HEAD
          Platform: X86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: bugzilla at libav.org
        ReportedBy: paolo.pedroni at iol.it


When I try to mux subtitles in an .avi file I get the error below:

[avi @ 0x1608c20] Application provided invalid, non monotonically increasing
dts to muxer in stream 2: 32516 >= 32516
av_interleaved_write_frame(): Invalid argument

The exact command line is:
# avconv -i input.avi -i input.sub -map 0 -map 1 -c:v copy -c:a copy -c:s xsub
-y output.avi

avconv -v 9 -loglevel 99 -i yields:
avconv -v 9 -loglevel 99 -i imput.avi -i input.sub
avconv version v9-1641-ge740929, Copyright (c) 2000-2013 the Libav developers
  built on Jul 16 2013 18:41:44 with gcc 4.7.3 (Gentoo 4.7.3 p1.0, pie-0.5.5)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc
--ar=x86_64-pc-linux-gnu-ar --optflags='-march=corei7-avx -O2 -pipe
-fomit-frame-pointer -flto=8 -fno-lto' --extra-cflags='-march=corei7-avx -O2
-pipe -fomit-frame-pointer -flto=8 -fno-lto' --disable-static --enable-gpl
--enable-version3 --enable-avfilter --disable-debug --disable-network
--enable-gnutls --enable-vaapi --enable-libmp3lame --enable-libvo-amrwbenc
--enable-libvo-aacenc --enable-libtheora --enable-libvorbis --enable-libx264
--enable-libxvid --enable-libcdio --enable-libdc1394 --disable-indev=v4l
--disable-indev=v4l2 --disable-indev=oss --disable-indev=jack --enable-x11grab
--disable-outdev=oss --enable-frei0r --enable-libfreetype --enable-pthreads
--enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libopus
--enable-libschroedinger --enable-libspeex --enable-libvpx --enable-libopenjpeg
--disable-amd3dnow --disable-amd3dnowext --disable-altivec -  libavutil     52.
13. 0 / 52. 13. 0
  libavcodec    55. 10. 0 / 55. 10. 0
  libavformat   55.  1. 0 / 55.  1. 0
  libavdevice   54.  0. 0 / 54.  0. 0
  libavfilter    3. 10. 0 /  3. 10. 0
  libavresample  1.  1. 0 /  1.  1. 0
  libswscale     2.  1. 2 /  2.  1. 2
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set libav* logging level) with
argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set libav* logging
level) with argument '99'.
Reading option '-i' ... matched as input file with argument 'input.avi'.
Reading option '-i' ... matched as input file with argument 'input.sub'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set libav* logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input file input.avi.
Successfully parsed a group of options.
Opening an input file: input.avi.
[avi @ 0x11147c0] Probed with size=2048 and score=100
[avi @ 0x11147c0] All info found
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, avi, from 'input.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.10.1 (build 2366/release)
  Duration: 00:41:07.88, start: 0.000000, bitrate: 1358 kb/s
    Stream #0.0, 1, 1/25: Video: mpeg4 (Advanced Simple Profile), yuv420p,
624x352 [PAR 1:1 DAR 39:22], 1/25, 25 tbn, 25 tbc
    Stream #0.1, 20, 1/16000: Audio: mp3, 48000 Hz, stereo, s16p, 128 kb/s
Successfully opened the file.
Parsing a group of options: input file input.sub.
Successfully parsed a group of options.
Opening an input file: input.sub.
[mpeg @ 0x111c080] Probed with size=8192 and score=52
[mpeg @ 0x111c080] max_analyze_duration reached
Input #1, mpeg, from 'input.sub':
  Duration: 00:02:12.72, start: 1317.715000, bitrate: 9 kb/s
    Stream #1.0[0x20], 6, 1/90000: Subtitle: dvdsub
Successfully opened the file.
At least one output file must be specified

It happened originally with libav-9.7, but it's the same with GIT head.

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list