Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: MP3 Plugin
Juri Haberland wrote:
> Stefan Huelswitt wrote:
>
>> May be, not the input pipe is the problem, but the output pipe.
>> Mplayer tends to output a lot (even more if started without
>> -quiet) on stdout/stderr. Pipes only have a small buffer (usualy
>> 4k). First statement to stop is "run=false" which stops
>> processing of pipe data. If the pipe-buffer runs full after this
>> (e.g. from MPlayers exit messages) any following output of
>> mplayer will block.
>
> I just did some tests. Your patch didn't help, but I found a way to
> reliably lock it up.
> It seems to be an issue of the amount of output of mplayer. If I play a
> Quicktime movie, there seems to be more output then with other file
> formats. Without '-quiet' and with debugging output of my script, mplayer
> reliably locks up. If I use '-quiet -really-quiet' and disable debugging,
> it works.
>
> wc counts:
> to much output:
> # /video/plugins/mplayer.sh /videos/diverses/Nemesis_Teaser_big.mov 2>&1|wc
> 191 4066 21972
>
> working:
> # /video/plugins/mplayer.sh /videos/diverses/Nemesis_Teaser_big.mov 2>&1|wc
> 89 476 3479
>
> Here we have less then 4k of characters. Does this ring a bell?
oh, and 99% of the output happens right after the start, nearly zero at
exit time.
Cheers,
Juri
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index