[FFmpeg-trac] #508(undetermined:new): transcoding to mp4 with ffmpeg fails reliably

FFmpeg trac at avcodec.org
Mon Sep 26 01:34:20 CEST 2011


#508: transcoding to mp4 with ffmpeg fails reliably
-------------------------------------+-------------------------------------
             Reporter:  graylion     |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 in this example I tried to transcode a mkv with h264 and dca to mp4 and
 ac3. The commandline was:

 ffmpeg -i Excalibur\ 1981.mkv -sameq -vcodec mpeg4 -pass 1 -threads 4 -b
 10000000 -an -f mp4 -y /dev/nul

 the next step would have been:

 ffmpeg -i Excalibur\ 1981.mkv -sameq -vcodec mpeg4 -pass 2 -threads 4 -b
 10000000 -acodec ac3 -ab 384000 -f mp4 Excalibur.mp4

 after some procerssing I got the following error:

 av_interleaved_write_frame(): Error while opening file
 bitrate=12810.9kbits/s

 the output you asked for is here:

 #ffmpeg -v 9 -loglevel 99 -i Excalibur\ 1981.mkv
 FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.2, Copyright (c) 2000-2009
 Fabrice Bellard, et al.
   configuration: --extra-version=4:0.5.1-1ubuntu1.2 --prefix=/usr
 --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib
 --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-
 libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-
 stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl
 --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394
 --enable-shared --disable-static
   libavutil     49.15. 0 / 49.15. 0
   libavcodec    52.20. 1 / 52.20. 1
   libavformat   52.31. 0 / 52.31. 0
   libavdevice   52. 1. 0 / 52. 1. 0
   libavfilter    0. 4. 0 /  0. 4. 0
   libswscale     0. 7. 1 /  0. 7. 1
   libpostproc   51. 2. 0 / 51. 2. 0
   built on Sep 16 2011 17:08:44, gcc: 4.4.3
 ffmpeg: unrecognized option '-loglevel'

 This used to work without any problems until about a month ago, now it
 fails reliably. sometimes in first pass, sometimes in second, but it will
 fail.

 OS is Ubuntu Lucid 10.04.3

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/508>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list