ffmpeg2theora and 'Audio sample format conversion failed'

Bug #1100402 reported by B K
38
This bug affects 8 people
Affects Status Importance Assigned to Milestone
ffmpeg2theora
New
Undecided
Unassigned

Bug Description

I'm trying to use ffmpeg2theora to convert the Big Buck Bunny 480p trailer (http://mirror.cessen.com/blender.org/peach/trailer/trailer_480p.mov). No matter what I've tried for args, ffmpeg2theora reports: "Audio sample format conversion failed". It converts video but there is no audio. Is this a know issue, a bug or do I need some special type of arg?

Revision history for this message
livram79 (livram79) wrote :

I have also tried to convert the big_buck_bunny_480p_h264.mov to ogg theora using ffmpeg2theora from http://firefogg.org/nightly and got an audio error.

input command:
liviu@pc:~$ ./ffmpeg2theora.linux big_buck_bunny_480p_h264.mov -o big_buck_bunny_480p.ogv -v 10 -a 5

output error:
[aac @ 0xb44d2a0] Custom get_buffer() for use withavcodec_decode_audio3() detected. Overriding with avcodec_default_get_buffer
[aac @ 0xb44d2a0] Please port your application to avcodec_decode_audio4()
[audioresample @ 0xb47a300] Audio sample format conversion failed
[audioresample @ 0xb47a300] Audio sample format conversion failed

When I add --noaudio, there is no error message.

Revision history for this message
Shuduo Sang (sangshuduo) wrote :

it happens on 14.04 too when i try to convert a mp4 which download from youtube to ogv.

Revision history for this message
Alexandros Prekates (aprekates) wrote :

The same with me. In 14.04 trying to convert a mp4 and a 3gp file downloaded from youtube i get a growing list of :
[audioresample @ 0x8afaa40] Audio sample format conversion failed
.....
.....

Revision history for this message
humner (hiperzeus) wrote :

yo tuve el mismo error "Audio sample format conversion failed" tratando de cortar un video:
    :-$ ffmpeg2theora -f mp4 -s 168 -e 180 --croptop 36 --cropbottom 32 -p pro oye.mp4 -o oye-uno.mp4
 y lo solucione con mencoder:
    :-$ mencoder oye.mp4 -ovc copy -oac pcm -ss 165 -endpos 15 -o oye-uno.mp4
con esto logre cortar el video, solo faltaba eliminar los bordes.

solo use ffmpeg2theora para eliminar los bordes:
    :-$ ffmpeg2theora --croptop 36 --cropbottom 32 oye-uno.mp4

Revision history for this message
George (3grciii) wrote :

Similar problems here:

ffmpeg2theora disorder_in_the_court.mpeg -a 10 -v 10 -o disorder_in_the_court.ogv

[mpeg2video @ 0x9f58460] warning: first frame is no keyframe
[audioresample @ 0x9f697a0] Audio sample format conversion failed

The last line repeats until I break (CTRL-C)

Revision history for this message
George (3grciii) wrote :

Further info about source from mediainfo:

General
Complete name : disorder_in_the_court.mpeg
Format : MPEG-PS
File size : 570 MiB
Duration : 16mn 36s
Overall bit rate : 4 796 Kbps

Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Default
Format settings, GOP : M=2, N=16
Duration : 16mn 36s
Bit rate : 4 500 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 29.970 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.434
Time code of first frame : 00:00:00;00
Time code source : Group of pictures header
Stream size : 532 MiB (93%)

Audio
ID : 192 (0xC0)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Duration : 16mn 36s
Bit rate mode : Constant
Bit rate : 224 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : -67ms
Stream size : 26.6 MiB (5%)

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.