[libav-bugs] [Bug 220] New: RV40 Deadlock with multi-threaded decoding

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Sat Feb 4 08:55:15 CET 2012


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

           Summary: RV40 Deadlock with multi-threaded decoding
           Product: Libav
           Version: git HEAD
          Platform: X86
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: Normal
         Component: libavcodec
        AssignedTo: bugzilla at libav.org
        ReportedBy: h.leppkes at gmail.com


I encountered a deadlock when using multi-threaded decoding on this file:

http://files.1f0.de/samples/rv40-freeze.rmvb (10MB)

Can be reproduced with avconv (freezes immediately)

avconv -v 9 -loglevel 99 -i rv40-freeze.rmvb -r 24 temp.avi

avconv version v0.8-291-g6f1a5e8, Copyright (c) 2000-2011 the Libav developers
  built on Feb  3 2012 23:28:33 with gcc 4.5.2
  configuration: --enable-runtime-cpudetect --enable-cross-compile
--enable-w32threads --prefix=/usr --cross-prefix=ming
w32- --arch=i686 --target-os=mingw32 --sysroot=/usr/mingw32/ --enable-gpl
--enable-librtmp --enable-libx264 --enable-lib
mp3lame --enable-libvorbis --enable-memalign-hack --enable-shared
--enable-avisynth --enable-libvpx
  libavutil    51. 22. 0 / 51. 22. 0
  libavcodec   54.  0. 0 / 54.  0. 0
  libavformat  54.  0. 0 / 54.  0. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 15. 0 /  2. 15. 0
  libswscale    2.  1. 0 /  2.  1. 0
[rm @ 0128fa20] Probed with size=2048 and score=100
[NULL @ 02d5a6a0] Unsupported video codec
[rm @ 0128fa20] max_analyze_duration reached
Input #0, rm, from 'Angel_Heart_-_01.rmvb':
  Metadata:
    title           : Angel Heart - Re-encoded by Agravaine
    author          : (AnimeCorner.nl-encodes) - Agravaine
    copyright       :
    comment         :
  Duration: 00:22:49.63, start: 0.000000, bitrate: 362 kb/s
    Stream #0.0, 159, 1/1000: Audio: aac, 32000 Hz, stereo, s16, 64 kb/s
    Stream #0.1, 77, 1/1000: Video: rv40, yuv420p, 512x292, 1/1000, 291 kb/s,
23.98 fps, 23.98 tbr, 1k tbn, 1k tbc
    Stream #0.2, 0, 1/1000: Data: [0][0][0][0] / 0x0000
[buffer @ 02d59780] w:512 h:292 pixfmt:yuv420p
[mpeg4 @ 02d58ba0] detected 8 logical cores
[rv40 @ 02d5a000] detected 8 logical cores
Output #0, avi, to 'temp.avi':
  Metadata:
    INAM            : Angel Heart - Re-encoded by Agravaine
    author          : (AnimeCorner.nl-encodes) - Agravaine
    ICOP            :
    ICMT            :
    ISFT            : Lavf54.0.0
    Stream #0.0, 0, 1/24: Video: mpeg4, yuv420p, 512x292, 1/24, q=2-31, 200
kb/s, 24 tbn, 24 tbc
    Stream #0.1, 0, 9/250: Audio: libmp3lame, 32000 Hz, stereo, s16, 200 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (rv40 -> mpeg4)
  Stream #0:0 -> #0:1 (aac -> libmp3lame)
Press ctrl-c to stop encoding
[rv40 @ 04ca7bc0] Changing dimensions to 512x288

Adding "-threads 1" before the input file fixes the problem, and the
transcoding works fine.

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