Hi.
In my pipeline mixing music with input from microphone. I have queue of file paths. I want to open next file after first is finished. How should I do that? I'm using filesrc. Even when I set pipeline to Ready or Null after first track I got the same warning: ** (<unknown>:5232): WARNING **: Changing the `location' property on filesrc when a file is open is not supported. How should I close file then? |
You should intercept the "about-to-finish" signal and change the URI in the event handler. I don't have any working example at hand, but I'm pretty sure you should be able to find one after a few minutes of googling. |
Sorry I come intho this conversation, but I had a similar problem. I got an error when I did it with video files, it advices me that I can't change the state of the pipeline. I tryed to pause and set play after setting the URI, but then I got a segmentation faul error.
Thanks Rossana 2012/1/17 Ralph <[hidden email]>
_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Ralph
Thanks for advice, I'll check it out. Although I think changing uri may be possible only while using playbin.
|
If it works for you I'd like to know how you did it, thanks
Rossana 2012/1/17 Sakurazuka <[hidden email]> Thanks for advice, I'll check it out. Although I think changing uri may be _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by rossana
On 01/17/2012 06:59 PM, Rossana Guerra wrote:
Sorry I come intho this conversation, but I had a similar problem. I got an error when I did it with video files, it advices me that I can't change the state of the pipeline. I tryed to pause and set play after setting the URI, but then I got a segmentation faul error. if you get a segfault, then repeat running your code under gdb and paste the backtrace here. Stefan Thanks _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |