I used MyGUI with setting
x264 program --preset placebo --tune film --crf 16 --output "output" "input" on 1.15GB video file (FRAPS recorder) and got 36.9 MB video file as output, but i got two problem. First video becoming less smooth and quality really drop. I don't need that much deacrese in file size, so can someone advice what settings i should use or what converter?
P.S. Sorry i wasn't able to find spoiler tag
Original
Output
Original
![]()
Output
Mediainfo of Original file
Original MediaInfo.txt
+ Reply to Thread
Results 1 to 30 of 34
-
Last edited by Dante4; 3rd Jul 2016 at 17:53.
-
Use a lower CRF. A CRF of 0 is lossless but I would not recommend as the file will probably be bigger than your source. Maybe try CRF 10-14.
-
You're always going to get DCT ringing artifacts like that with DCT based codecs. You might get a little less at a lower CRF. At CRF=0 (if your encoder allows it) you will get lossless encoding but you'll also get very little compression and few devices outside a computer will play it.
-
Last edited by Dante4; 4th Jul 2016 at 05:17.
-
Regarding the changes in the image: it looks like you're using a debanding filter that's dithering. That's the cause of the change in the "out" image.
You shouldn't be getting a green frame at the end of the video. How are you viewing it and exporting the screen shot? The problem is probably there, not the video itself.
Another thing you can do to improve quality is disable b-frames, --bframes=0. -
Still i have problem with one video. I converted this video using this settings
program --preset placebo --tune film --crf 0 --bframes 0 --scenecut 100 --output "output" "input"
And other like
program --preset placebo --tune film --crf 0 --bframes 0 --output "output" "input"
And this always result in some lag in video in original this look ok, but in converted video looks like i recorded lagging game.
In the case someone can check this there links to video
http://dropmefiles.com/BEwqP (Still uploading)
And there converted video (There no lagging in original video)
https://youtu.be/JLkxrUHqNvA -
This youtube video has duplicate frames. Do everyone a favor and just direct stream copy / cut with vdub the first 10 seconds corresponding to that same fireworks section at the beginning. That's all that is required. You don't need to upload 8GB, and I doubt anyone is going to download that file to check it (too large) -
Roger.
Here first 7 sec (10 sec was about 1.2 Gb) videofile
https://yadi.sk/i/DuKv0r8kszPh5 (If you want to download, click "Скачать")
There avi file on youtube
https://www.youtube.com/watch?v=VoV_gzxwajULast edited by Dante4; 4th Jul 2016 at 12:02.
-
Yes, the youtube video is full of duplicates in no particular pattern. Sometimes none, sometimes as many as five in a row. That's why it's jerky.
-
-
Do you mean watching the AVI locally vs. x264 encoded video ? What software ? Try another player. It could be a player setting, some configuration issue
IF you meant on youtube, it might be that your browser settings are not ideal for playback. It could be flash or html5 player settings, GPU settings, bad browser version or plugin version, GPU on vs. off , any number of things -
Yeah, i meant locally.
Software: PotPlayer.
Sorry if i'm rude, but i'm not that dumb to think that youtube showing original video. I just used youtube for example, because in his version of avi there was much less lag then in x264 version
Also this happen only in this video with fireworks. Another video (from where i took screenshot that in first post) looks normally -
Well take your 779MB "swtor 2012-12-25 20-46-52-81.avi" sample and put it through megui or whatever process you normally use and upload the result if it's more "laggy" than the source to your eyes. It might be megui is doing some other strange other things. It should be the same, theoretically
But can you see the duplicates in the source in vdub ?
Did you try another player? maybe a buggy potplayer build. Try mpchc -
Actually... I got one problem. I can't convert 779MB using MeGUI.
"Your AviSynth clip has the following problem:
Error in AviSynth script:
TDecimate: YV12 and YUY2 colorspaces only!"
that what he telling me. Line 6 in scripts: "TDecimate(cycleR=2)". Still i can see this lags after converting orignal video (8gb).
In Vdub... duplicates.. If you mean same frames then yes. They exist in original
Bug that shows up only in video with differents settings? Hard to believe, but i will try another player. -
If you wanted it exactly the same as the original AVI (keep all the frames, even the duplicates), then you shouldn't be using tdecimate .
If this is for PC playback only and you don't care about filesize, you should encode using RGB (full color). YV12 will subsample the chroma (4:2:0) . But RGB mode is very inefficient to encode for x264
Post the script that megui is making for you or post the megui log -
This only when i converting 7XX mb files. When i convert full video there no tdecimate in script.
MeGUI creating this scrtipt when i'm trying to convert full video
global MeGUI_darx = 8
global MeGUI_dary = 5
LoadPlugin("C:\MeGUI_2624_x86\tools\lsmash\LSMASHS ource.dll")
LWLibavVideoSource("L:\SWTOR Old\55y5cgtf.3oy\swtor 2012-12-25 20-46-52-81.mkv")
#Not enough useful sections for source detection. Doing no processing
#crop
#resize
#denoise
I'm using One Click Encoder, this is right way to do it, right? -
Why is this a mkv?
If LWLibavVideoSource is decoding correctly, you should get the same frames as the original. The playback should be the same
There should be any megui darx, dary AR commands if you wanted to encode it same as the original square pixel 1440x900 16:10
If I were you, I would address fixing the original first, either game itself or recording -
Good question. MeGUI extracting video to mkv format.
But it not same
So i need to change script or there some settings inside MeGUI that can do it?
In file name there date when i recorder this. So i only have avi file that weighs 8 Gb and want to get 1-3 Gb video file without lag... -
You're recording in fraps RGB mode. There is no reason to use LWLibavVideoSource. It will be slower because it will have to index the file, it will be slower if it extracting or re-wrapping the file in mkv
I would use AVISource("video.avi") using the fraps decoder directly on the original file (disable fraps in ffdshow vfw configuration if you have it installed). That's it. Same as original frames
If you wanted to encode RGB you have to probably fine the checkbox or add --input-csp rgb --output-csp rgb in the extra commandline box. I haven't really used megui in a few years. x264 using RGB will only be supported for computer playback. Typically devices won't support it, unless they use a software decoding method. So if you're planning other uses, I would convert it to the normal 4:2:0. In that case it would look like
AVISource("video.avi")
ConvertToYV12(matrix="rec709")
and you wouldn't need to add the other commands for RGB -
And the video you uploaded wasn't fraps, it was decompressed by vdub to uncompressed 8bit RGB
You should have used video=>direct stream copy in vdub. You probably had it on video=>full processing mode
So maybe you aren't recording fraps RGB mode
Format : AVI
Format/Info : Audio Video Interleave
File size : 780 MiB
Duration : 7s 0ms
Overall bit rate : 935 Mbps
Writing library : VirtualDub build 35491/release
Video
ID : 0
Format : RGB
Codec ID : 0x00000000
Codec ID/Info : Basic Windows bitmap format. 1, 4 and 8 bpp versions are palettised. 16, 24 and 32bpp contain raw RGB samples
Duration : 7s 0ms
Bit rate : 933 Mbps
Width : 1 440 pixels
Height : 900 pixels
Display aspect ratio : 16:10
Frame rate : 30.000 fps
Bit depth : 8 bits
Bits/(Pixel*Frame) : 24.000
Stream size : 779 MiB (100%) -
Ok...This is strange. Because i realy used Direct Stream Copy in video in VDUB... Anyway my bad. I don't know why, but VDUB changed file. There right copy
https://yadi.sk/i/Hs4qEtUYszZnL
And this is output
https://yadi.sk/i/UmWQA5rnszaBTLast edited by Dante4; 4th Jul 2016 at 14:38.
-
well look at the 12 fps framerate, so you've decimated the frames 210 (with duplicates) vs. 84 (also with duplicates and drops)
The levels are also messed up, and you used 10bit encoding , not sure if that was intentional -
-
Just erase the tdecimate line you had earlier, that will fix it . I have no idea why megui would have added it for one video
Did you notice the contrast was different? For example,some of shadow detail is crushed. The levels (if you want it to look the same as the original), should use "TV" levels.
If you use LWLibavVideoSource(), it will decode fraps as full range YUV. So you need to add something to bring the levels back to normal range y=16 to 235
You could use smoothlevels, for example. It's preferred to plain levels or coloryuv because it dithers (less banding)
So it would look something like this
LWLibavVideoSource()
SmoothLevels(preset="PC2TV") -
I don't have "tdecimate" in script file, this line was in wrong avi file that VDUB created because of strange settings.
For someone who never used that kind of settings, i need to input this lines in created script files, right?
LWLibavVideoSource()
SmoothLevels(preset="PC2TV")
global MeGUI_darx = 8
global MeGUI_dary = 5
LoadPlugin("C:\MeGUI_2624_x86\tools\lsmash\LSMASHS ource.dll")
LWLibavVideoSource("FILE_PATH")
SmoothLevels(preset="PC2TV")
#Not enough useful sections for source detection. Doing no processing
#crop
#resize
#denoiseLast edited by Dante4; 4th Jul 2016 at 15:44.
-
take out the global lines. You can erase them or add a "#" in front
#global MeGUI_darx = 8
#global MeGUI_dary = 5
Smoothlevels is 3rd party plugin, it might have to be loaded separately if you don't already have it in your plugins folder it's smoothadjust.dll
The "FILE_PATH" is the actual path and name of the video
e.g it might look like this
LWLibavVideoSource("L:\SWTOR Old\55y5cgtf.3oy\swtor 2012-12-25 20-46-52-81.avi") -
Ok...
Now script file looks like this
LoadPlugin("C:\MeGUI_2624_x86\tools\avisynth_plugi n\SmoothAdjust.dll")
LoadPlugin("C:\MeGUI_2624_x86\tools\lsmash\LSMASHS ource.dll")
LWLibavVideoSource("C:\Users\Admin\Desktop\swtor 2012-12-25 20-46-52-81 7 sec.avi")
SmoothLevels(preset="pc2tv")
#deinterlace
#crop
#resize
#denoise
https://yadi.sk/i/sN8mNqd5szisE
I'm totally lost...
Similar Threads
-
Basic question about scenario Converter > VirtualDub > Converter
By XenonS in forum Video ConversionReplies: 12Last Post: 14th Oct 2015, 08:32 -
Conversion settings for Wondershare Converter; export settings for Pinnacle
By avz10 in forum Video ConversionReplies: 1Last Post: 19th Jul 2014, 11:41 -
Wondershare Video Converter Ultimate vs WonderFox HD Video Converter Factor
By zzzk in forum Video ConversionReplies: 1Last Post: 3rd Jan 2014, 16:25 -
Any Video Converter - which settings to use ?
By elubitsch in forum Newbie / General discussionsReplies: 11Last Post: 30th Dec 2012, 06:41 -
x264: are ME settings conflictory to SUBME settings?
By deadrats in forum Video ConversionReplies: 1Last Post: 13th Dec 2012, 17:54