GNOME Bugzilla – Bug 752385
ges-pipeline: can not start GESPipeline with (TS/MP4 and AAC/MP3) and with GESTimeline without audio track after update GES from 1.5.0.x to 1.5.2
Last modified: 2016-03-05 12:35:58 UTC
Created attachment 307425 [details] try to extract this with and without line 11 (audio track) I have neither "loaded" nor "error-loading-asset" callbacks when trying to ges_asset_extract timeline out of GESProject.
I just tried that with: ges-launch-1.0 -l /home/thiblahute/Videos/pitivi/bugs/752385.xges and it works fine, maybe related to: https://bugzilla.gnome.org/show_bug.cgi?id=752300 ?
No, this isn't related to that deadlock issue (sorry had no time to check your fix yet). In this case I call ges_asset_extract and main loop works just fine, however I wait for either "loaded" or "error-loading-asset" signal but no one comes and program waits forever. Is /home/thiblahute/Videos/pitivi/bugs/752385.xges equal to my attachment but without line #11?
Yes, I could have said: ges-launch-1.0 -l "https://bug752385.bugzilla-attachments.gnome.org/attachment.cgi?id=307425" (that works :))
Yes, I know that works. Try to do this again but this time cut the audio track line (#11) off.
(In reply to Kyrylo V. Polezhaiev from comment #4) > Yes, I know that works. > Try to do this again but this time cut the audio track line (#11) off. I did that, when do you connect to "project-loaded"? -- I think this is due to the fact that I ported asset async handling from the deprecated GSimpleAsyncResult to GTask and that we might now emit "project-loaded" while extracting the timeline (because GTask does not make the difference between complete_in_idle VS complete in the API and tries to be smart and handle it for us.
I just connect to "loaded" and "error-loading-asset", I didn't know about "project-loaded" as its absent in docs: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-editing-services/html/GESProject.html
(In reply to Kyrylo V. Polezhaiev from comment #6) > I just connect to "loaded" and "error-loading-asset", I didn't know about > "project-loaded" as its absent in docs: > http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-editing- > services/html/GESProject.html I meant the project::loaded signal.
So, how should now I know that Timeline is ready to be used? ges-launch-1.0 performs this somehow.
Sorry, my fault. I do receive project::loaded signal.
Ah, so NOTABUG ?
Not yet, obviously something changed. I call gst_element_set_state(GST_ELEMENT(pipeline), GST_STATE_PLAYING) and have no GST_STATE_CHANGE_FAILURE but I realised that GESPipeline doesn't want to start anymore because of something related to internals of embedded encodebin. Similar to https://bugzilla.gnome.org/show_bug.cgi?id=751215 I will dig a bit more...
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment. Thanks!