Coder Social home page Coder Social logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 28, 2024
not really like this solution...:-(

Original comment by [email protected] on 7 Jun 2013 at 8:32

from gstreamer-java.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 28, 2024
Another alternative?

Original comment by [email protected] on 7 Jun 2013 at 10:19

Attachments:

from gstreamer-java.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 28, 2024
r602

Original comment by [email protected] on 8 Jun 2013 at 12:00

  • Changed state: Fixed

from gstreamer-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.