How to read an specified frame from an MPEG-TS video file?
Yashil
yashil1 at yahoo.com
Wed Oct 30 18:53:08 CET 2013
I am trying to write a code that help me to grab e.g. frame #120 from a given
mpeg-ts video file.
I am new to gstreamer. I tried several methods but have not reached my goal
yet.
The best example I found so far is
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-data-spoof.html#section-spoof-appsink
but when I use the above code to read an example .ts file
https://dl.dropboxusercontent.com/u/43104344/mpts_out.ts
or several of my own .mts files it fails to pull-preroll and gives the
following error messages:
No accelerated IMDCT transform found
0:00:00.405110839 4632 0B775380 ERROR libav
:0:: get_buffer() failed (-1 2 00000000)
0:00:00.405740899 4632 0B775380 ERROR libav
:0:: decode_slice_header error
0:00:00.406401077 4632 0B7756A0 ERROR libav
:0:: Missing reference picture
0:00:00.406705867 4632 0B7756A0 ERROR libav
:0:: Missing reference picture
0:00:00.416044436 4632 0B7759C0 ERROR libav
:0:: Cannot combine reference and non-reference fields in the same frame
0:00:00.416813339 4632 0B7759C0 ERROR libav
:0:: decode_slice_header error
0:00:00.417725301 4632 0B775CE0 ERROR libav
:0:: Missing reference picture
The above errors even occurs sometime when I just simply want to play the
file using playbin of gstreamer 1.2.0.
Could you please help me to find out how can I write a code based on
gstreamer 1.2.0 to grab an specified frame from an mpeg-ts video file?
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-read-an-specified-frame-from-an-MPEG-TS-video-file-tp4663005.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list