openSUSE Lizards

Authors
Adrian Schröter (5)
Agustin Chavarria (1)
Akhil Laddha
Alexander Naumov
Alexander Orlovskyy (3)
Alexey Eromenko
Alin M Elena (4)
Andrea Florio (14)
Andreas Jaeger (43)
Andreas Stieger (1)
Andreas van dem Helge
Andrej Semen
Andrew Wafaa (25)
Arvin Schnell (6)
Beineri2
Bharath Acharya
Bonnie Kurniawan
Brian G. Merrell
Carl Fletcher
Casual Programmer
Christoph Thiel
Christopher Hobbs (15)
Ciaran Farrell (2)
Coly Li
Cristian Rodríguez
Daniel Bornkessel
David C. Rankin
Dean Hilkewich
Dinar Valeev (5)
Dirk Müller (1)
Dmitry Serpokryl (6)
Duncan Mac-Vicar
Enrique Herrera Noya
Eugene Pivnev
FabioMux (1)
Federico Lucifredi
Frank Lee
Gabriele Mohr
Gerrit Beine
Helman Rene Taleno Martinez
Helmut Schaa
Henne (6)
Herbert Graeber
Holgi (2)
Hubert Mantel (1)
Ioan Vancea
J. Daniel Schmidt (1)
Jaime Andrés Vélez Osorio
James Tremblay (7)
Jan Blunck (4)
Jan Madsen (1)
Jan Nieuwenhuizen
Jan-Christoph Bornschlegel (3)
Jan-Simon Möller (19)
Javier Llorente (1)
Jigish Gohil (18)
Jiri Srain (1)
Jiří Suchomel (1)
jloeser
Johan Kotze (5)
John Terpstra
Joop Boonen
Josef Reidinger (7)
Juergen Weigert (1)
Julio Vannini (7)
Justin Haygood
Kálmán Kéménczy
Kevin Yeaux (10)
Klaas Freitag (19)
Klara Cihlarova
Klaus Kämpf
Klaus Singvogel
kl_eisbaer (10)
Lars Marowsky-Bree
Li Bin
Ludwig Nussel (6)
M. Edwin Zakaria
Manuel Trujillo
Marcus Hüwe (8)
Marcus Meissner (1)
Marcus Moeller (1)
Marcus Schaefer (3)
Martin Lasarsch (8)
Martin Mohring (8)
Martin Schmidkunz
Masim "Vavai" Sugianto (20)
Matt Sealey
Mauro Parra-Miranda
Michael Andres (1)
Michael Löffler (3)
Michael Skiba
Michal Marek (3)
Michal Vyskocil (8)
Michal Zugec
mrdocs
Nikanth Karthikesan (2)
Oprea Lucian
Oswin Zulu
Peter Nixon
Peter Pöml (4)
Petr Mladek (28)
Petr Uzel (1)
Philipp Thomas
Pragnesh Radadiya
Ray Chen
Ray Wang (1)
Ricardo Varas Santana (6)
Richard Bos (4)
Robert Lihm
Roland Haidl
Roman Drahtmueller
Rossana Motta (1)
Rupert Horstkötter (9)
Sascha Manns (45)
Sebastian Schöbinger (4)
Stanislav Visnovsky (7)
Stefan Haas (1)
Stefan Hundhammer (5)
Stefan Schubert (3)
Steffen Winterfeldt (4)
Stephan Kulow (10)
Suman Manjunath
Suresh Jayaraman (1)
Susanne Oberhauser (2)
Syamsul Qamar Ngabito
Thomas Göttlicher (4)
Thomas Schraitle (13)
Thruth Wang
Tuukka (11)
Ulrich Hecht
Wilken Gottwalt
Will Stephenson (1)
Xin Wei Hu





 

Just a normal day in Geekland 1/2

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Friday, October 3rd, 2008 by Tuukka Digg!

I was having a lot of fun with openSUSE. Then I get that feeling that didn’t had enough fun at all. I was listenin my LP-records and felt little sad about that they could fit to my mobilephone. So I decided to do little megamix (and use my DJ-Sk1lzz). So I tried audacity (little bit over kill). Gnome record (Naah.. too professional still). I wanted something that records to disk same time it comes from ALSA in Ogg/Vorbis by command line.

I searched in Freashmeat, Build and Google no fun at all. Little thinking (actually this one was long while) I had an idea that I have two easy options: Mplayer and SoX. Mplayer is fantastic. It’s more than you can imagine. FFMpeg in somehow learnable syntax and more stuff upon it. One thing made it unusable (If some one know howto I will try) it couldn’t only record from ALSA device and turn it to Ogg/Vorbis buut I found SoX could very easyly.

rec output.ogg

So SoX it will be then. Only think I noticed missing that I wanted Artist, Dates and stuff like that in Ogg-file and that couldn’t be done in SoX (or can I?). So this get more Geekish (hooray!). I launched little stdout/stdin pipe and putted oggenc to end of the command so it looked like this.

rec --no-show-progress -t wav - | oggenc - -q 6 -b 168 -c "Comment $(date +%x)" -d "$(date +%x)" \
-G "Funk" -l "The Album" -t "The Title" -a "Dj SupaGeekorous" -o outputfile-$(date +%x).ogg

Geek in me felt very happy I was having a time of my life :) . Mission compilished or was it.. NO! I got Idea to stream my marvelous mix to the world with Icecast and VLC live when i’m doing it. So I think I have to try this and If you don’t nuke me down I’ll tell you how it went.


1 Comment

Comment by Stefan Kost
2008-10-03 10:35:27

This is how it could be done using GStreamer :)

gst-launch alsasrc ! audioconvert ! taginject tags="title=\"The title\",genre=funk" ! vorbisenc ! oggmux ! filesink location="record.ogg"

 

Sorry, the comment form is closed at this time.