validate: executing scenarios for short media files

Vineeth vineeth.tm at samsung.com
Wed Aug 26 01:11:58 PDT 2015


Whenever i run validate with fast forward scenario for short mp3 files.
GST_VALIDATE_SCENARIO=fast_forward gst-validate-1.0-debug  playbin
uri=file:///home/user/gst/master/media/1sec.mp3  --set-media-info
"/home/user/gst/master/media/1sec.mp3.media_info"

I get the below errors.
==== Got criticals, Return value set to 18 ====
     Critical error 3 actions were not executed: 
                    seek, name=(string)Fast-forward-seek,
playback-time=(string)"min\(20.0\,\ duration\*0.50\)", rate=(double)8,
start=(double)0, flags=(string)accurate+flush;
                    seek, name=(string)Fast-forward-seek,
playback-time=(guint64)783000000, rate=(double)16, start=(double)0,
flags=(string)accurate+flush;
                    seek, name=(string)Fast-forward-seek,
playback-time=(guint64)783000000, rate=(double)32, start=(double)0,
flags=(string)accurate+flush;


The same errors happens for 10sec files as well. But for that last action
does not get executed.

This might be just because the file is too short to run it at a rate of
8/16/32.

I guess for short media files, it is not needed to run some scenarios.

This can probably be done by using min-media-duration present in the
scenario description.
But the problem with this is media-info files are not read yet and hence we
can't know the duration of media files.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/validate-executing-scenarios-for-short-media-files-tp4673342.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list