Giter Club home page Giter Club logo

Comments (4)

MattMcManis avatar MattMcManis commented on May 13, 2024

I can add it in the next update. Do you need .mpg, .mp4, or .m2v format?

For now you can generate a script and edit it:

  1. Format Tab
    Select Container mp4

  2. Video Tab
    Select Pass 1 Pass
    Select Quality High
    Or use Quality Custom, enter a bitrate such as 3000K

    CRF Seems to give low quality for mpeg2

    quality

  3. Press the Script Button

  4. Script Window
    Where it says -c:v libx264, change to -c:v mpeg2video (put a space at the end).

  5. Change the Output file extension in the script from .mp4 to .mpg if you need.
    Remove -f mp4 in the script.

  6. Press Run


The script will look something like:

ffmpeg -y 

-i "C:\Users\Matt\Videos\video.mp4" 

-c:v mpeg2video 
-preset medium -b:v 2500K -pix_fmt yuv420p 
-vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" 
-map 0:v:0? -map_chapters 0 

-c:s mov_text 
-map 0:s? 

-c:a copy 
-map 0:a? 

-map_metadata 0 

-threads 0 

"C:\Users\Matt\Videos\new video.mpg"

from axiom.

MattMcManis avatar MattMcManis commented on May 13, 2024

@madmexicano

I have updated my post.

mpeg2 can use .mpg, .m2v, .avi, .mp4, .mkv containers.

.m2v is video stream only, no audio. Used for muxing.

DVD is mpeg2 / .mpg or .avi

Mobile is mpeg4 / .mpg, .avi, .mp4

Modern devices are x264 / .mp4, .mkv

from axiom.

MattMcManis avatar MattMcManis commented on May 13, 2024

@madmexicano

I have added mpeg2. Press the update button to update to the latest version.

In the Format Tab select Container mpg, avi, or m2v.

container

In the Video Tab you can select the Codec.

codec

from axiom.

madmexicano avatar madmexicano commented on May 13, 2024

Thanks for the update. Will try it out.

from axiom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.