[FFmpeg-trac] #3175(avformat:new): audio (aac) silently on streamcopy from mpegts to flv
FFmpeg
trac at avcodec.org
Thu Nov 28 11:46:50 CET 2013
#3175: audio (aac) silently on streamcopy from mpegts to flv
------------------------------------+------------------------------------
Reporter: iluvatar | Owner:
Type: defect | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: aac flv | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by iluvatar):
Replying to [comment:3 cehoyos]:
> Replying to [comment:2 iluvatar]:
> > Replying to [comment:1 cehoyos]:
> > > Do I understand correctly that you added console output for the
command that does not show the problem, ie for a command that works ok?
> > Audio stream in my sample output.flv is silently.
>
> But for the command that outputs output.flv, you did not add console
output. You did add console output for a command that I suspect works fine
or doesn't it?
Yes, you are right, sorry. Here is the console output of the second
command:
{{{
% ffmpeg -i udp://localhost:1234 -c copy -bsf:a aac_adtstoasc -f flv
output.flv
ffmpeg version N-58470-g3c846fd Copyright (c) 2000-2013 the FFmpeg
developers
built on Nov 26 2013 14:56:57 with gcc 4.4.5 (Debian 4.4.5-8)
configuration: --enable-nonfree --enable-libfaac --enable-libx264
--enable-gpl --enable-libzmq --enable-libfreetype --enable-ffplay
--enable-librtmp --enable-libfdk-aac --enable-libmp3lame --enable-libvpx
libavutil 52. 55.100 / 52. 55.100
libavcodec 55. 44.100 / 55. 44.100
libavformat 55. 21.102 / 55. 21.102
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 91.100 / 3. 91.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
[h264 @ 0xb0b74c0] non-existing PPS referenced
[h264 @ 0xb0b74c0] non-existing PPS 0 referenced
[h264 @ 0xb0b74c0] decode_slice_header error
[h264 @ 0xb0b74c0] no frame!
[h264 @ 0xb0b74c0] non-existing PPS referenced
[h264 @ 0xb0b74c0] non-existing PPS 0 referenced
[h264 @ 0xb0b74c0] decode_slice_header error
[h264 @ 0xb0b74c0] no frame!
[h264 @ 0xb0b74c0] non-existing PPS referenced
[h264 @ 0xb0b74c0] non-existing PPS 0 referenced
[h264 @ 0xb0b74c0] decode_slice_header error
[h264 @ 0xb0b74c0] no frame!
[h264 @ 0xb0b74c0] non-existing PPS referenced
[h264 @ 0xb0b74c0] non-existing PPS 0 referenced
[h264 @ 0xb0b74c0] decode_slice_header error
[h264 @ 0xb0b74c0] no frame!
[h264 @ 0xb0b74c0] non-existing PPS referenced
[h264 @ 0xb0b74c0] non-existing PPS 0 referenced
[h264 @ 0xb0b74c0] decode_slice_header error
[h264 @ 0xb0b74c0] no frame!
[h264 @ 0xb0b74c0] non-existing PPS referenced
[h264 @ 0xb0b74c0] non-existing PPS 0 referenced
[h264 @ 0xb0b74c0] decode_slice_header error
[h264 @ 0xb0b74c0] no frame!
[h264 @ 0xb0b74c0] non-existing PPS referenced
[h264 @ 0xb0b74c0] non-existing PPS 0 referenced
[h264 @ 0xb0b74c0] decode_slice_header error
[h264 @ 0xb0b74c0] no frame!
[h264 @ 0xb0b74c0] non-existing PPS referenced
[h264 @ 0xb0b74c0] non-existing PPS 0 referenced
[h264 @ 0xb0b74c0] decode_slice_header error
[h264 @ 0xb0b74c0] no frame!
[h264 @ 0xb0b74c0] non-existing PPS referenced
[h264 @ 0xb0b74c0] non-existing PPS 0 referenced
[h264 @ 0xb0b74c0] decode_slice_header error
[h264 @ 0xb0b74c0] no frame!
[h264 @ 0xb0b74c0] non-existing PPS referenced
[h264 @ 0xb0b74c0] non-existing PPS 0 referenced
[h264 @ 0xb0b74c0] decode_slice_header error
[h264 @ 0xb0b74c0] no frame!
[h264 @ 0xb0b74c0] non-existing PPS referenced
[h264 @ 0xb0b74c0] non-existing PPS 0 referenced
[h264 @ 0xb0b74c0] decode_slice_header error
[h264 @ 0xb0b74c0] no frame!
[h264 @ 0xb0b74c0] non-existing PPS referenced
[h264 @ 0xb0b74c0] non-existing PPS 0 referenced
[h264 @ 0xb0b74c0] decode_slice_header error
[h264 @ 0xb0b74c0] no frame!
[h264 @ 0xb0b74c0] non-existing PPS referenced
[h264 @ 0xb0b74c0] non-existing PPS 0 referenced
[h264 @ 0xb0b74c0] decode_slice_header error
[h264 @ 0xb0b74c0] no frame!
[h264 @ 0xb0b74c0] non-existing PPS referenced
[h264 @ 0xb0b74c0] non-existing PPS 0 referenced
[h264 @ 0xb0b74c0] decode_slice_header error
[h264 @ 0xb0b74c0] no frame!
[h264 @ 0xb0b74c0] non-existing PPS referenced
[h264 @ 0xb0b74c0] non-existing PPS 0 referenced
[h264 @ 0xb0b74c0] decode_slice_header error
[h264 @ 0xb0b74c0] no frame!
[h264 @ 0xb0b74c0] non-existing PPS referenced
[h264 @ 0xb0b74c0] non-existing PPS 0 referenced
[h264 @ 0xb0b74c0] decode_slice_header error
[h264 @ 0xb0b74c0] no frame!
[h264 @ 0xb0b74c0] non-existing PPS referenced
[h264 @ 0xb0b74c0] non-existing PPS 0 referenced
[h264 @ 0xb0b74c0] decode_slice_header error
[h264 @ 0xb0b74c0] no frame!
[h264 @ 0xb0b74c0] non-existing PPS referenced
[h264 @ 0xb0b74c0] non-existing PPS 0 referenced
[h264 @ 0xb0b74c0] decode_slice_header error
[h264 @ 0xb0b74c0] no frame!
[mpegts @ 0xb098d80] PES packet size mismatch
Input #0, mpegts, from 'udp://localhost:1234':
Duration: N/A, start: 68.552111, bitrate: 34 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p, 720x576 [SAR 16:11 DAR 20:11], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x101](qaa): Audio: aac ([15][0][0][0] / 0x000F), 22050
Hz, mono, fltp, 34 kb/s
Output #0, flv, to 'output.flv':
Metadata:
encoder : Lavf55.21.102
Stream #0:0: Video: h264 ([7][0][0][0] / 0x0007), yuv420p, 720x576
[SAR 16:11 DAR 20:11], q=2-31, 25 fps, 1k tbn, 90k tbc
Stream #0:1(qaa): Audio: aac ([10][0][0][0] / 0x000A), 22050 Hz, mono,
34 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 217 fps= 53 q=-1.0 Lsize= 3671kB time=00:00:10.03
bitrate=2998.0kbits/s
video:3625kB audio:39kB subtitle:0 global headers:0kB muxing overhead
0.190463%
}}}
>
> > If I change flvenc.c as described above output.flv is good.
>
> > > Is udp necessary to reproduce this issue or is it sufficient to
remux a fate sample?
> > Udp is not necessary. Here is a better sample:
> >
> > {{{
> > ffmpeg -i fate-suite/aac/CT_DecoderCheck/File1.aac -c copy -f flv
-bsf:a aac_adtstoasc /tmp/File1.flv
> > }}}
>
> Please add complete, uncut console output to make this a valid ticket.
{{{
% ffmpeg -i aac/CT_DecoderCheck/File1.aac -c copy -f flv -bsf:a
aac_adtstoasc File1.flv
ffmpeg version N-58470-g3c846fd Copyright (c) 2000-2013 the FFmpeg
developers
built on Nov 26 2013 14:56:57 with gcc 4.4.5 (Debian 4.4.5-8)
configuration: --enable-nonfree --enable-libfaac --enable-libx264
--enable-gpl --enable-libzmq --enable-libfreetype --enable-ffplay
--enable-librtmp --enable-libfdk-aac --enable-libmp3lame --enable-libvpx
libavutil 52. 55.100 / 52. 55.100
libavcodec 55. 44.100 / 55. 44.100
libavformat 55. 21.102 / 55. 21.102
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 91.100 / 3. 91.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
[aac @ 0x9968da0] Estimating duration from bitrate, this may be inaccurate
Input #0, aac, from 'aac/CT_DecoderCheck/File1.aac':
Metadata:
title : The 1st file
artist : Coding Technologies
album : aacPlus Decoder Check
date : 2007
Duration: 00:00:09.20, bitrate: 27 kb/s
Stream #0:0: Audio: aac, 44100 Hz, stereo, fltp, 27 kb/s
Output #0, flv, to 'File1.flv':
Metadata:
title : The 1st file
artist : Coding Technologies
album : aacPlus Decoder Check
date : 2007
encoder : Lavf55.21.102
Stream #0:0: Audio: aac ([10][0][0][0] / 0x000A), 44100 Hz, stereo, 27
kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size= 33kB time=00:00:07.84 bitrate= 34.1kbits/s
video:0kB audio:31kB subtitle:0 global headers:0kB muxing overhead
6.447092%
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3175#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list