gnlfilesource problem under windows

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

gnlfilesource problem under windows

FastRidingZebra
Hy,

I'm trying to use gnlfilesource under windows.
I tried this pipe:

C:\Program Files (x86)\OSSBuild\GStreamer\v0.10.7\bin>gst-launch.exe gnlfilesource location=testvid.ogv caps=video/x-raw-yuv media-start=1000000000 duration=5000000000 media-duration=5000000000 ! theoraenc ! oggmux ! filesink location=blahh.ogv

but I get:

Setting pipeline to PAUSED ...
0:00:00.100006000  5800   00869800 ERROR                basesrc gstbasesrc.c:3022:gst_base_src_activate_pull:<source> Failed to start in pull mode
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/GstGioSrc:source: Could not open resource for reading.
Additional debug info:
..\..\..\..\..\Source\gst-plugins-base\ext\gio\gstgiosrc.c(324): gst_gio_src_get_stream (): /GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/GstGioSrc:source:
Could not open location file:///C:/Program%20Files%20(x86)/OSSBuild/GStreamer/v0.10.7/bin/file:/testvid.ogv for reading: Error while opening the file : Invalid argument
Setting pipeline to NULL ...
Freeing pipeline ...


I think the problem is the "file:" in the filepath.
Does somebody know where this is coming from?
Thx for help.
Reply | Threaded
Open this post in threaded view
|

tune in x264enc

safa
Hi,

Would you please somebody tell me how I can set "tune" parameter for x264enc as zerolatancy by "g_object_set" function in C?

Thank you,
Safa


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gnlfilesource problem under windows

FastRidingZebra
In reply to this post by FastRidingZebra
OK... I found a solution for this:

I use gnlurisource now and create the uri like this:

uri =file:///C:\\temp\\testvid.ogv

Seems like uri under windows needs an additional slash behind "file:".
Reply | Threaded
Open this post in threaded view
|

Re: gnlfilesource problem under windows

Ralph
It is not only gnlfilesource that requires the uri in that format, all gstreamer elements accepting an uri require this format.  I think it would be a good idea to add a sentence to the main GStreamer documentation that the uri in Windows must look like "file:///C:\\temp\\testvid.ogv".  When I was starting my journey with GStreamer I discovered that format by trial and error, I couldn't google it anywhere.