Comments (4)
not really like this solution...:-(
Original comment by [email protected]
on 7 Jun 2013 at 8:32
from gstreamer-java.
Hmm,
Well heres the debug for you. I could only assume this would break on linux if
the path had a space in it: /usr/home/user/path\ with\ space/file.ogg. But then
again, who uses spaces in a *nix path, or sets java.io.tmpdir to one :).
setUpBeforeClass():
0:00:02.986379000 INFO GST_PIPELINE gstparse.c:334:gst_parse_launch_full:
parsing pipeline description 'videotestsrc num-buffers=25 ! theoraenc ! oggmux
name=mux ! filesink
location=C:\Users\Username\AppData\Local\Temp\StreamInfoTest-2944876850316221146
.ogg audiotestsrc num-buffers=44 ! vorbisenc ! mux.'
0:00:03.788481000 DEBUG GST_PIPELINE parse.l:75:priv_gst_parse_yylex: flex:
ASSIGNMENT:
location=C:\Users\Username\AppData\Local\Temp\StreamInfoTest-2944876850316221146
.ogg
0:00:03.788481000 DEBUG GST_URI gsturi.c:898:gst_filename_to_uri:
'C:UsersUsernameAppDataLocalTempStreamInfoTest-2944876850316221146.ogg' ->
'file:///C:/Users/Username/SVN/External/gstreamer-java/gstreamer-java/C:UsersUse
rnameAppDataLocalTempStreamInfoTest-2944876850316221146.ogg'
0:00:03.788481000 INFO filesink gstfilesink.c:301:gst_file_sink_set_location:
filename : C:UsersUsernameAppDataLocalTempStreamInfoTest-2944876850316221146.ogg
0:00:03.788481000 INFO filesink gstfilesink.c:302:gst_file_sink_set_location:
uri :
file:///C:/Users/Username/SVN/External/gstreamer-java/gstreamer-java/C:UsersUser
nameAppDataLocalTempStreamInfoTest-2944876850316221146.ogg
0:00:04.168029000 DEBUG filesink
gstfilesink.c:419:gst_file_sink_open_file:<filesink0> opened file
C:UsersUsernameAppDataLocalTempStreamInfoTest-2944876850316221146.ogg, seekable
1
setUp():
0:00:04.833113000 DEBUG GST_ELEMENT_FACTORY
gstelementfactory.c:402:gst_element_factory_create: created element "playbin"
0:00:04.865617000 DEBUG playbasebin
gstplaybasebin.c:2562:gst_play_base_bin_set_property: setting new uri to
file:///C:/Users/Username/AppData/Local/Temp/StreamInfoTest-2944876850316221146.
ogg
0:00:04.870618000 DEBUG playbasebin
gstplaybasebin.c:2083:setup_source:<playbin> setup source
0:00:04.870618000 DEBUG GST_URI gsturi.c:607:gst_element_make_from_uri: type:2,
uri:file:///C:/Users/Username/AppData/Local/Temp/StreamInfoTest-2944876850316221
146.ogg, elementname:source
0:00:04.870618000 DEBUG GST_PLUGIN_LOADING
gstpluginfeature.c:106:gst_plugin_feature_load: loading plugin for feature
05172248; 'filesrc'
0:00:04.870618000 INFO GST_ELEMENT_FACTORY
gstelementfactory.c:374:gst_element_factory_create: creating element "filesrc"
named "source"
0:00:04.871118000 DEBUG GST_ELEMENT_FACTORY
gstelementfactory.c:402:gst_element_factory_create: created element "filesrc"
0:00:04.871118000 DEBUG GST_URI gsturi.c:898:gst_filename_to_uri:
'C:\Users\Username\AppData\Local\Temp\StreamInfoTest-2944876850316221146.ogg'
->
'file:///C:/Users/Username/AppData/Local/Temp/StreamInfoTest-2944876850316221146
.ogg'
0:00:04.871118000 INFO filesrc gstfilesrc.c:376:gst_file_src_set_location:
filename :
C:\Users\Username\AppData\Local\Temp\StreamInfoTest-2944876850316221146.ogg
0:00:04.871118000 INFO filesrc gstfilesrc.c:377:gst_file_src_set_location: uri
:
file:///C:/Users/Username/AppData/Local/Temp/StreamInfoTest-2944876850316221146.
ogg
0:00:04.927125000 DEBUG basesrc gstbasesrc.c:2754:gst_base_src_start:<source>
starting source
0:00:04.927125000 INFO filesrc gstfilesrc.c:955:gst_file_src_start:<source>
opening file
C:\Users\Username\AppData\Local\Temp\StreamInfoTest-2944876850316221146.ogg
0:00:04.927125000 DEBUG basesrc gstbasesrc.c:2787:gst_base_src_start:<source>
setting size 0
0:00:04.927125000 DEBUG basesrc gstbasesrc.c:2800:gst_base_src_start:<source>
format: bytes, have size: 1, size: 0, duration: 0
0:00:04.927625000 WARN typefind
gsttypefindelement.c:954:gst_type_find_element_activate:<typefind> error:
Stream contains no data.
0:00:04.927625000 WARN typefind
gsttypefindelement.c:954:gst_type_find_element_activate:<typefind> error: Can't
typefind empty stream
Test fails. Since the file didn't exist filesrc creates an empty file at the
correct location with 0 bytes.
Original comment by [email protected]
on 7 Jun 2013 at 10:11
from gstreamer-java.
Another alternative?
Original comment by [email protected]
on 7 Jun 2013 at 10:19
Attachments:
from gstreamer-java.
r602
Original comment by [email protected]
on 8 Jun 2013 at 12:00
- Changed state: Fixed
from gstreamer-java.
Related Issues (20)
- BaseSink.set_caps callback not defined HOT 1
- BaseTransform class not implemented HOT 1
- Query duration HOT 2
- Why not publish new version? HOT 1
- v4l2src name=test device=/dev/video0 - how can i change the video0 to 1 for live capture? HOT 1
- Do you plan to create a java wrapper fo gst-rtsp-server ? HOT 1
- getting error with tuitorial HOT 6
- Will gstreamer-java migrate to gstreamer 1.0? HOT 20
- where to find encoder? HOT 3
- (Final) 0.10 series release HOT 2
- Mac OS missing dependency libgstinterfaces HOT 2
- Version 1.6 should be on Maven Central
- java.lang.UnsatisfiedLinkError is ambiguous
- Memory Leak using org.gstreamer.swing.VideoComponent
- VideoComponent resourceTimer is never stopped HOT 3
- troca de arquivo com filesink
- file exchange with filesink
- file exchange with filesink
- Application crash on playing AVI HOT 3
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 gstreamer-java.