VideoHelp Forum




Results 1 to 2 of 2
  1. I have the same kind of problem with .dv material, but they are a little bit different;
    I use a A/D-converter (Formac Studio) and record it with iMovie, cut the commercials out and export it as a medium quality 720*576 PAL DV stream with 48 kHz to an external Lacie d2 FireWire-harddrive; it is then one .dv file with 15-20 GB; then I try to encode it in ffmpegX 0.0.9a to an .avi.
    The settings are as following: mp3 audio with 192 kBits VBR, recorded as one 1,2 GB avi file with 2000 kBits video bitrate, and cropping as following: 704 434 8 70; in the video settings I take as video parameters 704*434, Unknown and PAL 25 images/sec frequency.

    When I use the ffmpeg codec, it starts encoding and i get the following message: <dimensions are out of range, remember to scale first and then crop second>; i use the deinterlace filter with two-pass, high quality, B-Frames and and 4 motion vectors.

    When I use the mencoder codec, it starts encoding and stops after 9min 55 sec of the movie processed without any warnings; I use all filters available and two-pass with all other options activated.

    I still can encode it with ffmpeg without cropping, but I would like to take advantages of the better filters of mencoder, so if someone could give me an advice, I would be very, very happy to really start using my Mac the real way.



    P.S.:
    I tried to do it again with 3 movies (each 83 mins with 3.5 mb/sec DV) in serie and got the following output:

    Encoding started on Sun Nov 9 04:01:18 CET 2003
    Using GNU internationalization
    Original domain: messages
    Original dirname: /sw/share/locale
    Current domain: mplayer
    Current dirname: /usr/local/share/locale
    MEncoder dev-CVS-030226-15:00-3.1 (C) 2000-2003 Arpad Gereoffy (see DOCS)
    AltiVec found
    Reading /usr/local/etc/mplayer/codecs.conf: Using built-in default codecs.conf
    File not found: 'frameno.avi'
    success: format: 0 data: 0x0 - 0x6B9BE500
    RAWDV file format detected.
    [V] filefmt:22 fourcc:0x44535644 size:720x576 fps:25.00 ftime:=0.0400
    ================================================== ========================
    Opening audio decoder: [libdv] Raw DV Audio Decoder
    AUDIO: 48000 Hz, 2 ch, 16 bit (0x20), ratio: 3600000->192000 (28800.0 kbit)
    Selected audio codec: [libdv] afm:libdv (raw DV audio decoder (libdv))
    ================================================== ========================
    Opening video filter: [expand=-1:-1:-1:-1:1]
    Requested video codec family [qdv] (vfm=dshow) not available (enable it at compilation)
    osd: 1
    Opening video filter: [scale=704:458]
    Opening video filter: [crop=704:458:8:60]
    Crop: 704 x 458, 8 ; 60
    Opening video filter: [lavcdeint]
    Opening video filter: [denoise3d]
    Opening video filter: [pp=0x77]
    ================================================== ========================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffdv] vfm:ffmpeg (FFmpeg DV decoder)
    ================================================== ========================
    MP3 audio selected
    Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
    Writing AVI header...
    VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
    [PP] Using external postprocessing filter, max q = 6.
    VDec: using Planar YV12 as output csp (no 1)
    Movie-Aspect is undefined - no prescaling applied.
    SwScaler: using unscaled Planar YV12 -> Planar YV12 special converter
    New_Face failed. Maybe the font path is wrong.
    Please supply the text font file (~/.mplayer/subfont.ttf).
    videocodec: libavcodec (704x458 fourcc=58564944 [XVID])
    High quality encoding selected (non real time)!
    subtitle font: load_sub_face failed.
    Skipping frame!
    Writing AVI index...
    Fixing AVI header...
    Video stream: 1537.388 kbit/s (192173 bps) size: 114635304 bytes 596.520 secs 14914 frames
    Audio stream: 108.444 kbit/s (13555 bps) size: 8092944 bytes 597.024 secs
    Using GNU internationalization
    Original domain: messages
    Original dirname: /sw/share/locale
    Current domain: mplayer
    Current dirname: /usr/local/share/locale
    MEncoder dev-CVS-030226-15:00-3.1 (C) 2000-2003 Arpad Gereoffy (see DOCS)
    AltiVec found
    Reading /Users/arnautnaegele/.mplayer/codecs.conf: Reading /usr/local/etc/mplayer/codecs.conf: Using built-in default codecs.conf
    File not found: 'frameno.avi'
    success: format: 0 data: 0x0 - 0x6B9BE500
    RAWDV file format detected.
    [V] filefmt:22 fourcc:0x44535644 size:720x576 fps:25.00 ftime:=0.0400
    ================================================== ========================
    Opening audio decoder: [libdv] Raw DV Audio Decoder
    AUDIO: 48000 Hz, 2 ch, 16 bit (0x20), ratio: 3600000->192000 (28800.0 kbit)
    Selected audio codec: [libdv] afm:libdv (raw DV audio decoder (libdv))
    ================================================== ========================
    Requested video codec family [qdv] (vfm=dshow) not available (enable it at compilation)
    Opening video filter: [expand=-1:-1:-1:-1:1]
    Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
    Opening video filter: [scale=704:458]
    Opening video filter: [crop=704:458:8:60]
    Crop: 704 x 458, 8 ; 60
    Opening video filter: [lavcdeint]
    Opening video filter: [denoise3d]
    Opening video filter: [pp=0x77]
    ================================================== ========================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffdv] vfm:ffmpeg (FFmpeg DV decoder)
    ================================================== ========================
    MP3 audio selected
    Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
    Writing AVI header...
    VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
    [PP] Using external postprocessing filter, max q = 6.
    VDec: using Planar YV12 as output csp (no 1)
    Movie-Aspect is undefined - no prescaling applied.
    SwScaler: using unscaled Planar YV12 -> Planar YV12 special converter
    New_Face failed. Maybe the font path is wrong.
    Please supply the text font file (~/.mplayer/subfont.ttf).
    videocodec: libavcodec (704x458 fourcc=58564944 [XVID])
    High quality encoding selected (non real time)!
    subtitle font: load_sub_face failed.
    Skipping frame!
    Writing AVI index...
    Fixing AVI header...
    Video stream: 1621.954 kbit/s (202744 bps) size: 120941018 bytes 596.520 secs 14914 frames
    Audio stream: 108.444 kbit/s (13555 bps) size: 8092944 bytes 597.024 secs
    Encoding completed on Sun Nov 9 05:29:36 CET 2003

    I hope it will help you.

  2. When encoding with ffmpeg codec, the crop values must be manually converted in TBLR format (pixels to crop at Top, Bottom, Left, Right) insted of mencoder WHXY (width, height, [x,y] position of upper left hand corner) format. This conversion will be automated in future versions.




Similar Threads

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