Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for AVC3 #53

Open
mickd5 opened this issue Apr 27, 2021 · 0 comments
Open

Add support for AVC3 #53

mickd5 opened this issue Apr 27, 2021 · 0 comments

Comments

@mickd5
Copy link

mickd5 commented Apr 27, 2021

AVC3 stream plays audio but with no video. The extra codec data is not out of of band but in the stream so there is no SPS or PPS found. As the codec data maybe only 7 bytes long dvbvideosink will give warning message "codec_data too short(1)" or in some cases the data was 11 bytes but again SPS and PPS are not out of band for AVC3. The warning in this case was "codec_data too short(2)". Changing the code and just writing a 4 byte start code to the buffer when this type of stream is detected seems to work and video is displayed with no issues but not sure if this is the correct approach.

Some sample streams below
http://rdmedia.bbc.co.uk/dash/ondemand/elephants_dream/1/client_manifest-all.mpd
http://rdmedia.bbc.co.uk/dash/ondemand/testcard/1/client_manifest-ctv-events.mpd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant