[FFmpeg-user] av_interleaved_write_frame(): Operation not permitted.

Brian Fallik bfallik at bamboom.com
Wed Aug 3 06:21:16 CEST 2011


I'm trying to use ffmpeg to strip one audio stream from a mpegts file
containing 1 video streams and 2 audio.  The ffprobe output from the
input file is:
[mpegts @ 0x1b702a0] max_analyze_duration reached
Input #0, mpegts, from 'in.ts':
  Duration: 00:02:45.97, start: 69498.987267, bitrate: 1819 kb/s
  Program 1
    Stream #0.0[0x44]: Video: h264 (High), yuv420p, 720x720 [PAR 16:9
DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0.1[0x45]: Audio: aac, 44100 Hz, mono, s16, 81 kb/s
    Stream #0.2[0x46]: Audio: aac, 44100 Hz, mono, s16, 79 kb/s

When I run:
  $ ffmpeg -i in.ts -map 0.0 -map 0.1 -acodec copy -vcodec copy out.ts
I get an error:
   [mpegts @ 0x1ced340] aac bitstream not in adts format and extradata missing.
   av_interleaved_write_frame(): Operation not permitted.

Any ideas on what I'm doing wrong?  If the problem is likely in the
input file, any ideas on what might be wrong with it?  The input file
is captured from a third-party proprietary transcoder.


More information about the ffmpeg-user mailing list