Hot answers tagged streaming
4
Without experience with screencasts, this is the way to search the repository for keywords like this:
apt-cache search screencast
byzanz - Small screencast creator
gtk-recordmydesktop - Graphical frontend for recordmydesktop
istanbul - Desktop session recorder producing Ogg Theora video
The result is from xUbuntu 9.10 - your result may vary; give it a ...
4
If you are running Arch Linux I suppose you know how to install a rubygem. Take a look at https://rubygems.org/gems/airstream - a simple command-line-tool you can use to send remote and local image and video files to your apple-tv (tested with generation 3). If you need any help leave a comment on http://blog.lipautz.org/linux-and-apple-tv/.
3
I've read about using ffmpeg for screengrabbing before. Check out ffmpeg with X11 grabbing + ffserver. There may be some progressive deterioration in A/V syncing though.
3
VLC has a built-in desktop stream. I don't recall if it does audio too, howerver.
If you need something quick you can try Big Blue Button's VMware image. It sets up a server that can stream desktop, video, audio, and whiteboard.
2
Use WebcamStudio for GNU/Linux. (Reference:
Live screencasting to ustream)
As their website says,
WebcamStudio For GNU/Linux creates a
virtual webcam that can mix several
video sources together and can be used
for live broadcasting over Bambuser,
UStream or Stickam
View the demo here.
2
Try ffmpeg with something like this:
ffmpeg -vcodec mpeg4 -r 10 -g 300 -vd x11:0,0 -s 1280x1024
http://localhost:8090/feed1.ffm
If it's not working right with the exact settings from the example, see the ffmpeg webpage and documentation for more details: ffmpeg.org
2
Mplayer should be able to play WMA radio. It's possible to set up firefox to direct mms:// URIs to mplayer by setting the firefox configuration setting "network.protocol-handler.app.mms" to /usr/bin/mplayer (or whatever the path is for mplayer).
2
One clunky solution would be to use virtualbox to emulate a lightweight xp install which would host the itunes software. Create a samba share of your media files on the linux box and map that share to a network drive within the virtual pc, then add that mapped drive to the itunes library on the virtual machine. Its not an elegant solution but at least it ...
2
You can use tee and process substitution >(...) for this:
zcat my_data_file.gz |
# Count number of lines in stream
tee >(wc -l > /tmp/linecount) |
# Further processing
process_data.py
Note that pipes can be used for line continuation and that comments may be interspersed between commands, a nice feature when building complicated pipelines.
2
One workaround:
Setup Apache on the Linux box to serve up the media files and links. (I probably went a bit overboard here and created a PHP app that serves files along with metadata, album art/DVD covers etc as a web page. You wouldn't need to do that to just prove the concept.)
Go to the new webpage on an iPad/iPhones(s) and browse and select music or ...
1
I 'm not sure this is what you're looking for but, the suggestion only works if you use an iDevice to access and control the media on your PC.
OK, I have my Linux Ubuntu PC and a Window 7 PC networked together,
and using my iPad2 or iDevices, I can access all media content over the network thru the media servers I have on both pc's.
These servers are ...
1
It's not entirely efficient, but you can achieve this with named pipes, which you can create with mkififo(1)
For the example in the question:
mkfifo /tmp/f
wc -l /tmp/f > /tmp/linecount &
zcat my_data_file.gz \
| tee /tmp/f \
| process_data.py &
wait
rm /tmp/f
Note the & appended to both wc and the pipeline; this means that the shell ...
1
The short answer is: there isn't.
You've already highlighted the workarounds necessary to deal with large data being sent through a subprocess pipe. The "nice big elastic buffer" pipe doesn't exist. This is called out in the Subprocess Management Python documentation as a potential source of deadlocks, with the added solution that you can call ...
1
Actually I've succeed with streaming of h264 video with ffmpeg.
I was able to do this with help from ffmpeg-user list, especially from Carl Eugen Hoyos, author of this patch:
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index cd6aeb2..c3f813d 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v4l2.c
@@ -150,6 +150,7 @@ static struct fmt_map ...
1
I will explain how to stream h264 using gstreamer.
First, you need Linux kernel 3.2 or later to have "H264 pixel format" supported in the v4l2 drivers.
Use v4l2-ctl to check that you have proper H.264 support for the camera:
# v4l2-ctl --list-formats
# v4l2-ctl --list-formats-ext
Next, you will need video4linux libraries and utilities. These include:
...
1
You've run into an ugly hack in Live555, the library VLC uses to provide the RTSP client feature. (VLC's RTSP server code is VLC-specific.) The hack attempts to figure out which IP your machine appears to use on the LAN. (Ugly as the hack is, I don't know a better way for Live555 to do this.)
You have to open UDP port 15947 in your firewall to fix the error ...
1
I like Clementine, it's a good clone of what Amarok 1.x used to be like before they (IMO) messed it up with the version 2.x release.
On a more general note, pretty nearly anything is better than iTunes - Apple is usually excellent with user-interface design, but that program is an unusable abomination. I'd think "WTF were they thinking?" except that it's ...
1
mplayer wants to use your terminal, that is the reason why it is stopped in the background ([2]+ Stopped) and everything blocks. I suggest using separate terminals for the programs. Either just normal terminal windows or via screen or tmux. Another option is using nohup mplayer.
1
I think the standard of the day is DLNA (Digital Living Network Alliance). Wikipedia has a partial list of software, but the easiest way is probably to try with something like XBMC live (an Ubuntu-based live medium with XBMC on it) before you start installing things onto your work system.
1
Try this with icecast and ices.
http://www.linuxjournal.com/article/9280
or/and
http://beginlinux.com/server_training/8-ubuntuadmin/874-create-a-radio-station
Ignore the os type as most of config is generic. Get a working stream then play with different setups.
1
I haven't done this before nor tested it nor have thoroughly read the appropriate documentation. And I am not an expert in audio/video codecs and stuff. So this is more of a "this could work" guide and hopefully others can elaborate.
I did a quick search on google, trying to find out some tools that will cover the requirements (only command line tools).
...
Only top voted, non community-wiki answers of a minimum length are eligible