VideoHelp Forum




+ Reply to Thread
Page 3 of 3
FirstFirst 1 2 3
Results 61 to 71 of 71
  1. --preset ultrafast --crf 23 --rc-lookahead 40 --aq-mode 1 --scenecut 40 --bframes 3 --b-adapt 1 --partitions
    p8x8,b8x8,i8x8,i4x4 --me hex --subme 7 --ref 3 --weightp 2 --trellis 1 --sar 64:45 --threads 2 --frames 422544 --input-res
    ultrafast isn't being used - it's being overrided by the other commands that come after , which are essentially the same as "medium"

    --threads 2 will also slow you down; the default is 1.5 * #logical cores

    When you drag a video to the timeline, it will ask if you want to match the specs, you say yes - so it should have already been the proper 25 fps no need to change anything
    Quote Quote  
  2. Originally Posted by poisondeathray View Post
    ultrafast isn't being used - it's being overrided by the other commands that come after
    Oops, I should have looked closer. 400,000 frames on my i5 2500K at the medium preset with 2 thread takes less about an 1.5 hours.
    Quote Quote  
  3. Member
    Join Date
    Mar 2011
    Location
    Paris, France
    Search PM
    Thanks for the input.

    So I removed the video + audio tracks from the timeline while keeping the slides on Layer 3, re-dragged and dropped the MP4 file* onto Layer 1… but wasn't prompted this time to use the file's settings. Does AviUtl require deleting some file to start from scratch without losing data from the Layer 3?


    * As shown on Page 2 of this saga, the MP4 file was actually built using "ffmpeg -i full.mpeg -c copy -f vob full.vob.mp4" because AviUtl wouldn't display the MPEG file on the timeline
    Quote Quote  
  4. It looks to me like there is a disconnect in the GUI - the preset settings are supposed to automatically change what is passed to the encoder. At the top, there is "Profile" pulldown/dropdown panel of presets such as high quality, high speed, youtube, PS3 etc.. If you activate one like high speed, the "load preset" dropdown at the bottom left appear to work now - you can see the command line changing. "high speed" in aviutl corresponds --preset fast if you look at the command line. So you can select superfast from the preset dropdown. So you have to activate the "profile" at the top , before the "load preset" works

    Why is the framerate 24 fps ?

    Look at the top of the screenshot of my post #35. It says 720x576_25fps_48000Hz . That 25fps is the framerate

    Are you saying yours is different ? When I look at your post #34 it says 60000-1001 which is 6000/1001, which is the NTSC based frame rate of "59.94"

    What does mediainfo say about "full.mpeg" and "full.vob.mp4"


    You reported this for the original clip, as seen by ffmpeg
    Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 9100 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Which is the same thing I got in aviutl 720x576, 25fps . Or are you using something else now ?
    Quote Quote  
  5. Member
    Join Date
    Mar 2011
    Location
    Paris, France
    Search PM
    To clear up confusion:

    Original MPEG file straight from the camcorder, although it uses Fat32, so I had to join several files into a single MPEG file:
    Code:
    c:\>ffprobe.exe -i full.mpeg
    ffprobe version N-75316-gcbbd906 Copyright (c) 2007-2015 the FFmpeg developers
      built with gcc 4.9.3 (GCC)
      configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
    enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
    ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
    le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
    able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
    ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
     --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
    e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
    ble-decklink --enable-zlib
      libavutil      55.  2.100 / 55.  2.100
      libavcodec     57.  2.100 / 57.  2.100
      libavformat    57.  2.100 / 57.  2.100
      libavdevice    57.  0.100 / 57.  0.100
      libavfilter     6.  4.100 /  6.  4.100
      libswscale      4.  0.100 /  4.  0.100
      libswresample   2.  0.100 /  2.  0.100
      libpostproc    54.  0.100 / 54.  0.100
    
    Input #0, mpeg, from 'full.mpeg':
      Duration: 02:26:46.56, start: 0.226767, bitrate: 8810 kb/s
        Stream #0:0[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
        Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 720x576 [SAR 64:4
    5 DAR 16:9], max. 9100 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    This file doesn't open in AviUtl*: Nothing is displayed in the timeline when dragged and dropped.

    So, I ran the following command to turn it into an MP4 that does open in AviUtl 10.
    Code:
    ffmpeg.exe -i full.mpeg -c copy -f vob full.mp4
    Note that ffmpeg displays no error/warning while running the above.

    Since you use AviUtl 6, I just downloaded it, dragged and dropped the MPEG file: Nothing in the timeline. Next, I dragged and dropped the MP4 file: There's only a video track, no audio track. The file plays OK in VLC, so the file appears OK.

    * AviUtl_ExtraPack1-10[Win7]Release
    Quote Quote  
  6. I'm even more confused

    I used "AviUtl_ExtraPack1-6[XP]Release" for this.

    ffmpeg says the video is 25fps. aviutl says it's 25fps


    1) I gather you rewrapped it into MP4. What does ffmpeg or mediainfo say about the MP4 ?

    2) You're using "AviUtl_ExtraPack1-10[Win7]Release " , correct? What does it say in aviutl at the top? In post 34 it says 60000-1001, which isn't 24, 48, or 25, or 50. Is that the one you're currently using?

    Remember I said 1-10 got it wrong with the framecount, and read fields incorrectly as frames ?
    Quote Quote  
  7. When you did your tests, did you make sure l-smash was at the top (close then restart) ? You checked for 1.11, but it's not clear if you did for 1-6
    Quote Quote  
  8. Member
    Join Date
    Mar 2011
    Location
    Paris, France
    Search PM
    Here are the answers:

    Code:
    c:\>ffmpeg.exe -i full.vob.mp4
    ffmpeg version N-75316-gcbbd906 Copyright (c) 2000-2015 the FFmpeg developers
      built with gcc 4.9.3 (GCC)
      configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
    enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
    ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
    le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
    able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
    ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
     --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
    e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
    ble-decklink --enable-zlib
      libavutil      55.  2.100 / 55.  2.100
      libavcodec     57.  2.100 / 57.  2.100
      libavformat    57.  2.100 / 57.  2.100
      libavdevice    57.  0.100 / 57.  0.100
      libavfilter     6.  4.100 /  6.  4.100
      libswscale      4.  0.100 /  4.  0.100
      libswresample   2.  0.100 /  2.  0.100
      libpostproc    54.  0.100 / 54.  0.100
    
    Input #0, mpeg, from 'full.vob.mp4':
      Duration: 02:26:46.56, start: 0.540000, bitrate: 8707 kb/s
        Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 720x576 [SAR 64:4
    5 DAR 16:9], max. 9100 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
        Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    I just tested with 1.6: It fails importing the MPEG file and the VOB-massaged MP4. And 1.11 is supposed to be crap too (cf. beginning of this thread). So which version should I use?

    Yes, in 1.10, L-Smash is as the top:
    Image Attached Thumbnails Click image for larger version

Name:	AviUtl.ExtraPack.1.10.MP4.Import.png
Views:	184
Size:	201.3 KB
ID:	33786  

    Image Attached Images  
    Quote Quote  
  9. The problem is it detects your clip as 60000-1001 (59.94 fps) . So not only is it getting the field vs. frame mixed up, it's getting the "PAL/NTSC" framerate mixed up. There's going to be lots of problems

    I would use "'AviUtl_ExtraPack1-6[XP]Release" if you can, it also preserves 5.1 audio when you setup the l-smash configuration

    Did you close and re-open to check L-smash is up top? Also delete the .lwi index before you try re-importing the file .

    I deleted everything, but I redownloaded "full.sample.mpeg" , same procedure with ffmpeg to re-wrap to mpg and it works perfectly . 720x576_25fps , 500 frames

    Unless there is something different about your sample? Try it on the sample
    Quote Quote  
  10. Member racer-x's Avatar
    Join Date
    Mar 2003
    Location
    3rd Rock from the Sun
    Search Comp PM
    Don't just drag and drop a video file into the timeline until you create the project settings. To do that when you first launch Aviutl, Right-Click on the empty layer (track) and select "Create a New Project" , then enter frame size and framerate. Now drag and drop video clip into the timeline.
    Got my retirement plans all set. Looks like I only have to work another 5 years after I die........
    Quote Quote  
  11. Member
    Join Date
    Mar 2011
    Location
    Paris, France
    Search PM
    Thanks for the tip. That's what it was.

    Here's what I did:
    1. Closed AviUtl, and deleted all .lwi files
    2. Launched AviUtl 10 Windows7
    3. Right-clicked on Layer 1 in the timeline
    4. Typed 25fps; The dialog already used 640x480 (remains from previous use, probably)
    5. Drag 'n dropped the original MPEG file: Unsurprisingly, AviUtl didn't import it (empty layer)
    6. Drag 'n dropped the VOBed MPEG file into MP4 file: AviUtl creates a new index, and fills video + audio tracks
    7. Filter + > Compression Video: Chose XViD MPEG-4 Codec
    8. Filter + > Compression Audio: Chose MP3 128kbps 44.1kHz Stereo
    9. Enabled Shadow-Highlight option from the Animation effect filter
    10. Saved project file
    11. File > Export with plugin > Adv. x264 > Video Encoding: Changed SAR to 64:45, and chose Preset=Ultrafast
    12. For some reason, audio is 1) still set to "PCM 44.100 Hz 2ch", and 2) the button is disabled so can't change.
    13. Named the output file, set "Save as type" to mp4, and hit Save: After a minute, ETA says 6hrs and going up.

    Conclusion:
    • AviUtl can't handle the original MPEG file as shot by my Sony camcorder; It must be converted with VOB option in ffmpeg
    • It's way too slow on my computer (Corel VS and ffmpeg take about an hour to perform the same type of job)
    • The next time I need to 1) deal with a video with high contrast (dark room with bright screen) and 2) insert slides, I'll pass AviUtl and perform a two-step procedure: Handle contrast with VirtualDub + AviSynth, and import the output into Corel VisualStudio to insert slides and re-encode into MP4.

    Thanks much everyone for the great help!
    Quote Quote  



Similar Threads

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