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.
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.
+ Reply to Thread
Results 1 to 30 of 33
-
-
The values M and N describe the maximum number of frames in "sub-GOPs" (frames with references to the last I or P frame) and the maximum GOP length (frames depending on the last I frame, also indirectly).
It seems that this encoder did not use any B frames, but up to 60 frames per GOP (up to 2 seconds at 30 fps, the maximum allowed on Blu-ray or AVCHD under certain conditions).
To resemble this result, you can probably use any converter supporting x264 as encoder, limiting the maximum of consecutive B frames to 0 and reference frames to 1.
But why do you believe you need to produce such a not at all optimal structure?Last edited by LigH.de; 15th Mar 2015 at 13:02.
-
Its about my college project they are teaching us encoding but i am not understanding it. I need to create another video file with same setting.
So can i use Adobe premier pro or vegas? If you don't mind can you suggest me any converter or encoder which is simple enough to create video file with these setting? -
I do not know any commercial encoder, I only use freeware. So I don't know from own experience which encoders support the M,N notation. But I found an attachment in a post in the doom9 forum which shows such an encoder. I guess this is the "x264 Pro" encoder plugin for Adobe Premiere in CS6.
To use x264 as freeware CLI encoder (possibly in a GUI like MeGUI, StaxRip, Hybrid, etc.), some of the required options would be: Maximum GOP size = 60; maximum B frames = 0 (but there may be more I did not care about here).Last edited by LigH.de; 15th Mar 2015 at 13:13.
-
Hey mate, Plugin you suggested is paid but i got his trial but my mediainfo still do not match with it. I m getting completely different mediainfo views. I see the thread you suggested me of doom9 forum. In that thread OP use megui to encode his video and he is getting all the value which i want to get for my file but i try to encode with megui and did not get even close value in mediainfo. I just start using megui so i am just hoping you might have good experience in encoding videos so can you please look in the doom9 thread you linked here and see what setting OP used.
This is setting of OP of doom9 forum which is similar to mine but i do not know how to achive this how i can configure megui to get these attribution.
http://puu.sh/gDYGs/ebd0204ee1.png
Here is post you suggested in above comment : a post of doom9 forum -
You cannot tell definitively if a video used x264 for encoding, because you can modify the SEI user data that has the encoding settings.
Mediainfo isn't necessarily accurate for actually identifying these things. You need a stream analyzer if you want it to be accurate. Or is your project just to satisfy what "mediainfo" says , not the actual video ? Mediainfo doesn't scan the file , it just reads metadata tags. Think of it as a 'label' . You can change labels, but that doesn't change the actual video data
In your first post, the metadata says googlevideo - so if that is true, then it is using an x264 derivative for certain. It's just using a modified custom SEI user data string (it doesn't print the encode settings) -
I read a doom9 thread and the user using h264 format and he is getting GOP format setting and i need that GOP setting in my project but I am not getting it. Also i am interested in stream analyzer if it is easy for noob. Do you have any idea how i can get this GOP format setting in my mediainfo view. I also need to explain it later in class.
What i know is doom9 forum user using megui to encoding video so i try megui with x264 format but result are different -
I am getting this i did not find --keint setting in megui there are so many setting i don't know which to change. If you do not mind can you quickly try yourself because i think megui has changed and now it is not possible to achieve this setting or any other encoder? Even reference frame are not changing. If it is possible to upload screenshot of setting will make my work easy.
Last edited by raman07; 17th Mar 2015 at 09:18.
-
Is this the same file? I would pay a lot more attention to big things like raster size, aspect ratio and framerate before tackling the arcana of GOPs.
Last edited by smrpix; 17th Mar 2015 at 09:57.
-
it does not matter which file you choose to encode. What i want to do is pick any file and encode it with my above setting. Resolution can be different. Main thing is GOP and Reference frame. Resolution can be different.
I just start using megui after finding that it can be use to achieve what i want to do but i do not know how to configure megui to encode video with my setting. You can pick any video in your pc and try to encode it with my given setting. I tried several time but mine results are completely different.
Even GOP is not visible in my encoded videos. -
Did you care about the audio?
I'll make it easy for you
1) download ffmpeg.exe from http://ffmpeg.zeranoe.com/ , place ffmpeg.exe in the same directory of video to be converted
2) download batch.zip from below, unzip it, and it will have batch.bat within. Place batch.bat into the same directory of video to be converted
3) drop and drag the video to be converted onto batch.bat. The current output file location is c:\ , and the output file is called OUTPUT.mp4
This is what the batch file is (you can check it with a text editor), and it includes AAC audio encoding at 192kbps in MP4 container
Code:ffmpeg -i %1 -c:v libx264 -profile:v high -level:v 3.1 -preset:v faster -crf 20 -x264opts ref=1:keyint=60:bframes=0 -c:a libvo_aacenc -b:a 192k -brand "mp42" -movflags faststart "c:\OUTPUT.mp4" pause
-
What do you mean it does not work perfectly ?
isn't that what you want ?
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=60
Codec ID : avc1
Or clarify what you want in more detail -
It does not show GOP : M and N setting but i find when i render the video which is produce by ffmpeg in the camtasia then it start showing GOP so it look what i need. I just checked it again and last time result were little different then this time so its work with combine one more rendering with camtasia.
Thanks for it -
General
Complete name : C:\Users\sandy\Downloads\Video\New folder\Trans\ffmpeg-20150317-git-d24af70-win64-static\bin\OUTPUT.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 22.1 MiB
Duration : 2mn 33s
Overall bit rate : 1 209 Kbps
Writing application : Lavf56.25.101
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2mn 33s
Bit rate : 1 013 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Original display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 23.976 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.122
Stream size : 18.5 MiB (84%)
Writing library : x264 core 146 r2538 121396c
Encoding settings : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=4 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=1 / keyint=60 / keyint_min=6 / scenecut=40 / intra_refresh=0 / rc_lookahead=20 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 2mn 33s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 3.51 MiB (16%)
Language : English -
General
Complete name : C:\Users\sandy\Downloads\Video\New folder\Trans\ffmpeg-20150317-git-d24af70-win64-static\bin\collegevideo.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 22.6 MiB
Duration : 2mn 33s
Overall bit rate mode : Variable
Overall bit rate : 1 239 Kbps
Encoded date : UTC 2015-03-17 13:35:56
Tagged date : UTC 2015-03-17 13:35:56
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2mn 33s
Bit rate mode : Variable
Bit rate : 852 Kbps
Maximum bit rate : 17.5 Mbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Original display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 23.976 fps
Original frame rate : 29.970 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.103
Stream size : 15.6 MiB (69%)
Writing library : x264 core 142 r2431 ac76440
Encoding settings : cabac=1 / ref=3 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=2.00:0.70 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-4 / threads=6 / lookahead_threads=1 / sliced_threads=0 / slices=4 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=1 / constrained_intra=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=1 / weightp=1 / keyint=24 / keyint_min=1 / scenecut=0 / intra_refresh=0 / rc_lookahead=24 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=17500 / vbv_bufsize=17500 / crf_max=0.0 / nal_hrd=vbr / filler=0 / ip_ratio=1.40 / aq=1:1.20
Encoded date : UTC 2015-03-17 13:35:56
Tagged date : UTC 2015-03-17 13:35:56
Color primaries : BT.601 NTSC
Transfer characteristics : BT.601
Matrix coefficients : BT.601
Color range : Limited
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : ac-3
Duration : 2mn 33s
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 7.02 MiB (31%)
Language : English
Encoded date : UTC 2015-03-17 13:35:56
Tagged date : UTC 2015-03-17 13:35:56 -
I don't know why it doesn't display the info in the output video for that specific video. It works on other videos with similar specs , and it worked with your camtasia video. Can you upload it here since it's not too big?
And for my own curiosity , why do you have to satisfy what mediainfo reports ? -
I will upload and send you....mine uploading speed is 50KB/sec and right i am using the bandwidth. I will upload video and send you.
-
Nevermind...
You need to disable scenecut to make it say it ALL the time. This , of course is bad in general for quality, but it will satisfy your mediainfo requirement - I still have no idea why you're doing that it's a really silly requirement
(This means each GOP will be fixed, not adaptive)
Code:ffmpeg -i %1 -c:v libx264 -profile:v high -level:v 3.1 -preset:v faster -crf 20 -x264opts ref=1:keyint=60:bframes=0:scenecut=0 -c:a libvo_aacenc -ac 2 -b:a 192k -brand "mp42" -movflags faststart "c:\OUTPUT.mp4" pause
Similar Threads
-
Need DVD author software that does NOT re-encode
By creamsoda in forum Authoring (DVD)Replies: 10Last Post: 7th Jul 2014, 23:29 -
Need help setting up AverTV HD DVR and AmarecTV software (PS3)
By NickDiGi in forum Capturing and VCRReplies: 17Last Post: 23rd Mar 2014, 14:36 -
Video to Video - Setting Bitrate for DVD
By m02499 in forum Video ConversionReplies: 4Last Post: 21st Dec 2013, 05:43 -
Looking for a BD Authoring software that dont re-encode MPEG2 Files
By faramith in forum Authoring (Blu-ray)Replies: 11Last Post: 14th Dec 2011, 04:39 -
Which software can encode a video in H 264 in 2 pass with 5.1 audio channe?
By xtrymeboy in forum Newbie / General discussionsReplies: 3Last Post: 10th May 2010, 11:00