Did you try adding some noise?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.
+ Reply to Thread
Results 31 to 60 of 82
Thread
-
So just capture at 4500 kbps abr like the ffmpeg test encode.
The problem you are having is clear -- you have key frame pumping. But it's the reverse of the usual pumping. Instead of clear key frames followed by slowly degrading image until the next keyframe, you have you poor keyframes which are cleaned up over the next several frames. This is because your video has way too much detail for the amount of bitrate youtube allocates to key frames. So if you want to reduce the pumping you need to reduce the detail.Last edited by jagabo; 24th Apr 2015 at 13:51.
-
Code:
@SET x264opts="deblock=3,3:bframes=2:bitrate=4000:vbv-maxrate=10000:vbv-bufsize=20000:colorprim=bt709:transfer=bt709:colormatrix=bt709:fullrange=on:level=4.0:keyint=151:scenecut=-1:qpmin=4:cabac=1:nr=500:threads=auto:no-psnr:no-ssim" @ffmpeg -threads %NUMBER_OF_PROCESSORS%*1.5 -i %1 -c:v libx264 -preset veryfast -tune fastdecode -profile:v high -x264opts %x264opts% -x264-params %x264opts% -vf "format='pix_fmts=yuv420p'" -movflags faststart -y -f mp4 %1_YT.mp4
Last edited by pandy; 24th Apr 2015 at 15:17.
-
That's the thing i wanted to know why happens to my videos... others upload same kind of detailed videos but they don't suffer this problem.
So there must be an answer for that
Youtube:
https://www.youtube.com/watch?v=sggVfkmUYi8&feature=youtu.be
Screenshot:
Could someone upload the video to Youtube (re-encoded) so i can see if it's only afecting to me ?
https://mega.co.nz/#!eMJUxAYL!nk31rlCqPXVCXVK5KTO0P3AZ9fv7ywBYB1p4klZLaZA -
Could you upload this one too please ? is the original video...
https://mega.co.nz/#!nI5hUbBR!FCNCtQh7PtdcjKfcfLL_0ktbJRzWztSXtsz_uJlkhYo
thanks -
For starters your video contains out of range levels, how did that happen?
Here is a 4K upload, QHD and UHD looks better.
Bottom line is that there are too many sharp things that move at the same time, compressor cannot handle it within the given constraints!
Here we give the compressor a bit of a break by taking away some of the edginess:
Last edited by newpball; 25th Apr 2015 at 14:22.
-
i don't know, i only used that code...
Could you upload this one ? as given, don't re-encode it.
https://mega.co.nz/#!nI5hUbBR!FCNCtQh7PtdcjKfcfLL_0ktbJRzWztSXtsz_uJlkhYo -
-
I only have that problem when i encode a video with the provided code.
That's the original video and i think it's the best way to discard if the problem is in the videos i upload after re-encoding.
I know there is a lot of information in the video for the bitrate used by Youtube at 1080p but as i said before, i'm one of the few who have this kind of macroblocking burst.
I've seen lots of similar fast action videos (even with more information as i was only walking on my video) like the recorded with a Gopro or similar action camera (or just a recorded gameplay from an action videogame), but they don't usually have this problem. -
Could you please be so kind to answer the question.
Was that video straight from Fraps or did you convert it to H.264 and if so with what parameters and in particular how did you convert the RGB to YUV.
You want people to help you but you refuse to give adequate information, why? -
Alright I will take a look at the original.
Will take some time though. -
Ok its finish to upload
https://www.youtube.com/watch?v=01bo5o_qvkI -
-
-
Another example without this problem and it was uploaded this year:
min 3:20 (low quality due to complexity and the not enough bitrate, but i don't see the pixelated image every 5 seconds i get)
https://www.youtube.com/watch?v=D-mBqbgI1cs -
-
A bit more blur but far less compression trouble:
Basically you can add just enough blur to get rid of the pixelation. -
This one can remove aliasing (thanks to crude antialiast) without sacrificing resolution to much:
(beware perceived sharpness is lower but this is hi res video)
Code:@SET x264opts="deblock=2,3:bframes=2:bitrate=4000:vbv-maxrate=10000:vbv-bufsize=20000:colorprim=bt709:transfer=bt709:colormatrix=bt709:fullrange=on:level=5.1:keyint=152:keyint_min=151:scenecut=-1:nal-hrd=vbr:force-cfr=1:qpmin=4:cabac=1:nr=500:threads=auto:no-psnr:no-ssim" @ffmpeg -threads %NUMBER_OF_PROCESSORS%*1.5 -i %1 -c:v libx264 -preset veryfast -tune fastdecode -profile:v high -x264opts %x264opts% -x264-params %x264opts% -vf "xbr=2,scale=iw/2:-2:sws_flags=spline:sws_dither=a_dither,format='pix_fmts=yuv420p'" -movflags faststart -y -f mp4 %1_YTaa.mp4
Adding blur may further reduce requirements for bitrate https://www.ffmpeg.org/ffmpeg-filters.html#boxblur .
With bellow script:
Code:@SET x264opts="deblock=2,3:bframes=2:bitrate=19000:vbv-maxrate=25000:vbv-bufsize=31250:colorprim=bt709:transfer=bt709:colormatrix=bt709:fullrange=on:level=5.1:keyint=151:keyint_min=150:scenecut=-1:nal-hrd=vbr:force-cfr=1:qpmin=4:cabac=1:nr=500:threads=auto:no-psnr:no-ssim" @ffmpeg -threads %NUMBER_OF_PROCESSORS%*1.5 -i %1 -c:a copy -c:v libx264 -preset veryfast -tune fastdecode -profile:v high -x264opts %x264opts% -x264-params %x264opts% -vf "xbr=4,scale=iw/2:-2:sws_flags=spline:sws_dither=a_dither,format='pix_fmts=yuv420p'" -movflags faststart -y -f mp4 %1_YTaa.mp4
Last edited by pandy; 26th Apr 2015 at 12:54.
-
-
Add Pause as third line - should prevent window to automatic close.
Seem there is issue with audio stream - try remove -c:a copy - maybe it help.
btw i just verified - i works for me:
Code:@SET x264opts="deblock=2,3:bframes=2:bitrate=19000:vbv-maxrate=25000:vbv-bufsize=31250:colorprim=bt709:transfer=bt709:colormatrix=bt709:fullrange=on:level=5.1:keyint=151:keyint_min=150:scenecut=-1:nal-hrd=vbr:force-cfr=1:qpmin=4:cabac=1:nr=500:threads=auto:no-psnr:no-ssim" @ffmpeg -threads %NUMBER_OF_PROCESSORS%*1.5 -i %1 -c:a copy -c:v libx264 -preset veryfast -tune fastdecode -profile:v high -x264opts %x264opts% -x264-params %x264opts% -vf "xbr=4,scale=iw/2:-2:sws_flags=spline:sws_dither=a_dither,format='pix_fmts=yuv420p'" -movflags faststart -y -f mp4 %1_YTaa.mp4 @pause
-
it worked =)
https://www.youtube.com/watch?v=gny4DjIhl3c
1080p
1440p
2160p
Looks much better at 4K (due to higher bitrate than 1080, of course), that's the quality i wanted to get for 1080p... -
I was doing more tests and i have 2 problems:
-When the video it's uploaded to Youtube i get a less contrasted image, but the video encoded (with ffmpeg using that code) has the same contrast as the original...
-And the video encoded with ffmpeg (also when uploaded to Youtube) has different colors, like it's using another color space, not the original one.
Do you know what to fix these problems ? -
Not sure if this is issue - are you intend to lower or keep the same contrast as in source?
This is maybe related to 601/709 problem - ffmpeg is kind of vague on this area (not particularly informative - automatically doing some color space conversion without giving any info etc).
I assumed that 4k mandatory color space on YT is 709 (and such color space is encoded as VUI string)
I would go for https://www.ffmpeg.org/ffmpeg-filters.html#colormatrix
Code:@SET x264opts="deblock=2,3:bframes=2:bitrate=19000:vbv-maxrate=25000:vbv-bufsize=31250:colorprim=bt709:transfer=bt709:colormatrix=bt709:fullrange=on:level=5.1:keyint=151:keyint_min=150:scenecut=-1:nal-hrd=vbr:force-cfr=1:qpmin=4:cabac=1:nr=500:threads=auto:no-psnr:no-ssim" @ffmpeg -threads %NUMBER_OF_PROCESSORS%*1.5 -i %1 -c:a copy -c:v libx264 -preset veryfast -tune fastdecode -profile:v high -x264opts %x264opts% -x264-params %x264opts% -vf "xbr=4,scale=iw/2:-2:sws_flags=spline:sws_dither=a_dither,colormatrix=bt601:bt709,format='pix_fmts=yuv420p'" -movflags faststart -y -f mp4 %1_YTaa.mp4 @pause
https://www.ffmpeg.org/ffmpeg-filters.html#scale-1
I would try to do something like this:
Code:scale=iw/2:-2:sws_flags=spline:sws_dither=a_dither:in_range='mpeg/tv':out_range='jpeg/full/pc':in_color_matrix=bt601:out_color_matrix=bt709
If your wish is to use a different color space for h.264 then x264 VUI need to be also modified - replace 709 by bt470bg i.e. colorprim=bt470bg:transfer=bt470bg:colormatrix=bt4 70bg , side to this you may wish to disable VUI signalization for full quantization range - currently this is: fullrange=on where it can be: fullrange=off for 16-235 luma sample values and 16 - 240 chroma sample values.
Similar Threads
-
Batch replace first 20 seconds of about 50 MKV-Videos
By Vlaves in forum EditingReplies: 2Last Post: 3rd Apr 2013, 06:52 -
Need help with YouTube videos
By alray1989 in forum Newbie / General discussionsReplies: 2Last Post: 4th Sep 2012, 15:13 -
My videos are up on youtube, how do they look?
By fuzzblaster in forum Newbie / General discussionsReplies: 6Last Post: 8th Dec 2010, 20:52 -
Pixelated videos - Is there a way to change the default renderer?
By klischee in forum Software PlayingReplies: 6Last Post: 29th Oct 2010, 18:21 -
Adding Two Seconds To Videos!
By prowesse in forum EditingReplies: 6Last Post: 28th Aug 2010, 18:13