Opened 16 years ago

Closed 13 years ago

#1266 closed defect (worksforme)

yuv4mpeg streaming to stdout breaks because mplayer prints it's ID also to stdout

Reported by: panteltje@… Owned by: reimar
Priority: normal Component: streaming
Version: unspecified Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

When using mplayer with the -vo yuv4mpeg:file=/dev/stdout option,
so as to stream to for example to a rescaler, like this:
mplayer -vo yuv4mpeg:file=/dev/stdout movie.avi | \
y4mscaler -Isar=1:1 -Iilace=NONE -Osize=160x120 > little_movie.yuv
then it seems mplayer starts by writing
'MPlayer 1.0pre7try2-3.3.6 (C) 2000-2005 MPlayer Team'
via stdout, this results in the mjpeg programs aborting with
error message 'no YUV4MPEG2 header found'.

So mplayer should not do any ID output to stdout during writing of streams
to stdout, in fact it would be better to always use stderr for user releated
messages.
I can work around it by creating a fifo, but that makes the piping a lot more complicated.

Change History (2)

comment:1 by compn, 13 years ago

Owner: changed from r_togni@… to reimar

comment:2 by reimar, 13 years ago

Resolution: worksforme
Status: newclosed

MPlayer doesn't print anything to stdout for me with -really-quiet.

Note: See TracTickets for help on using tickets.