[FFmpeg-user] ac3 frame sync errors mpegts->webm chunks

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Aug 3 12:16:34 EEST 2016


On Tuesday 02 August 2016 05:21:02 am you wrote:
> ffmpeg version 2.8.7 Copyright (c) 2000-2016 the FFmpeg developers

Generally, you are expected to test current FFmpeg git head before 
reporting issues here: We cannot fix issues in the version you are testing.

>   built with gcc 4.8.3 (GCC) 20140911 (Red Hat 4.8.3-7)
>   configuration: --prefix=/home/sam/ffmpeg_build
> --extra-cflags=-I/home/sam/ffmpeg_build/include
> --extra-ldflags=-L/home/sam/ffmpeg_build/lib --bindir=/home/sam/bin
> --pkg-config-flags=--static --enable-gpl --enable-nonfree
> --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame
> --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
> --enable-libx265
>   libavutil      54. 31.100 / 54. 31.100
>   libavcodec     56. 60.100 / 56. 60.100
>   libavformat    56. 40.101 / 56. 40.101
>   libavdevice    56.  4.100 / 56.  4.100
>   libavfilter     5. 40.101 /  5. 40.101
>   libswscale      3.  1.101 /  3.  1.101
>   libswresample   1.  2.101 /  1.  2.101
>   libpostproc    53.  3.100 / 53.  3.100
> [mpeg2video @ 0x3818360] Invalid frame dimensions 0x0.
> ..    Last message repeated 4 times
> Input #0, mpegts, from 'pipe:':
>   Duration: N/A, start: 57912.043678, bitrate: N/A
>   Program 3
>     Stream #0:0[0x31]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
> yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, max. 90000
> kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
>     Stream #0:1[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
> 5.1(side), fltp, 384 kb/s
>     Stream #0:2[0x35](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
> stereo, fltp, 96 kb/s
> [libvpx-vp9 @ 0x381b200] v1.6.0
> Output #0, webm_chunk, to '/var/www/webm_live/tuner_720_%d.chk':
>   Metadata:
>     encoder         : Lavf56.40.101
>     Stream #0:0: Video: vp9 (libvpx-vp9), yuv420p, 1280x720 [SAR 1:1 DAR
> 16:9], q=-1--1, 3000 kb/s, 29.97 fps, 1k tbn, 29.97 tbc
>     Metadata:
>       encoder         : Lavc56.60.100 libvpx-vp9
> Output #1, webm_chunk, to '/var/www/webm_live/tuner_128_%d.chk':
>   Metadata:
>     encoder         : Lavf56.40.101
>     Stream #1:0(eng): Audio: vorbis (libvorbis), 48000 Hz, 5.1(side), fltp,
> 128 kb/s
>     Metadata:
>       encoder         : Lavc56.60.100 libvorbis
> Stream mapping:
>   Stream #0:0 -> #0:0 (mpeg2video (native) -> vp9 (libvpx-vp9))
>   Stream #0:1 -> #1:0 (ac3 (native) -> vorbis (libvorbis))
> [ac3 @ 0x38117e0] frame sync error
> Error while decoding stream #0:1: Invalid data found when processing input

Is this everything that gets printed on the console? (Is this the last line?)

Feel free to provide a sample, generally this error is unavoidable for ts 
input, but encoding should work nonetheless.

Carl Eugen


More information about the ffmpeg-user mailing list