← Back to team overview

desktop-packages team mailing list archive

[Bug 1180343] Re: avconv fails to remux MOV with H.264 and Raw 16-bit PCM audio

 

A bug submitted to libav.org:
https://bugzilla.libav.org/show_bug.cgi?id=811

** Bug watch added: bugzilla.libav.org #811
   http://bugzilla.libav.org/show_bug.cgi?id=811

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libav in Ubuntu.
https://bugs.launchpad.net/bugs/1180343

Title:
  avconv fails to remux MOV with H.264 and Raw 16-bit PCM audio

Status in libav package in Ubuntu:
  Incomplete

Bug description:
  I have a lot of MOV files created by Canon EOS 7D. Unfortunately I
  didn't set date/time in time so I needed to change "creation_time",
  i.e. to remux MOV files with "-metadata creation_time=...",

  e.g.
      avconv -i MVI_0007.MOV -vcodec copy -acodec copy -metadata creation_time="2011-02-04 13:23:35" MVI_0007.avconv.MOV

  The resulting MOV file turned to be a problem. Neither totem nor
  Popcorn Hour A-400 could play it's audio track. And here is why:

  mantonyan@mantonyan:~/Desktop/mtimecorrector$ diff -u MVI_0007.MOV.mediainfo MVI_0007.avconv.MOV.mediainfo
  --- MVI_0007.MOV.mediainfo	2013-05-15 14:22:11.435335721 +0400
  +++ MVI_0007.avconv.MOV.mediainfo	2013-05-15 14:52:18.871333390 +0400
  @@ -1,13 +1,14 @@
   General
  -Complete name                            : MVI_0007.MOV
  +Complete name                            : MVI_0007.avconv.MOV
   Format                                   : MPEG-4
   Format profile                           : QuickTime
   Codec ID                                 : qt
   File size                                : 97.9 MiB
   Duration                                 : 18s 160ms
   Overall bit rate                         : 45.2 Mbps
  -Encoded date                             : UTC 2009-01-01 00:13:44
  -Tagged date                              : UTC 2009-01-01 00:13:44
  +Encoded date                             : UTC 2011-02-04 13:23:35
  +Tagged date                              : UTC 2011-02-04 13:23:35
  +Writing application                      : Lavf53.21.1

   Video
   ID                                       : 1
  @@ -34,8 +35,8 @@
   Bits/(Pixel*Frame)                       : 0.843
   Stream size                              : 94.6 MiB (97%)
   Language                                 : English
  -Encoded date                             : UTC 2009-01-01 00:13:44
  -Tagged date                              : UTC 2009-01-01 00:13:44
  +Encoded date                             : UTC 2011-02-04 13:23:35
  +Tagged date                              : UTC 2011-02-04 13:23:35
   Color primaries                          : BT.709
   Transfer characteristics                 : BT.709
   Matrix coefficients                      : BT.601
  @@ -43,9 +44,9 @@
   Audio
   ID                                       : 2
   Format                                   : PCM
  -Format settings, Endianness              : Little
  -Format settings, Sign                    : Signed
  -Codec ID                                 : sowt
  +Format settings, Endianness              : Big
  +Format settings, Sign                    : Unsigned
  +Codec ID                                 : lpcm
   Duration                                 : 18s 160ms
   Bit rate mode                            : Constant
   Bit rate                                 : 1 536 Kbps
  @@ -55,7 +56,7 @@
   Bit depth                                : 16 bits
   Stream size                              : 3.33 MiB (3%)
   Language                                 : English
  -Encoded date                             : UTC 2009-01-01 00:13:44
  -Tagged date                              : UTC 2009-01-01 00:13:44
  +Encoded date                             : UTC 2011-02-04 13:23:35
  +Tagged date                              : UTC 2011-02-04 13:23:35

  "little-endian signed sowt" got converted to "big-endian unsigned
  lpcm".

  Than I tried doing the same with
  http://ffmpeg.gusari.org/static/64bit/ffmpeg.static.64bit.2013-05-15.tar.gz

  e.g.
      ~/Desktop/ffmpeg.static.64bit.2013-05-15/ffmpeg -i MVI_0007.MOV -vcodec copy -acodec copy -metadata creation_time="2011-02-04 13:23:35" MVI_0007.ffmpeg.MOV

  Surprisingly the resulting MOV was correct, i.e. "little-endian signed
  sowt" got converted to "little-endian signed sowt" (!).

  Thus ffmpeg converted the MOV file correctly whereas avconv didn't
  which led me to a conclusion that maybe there is a bug in avconv.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: libav-tools 6:0.8.6-1ubuntu2
  ProcVersionSignature: Ubuntu 3.9.0-0.4-generic 3.9.0
  Uname: Linux 3.9.0-0-generic x86_64
  ApportVersion: 2.10-0ubuntu3
  Architecture: amd64
  Date: Wed May 15 14:37:02 2013
  InstallationDate: Installed on 2011-06-28 (686 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110531.1)
  MarkForUpload: True
  SourcePackage: libav
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libav/+bug/1180343/+subscriptions