[MPlayer-users] Problem with win32 and mencoder piping

John Doe quake74 at gmail.com
Fri Jan 12 14:17:36 CET 2007


Hello!

I'm a long time user, first time poster. I am trying to pipe the output of
mencoder to x264 but I have problems.
Using the builds from mplayerhq.hu doesn't work. Using the ones from
http://oss.netfarm.it/mplayer-win32.php gives some strange results.
The two files produced by

mencoder orig.avi -frames 100 -ovc raw -of rawvideo -o rawoutput
mencoder orig.avi -frames 100 -ovc raw -of rawvideo -msglevel all=-1 -o -
>rawoutputpipe

are identical, and x264 happily swallows the last one and produces a nice
file

---------------------------------------------------------------
x264 -o rawoutputpipe.mkv rawoutputpipe 368x208
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
x264 [info]: slice I:2     Avg QP:23.00  size:  5915  PSNR Mean Y:45.45 U:
59.11
V:52.77 Avg:46.47 Global:46.06
x264 [info]: slice P:98    Avg QP:26.00  size:  2942  PSNR Mean Y:42.06 U:
42.31
V:41.23 Avg:41.85 Global:41.67
x264 [info]: mb I  I16..4: 73.6%  0.0% 26.4%
x264 [info]: mb P  I16..4: 28.6%  0.0%  4.7%  P16..4: 20.8%  7.4%  1.4%
0.0%  0
.0%    skip:37.2%
x264 [info]: SSIM Mean Y:0.9902164
x264 [info]: PSNR Mean Y:42.132 U:42.649 V:41.463 Avg:41.943 Global:41.722kb/s:
600.26

encoded 100 frames, 55.19 fps, 601.22 kb/s
-------------------------------------------------------------------------

however

--------------------------------------------------------------------------
mencoder orig.avi -frames 100 -ovc raw -of rawvideo -msglevel all=-1 -o - |
x264 -o rawvideopipe.mp4 -

368x208
SSE2 supported but disabled
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
mp4 [info]: initial delay 0 (scale 25)
x264 [info]: slice I:1     Avg QP:23.00  size:  6538  PSNR Mean Y:46.05 U:
45.69
V:45.70 Avg:45.93 Global:45.93
x264 [info]: mb I  I16..4: 79.6%  0.0% 20.4%
x264 [info]: SSIM Mean Y:0.9966063
x264 [info]: PSNR Mean Y:46.052 U:45.691 V:45.699 Avg:45.930 Global:45.930kb/s:
1307.60

encoded 1 frames, 62.50 fps, 1394.20 kb/s
----------------------------------------------------------------------------

Neither ffmpeg likes the output of mencoder and the command

mencoder.exe orig.avi -vf scale=640:480 -ovc raw -of rawvideo -msglevel
all=-1 -o - | ffmpeg -f rawvideo

-r 25 -s 640x480 -i - -f avi -s 320x240 b.avi

produced a playable but garbled video file.

Ongoing discussion at http://forum.doom9.org/showpost.php?p=931363
Any suggestions/help? Thanks to all!



More information about the MPlayer-users mailing list