|
Hello
I'm trying to write a simple Transport Stream file with only one program with and MPEG2 video and a MPEG1 LII Audio.
Here is the pipeline:
gst-launch-0.10 mpegtsmux name=muxer ! filesink location="video.ts" filesrc location="audio.mpa" ! mp3parse ! queue ! muxer. filesrc location="video.m2v" ! mpegvideoparse ! queue ! muxer.
The result is a Transport stream file with one audio frame at the beginning of the file, all the video frames, and at the end of the file, the rest of audio material.
If I change the video and audio order
gst-launch-0.10 mpegtsmux name=muxer ! filesink location="video.ts" filesrc location="video.m2v" ! mpegvideoparse ! queue ! muxer. filesrc location="audio.mpa" ! mp3parse ! queue ! muxer.
I found all the video material and at the end of the file all the audio material.
I think that are the frames (video+audio) are muxed, but not sync.
Anyone knows the reason?
|