VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. how to pipe from ffmpeg to mencoder? thanks
    Quote Quote  
  2. Pipe what? What have you already tried?
    Quote Quote  
  3. Years ago (after some trial and error) I piped ffmpeg to mplayer, like this:
    Code:
    ffmpeg -f lavfi -sws_flags bicubic+accurate_rnd -i mandelbrot=s=1280x720 -vcodec huffyuv -pix_fmt rgb24 -f avi - | mplayer -msglevel all=0 -ni -demuxer avi -vo gl -
    It's a Mandelbrot fractal, try it; type 'q' to quit.
    I wanted mplayer (instead of ffplay) to get the OpenGL renderer for video capturing.

    Substituting mplayer with mencoder, you should be able to do something like this:
    Code:
    ffmpeg [options...] -vcodec huffyuv -pix_fmt rgb24 -f avi - | mencoder -ni -demuxer avi [options...] -
    Notes:
    Code:
    -vcodec huffyuv  // a codec of some kind seems to be required    
    -pix_fmt rgb24   // can't recall if I tried other formats
    -f avi           // force AVI wrapper
    -                // output to stdout
    -msglevel all=0  // optional: show only fatal error messages
    -ni              // optional: assume non-interlaced input
    -demuxer avi     // force AVI demuxer
    -vo gl           // (mplayer) opengl renderer 
    -                // input from stdin
    -fs              // (mplayer) full screen
    Quote Quote  
  4. You may use y4m format should be recognized by mencoder.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!