[FFmpeg-devel] [PATCH]ExtraData computation for aac in -acodec copy

Sailaja Mahendrakar smahendrakar at rgbnetworks.com
Mon Aug 31 19:19:28 CEST 2015

Please find attached the patch for ExtraData computation for aac in -acodec copy.  With audio codec copy, there is no extradata computation and RTMP fails with no audio in playback.

Here is the command-line used for testing and verfication:

/opt/ripcode/bin/ffmpeg -copyts -i /root/ModernFamilyVMGCapture.ts -async 0 -vsync 0 -f flv -mpegts_pmt_start_pid 480 -map 0:2,0:0 -vcodec copy -b:v 544000 -muxdelay 0 -map 0:0 -codec:a:0 copy -flags +global_header -metadata:s:a:0 language=fra -b:a:0 128000 -bsf:a aac_adtstoasc rtmp://

Sailaja Mahendrakar
Senior Staff Engineer

Imagine Communications

[cid:image001.png at 01D06313.9C9B5B60]<http://www.imaginecommunications.com/>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 19072 bytes
Desc: image001.png
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150831/45e5b472/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ExtradataPassthruCopyTs.patch
Type: application/octet-stream
Size: 3901 bytes
Desc: ExtradataPassthruCopyTs.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150831/45e5b472/attachment.obj>

More information about the ffmpeg-devel mailing list