[gst-devel] vl4+alsa => theora => icecast

Pavan Kumar Patale pavanpatale at hotmail.com
Sun Dec 17 07:50:05 CET 2006




>From: "alejo d" <alejoduque at gmail.com>
>To: "René Stadler" 
><mail at renestadler.de>,gstreamer-devel at lists.sourceforge.net
>Subject: Re: [gst-devel] vl4+alsa => theora => icecast
>Date: Sun, 17 Dec 2006 05:17:09 +0100
>MIME-Version: 1.0
>Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by 
>bay0-mc1-f14.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Sat, 
>16 Dec 2006 20:17:17 -0800
>Received: from sc8-sf-list2-new.sourceforge.net 
>(sc8-sf-list2-new-b.sourceforge.net [10.3.1.94])by 
>sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid 77F37132A0; Sat, 16 Dec 
>2006 20:17:16 -0800 (PST)
>Received: from sc8-sf-mx1-b.sourceforge.net 
>([10.3.1.91]helo=mail.sourceforge.net)by sc8-sf-list2-new.sourceforge.net 
>with esmtp (Exim 4.43)id 1GvnSZ-0004eX-KC for 
>gstreamer-devel at lists.sourceforge.net;Sat, 16 Dec 2006 20:17:12 -0800
>Received: from py-out-1112.google.com ([64.233.166.183])by 
>mail.sourceforge.net with esmtp (Exim 4.44) id 1GvnSY-0002Yl-M1for 
>gstreamer-devel at lists.sourceforge.net;Sat, 16 Dec 2006 20:17:13 -0800
>Received: by py-out-1112.google.com with SMTP id a29so688594pyifor 
><gstreamer-devel at lists.sourceforge.net>;Sat, 16 Dec 2006 20:17:09 -0800 
>(PST)
>Received: by 10.65.154.4 with SMTP id g4mr819498qbo.1166329029468;Sat, 16 
>Dec 2006 20:17:09 -0800 (PST)
>Received: by 10.64.232.5 with HTTP; Sat, 16 Dec 2006 20:17:09 -0800 (PST)
>X-Message-Info: LsUYwwHHNt0ofVBObm9QCXDXhQQ8PutHxCiSE+kp3+w=
>References: 
><e1e11c420612161744i5f06bcb9lb7165943220e3e0e at mail.gmail.com><1166325357.8362.37.camel at fry>
>X-Spam-Score: 0.5 (/)
>X-Spam-Report: Spam Filtering performed by sourceforge.net.See 
>http://spamassassin.org/tag/ for more details.Report problems 
>tohttp://sf.net/tracker/?func=add&group_id=1&atid=2000010.0 RCVD_BY_IP      
>        Received by mail server with no name0.0 HTML_MESSAGE           
>BODY: HTML included in message0.5 HTML_20_30             BODY: Message is 
>20% to 30% HTML
>X-BeenThere: gstreamer-devel at lists.sourceforge.net
>X-Mailman-Version: 2.1.8
>Precedence: list
>List-Id: Discussion of the development of 
>GStreamer<gstreamer-devel.lists.sourceforge.net>
>List-Unsubscribe: 
><https://lists.sourceforge.net/lists/listinfo/gstreamer-devel>, 
><mailto:gstreamer-devel-request at lists.sourceforge.net?subject=unsubscribe>
>List-Archive: 
><http://sourceforge.net/mailarchive/forum.php?forum=gstreamer-devel>
>List-Post: <mailto:gstreamer-devel at lists.sourceforge.net>
>List-Help: 
><mailto:gstreamer-devel-request at lists.sourceforge.net?subject=help>
>List-Subscribe: 
><https://lists.sourceforge.net/lists/listinfo/gstreamer-devel>, 
><mailto:gstreamer-devel-request at lists.sourceforge.net?subject=subscribe>
>Errors-To: gstreamer-devel-bounces at lists.sourceforge.net
>Return-Path: gstreamer-devel-bounces at lists.sourceforge.net
>X-OriginalArrivalTime: 17 Dec 2006 04:17:17.0129 (UTC) 
>FILETIME=[3CBCB390:01C72192]
>
>hej rene, thanks a lot for your explanation, its basically "my" first
>pipeline, it comes from some wiki+google+irc so no wonder i had so many
>mis-pasted bits...anyway im still stuck, i've tried what you suggested and
>got a segfault:
>
>gst-launch-0.10 v4lsrc device=/dev/video0 ! ffmpegcolorspace ! videoscale !
>video/x-raw-yuv,width=320,height=240 ! theoraenc bitrate=80 ! oggmux
>name=mux !  shout2send ip=hackitectura.net port=8000 password=XXXXX
>streamname=http://son0p.tv description= 
><http://son0p.tvdescription=>"alej00d
>live transmission" mount=son0p.ogg  alsasrc ! audioconvert ! audioresample 
>!
>audio/x-raw-float,width=32,rate=22050,channels=2 ! vorbisenc ! queue ! mux.
>
>Setting pipeline to PAUSED ...
>Pipeline is live and does not need PREROLL ...
>Setting pipeline to PLAYING ...
>New clock: audioclock0
>WARNING: Element "shout2send0" warns: gstbasesink.c(1935):
>gst_base_sink_chain_unlocked (): /pipeline0/shout2send0:
>Received buffer without a new-segment. Assuming timestamps start from 0.
>
>any other thing i should try to avoid the trap?

Try setting the sync property of shout2send  to FALSE

Pavan.

>
>thanks again,
>/a
>
>
>On 12/17/06, René Stadler <mail at renestadler.de> wrote:
>>
>>Am Sonntag, den 17.12.2006, 02:44 +0100 schrieb alejo d:
>> > im having problems getting a video stream with audio using
>> > gst-launch-0.10.
>> > video goes out well, but when i try to get audio from alsa i get a:
>> >
>> > ERROR: from element /pipeline0/alsasrc0: Internal data flow error.
>> > Additional debug info:
>> > gstbasesrc.c(1614): gst_base_src_loop (): /pipeline0/alsasrc0:
>> >
>> > the pipeline im trying is:
>> >
>> > gst-launch-0.10 v4lsrc device=/dev/video0 !
>> > "video/x-raw-yuv",width=320,height=240 ! ffmpegcolorspace ! theoraenc
>> > bitrate=80 ! oggmux name=mux ! shout2send ip=son0p.tv port=8000
>> > password=XXXXX streamname=http://son0p.tv description="alej00d live
>> > transmission" mount=son0p.ogg  alsasrc !
>> > audio/x-raw-int,width=16,depth=16,rate=44100,channels=2 ! audioconvert
>> > mux.
>>
>>There are several things wrong with this pipeline:
>>
>>- The order of the filtered video caps and the colorspace converter
>>should be swapped.
>>
>>- Same thing for audio: Put the converter before the capsfilter.
>>
>>- The audioconverter is not linked to the muxer, you are missing the "!"
>>between "audioconvert" and "mux.".
>>
>>- oggmux does not accept raw audio.
>>
>>Try something like this (completely untested):
>>
>>gst-launch-0.10 v4lsrc device=/dev/video0 ! ffmpegcolorspace !
>>videoscale ! video/x-raw-yuv,width=320,height=240 ! theoraenc
>>bitrate=80 ! oggmux name=mux ! shout2send ip=son0p.tv port=8000
>>password=XXXXX streamname=http://son0p.tv description="alej00d live
>>transmission" mount=son0p.ogg  alsasrc ! audioconvert ! audioresample !
>>audio/x-raw-float,width=32,rate=44100,channels=2 ! vorbisenc ! mux.
>>
>>If you use a different audio encoder, don't forget to adjust the audio
>>caps if it uses a different input format.
>>
>>Regards,
>>   René Stadler
>>
>>


>-------------------------------------------------------------------------
>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

_________________________________________________________________
Get up-to-date with movies, music and TV. Its happening on MSN Entertainment 
http://content.msn.co.in/Entertainment/Default





More information about the gstreamer-devel mailing list