Re: [Dvbstreamer-devel] The next release - Version 1.0?
Status: Beta
Brought to you by:
charrea6
From: Paul K. <pa...@st...> - 2008-04-04 11:36:29
|
On Fri, 4 Apr 2008, Paul Kelly wrote: > On Thu, 3 Apr 2008, Adam Charrett wrote: > >> I'll add a -L option (not -l as this is used by setupdvbstreamer and all >> the apps will get this new option) to allow you to specify a file to log >> to. I'll look into using a filename like '-' to mean stderr. >> >> By the way, I'm curious what exactly are you using DVBStreamer for? (No >> need to answer that if you not allowed ;-) ) > > Yes no problem - I'm writing a number of custom plugins to process and > save the content simultaneously from multiple services on each multiplex. > When they're finished and tested I expect to release them under the GPL. > A while ago I posted a previous iteration of a plugin to split the MPEG-TS > stream into minute-long files to this list I think. Another one transcodes > the MPEG video and audio in realtime into a more compressed format and > saves this. To do this it uses an external transcoding library. The > external library (FFmpeg) issues occasional warnings and errors to > stderr. My plugins have used (up to now) the dvbstreamer logging > mechanism, which also wrote to stderr and the messages from FFmpeg would > be interspersed in the correct order with the log output from my plugins, > allowing me to see easily when and as part of what sequence of events the > errors/warnings had occured. > > The "-l -" option would be useful, otherwise I think I will just change my > plugins to write the log info directly to stderr to get around this. Looks like I can get FFmpeg to use the dvbstreamer LogModule() function, so not to worry about that last comment. The user-specifiable log file will still be really useful though, thanks. Paul |