Getting codec_data passed to mp4mux

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Getting codec_data passed to mp4mux

evaluat0r
Hi,

I’m reading an mp4 and sending it to qtdemux and passing it through
h264parse then rtph264pay then webrtcbin for sending

I’m receiving via webrtcbin and pass the result through  rtph264depay then
h264parse and then to mp4mux our to filesink

But I’m getting a no codec_data found error from mp4mux. How can I remedy
this?

I don’t want to enc/dec h264 because I want to move the h264 data across the
network, so it isn’t necessary. Is there another element that can be used to
create the codec_data structure?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Getting codec_data passed to mp4mux

Vinod Kesti
use separate h264parse for each branch.
psuedo code:

tee ----> queue -> h264parse -> rtph264pay -> webrtc
      |
      ----> queue -> h264parse -> mp4mux -> filesink location=file.mp4



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Getting codec_data passed to mp4mux

evaluat0r
Vinod Kesti wrote
> use separate h264parse for each branch.
> psuedo code:
>
> tee ----> queue -> h264parse -> rtph264pay -> webrtc
>       |
>       ----> queue -> h264parse -> mp4mux -> filesink location=file.mp4

I’m not sure I see how this introduces codec_data structure. My two
pipelines are already:

Filesrc -> qtdemux -> h264parse -> rtph264pay -> webrtcbin

Then receiver:

Webrtcbin -> rtph264depay -> h264parse -> mp4mux -> filesink

Problem arises at mp4mux because codec_data doesn’t exist.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Getting codec_data passed to mp4mux

Vinod Kesti
h264parse will generate codec_data on own.

May be you the sender is is not sending periodic IDR frame.
provide debug logs that will help



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel