[gst-devel] issue on osssink in version 0.10.0

Edgard Lima edgard.lima at indt.org.br
Fri Jan 13 11:17:00 CET 2006


Rong,

the file you sent me is a fine WAV file

http://s36.yousendit.com/d.aspx?id=3VQH7HC08BFEQ1654UIBTWHYJV

and it plays fine on my machine.

update your gstreamer, base, good, ugly and bad and compile and install it
I hope it will work fine.

Regards,
Edgard_ (alima)
edgard.lima at indt.org.br




rong wang wrote:

>here is the result
>
>First, if I run followig:
>gst-launch -v --gst-debug-level=2 filesrc
>location=sine.wav ! wavparse ! filesink
>location=output
>
>It gave me same problem as before, output file size is
>0
>
>Second, if I run file sine.wav
>I got result:
>sine.wav: RIFF (little-endian) data, WAVE audio,
>Microsoft PCM, 8 bit, mono 22050 Hz  (I didn't
>generate it, it is used for testing by my co-worker,
>he just gave me)
>
>Third: if I did following:
>[root at Linux /root]#gst-launch audiotestsrc ! osssink
>
>Setting pipeline to PAUSED ...
>Pipeline is PREROLLING ...
>Pipeline is PREROLLED ...
>Setting pipeline to PLAYING ...
>New clock: audioclock0
>
>It works fine and well. 
>
>
>I think that problem is the negotiation between
>filesrc and other
>elements. 
>
>I also tried following:
>
>[root at Linux /root]#gst-launch filesrc
>location=sine.wav ! filesink location=outp
>ut
>Setting pipeline to PAUSED ...
>Pipeline is PREROLLING ...
>Pipeline is PREROLLED ...
>Setting pipeline to PLAYING ...
>New clock: GstSystemClock
>ERROR: from element /pipeline0/filesrc0: Could not
>read from resource.
>Additional debug info:
>gstfilesrc.c(778): gst_file_src_create_read:
>/pipeline0/filesrc0:
>unexpected end of file.
>[Invalid UTF-8] Execution ended after
><\xf8\xff\xbe|\xf1\x05Setting pipeline to
>PAUSED ...
>Setting pipeline to READY ...
>Setting pipeline to NULL ...
>FREEING pipeline ..
>
>The file copy is not complete. Two file sizes are not
>the same.
>Could you just give me more hint? I am totally lost
>here.
>
>Rong
>
>
>
>
>
>
>
>
>--- Stefan Kost <ensonic at hora-obscura.de> wrote:
>
>  
>
>>hi rong,
>>
>>rong wang wrote:
>>    
>>
>>>Michal
>>>   I got no more information than before after
>>>      
>>>
>>using
>>    
>>
>>>  gst-launch -v --gst-debug-level=2 filesrc
>>> location=sine.wav ! wavparse !
>>> audioconvert ! osssink
>>>
>>>
>>>   here is the result:
>>>Setting pipeline to PAUSED ...
>>>ERROR: Pipeline doesn't want to pause.
>>>Setting pipeline to NULL ...
>>>FREEING pipeline ...
>>>
>>>Any other way to do the debug work...
>>>
>>>Thanks
>>>
>>>Rong
>>>
>>>  
>>>      
>>>
>>Please tell us, how you generated the 'sine.wav'
>>file.  Have you
>>generated it with anapplication?
>>What does the command 'file sine.wav' tells you? It
>>sould say something like
>>  ./sine.wav: RIFF (little-endian) data, WAVE audio,
>>Microsoft PCM, 16
>>bit, stereo 44100 Hz
>>
>>If you just want to test osssink you can also use
>>  gst-launch-0.10 audiotestsrc wave=0 freq=1000 !
>>audioconvert ! osssink
>>
>>Stefan
>>
>>
>>    
>>
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around 
>http://mail.yahoo.com 
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>_______________________________________________
>gstreamer-devel mailing list
>gstreamer-devel at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  
>





More information about the gstreamer-devel mailing list