[libav-bugs] [Bug 745] New: [Bug] MP3 files with embedded JPEG are converted to video instead of audio OGG

bugzilla at libav.org bugzilla at libav.org
Mon Sep 22 22:13:38 CEST 2014


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

           Summary: [Bug] MP3 files with embedded JPEG are converted to
                    video instead of audio OGG
           Product: Libav
           Version: git HEAD
          Platform: X86
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: general
        AssignedTo: bugzilla at libav.org
        ReportedBy: garysferrao+bugzilla at googlemail.com


Command:
for i in *.mp3; do avconv -i "$i" -codec:a libvorbis -qscale:a 5 "$i.ogg" ;
done

My MP3 files had embedded album art (JPG) in them. So when i tried to convert
them to OGG, it came up with this error:

Stream mapping:
  Stream #0:1 -> #0:0 (mjpeg -> libtheora)
  Stream #0:0 -> #0:1 (mp3 -> libvorbis)
Press ctrl-c to stop encoding
[fps @ 0x6ff500] Discarding initial frame(s) with no timestamp.
[mp3 @ 0x6e6e40] Header missing
Error while decoding stream #0:0


When i edited the files and removed the album art tag, the files were
successfully converted to OGG audio, and avconv did not try to encode with
libtheora.

Stream mapping:
  Stream #0:0 -> #0:0 (mp3 -> libvorbis)
Press ctrl-c to stop encoding
size=    4234kB time=196.27 bitrate= 176.7kbits/s    
video:0kB audio:4198kB global headers:4kB muxing overhead 0.744853%

It's easy to attach album art using any MP3 tag editor, but do let me know if
you need the sample, or any additional info.

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