[FFmpeg-trac] #279(undetermined:new): Remuxing aac in TS fails

FFmpeg trac at avcodec.org
Sun Jun 12 00:28:25 CEST 2011


#279: Remuxing aac in TS fails
--------------------------+-------------------------
 Reporter:  etienne       |        Type:  defect
   Status:  new           |    Priority:  normal
Component:  undetermined  |     Version:  git-master
 Keywords:                |  Blocked By:
 Blocking:                |  Reproduced:  0
 Analyzed:  0             |
--------------------------+-------------------------
 Hi.

 It seems that mpegts_write_header, which is in charge of calling
 ff_adts_decode_extradata, is not called.

 Here an execution trace (with stripped h264 errors):
 $ ffmpeg -v 10 -loglevel debug -i sample.ts -acodec copy -vcodec copy
 output.ts
 ffmpeg version git-N-30723-ge887690, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Jun 12 2011 00:00:43 with gcc 4.4.5
   configuration: --disable-doc --enable-extra-warnings --enable-gpl
 --enable-version3 --enable-postproc --enable-avfilter --disable-stripping
 --enable-nonfree --enable-libfaac --enable-libmp3lame --enable-libx264
   libavutil    51.  8. 0 / 51.  8. 0
   libavcodec   53.  7. 0 / 53.  7. 0
   libavformat  53.  3. 1 / 53.  3. 1
   libavdevice  53.  1. 1 / 53.  1. 1
   libavfilter   2. 15. 1 /  2. 15. 1
   libswscale    0. 14. 1 /  0. 14. 1
   libpostproc  51.  2. 0 / 51.  2. 0
 [NULL @ 0x1f89400] Format mpegts probed with size=2048 and score=100
 [mpegts @ 0x1f89400] stream=0 stream_type=1b pid=44 prog_reg_desc=
 [mpegts @ 0x1f89400] stream=1 stream_type=f pid=45 prog_reg_desc=
 [mpegts @ 0x1f89400] stream=2 stream_type=6 pid=46 prog_reg_desc=
 [mpegts @ 0x1f89400] stream=3 stream_type=f pid=47 prog_reg_desc=
 [aac @ 0x1facee0] channel element 1.2 is not allocated
 [aac @ 0x1f90ae0] channel element 1.5 is not allocated
 Input #0, mpegts, from 'sample.ts':
   Duration: 00:00:03.78, start: 86862.833978, bitrate: 3977 kb/s
   Program 8824
     Stream #0.0[0x44], 78, 1/90000: Video: h264 (High), yuv420p, 1440x1080
 [PAR 4:3 DAR 16:9], 1/50, 27.94 fps, 25 tbr, 90k tbn, 50 tbc
     Stream #0.1[0x45](fra), 70, 1/90000: Audio: aac, 48000 Hz, stereo,
 s16, 61 kb/s
     Stream #0.2[0x46](fra), 79, 1/90000: Subtitle: [6][0][0][0] / 0x0006
     Stream #0.3[0x47](qaa), 72, 1/90000: Audio: aac, 48000 Hz, stereo,
 s16, 60 kb/s
 File 'output.ts' already exists. Overwrite ? [y/N] y
 [mpegts @ 0x1f8fde0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt
 every 40 pkts
 Output #0, mpegts, to 'output.ts':
   Metadata:
     encoder         : Lavf53.3.1
     Stream #0.0, 0, 1/90000: Video: libx264, yuv420p, 1440x1080 [PAR 4:3
 DAR 16:9], 1/25, q=2-31, 90k tbn, 25 tbc
     Stream #0.1(qaa), 0, 1/90000: Audio: libfaac, 48000 Hz, stereo, 60
 kb/s
 Stream mapping:
   Stream #0.0 -> #0.0
   Stream #0.3 -> #0.1
 Press [q] to stop, [?] for help
 [mpegts @ 0x1f8fde0] aac bitstream not in adts format and extradata
 missing
 av_interleaved_write_frame(): Operation not permitted

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/279>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list