Gentoo Archives: gentoo-user

From: Florian Philipp <lists@××××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Video Network Stream from Pipe
Date: Thu, 17 Jan 2008 19:18:00
Message-Id: 1200597430.15883.24.camel@NOTE_GENTOO64.PHHEIMNETZ
In Reply to: Re: [gentoo-user] Video Network Stream from Pipe by Neil Bothwick
1 On Wed, 2008-01-16 at 20:43 +0000, Neil Bothwick wrote:
2 > On Wed, 16 Jan 2008 20:29:35 +0100, Florian Philipp wrote:
3 >
4 > > #!/bin/bash
5 > > mencoder [...] -o - | tee video.mkv | stream-app
6 > >
7 > > So far it should work and vlc would be the natural choice for the
8 > > streaming app. However, vlc seems unable to read from a pipe so I need
9 > > something else.
10 >
11 > What about using a fifo, can vlc handle that?
12 >
13 > mkfifo mystream
14 > mencoder [...] -o - | tee video.mkv >mystream &
15 > streamapp mystream
16 >
17 >
18
19 Thanks but that was one of my first thoughts. I've tried "cat
20 [Matroska-file] > test.fifo & vlc test.fifo". VLC thought it was a DVD
21 and could not read it. I also tried telling vlc to use the mkv demuxer
22 with "--demux mkv" but then I've got:
23 "[00000254] mkv demuxer error: Not a Matroska file : DocType =
24 [00000254] mkv demuxer error: cannot find KaxSegment
25 [00000247] main input error: no suitable demux module for
26 `/mkv://TYFS.mkv'"
27
28 I don't think streaming would fare any better if the streaming server
29 can't recognize the format, am I right?

Attachments

File name MIME type
signature.asc application/pgp-signature