[gst-devel] How to use vorbisenc and vorbisdec to record?

ensonic ensonic at hora-obscura.de
Tue Jan 16 09:14:57 CET 2007


Hi,

how do you end recording? Ctrl-C? I am not sure if the ogg written this way
is fine. Can you try
gst-launch -v osssrc num-buffers=1000 ! audioconvert ! vorbisenc ! ...

and wait for the gst-launch to end. If 1000 is too long or too short then
please vary :)

Stefan
 
On 2:27:57 am 16/01/2007 "linguang_wang at astrocom.cn" <linguang_wang at astrocom.cn> wrote:
> Zaheer Merali,hello£¡
>   Thank you for your reply! I'm sure my mixer settings is ok(I used
> gst-launch -v osssrc ! wavenc ! filesink location=mymusic.wav ,
> playbacked as gst-launch -v filesrc location=mymusic.wav ! wavparse !
> osssink is ok). I want to know that whether has anyone to record file
> successfully by gst£­launch osssrc ! audioconvert ! vorbisenc !
> oggmux ! filesink location=input.ogg ! I know the pipeline is ok. And
> I playbacked ogg music file that is converted by GoalWav ,it sounds
> very good. I think the problem is in recording.
>
> > Ignore it, I didn't see your wav line that was fine.  There's
> > nothing that looks strange in your pipelines to cause silence.
> >
> > Zaheer
> >
> > On 1/15/07, Zaheer Merali <zaheermerali at gmail.com> wrote:
> >>  On 1/15/07, linguang_wang at astrocom.cn <linguang_wang at astrocom.cn>
> >> >  wrote: Hi all!
> >> >     I used gst£­launch osssrc ! audioconvert ! vorbisenc !
> >> >  oggmux ! filesink location=input.ogg records sound from my
> >> >  audio input and encodeed it into an ogg file .But when I
> playbacked as gst-launch filesrc location=input.ogg ! oggdemux !
> >> >  vorbisdec ! audioconvert ! osssink ,I can't hear nothing.I used
> >> >     gstreamer at version gstreamer-0.10.11. I playbacked
> >> >     input.ogg by GoalWav ,the result is same. And I used
> >> >     gst-launch -v osssrc ! wavenc ! filesink location=mymusic.wav
>  , playbacked as gst-launch -v filesrc location=mymusic.wav ! wavparse !
>  osssink is ok.
> >> >  ----------------------------------------------------------------
> ---------------------------
> >> >     What is wrong?  I'm in a pickle and one of you guys might be
> >> >     able to help me out. Thanks!
> >> >
> >> >
> >> >  ----------------------------------------------------------------
> ---------
> >> >  Take Surveys. Earn Cash. Influence the Future of IT
> >> >  Join SourceForge.net's Techsay panel and you'll get the chance
> >> >  to share your opinions on IT & business topics through brief
> >> >  surveys - and earn cash http://www.techsay.com/default.php?page=
> join.php&p=sourceforge&CID=DEVDEV
> >> >  _______________________________________________
> >> >  gstreamer-devel mailing list
> >> >  gstreamer-devel at lists.sourceforge.net
> >> >  https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >> >
> >>
> >>  Hi
> >>
> >>  Have you checked your mixer settings for your OSS device, whether
> >>  the correct input is selected for capture and not muted?
> >>
> >>  Zaheer
> >>
>
> = = = = = = = = = = = = = = = = = = = =





More information about the gstreamer-devel mailing list