Initial delay in transcoded video, from file to file

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Initial delay in transcoded video, from file to file

João Gueifão
Hi, I tried to search for this exact issue within the archives but was unsuccessful.

My problem is that I am trying to transcode a video file present in my hard-drive and output the result into a new file, in the same drive. The issue is that, regardless of the input video file, I always get an initial video freeze effect which lasts about 1.5 seconds on the produced file. After that initial freeze, the video plays just fine on both VLC and Windows Films and TV app.

My pipeline is as follows:

gst-launch-1.0.exe -e filesrc location=C:\\video\\EO_7.mp4 ! decodebin name=decode ! videoscale ! videorate ! video/x-raw,width=854,height=480,framerate=25/1 ! x264enc pass=qual bitrate=2500 key-int-max=50 ! mpegtsmux ! filesink location=C:\\video\\out\\EO_7_out.ts


Any suggestions?


Thank you in advance.
--
João Gueifão
Computer Vision Research Engineer

Office <a href="tel:+44%2023%208097%200650" value="+442380970650" target="_blank">+44 2380 970650
Email/Skype: [hidden email]

Tekever Ltd
5 Benham Rd,
Chilworth,
Southampton,
SO16 7JF
UNITED KINGDOM


Tekever Ltd respects your privacy.
To learn more, please read our Privacy Policy

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel