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

Sam Gardner lwnexgen at gmail.com
Tue Aug 2 06:21:02 EEST 2016


ffmpeg version 2.8.7 Copyright (c) 2000-2016 the FFmpeg developers
  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

Anyone have any idea what could be causing the above errors?

The mapping looks OK to me.

Invocation:
/home/sam/bin/ffmpeg -i - -map 0:0 -pix_fmt yuv420p -c:v libvpx-vp9 -s
1280x720 -keyint_min 100 -g 100 -speed 6 -tile-columns 4 -frame-parallel 1
-threads 8 -static-thresh 0 -max-intra-rate 300 -deadline realtime
-lag-in-frames 0 -error-resilient 1 -b:v 3000k -f webm_chunk -header
/var/www/webm_live/tuner_720.hdr -chunk_start_index 1
/var/www/webm_live/tuner_720_%d.chk -map 0:1 -c:a libvorbis -b:a 128k -f
webm_chunk -audio_chunk_duration 2997 -header
/var/www/webm_live/tuner_128.hdr -chunk_start_index 1
/var/www/webm_live/tuner_128_%d.chk


More information about the ffmpeg-user mailing list