ubuntustudio-bugs team mailing list archive
-
ubuntustudio-bugs team
-
Mailing list archive
-
Message #00318
[Bug 1339980] [NEW] dvdstyler fails to burn in avconv: av_interleaved_write_frame(): Invalid argument
Public bug reported:
I created a new DVD project in dvdstyler and added 51 MP4-format video
files, then asked to burn the result to a DVD. This failed on the very
first video [filename redacted but all else as shown]:
DVDStyler v2.5.2
Linux 3.13.0-30-generic x86_64
Libav: libavformat 54.20.3, libavcodec 54.35.0, libavutil 52.3.0
Prepare
Cleaning temporary directory
Search for transcoded files in cache
Generating menus
Generating menu 1 of 1
Create menu MPEG
Multiplexing subpictures into mpeg
Menu has 0 group(s) of changeable colours.
Executing command: spumux -P -s 0 "/tmp/dvd-tmp/menu1-0.mpg_spumux.xml"
DVDAuthor::spumux, version 0.7.0.
Build options: gnugetopt imagemagick iconv freetype fribidi fontconfig
Send bug reports to <dvdauthor-users@xxxxxxxxxxxxxxxxxxxxx>
INFO: no default video format, must explicitly specify NTSC or PAL
INFO: Picture /tmp/dvd-tmp/menu1-0.mpg_buttons.png had 1 colors
INFO: Picture /tmp/dvd-tmp/menu1-0.mpg_highlight.png had 1 colors
INFO: Picture /tmp/dvd-tmp/menu1-0.mpg_select.png had 1 colors
INFO: 0 bytes of data written
INFO: 4096 bytes of data written
INFO: 8192 bytes of data written
INFO: 10240 bytes of data written
INFO: Found EOF in .sub file.
INFO: Max_sub_size=988
INFO: 18432 bytes of data written
INFO: 1 subtitles added, 0 subtitles skipped, stream: 32, offset: 1.00
Transcode/remultiplex
Add file to cache:/tmp/dvd-cache/entry001.vob
Transcode video file: /…/firstvideo.mp4
Need encode: true, use mplex: false
Executing command: avconv -i "/…/firstvideo.mp4" -f dvd -c:v:0 mpeg2video -s 720x480 -r 30000/1001 -g 18 -b:v:0 8000000 -maxrate:v:0 8000000 -minrate:v:0 8000000 -bufsize:v:0 1835008 -packetsize 2048 -muxrate 10080000 -b:a 192000 -ar 48000 -c:a:0 ac3 -map 0:v -map 0:a "/tmp/dvd-cache/entry001.vob"
avconv version 9.13-6:9.13-0ubuntu0.14.04.1, Copyright (c) 2000-2014 the Libav developers
built on May 9 2014 13:34:03 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 2 with DTS 3559, packet 3 with DTS 3559
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 4 with DTS 5495, packet 5 with DTS 5495
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 6 with DTS 7655, packet 7 with DTS 7655
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 8 with DTS 9367, packet 9 with DTS 9367
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 10 with DTS 11751, packet 11 with DTS 11751
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 12 with DTS 13687, packet 13 with DTS 13687
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 14 with DTS 15847, packet 15 with DTS 15847
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 18 with DTS 19943, packet 19 with DTS 19943
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 20 with DTS 21879, packet 21 with DTS 21879
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 22 with DTS 24039, packet 23 with DTS 24039
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 24 with DTS 25751, packet 25 with DTS 25751
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 26 with DTS 28135, packet 27 with DTS 28135
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 28 with DTS 30071, packet 29 with DTS 30071
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 30 with DTS 32231, packet 31 with DTS 32231
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 32 with DTS 33943, packet 33 with DTS 33943
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 34 with DTS 36327, packet 35 with DTS 36327
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 36 with DTS 38263, packet 37 with DTS 38263
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 38 with DTS 40423, packet 39 with DTS 40423
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 40 with DTS 42135, packet 41 with DTS 42135
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/…/firstvideo.mp4':
Metadata:
major_brand : isom
minor_version : 0
compatible_brands: isom3gp4
creation_time : 1947-02-25 18:13:37
Duration: 00:00:29.57, start: 0.000000, bitrate: 15231 kb/s
Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080, 15068 kb/s, PAR 65536:65536 DAR 16:9, 30.01 fps, 90k tbn
Metadata:
creation_time : 2013-02-25 18:13:37
Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, fltp, 127 kb/s
Metadata:
creation_time : 2013-02-25 18:13:37
Output #0, dvd, to '/tmp/dvd-cache/entry001.vob':
Metadata:
major_brand : isom
minor_version : 0
compatible_brands: isom3gp4
creation_time : 1947-02-25 18:13:37
encoder : Lavf54.20.4
Stream #0.0(eng): Video: mpeg2video, yuv420p, 720x480 [PAR 32:27 DAR 16:9], q=2-31, 8000 kb/s, 90k tbn, 29.97 tbc
Metadata:
creation_time : 2013-02-25 18:13:37
Stream #0.1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
creation_time : 2013-02-25 18:13:37
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> mpeg2video)
Stream #0:1 -> #0:1 (aac -> ac3)
Press ctrl-c to stop encoding
[dvd @ 0x1d9b380] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 38338 >= 37954
av_interleaved_write_frame(): Invalid argument
Error transcoding of /…/firstvideo.mp4
This looks to be an error in libav, reported at
http://bugzilla.libav.org/show_bug.cgi?id=478 but still open;
https://trac.ffmpeg.org/ticket/1154 seems to imply that it has been
fixed in ffmpeg. I have not yet managed to get a build of dvdstyler
using ffmpeg rather than avconv to verify this.
bombono-dvd 1.2.2-0ubuntu1 fails with the same error, by the way, so it
is possible this ought to be filed under libav-tools.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: dvdstyler 2.5.2-0ubuntu3
ProcVersionSignature: Ubuntu 3.13.0-30.55-generic 3.13.11.2
Uname: Linux 3.13.0-30-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: XFCE
Date: Wed Jul 9 23:23:20 2014
ExecutablePath: /usr/bin/dvdstyler
InstallationDate: Installed on 2014-01-13 (177 days ago)
InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016)
ProcEnviron:
LANGUAGE=en_US
PATH=(custom, user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: dvdstyler
UpgradeStatus: Upgraded to trusty on 2014-04-30 (71 days ago)
** Affects: dvdstyler (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to dvdstyler in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1339980
Title:
dvdstyler fails to burn in avconv: av_interleaved_write_frame():
Invalid argument
Status in “dvdstyler” package in Ubuntu:
New
Bug description:
I created a new DVD project in dvdstyler and added 51 MP4-format video
files, then asked to burn the result to a DVD. This failed on the very
first video [filename redacted but all else as shown]:
DVDStyler v2.5.2
Linux 3.13.0-30-generic x86_64
Libav: libavformat 54.20.3, libavcodec 54.35.0, libavutil 52.3.0
Prepare
Cleaning temporary directory
Search for transcoded files in cache
Generating menus
Generating menu 1 of 1
Create menu MPEG
Multiplexing subpictures into mpeg
Menu has 0 group(s) of changeable colours.
Executing command: spumux -P -s 0 "/tmp/dvd-tmp/menu1-0.mpg_spumux.xml"
DVDAuthor::spumux, version 0.7.0.
Build options: gnugetopt imagemagick iconv freetype fribidi fontconfig
Send bug reports to <dvdauthor-users@xxxxxxxxxxxxxxxxxxxxx>
INFO: no default video format, must explicitly specify NTSC or PAL
INFO: Picture /tmp/dvd-tmp/menu1-0.mpg_buttons.png had 1 colors
INFO: Picture /tmp/dvd-tmp/menu1-0.mpg_highlight.png had 1 colors
INFO: Picture /tmp/dvd-tmp/menu1-0.mpg_select.png had 1 colors
INFO: 0 bytes of data written
INFO: 4096 bytes of data written
INFO: 8192 bytes of data written
INFO: 10240 bytes of data written
INFO: Found EOF in .sub file.
INFO: Max_sub_size=988
INFO: 18432 bytes of data written
INFO: 1 subtitles added, 0 subtitles skipped, stream: 32, offset: 1.00
Transcode/remultiplex
Add file to cache:/tmp/dvd-cache/entry001.vob
Transcode video file: /…/firstvideo.mp4
Need encode: true, use mplex: false
Executing command: avconv -i "/…/firstvideo.mp4" -f dvd -c:v:0 mpeg2video -s 720x480 -r 30000/1001 -g 18 -b:v:0 8000000 -maxrate:v:0 8000000 -minrate:v:0 8000000 -bufsize:v:0 1835008 -packetsize 2048 -muxrate 10080000 -b:a 192000 -ar 48000 -c:a:0 ac3 -map 0:v -map 0:a "/tmp/dvd-cache/entry001.vob"
avconv version 9.13-6:9.13-0ubuntu0.14.04.1, Copyright (c) 2000-2014 the Libav developers
built on May 9 2014 13:34:03 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 2 with DTS 3559, packet 3 with DTS 3559
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 4 with DTS 5495, packet 5 with DTS 5495
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 6 with DTS 7655, packet 7 with DTS 7655
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 8 with DTS 9367, packet 9 with DTS 9367
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 10 with DTS 11751, packet 11 with DTS 11751
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 12 with DTS 13687, packet 13 with DTS 13687
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 14 with DTS 15847, packet 15 with DTS 15847
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 18 with DTS 19943, packet 19 with DTS 19943
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 20 with DTS 21879, packet 21 with DTS 21879
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 22 with DTS 24039, packet 23 with DTS 24039
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 24 with DTS 25751, packet 25 with DTS 25751
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 26 with DTS 28135, packet 27 with DTS 28135
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 28 with DTS 30071, packet 29 with DTS 30071
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 30 with DTS 32231, packet 31 with DTS 32231
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 32 with DTS 33943, packet 33 with DTS 33943
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 34 with DTS 36327, packet 35 with DTS 36327
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 36 with DTS 38263, packet 37 with DTS 38263
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 38 with DTS 40423, packet 39 with DTS 40423
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d85980] Non-increasing DTS in stream 1: packet 40 with DTS 42135, packet 41 with DTS 42135
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/…/firstvideo.mp4':
Metadata:
major_brand : isom
minor_version : 0
compatible_brands: isom3gp4
creation_time : 1947-02-25 18:13:37
Duration: 00:00:29.57, start: 0.000000, bitrate: 15231 kb/s
Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080, 15068 kb/s, PAR 65536:65536 DAR 16:9, 30.01 fps, 90k tbn
Metadata:
creation_time : 2013-02-25 18:13:37
Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, fltp, 127 kb/s
Metadata:
creation_time : 2013-02-25 18:13:37
Output #0, dvd, to '/tmp/dvd-cache/entry001.vob':
Metadata:
major_brand : isom
minor_version : 0
compatible_brands: isom3gp4
creation_time : 1947-02-25 18:13:37
encoder : Lavf54.20.4
Stream #0.0(eng): Video: mpeg2video, yuv420p, 720x480 [PAR 32:27 DAR 16:9], q=2-31, 8000 kb/s, 90k tbn, 29.97 tbc
Metadata:
creation_time : 2013-02-25 18:13:37
Stream #0.1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
creation_time : 2013-02-25 18:13:37
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> mpeg2video)
Stream #0:1 -> #0:1 (aac -> ac3)
Press ctrl-c to stop encoding
[dvd @ 0x1d9b380] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 38338 >= 37954
av_interleaved_write_frame(): Invalid argument
Error transcoding of /…/firstvideo.mp4
This looks to be an error in libav, reported at
http://bugzilla.libav.org/show_bug.cgi?id=478 but still open;
https://trac.ffmpeg.org/ticket/1154 seems to imply that it has been
fixed in ffmpeg. I have not yet managed to get a build of dvdstyler
using ffmpeg rather than avconv to verify this.
bombono-dvd 1.2.2-0ubuntu1 fails with the same error, by the way, so
it is possible this ought to be filed under libav-tools.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: dvdstyler 2.5.2-0ubuntu3
ProcVersionSignature: Ubuntu 3.13.0-30.55-generic 3.13.11.2
Uname: Linux 3.13.0-30-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: XFCE
Date: Wed Jul 9 23:23:20 2014
ExecutablePath: /usr/bin/dvdstyler
InstallationDate: Installed on 2014-01-13 (177 days ago)
InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016)
ProcEnviron:
LANGUAGE=en_US
PATH=(custom, user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: dvdstyler
UpgradeStatus: Upgraded to trusty on 2014-04-30 (71 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dvdstyler/+bug/1339980/+subscriptions
Follow ups
References