"Segmentation fault" when converting from 6 to 2 channels

Bug #908646 reported by Amr Ibrahim
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libav (Ubuntu)
Expired
Low
Unassigned

Bug Description

Note: Bug is reproduced regardless "libavcodec-extra-53" is installed or not

When I issue

ffmpeg -i A.mp4 -ac 2 B.mp4

The result is

ffmpeg version 0.7.2-4:0.7.2-1ubuntu1, Copyright (c) 2000-2011 the Libav developers
  built on Oct 2 2011 15:13:26 with gcc 4.6.1
  configuration: --extra-version='4:0.7.2-1ubuntu1' --arch=amd64 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
  WARNING: library configuration mismatch
  avutil configuration: --extra-version='4:0.7.2.1ubuntu1' --arch=amd64 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-libopenjpeg --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdirac --enable-libmp3lame --enable-librtmp --enable-libx264 --enable-libxvid --enable-libvo-aacenc --enable-version3 --enable-libvo-amrwbenc --enable-version3 --enable-libdc1394 --enable-shared --disable-static
  avcodec configuration: --extra-version='4:0.7.2.1ubuntu1' --arch=amd64 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-libopenjpeg --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdirac --enable-libmp3lame --enable-librtmp --enable-libx264 --enable-libxvid --enable-libvo-aacenc --enable-version3 --enable-libvo-amrwbenc --enable-version3 --enable-libdc1394 --enable-shared --disable-static
  libavutil 51. 7. 0 / 51. 7. 0
  libavcodec 53. 5. 0 / 53. 5. 0
  libavformat 53. 2. 0 / 53. 2. 0
  libavdevice 53. 0. 0 / 53. 0. 0
  libavfilter 2. 4. 0 / 2. 4. 0
  libswscale 2. 0. 0 / 2. 0. 0
  libpostproc 52. 0. 0 / 52. 0. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'A.mp4':
  Metadata:
    major_brand : isom
    minor_version : 1
    compatible_brands: isom
    creation_time : 2010-11-18 08:57:45
  Duration: 02:03:57.50, start: 0.000000, bitrate: 2880 kb/s
    Stream #0.0(und): Video: h264 (High), yuv420p, 1280x528 [PAR 1:1 DAR 80:33], 2496 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
    Metadata:
      creation_time : 2010-11-18 08:27:37
    Stream #0.1(und): Audio: aac, 48000 Hz, 5.1, s16, 380 kb/s
    Metadata:
      creation_time : 2010-11-18 08:58:53
[buffer @ 0x1927f60] w:1280 h:528 pixfmt:yuv420p
Output #0, mp4, to 'B.mp4':
  Metadata:
    major_brand : isom
    minor_version : 1
    compatible_brands: isom
    creation_time : 2010-11-18 08:57:45
    encoder : Lavf53.2.0
    Stream #0.0(und): Video: mpeg4, yuv420p, 1280x528 [PAR 1:1 DAR 80:33], q=2-31, 200 kb/s, 24k tbn, 23.98 tbc
    Metadata:
      creation_time : 2010-11-18 08:27:37
    Stream #0.1(und): Audio: libvo_aacenc, 48000 Hz, 2 channels, s16, 64 kb/s
    Metadata:
      creation_time : 2010-11-18 08:58:53
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press ctrl-c to stop encoding
Segmentation fault

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: ffmpeg 4:0.7.2-1ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
Uname: Linux 3.0.0-14-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Mon Dec 26 02:30:07 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: libav
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :
Revision history for this message
Reinhard Tartler (siretart) wrote :

In order to investigate this crash further, a stacktrace, and ideally the 6channel input file are required.

Changed in libav (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

I have two problems:
1. How can I get that stacktrace?
2. The input file is 2.5 GB, so I can't attach it directly. I can attach the torrent file (A.torrent) which contains the 6ch video named "The Twilight Saga Eclipse.mp4".

Revision history for this message
Reinhard Tartler (siretart) wrote : Re: [Bug 908646] Re: "Segmentation fault" when converting from 6 to 2 channels

On Mo, Dez 26, 2011 at 12:40:51 (CET), Amr Ibrahim wrote:

> I have two problems:
> 1. How can I get that stacktrace?

See https://wiki.ubuntu.com/Backtrace for detailed information.

> 2. The input file is 2.5 GB, so I can't attach it directly. I can
> attach the torrent file (A.torrent) which contains the 6ch video named
> "The Twilight Saga Eclipse.mp4".

Sorry, the .torrent file is not really useful.

Please try to extract a small part of the file that causes the
crash. See the libav debugging instruction for more details (see the
'Submitting Sample Media' section):

http://libav.org/bugreports.html

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :
description: updated
Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for libav (Ubuntu) because there has been no activity for 60 days.]

Changed in libav (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.