Adding additional tags to FLV header
Submitted by Sudhir Kesti
Link to original bug (#771650)
Description
Created attachment 335848
Newly added tags
Few CDNs recommend to have following tags in FLV headers, in rtmp stream.
• videocodecid
• audiocodecid
• audioonly
• videoonly
• stereo
• width
• height
• videodatarate
• audiodatarate
• audiosamplerate
• audiosamplesize
• audiochannels
• framerate
• avcprofile
• avclevel
• aacaot
But current flvmux do not have few of them. I have added missing tags, and validated it. Seems to be working, please find patch in the attachment.
Can some one review the patch ??
One can use following pipeline for testing:
gst-launch-1.0 videotestsrc is-live=1 ! video/x-raw,width=176,height=144,framerate=25/1 ! x264enc ! flvmux streamable=true name=mux ! fakesink audiotestsrc ! audio/x-raw,rate=48000,channels=2,format="S16LE" ! voaacenc bitrate=24000 ! mux. --gst-debug=flv:5
Patch 335848, "Newly added tags":
patch.c
Version: 1.9.2