|Subject:||Re: [Discuss-gnuradio] Piped Video Streaming Crash|
|Date:||Fri, 21 Feb 2014 15:57:09 +0100|
|User-agent:||Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0|
Just a few quick questions to understand better:
> Now with hardware:
> VLC - Named Pipe 1 - File Source GRC - OFDM MOD - USRP Sink- USRP -Source - OFDM DEMOD - File Sink GRC - Named Pipe 2 - Mplayer> (FAILS!!). Reports: Segfault (core dumped). GRC file is running, VLC is streaming. Fail occurs as soon as I open Named Pipe 2 with Mplayer
What is segfaulting? Mplayer or your Flowgraph?
If it's Mplayer I don't know, but it sounds like a solid Mplayer bug...
Also: Be aware that a named pipe might still have unread information from runs before; I guess the safest way would be rm'ing and mkfifo'ing right before every start.
> GRC: - not sure of the impact of these settings
> These are the ones I am not so sure of:
> File source, repeat yes or no?
don't repeat. Wouldn't work anyway. a byte that came out of a named pipe is gone forever :)
> File Sink, unbuffered on or off? append file on or off?
buffering shouldn't change much, but since your fifo is basically a buffer, just use unbuffered.
Appending on/off is meaningless for named pipe file descriptors. use the off variant - it's how fifo's were meant to be used.
Do things work out if you replace Named Pipe 2 with an actual file and try to play back that afterwards?
On 02/21/2014 03:41 PM, Alexander Buckley wrote:
|[Prev in Thread]||Current Thread||[Next in Thread]|