[FFmpeg-devel] ffmpeg logging on stderr

Wim Lewis wiml
Thu Mar 10 20:44:35 CET 2011


On 3/10/11 6:36 AM, Michael Niedermayer wrote:
> what is the problem with
> -q 2>/dev/null
> 
> or what problem are you trying to solve?

I thought <tekgro> was trying to parse the actual error output, but was
having difficulty because it was interspersed with non-error text?

Another possible solution to the version-header problem is to make sure
that it always *ends* with a specific pattern or piece of text (and
document what to look for), so that programs which are trying to parse
ffmpeg output know how much to skip. It could be something as flexible
as "the first non-indented line after the libfoo lines is the last line
of the header".


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 305 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110310/4a8acd30/attachment.pgp>



More information about the ffmpeg-devel mailing list