[Libav-user] decoding for stream 0 failed ?

ssshukla26 ssshukla26 at gmail.com
Wed Jul 20 12:55:22 CEST 2016


Hi,

I am implementing a custom decoder of qualcomm chipset into ffmpeg, have a
working linux application for the same. I am able to run decoder, but its
closing with aN error as show below.

Note: The output format is nv12 tiled, we have already added support for
nv12 tile to yuv420p conversion in libswscale. 
0001-NV12-Tile-pixel-format-support-added.patch
<http://libav-users.943685.n4.nabble.com/file/n4662340/0001-NV12-Tile-pixel-format-support-added.patch>  

# *ffmpeg -f h264 -c:v h264_qhw -i no_mans_sky_1080p_10sec.h264 -pix_fmt
nv12_tiled -s 1920x1080 -r 30 out_1080p.yuv*
ffmpeg version N-80917-gc5096bc Copyright (c) 2000-2016 the FFmpeg
developers
  built with gcc 4.9.2 (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC
4.9-2014.09) 20140904 (prerelease)
  configuration: --prefix=comark_SBC_ffmpeg/ --enable-shared
--enable-nonfree --enable-pic --enable-gpl --enable-cross-compile
--cross-prefix=arm-linux-gnueabihf- --arch=arm --target-os=linux
--extra-cflags=-I../sdl/source/SDL-1.2.15/comark_SBC_SDL//include/SDL/
--extra-ldflags='-L../sdl/source/SDL-1.2.15/comark_SBC_SDL//lib/ -lSDL'
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 48.101 / 57. 48.101
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 47.100 /  6. 47.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Initialized Params
@ 328 in init_params : width = 1920 & height = 1080
Initialized Decoder
@ 680 in vdec_set_buffer_requirement : Input Buffer mincount=1
maxcount=32
actualcount=3
,buffer_size=2097152
,alignment=2048
@ 703 in vdec_set_buffer_requirement : Output Buffer mincount=6
maxcount=32
actualcount=10
,buffer_size=3137536
,alignment=8192
@ 910 in vdec_alloc_h264_mv : Entered vdec_alloc_h264_mv act_width: 1920,
act_height: 1080, size: 5570560, alignment 8192
Start Decoder
Buffers freed for reconfiguration
@ 910 in vdec_alloc_h264_mv : Entered vdec_alloc_h264_mv act_width: 1920,
act_height: 1080, size: 5570560, alignment 8192
Buffers allocated for reconfiguration
*[h264 @ 0x4a260] decoding for stream 0 failed*

Stop Decoder
De-Initialized Decoder
De-Initialized Params
*[h264 @ 0x4a260] Could not find codec parameters for stream 0 (Video: h264
(High), none, 1920x1080): unspecified pixel format
*Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, h264, from 'no_mans_sky_1080p_10sec.h264':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (High), none, 1920x1080, 12.50 fps, 25 tbr,
1200k tbn, 25 tbc
File 'out_1080p.yuv' already exists. Overwrite ? [y/N] n
Not overwriting - exiting

Please help.




--
View this message in context: http://libav-users.943685.n4.nabble.com/Libav-user-decoding-for-stream-0-failed-tp4662372.html
Sent from the libav-users mailing list archive at Nabble.com.


More information about the Libav-user mailing list