VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 34
Thread
  1. 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
    Click image for larger version

Name:	swtor 2013-01-03 19-40-06-54.avi_20160704_012454.051.jpg
Views:	414
Size:	252.7 KB
ID:	37609
    Output
    Click image for larger version

Name:	swtor 2013-01-03 19-40-06-54.mp4_20160704_012435.940.jpg
Views:	96
Size:	269.4 KB
ID:	37610

    Original
    Click image for larger version

Name:	2016-07-04 01_39_17-Без имени-4 @ 459% (С&.png
Views:	151
Size:	86.9 KB
ID:	37612
    Output
    Click image for larger version

Name:	2016-07-04 01_38_50-Без имени-3 @ 459% (С&.png
Views:	152
Size:	87.2 KB
ID:	37611

    Mediainfo of Original file
    Original MediaInfo.txt
    Last edited by Dante4; 3rd Jul 2016 at 17:53.
    Quote Quote  
  2. Dinosaur Supervisor KarMa's Avatar
    Join Date
    Jul 2015
    Location
    US
    Search Comp PM
    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.
    Quote Quote  
  3. 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.
    Quote Quote  
  4. Originally Posted by jagabo View Post
    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.
    Thanks for answer that helped with quality problem (Not ideal, but for detect quality drop you actually need to look in frame)

    Click image for larger version

Name:	orig.JPG
Views:	93
Size:	163.1 KB
ID:	37625
    Click image for larger version

Name:	out.jpg
Views:	89
Size:	196.0 KB
ID:	37624

    but now i got green screen as the last frame in video, this is normal for video converted with this settings?
    Click image for larger version

Name:	swtor 2013-01-03 19-40-06-54.mp4_20160704_122236.363.jpg
Views:	61
Size:	20.6 KB
ID:	37626
    Last edited by Dante4; 4th Jul 2016 at 05:17.
    Quote Quote  
  5. 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.
    Quote Quote  
  6. Originally Posted by jagabo View Post
    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.
    So, for better quality i should use another filter?

    I'm using PotPlayer.

    Thanks, will do
    Quote Quote  
  7. 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
    Quote Quote  
  8. Originally Posted by Dante4 View Post
    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)
    Quote Quote  
  9. Originally Posted by poisondeathray View Post
    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_gzxwajU
    Last edited by Dante4; 4th Jul 2016 at 12:02.
    Quote Quote  
  10. 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.
    Quote Quote  
  11. Added link for 7 sec avi file
    Quote Quote  
  12. The problem is in your source (duplicate frames). Open the avi in vdub and use the arrow key to step frame by frame and you will see duplicates

    Maybe your game is dropping frames (low FPS, bad graphics card), or maybe your system cannot handle recording fraps
    Quote Quote  
  13. Originally Posted by poisondeathray View Post
    The problem is in your source (duplicate frames). Open the avi in vdub and use the arrow key to step frame by frame and you will see duplicates

    Maybe your game is dropping frames (low FPS, bad graphics card), or maybe your system cannot handle recording fraps
    Then why when i watch avi video i can't see THAT much lag?
    Quote Quote  
  14. Originally Posted by Dante4 View Post
    Originally Posted by poisondeathray View Post
    The problem is in your source (duplicate frames). Open the avi in vdub and use the arrow key to step frame by frame and you will see duplicates

    Maybe your game is dropping frames (low FPS, bad graphics card), or maybe your system cannot handle recording fraps
    Then why when i watch avi video i can't see THAT much lag?
    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
    Quote Quote  
  15. Originally Posted by poisondeathray View Post
    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
    Quote Quote  
  16. 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
    Quote Quote  
  17. Originally Posted by poisondeathray View Post
    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.
    Quote Quote  
  18. 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
    Quote Quote  
  19. Originally Posted by poisondeathray View Post
    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?
    Quote Quote  
  20. Originally Posted by Dante4 View Post

    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
    Quote Quote  
  21. Originally Posted by poisondeathray View Post
    Originally Posted by Dante4 View Post

    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...
    Quote Quote  
  22. 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
    Quote Quote  
  23. 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%)
    Quote Quote  
  24. Originally Posted by poisondeathray View Post
    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
    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/UmWQA5rnszaBT
    Last edited by Dante4; 4th Jul 2016 at 14:38.
    Quote Quote  
  25. 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
    Quote Quote  
  26. Originally Posted by poisondeathray View Post
    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
    I guess more accidentally then intentional... And yeah... 12 fps is strange...that also explains why in other video everything is normal...yeah i'm stupid enough to not check framerate ..thanks...but i got one more question...how i can fix it?
    Quote Quote  
  27. 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")
    But beware some versions of LSmash have problems with fraps, it might decode out of order. Same with some versions of FFMS2. They are still preferred to AVISource for the non RGB version of fraps if your goal was YV12 4:2:0 "normal" video encoding. There will be less quality loss then decoding RGB and going back to YV12
    Quote Quote  
  28. Originally Posted by poisondeathray View Post
    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")
    But beware some versions of LSmash have problems with fraps, it might decode out of order. Same with some versions of FFMS2. They are still preferred to AVISource for the non RGB version of fraps if your goal was YV12 4:2:0 "normal" video encoding. There will be less quality loss then decoding RGB and going back to YV12
    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")
    Basically script will look like this, right?
    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
    #denoise
    Last edited by Dante4; 4th Jul 2016 at 15:44.
    Quote Quote  
  29. 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")
    Quote Quote  
  30. Originally Posted by poisondeathray View Post
    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
    And i got this
    https://yadi.sk/i/sN8mNqd5szisE
    I'm totally lost...
    Quote Quote  



Similar Threads