VideoHelp Forum
+ Reply to Thread
Results 1 to 8 of 8
Thread
  1. Hi

    in MEncoder I can encode using FOURCC of windows:

    mencoder c0020.mxf -ovc vfw -xvfwopts codec=digivcap.dll -nosound -o output.avi

    and in ffmpeg is possible this, also with an older version?

    thanks
    Last edited by marcorocchini; 3rd Nov 2013 at 05:12.
    Quote Quote  
  2. I can encode using FOURCC of windows:
    I assume, you ment, you can encode using vfw (video for windows) encoders.
    (FOURCC is simply short for "four character code" - an identifier for a video codec, compression format, color or pixel format used in media files.)
    and in ffmpeg is possible this, also with an older version?
    No, ffmpeg has no (and never had) an option to use vfw encoders (or decoders), I'm not even sure that mencoder still supports the usage of vfw encoders, haven't used vfw codecs for ages. (+ afaik. even if mencoder still supports it, one would still need to create a mcf-config-File using vfw2menc)
    Quote Quote  
  3. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Mencoder still supports the VfW dlls, and at least on Windows, there is no need to mess around with vfw2menc.exe.
    Quote Quote  
  4. @ElHeggunte: afaik vfw2menc is needed (for the configuration) if you want to use a vfw encoder, if you want to use a vfw decoder it's general characteristics either need to be included in the internal or external codecs.conf infos.
    That aside, the main point was, that ffmpeg doesn't support either vfw de- or encoding.
    Quote Quote  
  5. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Originally Posted by Selur View Post
    @ElHeggunte: afaik vfw2menc is needed (for the configuration) if you want to use a vfw encoder,
    If you want to run a 2-pass encode, yes, otherwise, no,
    since the encoder settings can be read directly from the Registry

    Code:
    =>mencoder -ovc vfw -xvfwopts codec=pvmjpg30.dll xintro01.avs -o zzbinstmainscene.avi
    
    MEncoder Redxii-SVN-r36207-4.6.3 (C) 2000-2013 MPlayer Team
    Custom build by Redxii, http://smplayer.sourceforge.net
    Compiled against FFmpeg version N-52649-g6021615
    Build date: Thu May  2 00:22:47 EDT 2013
    
    181 audio & 390 video codecs
    success: format: 0  data: 0x0 - 0xa9
    libavformat version 55.4.100 (internal)
    AVS file format detected.
    VIDEO:  [YV12]  640x480  12bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
    [V] filefmt:38  fourcc:0x32315659  size:640x480  fps:30.000  ftime:=0.0333
    Loading codec DLL: 'pvmjpg30.dll'
    Loaded DLL driver pvmjpg30.dll at 3b80000
    HIC: 2853780
    568 - 568 - 568
    Compressor type: 63646976
    Compressor subtype: 67706a6d
    Compressor flags: 0, version 50331660, ICM version: 260
    Flags:
    ICCompressGetFormatSize ret: 68
    Opening video filter: [expand osd=1]
    Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
    ==========================================================================
    Opening video decoder: [raw] RAW Uncompressed Video
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    Opening video filter: [flip]
    Movie-Aspect is undefined - no prescaling applied.
    [swscaler @ 01550440]using unscaled yuv420p -> bgr24 special converter
    Opening video filter: [expand]
    Expand: -1 x -1, -1 ; -1, osd: 0, aspect: 0.000000, round: 1
    Starting compression:
     Input format:
      biSize 40
      biWidth 640
      biHeight 480
      biPlanes 1
      biBitCount 24
      biCompression 0x0 ('')
      biSizeImage 921600
     Output format:
      biSize 68
      biWidth 640
      biHeight 480
      biPlanes 1
      biBitCount 24
      biCompression 0x47504a4d ('MJPG')
      biSizeImage 741376
     Output format after query/begin:
      biSize 68
      biWidth 640
      biHeight 480
      biPlanes 1
      biBitCount 24
      biCompression 0x47504a4d ('MJPG')
      biSizeImage 741376
    Selected video codec: [rawyv12] vfm: raw (RAW YV12)
    ==========================================================================
    Writing header...
    ODML: vprp aspect is 4:3.
    Writing header...
    ODML: vprp aspect is 4:3.
    Pos:   2.8s     86f (100%) 13.22fps Trem:   0min  15mb  A-V:0.000 [46773:0]
    
    Flushing video frames.
    Writing index...
    Writing header...
    ODML: vprp aspect is 4:3.
    
    Video stream: 46773.312 kbit/s  (5846664 B/s)  size: 16565548 bytes  2.833 secs  86 frames
    the main point was, that ffmpeg doesn't support either vfw de- or encoding
    Incorrect --- the main point is, the OP asks the wrong question in the wrong time
    Last edited by El Heggunte; 4th Nov 2013 at 15:18. Reason: bash more :-D
    Quote Quote  
  6. since the encoder settings can be read directly from the Registry
    Ah, okay, I assumed that the OS wasn't Windows, so no Registry in scenario.
    Quote Quote  
  7. So can I use ffmpeg to encode with a vfw codec?
    Quote Quote  
  8. No, we were just discussing whether it is still possible or not with mencoder.
    The statement:
    No, ffmpeg has no (and never had) an option to use vfw encoders (or decoders)
    is still valid.
    Quote Quote  



Similar Threads

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