[libav-bugs] [Bug 741] New: avconv segfaults in libav-9.16/libavformat/oggenc.c:221

bugzilla at libav.org bugzilla at libav.org
Fri Sep 12 21:45:42 CEST 2014


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

           Summary: avconv segfaults in
                    libav-9.16/libavformat/oggenc.c:221
           Product: Libav
           Version: git HEAD
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: libavformat
        AssignedTo: bugzilla at libav.org
        ReportedBy: devurandom at gmx.net


# What I tried to accomplish:

I tried to convert an MP4 file (downloaded from YouTube) to Ogg/Vorbis and add
some metadata (most notably album art) to it.


# The problem I encountered:

avconv encountered a segfault.


# The exact commandline I was using:

$ avconv -i Ana\ Tijoux\ -\ Vengo\ \(2014\)\ \[Álbum\
Completo\]--k8YaItg-Jo.mp4 -vn -c:a libvorbis -metadata artist="Ana Tijoux"
-metadata title=Vengo -metadata albumartist="Ana Tijoux" -metadata album=Vengo
-metadata metadata_block_picture="$(base64 --wrap=0 Vengo.jpg)" Ana\ Tijoux\ -\
Vengo\ \(2014\)\ \[Álbum\ Completo\]--k8YaItg-Jo.ogg


# The output avconv created:

avconv version 9.16-6:9.16-0ubuntu0.14.04.1, Copyright (c) 2000-2014 the Libav
developers
  built on Aug 10 2014 18:16:02 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Ana Tijoux - Vengo (2014) [Álbum
Completo]--k8YaItg-Jo.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2014-04-22 10:56:32
  Duration: 00:53:09.91, start: 0.000000, bitrate: 359 kb/s
    Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 360x360 [PAR
1:1 DAR 1:1], 260 kb/s, 30 fps, 30 tbr, 30 tbn, 60 tbc
    Stream #0.1(und): Audio: aac, 44100 Hz, stereo, fltp, 96 kb/s
    Metadata:
      creation_time   : 2014-04-22 10:56:59
File 'Ana Tijoux - Vengo (2014) [Álbum Completo]--k8YaItg-Jo.ogg' already
exists. Overwrite ? [y/N] y
Speicherzugriffsfehler (Speicherabzug geschrieben)


# Information about the file:

$ avconv -v 9 -loglevel 99 -i Ana\ Tijoux\ -\ Vengo\ \(2014\)\ \[Álbum\
Completo\]--k8YaItg-Jo.mp4
avconv version 9.16-6:9.16-0ubuntu0.14.04.1, Copyright (c) 2000-2014 the Libav
developers
  built on Aug 10 2014 18:16:02 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect
--extra-version='6:9.16-0ubuntu0.14.04.1' --libdir=/usr/lib/x86_64-linux-gnu
--prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype
--enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame
--enable-librtmp --enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi
--enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl
--enable-swscale --enable-libcdio --enable-x11grab --enable-libx264
--enable-libxvid --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared
--disable-static
  libavutil     52.  3. 0 / 52.  3. 0
  libavcodec    54. 35. 0 / 54. 35. 0
  libavformat   54. 20. 4 / 54. 20. 4
  libavdevice   53.  2. 0 / 53.  2. 0
  libavfilter    3.  3. 0 /  3.  3. 0
  libavresample  1.  0. 1 /  1.  0. 1
  libswscale     2.  1. 1 /  2.  1. 1
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 'Ana Tijoux - Vengo
(2014) [Álbum Completo]--k8YaItg-Jo.mp4'.
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 Ana Tijoux - Vengo (2014) [Álbum
Completo]--k8YaItg-Jo.mp4.
Successfully parsed a group of options.
Opening an input file: Ana Tijoux - Vengo (2014) [Álbum
Completo]--k8YaItg-Jo.mp4.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1b946c0] Probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1b946c0] ISO: File Type Major Brand: mp42
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1b946c0] All info found
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Ana Tijoux - Vengo (2014) [Álbum
Completo]--k8YaItg-Jo.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2014-04-22 10:56:32
  Duration: 00:53:09.91, start: 0.000000, bitrate: 359 kb/s
    Stream #0.0(und), 16, 1/30: Video: h264 (Constrained Baseline), yuv420p,
360x360 [PAR 1:1 DAR 1:1], 1/60, 260 kb/s, 30 fps, 30 tbr, 30 tbn, 60 tbc
    Stream #0.1(und), 1, 1/44100: Audio: aac, 44100 Hz, stereo, fltp, 96 kb/s
    Metadata:
      creation_time   : 2014-04-22 10:56:59
Successfully openened the file.
At least one output file must be specified


Please find an Ubuntu Apport crash report attached.

-- 
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