|
This post was updated on .
If you make MPEG TS from mp4 file using “qtdemux plugin”, generated TS file
is not synchronized (a lot of video frames is skipped during playback because
of incorrect PTS). The same issue is detected on different mp4 files. To be
sure that issue is not related to used player (VLC) generated file is played on
TV set but with same behavior. I am using the latest versions of gstreamer and needed plugins.
To reproduce this issue you should start gst-launch command: gst-launch -v filesrc location=/usr/local/StarTrek.mp4 ! qtdemux name=demux demux.video_00 ! queue ! mpegtsmux name=mux ! filesink location=/usr/local/out_264_audio_video_2.ts demux.audio_00 ! mux.
After playback of generated .ts file using any player audio/video is interrupted. This issue happens every time and with different source files.
The same issue exist for .flv and .mpeg formats:
gst-launch -v filesrc location=/usr/local/video1.flv ! flvdemux name=demux !
{queue ! mpegtsmux name=mux ! filesink location=/ usr/local /flv_test_out.ts }
{ demux. ! queue ! mux. }
gst-launch filesrc location=/usr/local/CentenaryFull.mpg ! ffdemux_mpeg
name=demux demux.video_00 ! queue ! mpegtsmux name=mux ! filesink location=/
usr/local /mpeg_test_out.ts demux.audio_00 ! queue ! mux.
Does anyone have some experiences wit similar usage of gstreamer? Is it possible that issue is related to gst-launch command (maybe I missed something)?
|