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://172.16.93.31/live/rtmpgit Regards, Sailaja Mahendrakar Senior Staff Engineer Imagine Communications imaginecommunications.com<http://www.imaginecommunications.com> [cid:image001.png@01D06313.9C9B5B60]<http://www.imaginecommunications.com/>
ExtradataPassthruCopyTs.patch
Description: ExtradataPassthruCopyTs.patch
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel