Comments (1)
Those exact commands work for me. You are only allowed to change a filesrc location in the NULL state. The pipe is in the NULL state when it's created by gstd, so you should be able to change it just fine. Here's my output:
mgruner$ gstd-client pipeline_create testpipe filesrc name=src location=/path/file1.mp4 ! fakesink
{
"code" : 0,
"description" : "Success",
"response" : {
"properties" : [
{
"name" : "name",
"value" : "\"testpipe\"",
"param" : {
"description" : "The name of the current Gstd session",
"type" : "gchararray",
"access" : "((GstdParamFlags) READ | 234)"
}
},
{
"name" : "description",
"value" : "\"filesrc name=src location=/path/file1.mp4 ! fakesink\"",
"param" : {
"description" : "The gst-launch like pipeline description",
"type" : "gchararray",
"access" : "((GstdParamFlags) READ | 234)"
}
},
{
"name" : "elements",
"value" : "((GstdList*) 0x7fb085038310)",
"param" : {
"description" : "The elements in the pipeline",
"type" : "GstdList",
"access" : "((GstdParamFlags) READ | 224)"
}
},
{
"name" : "bus",
"value" : "((GstdPipelineBus*) 0x7fb085039b20)",
"param" : {
"description" : "The bus callback for this element",
"type" : "GstdPipelineBus",
"access" : "((GstdParamFlags) READ | 224)"
}
},
{
"name" : "state",
"value" : "((GstdState*) 0x7fb085039880)",
"param" : {
"description" : "The state of the pipeline",
"type" : "GstdState",
"access" : "((GstdParamFlags) READ | UPDATE | 226)"
}
},
{
"name" : "event",
"value" : "((GstdEventHandler*) 0x7fb085044f00)",
"param" : {
"description" : "The event handler of the pipeline",
"type" : "GstdEventHandler",
"access" : "((GstdParamFlags) READ | 224)"
}
}
]
}
}
mgruner$ gstd-client element_set testpipe src location /path/file2.mp4
{
"code" : 0,
"description" : "Success",
"response" : {
"name" : "location",
"value" : "/path/file2.mp4",
"param" : {
"description" : "Location of the file to read",
"type" : "gchararray",
"access" : "((GstdParamFlags) READ | DELETE | 226)"
}
}
}
from gstd-1.x.
Related Issues (20)
- Unable to send event_seek while using udpsink and gstd
- Using gstd python api with Gst-python Gi object
- libgstd.c initial declarations are only allowed in C99 mode HOT 2
- Unable to use hlssink2 with gstd HOT 2
- gstd does not create log files gstd.log and gst.log HOT 3
- gstd becoming unresponsive HOT 1
- gstd hangs on shutdown if pipelines are running HOT 1
- HTTP API returning erroneous response when an action is emitted
- gstd segfaults HOT 14
- Q: Able to run gstd more faster? HOT 1
- Problem with nvivafilter HOT 5
- gstd adding and removing elements HOT 6
- Could gstd handle up to 1000 pipelines simultaneously? HOT 4
- Inconsistent response json structure for element_get HOT 7
- add original create command to internal pipeline data
- Help with the JavaScript Example. HOT 1
- Segmentation fault after closing GL window
- Pip error when make install on a Jetson Xavier NX
- Is ping_gstd thread safe ? HOT 1
- Non debug version of gstd
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gstd-1.x.