This isn't strictly a Linux question, but... I've been working on a project to archive some streaming media for time shifting using 'mplayer' and have been using FIFOs to archive in Ogg Vorbis format:
That works OK. But some of the streams I archive are long (3-4 hours) and are difficult to "fast forward" through on my car player. So I'd like to break the recordings up into 5 minute segments WHILE I am encoding the stream. The problem is that when oggenc stops reading from the program_name.wav FIFO, mplayer stops streaming and won't start up again. Any ideas how I would do this without just grabbing the whole show in WAV format and then splitting it after the fact?
omg i need help so bad. I've been working on a school project for what seems like an eternity and i'm close to deadline. Using FIFO's (i ahve to) to communicate between parent and child proc's. Right now I'm stuck on a read/write.
fifomsg is a struct with int length and char message fields. ... (5 Replies)
Hi, so I've got this program("main") that fork executes another ("user"). These programs communicate through fifos.
One communication is a spawn call, where user passes an executable, main forks and executes it. So, I'm keeping track of all my processes using a task table. After the fork (for... (6 Replies)
Is there a performance advantage of one of these over the other? Obviously, it makes no sense to use normal TCP sockets or UDP sockets w/ the overhead they carry. But what about UNIX domain sockets vs FIFOs? I'd think they'd be very similar, in terms of performance and in terms of how they're... (2 Replies)
Hi there,
I start using the function shutdown instead of reboot + poweroff.
But there are some points that are not explained in the man pages.
1) What is the usage of the t swith.
Both commands will display the message immediatly on every terminal and shutdown at 22:30. Where is the... (6 Replies)
I just started shell coding and I'm a bit confused on how 'mv' works can someone explain to me how it works and if i did this correctly. Thanks.
echo "Enter Name of the first file:"
read file1
#echo $file1
if ; then
echo "Sorry, file does not exist."
exit 1
... (16 Replies)
Hi Gurus:
I am trying to understand the following line of code.I did enough of googling to understand but no luck.Please help me understand the follow chunk of code:
X=$0
MOD=${X%/*}/env.ksh
X is the current script from which I am trying to execute.
Say if X=test.ksh
$MOD is echoing :... (3 Replies)
I want to have a message send & receive through 2 uni-direction FIFO
Flow of data
FIFO1
stdin--->parent(client) writefd--->FIFO1-->child(server) readfd
FIFO2
child(server) writefd2---->FIFO2--->parent(client) readfd2--->stdout
I need to have boundary structed message... (3 Replies)
Hi,
I found this in a script and I would like to know how this works
Code is here:
# var1=PART1_PART2
# var2=${var1##*_}
# echo $var2
PART2
I'm wondering how ##* makes the Shell to understand to pick up the last value from the given. (2 Replies)
Discussion started by: sathyaonnuix
2 Replies
LEARN ABOUT DEBIAN
dradio
DRADIO(1) DRadio Manuals DRADIO(1)NAME
dradio - Danmarks Radio netradio player
SYNOPSIS
dradio [--nologo] [--notitle] [MPLAYER_OPTIONS]...
dradio --help, -h
dradio --version
DESCRIPTION
dradio is a Danmarks Radio (DR) netradio, podcast, and TV player. It is a terminal based frontend to mplayer(1) that collects the available
channels/podcasts for convenient browsing.
OPTIONS
MPLAYER_OPTIONS
Options are passed to the mplayer child process, e.g. 'dradio -nocache' will turn off mplayer caching. See mplayer(1) for a descrip-
tion of the available options.
--help, -h
Print help message and exit.
--version
Print the version number and exit.
--nologo
Do not show DR logo.
--notitle
Do not try to update the title/icon text of the terminal with the currently playing menu item name.
KEYBOARD CONTROL
k/j or up/down
Navigate menu 1 item up/down.
ctrl-b/ctrl-f or pgup/pgdown
Navigate menu 1 page up/down.
/ and *
Decrease/increase volume.
< and >
Previous/next podcast.
left and right
Seek backward/forwards 1 minute in podcasts.
shift-left and shift-right
Seek backward/forward 10 minutes in podcasts.
t Toggle show DR logo.
p Toggle pause.
q Quit.
When playing streaming TV or video podcasts see mplayer(1) for keyboard controls.
FILES
~/.config/dradio/menu.xml
The menu configuration file. See dradio(5) for further details.
~/.config/dradio/out.log
mplayer stdout is redirected here.
~/.config/dradio/err.log
mplayer stderr is redirected here.
~/.config/dradio/input.conf
The mplayer input.conf configuration file. See mplayer(1) for further details.
http://www.dr.dk/netradio/wmp.asp
DR netradio direct links page.
http://www.dr.dk/Podcast
DR podcast direct links page.
AUTHOR
Jess Thrysoee <jess@thrysoee.dk>
SEE ALSO dradio(5), dradio-config(1), mplayer(1), ncurses(3NCURSES)DRadio JANUAR 2009 DRADIO(1)