[MPlayer-users] mencoder: problem with stdin

Andreas Hölscher Andreas at griemel.oche.de
Thu Nov 22 19:46:00 CET 2001


Hi,
I want to use something like "cat 001.vdr 002.vdr | mencoder <options> -"  
to convert my vdr files to DivX but this does not work.

Just a simple example to explain my problem:

This line works:
mencoder -oac mp3lame -ovc divx4 001.vdr

but this one (same directory, same 001.vdr etc.):
cat 001.vdr | mencoder -oac mp3lame -ovc divx4 -
gives me:

Reading root.mplayer/codecs.conf: 18 audio & 41 video codecs
Reading from stdin...
success: format: 0  data: 0x0 - 0x0
MPEG packet stats: p100: 361  p101: 346  PES: 2237
MPEG packet stats: p100: 376  p101: 366  PES: 2254
============= Sorry, this file format not recognized/supported
===============
Cannot open demuxer


Where is the fault? What am I doing wrong?

Even worse:
I have another 001.vdr where both methods work.

Any ideas?

Andreas
-- 
Andreas H≈lscher, Buchenhain 8a, D-52159 Roetgen, Germany
(PGP ID: 1024/0x6AC897BB)



More information about the MPlayer-users mailing list