[FFmpeg-user] "mmco: unref short failure" since ffmpeg/x264 syntax change

Fabian Lesniak fabian at lesniak-it.de
Sun Jun 12 22:33:24 CEST 2011


When playing any file encoded with a syntax similar to the following:

ffmpeg -i input.mpg -vcodec libx264 -b 1200k -preset slow -tune film -pass 1
-an -f rawvideo -y /dev/null
ffmpeg -i input.mpg -vcodec libx264 -b 1200k -preset slow -tune film -pass 2
-acodec libmp3lame -ac 2 -ab 128k output.avi

I get errors from mplayer/vlc/ffplay when seeking in the video:

ffplay:
ffplay version GIT-r201106041541, Copyright (c) 2003-2011 the FFmpeg
developers
  built on Jun  4 2011 15:38:01 with gcc 4.5.1 20101208 [gcc-4_5-branch
revision 167585]
  configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man
--libdir=/usr/lib64 --enable-shared --enable-libmp3lame --enable-libvorbis
--enable-libtheora --enable-libspeex --enable-libxvid --enable-postproc
--enable-gpl --enable-x11grab --extra-cflags='-fmessage-length=0 -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -g -fPIC -I/usr/include/gsm' --enable-debug
--disable-stripping --enable-libgsm --enable-libschroedinger
--enable-libdirac --enable-avfilter --enable-libvpx --enable-version3
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264
--enable-libdc1394 --enable-pthreads --enable-librtmp
  libavutil    51.  4. 0 / 51.  4. 0
  libavcodec   53.  6. 1 / 53.  6. 1
  libavformat  53.  2. 0 / 53.  2. 0
  libavdevice  53.  1. 0 / 53.  1. 0
  libavfilter   2. 12. 0 /  2. 12. 0
  libswscale    0. 14. 1 /  0. 14. 1
  libpostproc  51.  2. 0 / 51.  2. 0
[avi @ 0x6b5760] max_analyze_duration 5000000 reached at 5000000
Input #0, avi, from 'output.avi':                                                                    
  Metadata:
    encoder         : Lavf53.2.0
  Duration: 01:37:04.84, start: 0.000000, bitrate: 1364 kb/s
    Stream #0.0: Video: h264 (High), yuv420p, 704x380 [PAR 1:1 DAR 176:95],
25 fps, 25 tbr, 25 tbn, 50 tbc
    Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
[h264 @ 0x6b3c00] mmco: unref short failure78KB sq=    0B f=0/0   f=0/0   
 280.08 A-V:  0.002 s:0.0 aq=  320KB vq= 2012KB sq=    0B f=0/0                                     
    Last message repeated 18 times

I can also provide mplayer/vlc/ffmpeg output if you need.

AFAIK, "unref"-errors are somehow related to reference frames, but I don't
know what to do about it. This problem occurs since the syntax change of
ffmpeg ("-vpre" to "-preset" & "-tune"). I'm not experiencing any playback
issues (no crippled frames or the like) and the errors won't occur when I do
not seek in the stream. Other containers (I tried mkv) won't do anything
about it.

Best regards,
Fabian

--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/mmco-unref-short-failure-since-ffmpeg-x264-syntax-change-tp3592555p3592555.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list