Page 1 of 1

decode_slice_header error in mp4, converted via CVLC

Posted: 17 Nov 2014 11:36
by Uznick
Hello.

I have a strange problem:

I convert mp4 source file using command

Code: Select all

/Applications/VLC.app/Contents/MacOS/VLC -I dummy /home/uznick/H264_test5_voice_mp4_480x360.mp4 vlc://quit --sout "#transcode{vb=5000,ab=160,vcodec=h264,height=1080,channels=2,width=1920,samplerate=48000,acodec=aac}:std{access=file{no-overwrite},mux=mp4,dst='/home/uznick/test.mp4'}" --sout-avcodec-strict=-2 -vvv
And when I try to convert it to flv using avconv:

Code: Select all

avconv -y -loglevel error -i /home/uznick/test.mp4 -codec copy /home/uznick/test.mp4.flv
I get an error:

Code: Select all

[h264 @ 0x7fdd8a819a00] A non-intra slice in an IDR NAL unit. [h264 @ 0x7fdd8a819a00] decode_slice_header error
When I just use ffprobe to check the file, I get the same error too:

Code: Select all

ffprobe /home/uznick/test.mp4 ffprobe version 2.4.3 Copyright (c) 2007-2014 the FFmpeg developers built on Nov 7 2014 18:39:07 with Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn) configuration: --prefix=/usr/local/Cellar/ffmpeg/2.4.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid libavutil 54. 7.100 / 54. 7.100 libavcodec 56. 1.100 / 56. 1.100 libavformat 56. 4.101 / 56. 4.101 libavdevice 56. 0.100 / 56. 0.100 libavfilter 5. 1.100 / 5. 1.100 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 0.100 / 3. 0.100 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 0.100 / 53. 0.100 [h264 @ 0x7ffd73807e00] A non-intra slice in an IDR NAL unit. [h264 @ 0x7ffd73807e00] decode_slice_header error Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/uznick/test.mp4': Metadata: major_brand : isom minor_version : 0 compatible_brands: mp41avc1qt creation_time : 2014-11-17 09:15:03 encoder : vlc 2.1.5 stream output encoder-eng : vlc 2.1.5 stream output Duration: 00:00:04.83, start: 0.000000, bitrate: 1759 kb/s Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 126 kb/s (default) Metadata: creation_time : 2014-11-17 09:15:03 handler_name : SoundHandler Stream #0:1(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 57:128 DAR 19:24], 1663 kb/s, 30 fps, 30 tbr, 1000k tbn, 60 tbc (default) Metadata: creation_time : 2014-11-17 09:15:03 handler_name : VideoHandler
What is the problem? Am I missing any parameters to pass to cvlc transcode?