[FFmpeg-user] h264 (yuv420p) to ffv1: "Assertion s->bits_per_raw_sample >= 8 failed"
Paul B Mahol
onemda at gmail.com
Wed Sep 9 13:17:05 CEST 2015
On 9/9/15, Peter B. <pb at das-werkstatt.com> wrote:
> I've just received a request, regarding an error message when converting
> from h264/PCM/MOV to FFV1/PCM/AVI.
> The transcoding doesn't start and exits with the following error message:
>
> [quote]
> "Assertion s->bits_per_raw_sample >= 8 failed at
> /home/kyle/software/ffmpeg/source/ffmpeg-git/libavcodec/ffv1enc.c:802"
> [/quote]
>
> The source is "yuv420p(tv, bt709)", which sounds like "8
> bits_per_raw_sample" to me.
>
> Couldn't figure out why this happens.
> It's either a very obvious mistake on my side, or something going wrong.
>
> Any ideas?
Remove assert and rebuild&reinstall is encoding working?
>
>
> Thank you very much in advance,
> Pb
>
>
>
> Commandline and complete, uncut console output:
>
> -------------------------------
> $ ffmpeg -i MiB_Beispiel_01.mov -vcodec ffv1 -level 3 -acodec copy
> MiB_Beispiel_01.avi
> -------------------------------
>
>
> ffmpeg version N-73648-g90dd6ad Copyright (c) 2000-2015 the FFmpeg
> developers
> built with gcc 4.9.2 (GCC)
> configuration: --enable-gpl --enable-version3 --disable-w32threads
> --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
> --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
> --enable-libbs2b --enable-libcaca --enable-libdcadec
> --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc
> --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
> --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
> --enable-librtmp --enable-libschroedinger --enable-libsoxr
> --enable-libspeex --enable-libtheora --enable-libtwolame
> --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
> --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
> --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
> --enable-lzma --enable-decklink --enable-zlib
> libavutil 54. 28.100 / 54. 28.100
> libavcodec 56. 48.100 / 56. 48.100
> libavformat 56. 40.100 / 56. 40.100
> libavdevice 56. 4.100 / 56. 4.100
> libavfilter 5. 21.100 / 5. 21.100
> libswscale 3. 1.101 / 3. 1.101
> libswresample 1. 2.100 / 1. 2.100
> libpostproc 53. 3.100 / 53. 3.100
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MiB_Beispiel_01.mov':
> Metadata:
> major_brand : qt
> minor_version : 512
> compatible_brands: qt
> encoder : Lavf56.40.100
> Duration: 00:01:00.00, start: 0.000000, bitrate: 70728 kb/s
> Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661),
> yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 69188 kb/s, 25 fps, 25
> tbr, 90k tbn, 50 tbc (default)
> Metadata:
> handler_name : DataHandler
> timecode : 11:18:10:00
> Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz,
> stereo, s16, 1536 kb/s (default)
> Metadata:
> handler_name : DataHandler
> Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
> Metadata:
> handler_name : DataHandler
> timecode : 11:18:10:00
> Assertion s->bits_per_raw_sample >= 8 failed at
> /home/kyle/software/ffmpeg/source/ffmpeg-git/libavcodec/ffv1enc.c:802
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
More information about the ffmpeg-user
mailing list