Replay Mod Forums

This Thread is sticky.

FFMPEG tips and tricks
    • Moderator
    • Beta Tester
    • 125 forum posts
    Remnant
    #1

    Aug 07 15, 12:22 PM | Last edited: Aug 07 15, 01:41 PM

    Hi guys

    I have been doing some research on FFmpeg and what it can do, and is it quite powerful.

    Please first refer to this part of the Replay Mod documentation before continuing:

    Installing FFmpeg
    Command Line Settings

    A bit more about FFmpeg:
    “FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec – the leading audio/video codec library. FFmpeg is free software and is licensed under the LGPL or GPL depending on your choice of configuration options.
    FFmpeg supports most of the popular formats, we don’t need to worry a lot about that. Formats supported by FFmpeg include MPEG, MPEG-4 (Divx), ASF, AVI, Real Audio/Video and Quicktime.”

    As you know, the Replay Mod requires FFmpeg to be installed to your computer in order for you to use the render feature. The render feature is one of the many powerful and useful features that the mod has to offer and in most circumstances will be the way creators will want to output their scene to video (recording with fraps/dxtory and the like will have worse quality than the render feature).

    There are a huge number of functions that FFmpeg has, some won’t be as useful to people using Replay mod (for example, ripping audio out of a video file into an .mp3 file) but there are quite a few that might be pretty useful.
    I have included one example below. The rest I will leave for you to discover 

    Create a video that is supported by youtube:

    ffmpeg -i mymovie.mpg -ar 22050 -acodec libmp3lame -ab 32K -r 25 -s 320x240 -vcodec flv
    mytarget.flv


    Here is but one of many websites that list some pretty neat things you could do with FFmpeg, which even outside of the Replay Mod would be quite handy:

    Tips and tricks

    Hope you found this useful.


    • Moderator
    • Beta Tester
    • 356 forum posts
    bela333
    #2

    Aug 07 15, 05:26 PM | Last edited: Aug 07 15, 05:28 PM

    Or, you could make 11 hours of truly random colors!




    Source Code


    • User
    • 1 forum post

    I have a question, i think i just installed the ffmpeg, but when i wanna rendering: You Have to install FFMPEG for rendering

    I always look at the Help Tipps, but it do not help me


    • Moderator
    • Beta Tester
    • 125 forum posts


    I have a question, i think i just installed the ffmpeg, but when i wanna rendering: You Have to install FFMPEG for rendering

    I always look at the Help Tipps, but it do not help me

    Hi there xImDucky, and welcome to the forum!
    Have you tried following the instructions on this thread >> Click me
    If you have, get back to me and I will try help you further.


    • User
    • 26 forum posts
    stilicrafter
    #5

    Dec 07 15, 05:29 PM

    Is Theres an Option to include into a Recorder Video an mp3 File form your ssd?
    If Yes , how? Dient found out an Option fort This. And is Theres an Option fort hevec?



    • Moderator
    • Beta Tester
    • 356 forum posts
    bela333

    in response to stilicrafter

    #6

    Dec 07 15, 07:49 PM | Last edited: Dec 07 15, 08:05 PM

    First, for the HEVC (I assume that's what you meant) encoding, try those command line arguments:

    Spoiler: Some Arguments

    ~Just tested it out, and it works!~

    ~And i totally failed the mp3 one. It was "so fast", that it instantly crashed minecraft~


    • User
    • 26 forum posts
    stilicrafter
    #7

    Oct 10 16, 06:39 PM

    Thanks a lot @bela333 .

    And if i replace the LIBX265 with VP9 , will it output VP9 for Youtube ?


    • Moderator
    • Beta Tester
    • 356 forum posts
    bela333
    #8

    Oct 11 16, 06:50 PM

    It should


    • User
    • 2 forum posts
    YTprincejack
    #9

    Jan 18 19, 04:21 PM

    that file don't work wanti can olny use 7zip files open but if use that won't work