Title: Linking Element to Bin · Issue #152 · gstreamer-java/gstreamer-java · GitHub
Open Graph Title: Linking Element to Bin · Issue #152 · gstreamer-java/gstreamer-java
X Title: Linking Element to Bin · Issue #152 · gstreamer-java/gstreamer-java
Description: I have a problem linking a source to a Bin: Works: Bin bin = Bin.launch("filesrc location=/tmp/sound.au ! queue ! audio/x-raw-int,rate=44100,channels=1,width=16,depth=16,signed=true,endianness=4321 ! audioconvert ! lame ! filesink locati...
Open Graph Description: I have a problem linking a source to a Bin: Works: Bin bin = Bin.launch("filesrc location=/tmp/sound.au ! queue ! audio/x-raw-int,rate=44100,channels=1,width=16,depth=16,signed=true,endianness=4321...
X Description: I have a problem linking a source to a Bin: Works: Bin bin = Bin.launch("filesrc location=/tmp/sound.au ! queue ! audio/x-raw-int,rate=44100,channels=1,width=16,depth=16,signed=true,endianness...
Opengraph URL: https://github.com/gstreamer-java/gstreamer-java/issues/152
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Linking Element to Bin","articleBody":"I have a problem linking a source to a Bin:\n\nWorks:\n\n```\nBin bin = Bin.launch(\"filesrc location=/tmp/sound.au ! queue ! audio/x-raw-int,rate=44100,channels=1,width=16,depth=16,signed=true,endianness=4321 ! audioconvert ! lame ! filesink location=/tmp/sound.mp3\", true);\nPipeline pipe = new Pipeline();\npipe.addMany(bin);\n\n...\n```\n\nDoes not work:\n\n```\nElement source = ElementFactory.make(\"filesrc\", \"filesrc0\");\nsource.set(\"location\", `\"/tmp/sound.au\");`\nBin bin = Bin.launch(\"queue ! audio/x-raw-int,rate=44100,channels=1,width=16,depth=16,signed=true,endianness=4321 ! audioconvert ! lame ! filesink location=/tmp/sound.mp3\", false);\nPipeline pipe = new Pipeline();\nsource.link(bin);\npipe.addMany(source, bin);\n\n...\n```\n\nWhat is the difference between the filesrc inside the bin and my external one that I link to the bin?\n","author":{"url":"https://github.com/lunderhage","@type":"Person","name":"lunderhage"},"datePublished":"2016-10-19T16:08:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/152/gstreamer-java/issues/152"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:733f3625-0d04-f29c-ca14-14e082bd11b6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A072:1B6BE9:6F7B49D:90695A7:69758571 |
| html-safe-nonce | 86e0a6f938218f838a9a3cceb3d5aed94333e5036f3f9293de2448416e246a56 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDcyOjFCNkJFOTo2RjdCNDlEOjkwNjk1QTc6Njk3NTg1NzEiLCJ2aXNpdG9yX2lkIjoiOTE3ODg3ODcyNDM1MzEzMTg4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 36d7c11d5df742a50b44fccfbabe3a067fcfddbca8afe4ee54f28b39f75966bb |
| hovercard-subject-tag | issue:184006516 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gstreamer-java/gstreamer-java/152/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2cf8885a6e7210af090c11e014717b007777f8f8b3e123c3ec085e6bb631fc78/gstreamer-java/gstreamer-java/issues/152 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2cf8885a6e7210af090c11e014717b007777f8f8b3e123c3ec085e6bb631fc78/gstreamer-java/gstreamer-java/issues/152 |
| og:image:alt | I have a problem linking a source to a Bin: Works: Bin bin = Bin.launch("filesrc location=/tmp/sound.au ! queue ! audio/x-raw-int,rate=44100,channels=1,width=16,depth=16,signed=true,endianness=4321... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lunderhage |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/gstreamer-java/gstreamer-java git https://github.com/gstreamer-java/gstreamer-java.git |
| octolytics-dimension-user_id | 6482929 |
| octolytics-dimension-user_login | gstreamer-java |
| octolytics-dimension-repository_id | 32389732 |
| octolytics-dimension-repository_nwo | gstreamer-java/gstreamer-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 32389732 |
| octolytics-dimension-repository_network_root_nwo | gstreamer-java/gstreamer-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width