"The Secret of the Third Planet" with improved neural networks graphics

    I noticed that Habr has an interest in the topic of improving graphics in old games.

    I just made a graphics mod for the first Gothic .

    And recently, I decided to use a similar method to improve the graphics in my favorite childhood cartoon -
    " The Secret of the Third Planet ."

    Here are comparison frames .

    And below is the result:


    Tell me if it's worth it. Does anyone need this? Or is it better not to touch the classics?

    The following technologies were used:

    • Ffmpeg
    • ESRGAN
    • Gigapixel ai

    And now a little about how this was done, because we are on} {abre.

    We look at the available formats on YouTube. We

    youtube-dl -F https://www.youtube.com/watch?v=ИДЕНТИФИКАТОР

    download the necessary formats (audio and video). We

    youtube-dl -f 11 https://www.youtube.com/watch?v=ИДЕНТИФИКАТОР

    check the file frame rate.

    ffprobe -v error -select_streams v -of default=noprint_wrappers=1:nokey=1 -show_entries stream=r_frame_rate input.mp4

    Storyboard

    ffmpeg -i "input.mp4" -start_number 0 -vf fps=25 "convert/capture-%002d.png"

    Next, the standard procedure for increasing frames using a neural network.

    Bonding from png + audio

    • without permission - ffmpeg -framerate 25 -i convert/capture-%002d.png -vb 20M -i audio.webm -vcodec mpeg4 -y "ffmpegtest.mp4"
    • with preset resolution - ffmpeg -framerate 25 -s 900x720 -i convert/capture-%002d.png -vb 20M -i audio.webm -c:v libx264 -pix_fmt yuv420p -crf 23 -y "ffmpegtest3.mp4"

    Also popular now: