[FFmpeg-trac] #199(FFmpeg:new): failed decoding h264 if -threads specifid
FFmpeg
trac at avcodec.org
Fri May 13 14:16:45 CEST 2011
#199: failed decoding h264 if -threads specifid
--------------------------+---------------------
Reporter: verem | Owner: michael
Type: defect | Status: new
Priority: critical | Component: FFmpeg
Version: unspecified | Keywords:
Blocked By: | Blocking:
Reproduced: 0 | Analyzed: 0
--------------------------+---------------------
todays latest git-N-29906-ge3114a9 ffmpeg build failed to decode h264
stream if -thread parameter specified:
with threads parameter specified:
{{{
[root at dev-4 ffmpeg.git]# ./ffmpeg -threads 2 -i
nature_704x576_25Hz_1500kbits.h264 -f rawvideo -y /dev/null
ffmpeg version git-N-29906-ge3114a9, Copyright (c) 2000-2011 the FFmpeg
developers
built on May 13 2011 10:54:40 with gcc 4.5.1 20100924 (Red Hat 4.5.1-4)
configuration: --prefix=/usr/local/enctools --extra-
cflags=-I/usr/local/enctools/include --extra-
ldflags=-L/usr/local/enctools/lib --enable-shared --enable-gpl --enable-
version3 --enable-nonfree --enable-postproc --enable-avfilter --enable-
pthreads --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
libavutil 51. 2. 1 / 51. 2. 1
libavcodec 53. 5. 0 / 53. 5. 0
libavformat 53. 0. 3 / 53. 0. 3
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 5. 0 / 2. 5. 0
libswscale 0. 14. 0 / 0. 14. 0
libpostproc 51. 2. 0 / 51. 2. 0
[h264 @ 0x91b8b20] max_analyze_duration reached
[h264 @ 0x91b8b20] Estimating duration from bitrate, this may be
inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 50.00
(50/1) -> 25.00 (50/2)
Input #0, h264, from 'nature_704x576_25Hz_1500kbits.h264':
Duration: N/A, bitrate: N/A
Stream #0.0: Video: h264 (Main), yuv420p, 704x576, 25 fps, 25 tbr,
1200k tbn, 50 tbc
[buffer @ 0x9303240] w:704 h:576 pixfmt:yuv420p tb:1/1000000 sar:0/1
Output #0, rawvideo, to '/dev/null':
Metadata:
encoder : Lavf53.0.3
Stream #0.0: Video: rawvideo, yuv420p, 704x576, q=2-31, 200 kb/s, 90k
tbn, 25 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
[buffer @ 0x9303240] Buffer video input changed from size:704x576
fmt:yuv420p to size:0x0 fmt:(null)
[buffer @ 0x9303240] Inserting scaler filter
[ffsink @ 0x9462c00] auto-inserting filter 'Input equalizer' between the
filter 'src' and the filter 'out'
[scale @ 0x91ba8e0] w:0 h:0 fmt:(null) -> w:704 h:576 fmt:yuv420p
flags:0x2
swScaler: Unknown format is not supported as input pixel format
Last message repeated 2 times
[IMGUTILS @ 0xbf9a4154] Picture size 0x0 is invalid
Segmentation fault
}}}
without threads parameter:
{{{
[root at dev-4 ffmpeg.git]# ./ffmpeg -i nature_704x576_25Hz_1500kbits.h264 -f
rawvideo -y /dev/null
ffmpeg version git-N-29906-ge3114a9, Copyright (c) 2000-2011 the FFmpeg
developers
built on May 13 2011 10:54:40 with gcc 4.5.1 20100924 (Red Hat 4.5.1-4)
configuration: --prefix=/usr/local/enctools --extra-
cflags=-I/usr/local/enctools/include --extra-
ldflags=-L/usr/local/enctools/lib --enable-shared --enable-gpl --enable-
version3 --enable-nonfree --enable-postproc --enable-avfilter --enable-
pthreads --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
libavutil 51. 2. 1 / 51. 2. 1
libavcodec 53. 5. 0 / 53. 5. 0
libavformat 53. 0. 3 / 53. 0. 3
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 5. 0 / 2. 5. 0
libswscale 0. 14. 0 / 0. 14. 0
libpostproc 51. 2. 0 / 51. 2. 0
[h264 @ 0x8e67b20] max_analyze_duration reached
[h264 @ 0x8e67b20] Estimating duration from bitrate, this may be
inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 50.00
(50/1) -> 25.00 (50/2)
Input #0, h264, from 'nature_704x576_25Hz_1500kbits.h264':
Duration: N/A, bitrate: N/A
Stream #0.0: Video: h264 (Main), yuv420p, 704x576, 25 fps, 25 tbr,
1200k tbn, 50 tbc
[buffer @ 0x8fb2240] w:704 h:576 pixfmt:yuv420p tb:1/1000000 sar:0/1
Output #0, rawvideo, to '/dev/null':
Metadata:
encoder : Lavf53.0.3
Stream #0.0: Video: rawvideo, yuv420p, 704x576, q=2-31, 200 kb/s, 90k
tbn, 25 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 236 fps=217 q=0.0 Lsize= 0kB time=9.44 bitrate= 0.0kbits/s
video:140184kB audio:0kB global headers:0kB muxing overhead -100.000000%
Received signal 2: terminating.
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/199>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list