-
Notifications
You must be signed in to change notification settings - Fork 4
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
Support AVC3 #113
Support AVC3 #113
Conversation
3d6bfd2
to
31d5d22
Compare
@@ -40,7 +40,7 @@ defmodule Membrane.MP4.Demuxer.ISOM do | |||
any_of( | |||
%Membrane.AAC{config: {:esds, _esds}}, | |||
%Membrane.H264{ | |||
stream_structure: {:avc1, _dcr}, | |||
stream_structure: {_avc, _dcr}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should assert on _avc
being either :avc1
or :avc3
lib/membrane_mp4/muxer/isom.ex
Outdated
state | ||
|
||
# otherwise we can assume that output will be corrupted | ||
true -> | ||
raise "ISOM Muxer doesn't support variable parameters" | ||
previos_format -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
previos_format -> | |
previous_format -> |
lib/membrane_mp4/muxer/isom.ex
Outdated
# when stream format is duplicated - ignore | ||
ctx.pads[pad].stream_format == stream_format -> | ||
# Handle receiving a stream format of the same type | ||
%^type{} -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it OK for us to accept change from :avc3
to :avc1
? Wouldn't it require appending something to the DCR?
Co-authored-by: Łukasz Kita <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥇
No description provided.