Reasons for losing a clock?

Ralph ralph.gucwa at racelogic.co.uk
Mon Jan 26 06:27:07 PST 2015


> You mean when you change the pipeline state from PAUSED to READY?
> That would be expected.
> Or how/when does the pipeline go back to READY after it was running
> already?

No, the state change is from READY to PAUSED, the clock is lost even before
I start to play.


> What's your pipeline, what file formats, streaming protocols, etc do you
> use?

The pipeline looks like that:

 (videotestsrc - capsfilter) gnlsource     \
            (mp4 video file) gnlurisource      - gnlcomposition -
textoverlay - d3dvideosink
            (mp4 video file) gnlurisource     /

 (audiotestsrc - capsfilter) gnlsource      \
            (mp4 video file) gnlurisource      - gnlcomposition -
audioconvert - volume - autoaudiosink
            (mp4 video file) gnlurisource     /


I'm trying to play an mp4 file:

Container:
isom: MP4  Base Media v1 [IS0 14496-12:2003]
- iso2: MP4 Base Media v2 [ISO 14496-12:2005]
- avc1: MP4 Base w/ AVC ext [ISO 14496-12:2005]
- mp41: MP4 v1 [ISO 14496-1:ch13]
Recommended Display Size: 1280 x 720

Video:
avc1: H.264/MPEG-4 AVC

Audio:
mp4a: MPEG-4 AAC LC


Discoverer reports the following:

Video caps:
{video/x-h264, stream-format=(string)avc, alignment=(string)au,
level=(string)3.2, profile=(string)high,
codec_data=(buffer)01640020ffe1001967640020acd9405005ba10000003001000000303c0f183196001000568ebecb22c,
width=(int)1280, height=(int)720, framerate=(fraction)30/1,
pixel-aspect-ratio=(fraction)1/1;}

Audio caps:
{audio/mpeg, mpegversion=(int)4, framed=(boolean)true,
stream-format=(string)raw, level=(string)2, base-profile=(string)lc,
profile=(string)lc, codec_data=(buffer)1210, rate=(int)44100,
channels=(int)2;}


As I wrote before, my test application works without any problems.  The only
difference between my test application and my final application is timing,
the order of actions may be slightly different, the pipeline is created,
initialised and assigned a video file on different threads.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Reasons-for-losing-a-clock-tp4670453p4670456.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list