使用gstreamer将h264流包装为mp4

问题描述 投票:2回答:1

如何使用Gstreamer将纯h.264流包装到mp4中,以便可以在视频中找到特定位置?因为有许可证要求,所以使用了Gstreamer,因此请不要提供ffmpeg!

video h.264 mp4 gstreamer
1个回答
5
投票
gst-launch-1.0 filesrc location=stream.h264 ! video/x-h264 ! h264parse ! mp4mux ! filesink location=video.mp4
© www.soinside.com 2019 - 2024. All rights reserved.