View Full Version : Please tell me which software can encode video with following setting.
shagun
15th March 2015, 18:31
Hi, I want to render/encode my video with the below setting. But i did not find any software which i can use to encode my video with these setting I am pasting Mediainfo setting here and i want to create other video on the same setting please tell me which software i can use to achive same format, frame rate, GOP m n valuse etc.
http://puu.sh/gB6SB/ec1be2df67.png
http://puu.sh/gB6Tb/a9feff5d5e.png
http://puu.sh/gB6U1/918b370c9a.png
Please i want exact setting. See there are GOP m n defined but i did not find setting this setting in any encoder.
I will be really thankful to you for it if you help me.
I am sorry if this question seems stupid to you. I have no idea why people do not reply my problems.
LoRd_MuldeR
15th March 2015, 19:08
Hello.
Hi, I want to render/encode my video with the below setting.
This should be possible with pretty much any H.264/AVC encoder out there, but you probably want to use x264 (http://www.videolan.org/developers/x264.html).
If you don't want to work with CLI, there are many GUI's for x264 that you can choose from:
https://forum.doom9.org/forumdisplay.php?f=78
Please i want exact setting. See there are GOP m n defined but i did not find setting this setting in any encoder.
What exactly does "M" and "N" mean here anyway? :confused:
If this refers to the minimum and maximum GOP length, then you need to look into the "minimum/maximum keyframe distance" options of your encoder!
For the x264 encoder, the maximum and minimum keyframe distance can be set via "--keyint" and "--min-keyint" parameter, respectively:
http://en.wikibooks.org/wiki/MeGUI/x264_Settings#keyint
shagun
15th March 2015, 19:38
Can you tell me why every mp4 file do not show GOP setting. I have many mp4 file in my pc but only certain file show GOP format setting in mediainfo.
LoRd_MuldeR
15th March 2015, 20:05
GOP length is nothing that is fixed. Also, minimum and maximum keyframe distance (GOP length) is an option of the H.264 encoder.
More specifically: GOP length is simply the distance (in frames) between two consecutive keyframes (and in H.264 "keyframe" means IDR-Frame). A somewhat "smart" encoder will not simply put keyframes in fixed intervals, but instead tries to put them to the "optimal" locations. And this means: The encoder tries to put the keyframes at scene-cuts. It tries to avoid putting a keyframe into the middle of a scene. For this reason the length of a GOP can vary from GOP to GOP.
Of course, if you analyze the entire stream, you can compute the length of each individual GOP. And then you can determine the shortest and the longest GOP. But this is not a fixed value that you can simply read from the file header!
Now, some H.264/AVC encoders, such as x264, will write additional meta information to the file. For example, x264 embeds all its options into the H.264 stream as a custom SEI message. MediaInfo can show you that information. But, of course, it can only do so, if the particular H.264 encoder has embedded this information. In other words: The information is only available, if the stream was created with x264 and if x264's custom SEI message has not been removed.
Warperus
16th March 2015, 13:09
What exactly does "M" and "N" mean here anyway?
M means distance between P/I frames, it could be reproduced with "--bframes 0" for x264
Can't say x264 will ever make constant framerate though and you probably will never get exact metadata.
I suspect your file is from google video. May be the easiest way to get similar settings is to upload your video there and download encoded one back. Don't know if it's possible now, but I think it worth a try
shagun
17th March 2015, 11:30
Thank you for both of your explanation. I try several thing till now but my knowledge about encoding is very poor. I find a thread in doom9 forum where OP use megui to encode video and he is getting the GOP M and N setting in his video. I do not know which setting he is using but his setting look same what i wanted to do.
here is thread : http://forum.doom9.org/showthread.php?t=167216
Can somebody explain it how i can achieve his setting for my video files. He also discussed about GOP setting. Can you guys please write step to configure megui to get his format setting.
I try myself but i am getting completely different result and even GOP is not visible in Mediainfo setting.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.