Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-29 Thread chronek
You uploaded for comparision good quality sample, how you obtain that sample? Could you provide that sample with intro part? I asking for intro becasue intro part will show me most what quality should i strive. Did you try with noise reduction? ffmpeg -y -i in.mp4 -vf pp=va/ha,hqdn3d=4:3:4:4 -

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-29 Thread Andy Furniss
negin tebyani wrote: Well ignoring requests for ffmpeg console output and a section of the master that the provided samples were made from means that less people will even try to help you. I don'n know how to reach for ffmpeg output console, but here is a section of the master video: https:

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread negin tebyani
> > Could you reencode that better quality sample to include initial intro > from source you provided? > > reencode it with my own setting? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe,

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread chronek
Ok, more denoising and small tuning: ffmpeg -y -i in.mp4 -vf pp=va/ha,uspp=7,hqdn3d=4:3:4:4 -an -c:v libx264 -preset veryslow -profile high -b:v 2M -refs 8 -me_range 64 -qcomp 0.7 -fast-pskip 0 -nr 400 -deblock 2:2 -pass 1 /dev/null ffmpeg -y -i in.mp4 -vf pp=va/ha,uspp=7,hqdn3d=4:3:4:4 -c:a a

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread negin tebyani
I found that source file have many compression artifacts... i put some > nasty filter and tune options a bit. Not good yet, but is a bit better? thank you, I tried you command but the quality is still lower than the other one.. ___ ffmpeg-user mailing l

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread chronek
I found that source file have many compression artifacts... i put some nasty filter and tune options a bit. Not good yet, but is a bit better? ffmpeg -y -i in.mp4 -vf pp=va/ha,uspp=7 -an -c:v libx264 -preset veryslow -b:v 2M -minrate 2M -maxrate 2M -bufsize 4M -refs 6 -me_range 64 -qcomp 0.6

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread negin tebyani
sorry, I forgot to paste the command: ffmpeg -i arsenalVScristalPalas.mp4 -movflags faststart -c:v libx264 -x264opts 'keyint=300:min-keyint=25:8x8dct:sliced-threads=0' -qblur 0.5 -deblock 1:1 -flags +loop -b:v 2048k -maxrate 2048k -bufsize 5000k -vf "scale=-1280:720:flags=spline+full_chroma_inp+fu

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread Reindl Harald
Am 28.03.2017 um 15:07 schrieb negin tebyani: you where requested to copy&paste that into your response mail - not more and not less ok, here is the output: ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers besides that 2.8.x is *terrible* outdated when

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread negin tebyani
> you where requested to copy&paste that into your response mail - not more > and not less > > ok, here is the output: ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609 configuration: --prefix=/us

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread Reindl Harald
Am 28.03.2017 um 14:15 schrieb negin tebyani: Well ignoring requests for ffmpeg console output and a section of the master that the provided samples were made from means that less people will even try to help you. I don'n know how to reach for ffmpeg output console what the hell - you are

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread negin tebyani
> > Well ignoring requests for ffmpeg console output and a section > of the master that the provided samples were made from means > that less people will even try to help you. > > I don'n know how to reach for ffmpeg output console, but here is a section of the master video: https://ufile.io/6c57

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread Andy Furniss
negin tebyani wrote: I'm realy stuck in here, I have tried any commands and any suggestions, but Well ignoring requests for ffmpeg console output and a section of the master that the provided samples were made from means that less people will even try to help you. ___

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread negin tebyani
unfortunately this does not make differences in results either: Then i can think only about that: > > ffmpeg -y -i in.mp4 -an -c:v libx264 -preset veryslow -b:v 2048k -refs 8 > -qcomp 0.7 -nr 40 -flags +loop -deblock 1:0 -pass 1 /dev/null > ffmpeg -y -i in.mp4 -c:a aac -b:a 128k -c:v libx264 -pres

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-28 Thread chronek
Then i can think only about that: ffmpeg -y -i in.mp4 -an -c:v libx264 -preset veryslow -b:v 2048k -refs 8 -qcomp 0.7 -nr 40 -flags +loop -deblock 1:0 -pass 1 /dev/null ffmpeg -y -i in.mp4 -c:a aac -b:a 128k -c:v libx264 -preset veryslow -b:v 2048k -refs 8 -qcomp 0.7 -nr 40 -flags +loop -debloc

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-27 Thread negin tebyani
> > Was the "good" sample coded from this? > yes it was encoded from this video. > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-r

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-27 Thread negin tebyani
The problem is that when I pause both videos at the same scene, the other video is so smooth and you can't see any noise, but mine is not like that. It seems they have used some video filter or something to Remove the noise. ___ ffmpeg-user mailing list

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-27 Thread Andy Furniss
negin tebyani wrote: this is the source video mediainfo: That's not ffmpeg console output, but anyway .. Bit rate mode: Constant Bit rate : 4 000 Kbps So it's not a much of a master but (I guess) some re-encoded web stream made fro

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-27 Thread chronek
W dniu 2017-03-27 o 19:24, negin tebyani pisze: and yes, I need to use constant bitrate. do I need to use 2 pass with constant bitrate? You do not need second pass with constant bitrate, but with 2 pass - in first pass it log where it need bitrate and use that knowledge to distrubuate in se

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-27 Thread negin tebyani
this is the source video mediainfo: General Complete name: arsenalVScristalPalas.mp4 Format : MPEG-4 Format profile : JVT Codec ID : avc1 (avc1/mp42) File size

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-27 Thread Andy Furniss
negin tebyani wrote: I am trying to reach that quality and using those parameters but the result is still low quality.. Please don't top post on this list - reply in line like I do here. you mean bufsize could affect the quality?? A bit, but I don't know how much in this case, just that it

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-27 Thread negin tebyani
I used this command but the quality is still the same. does deblock has something to do with this? the second video that I want to reach has smoother frames, mine seems to have a lot of noise. On Mon, Mar 27, 2017 at 8:22 PM, chronek wrote: > So you set own x264opts then you use preset slow what

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-27 Thread chronek
So you set own x264opts then you use preset slow what rewrite x264opts.. If you reencode h264 with downsacale try with minimal settings like: ffmpeg -y -i in.mp4 -vf pp=va/ha,scale=1280:720:flags=spline+full_chroma_inp+full_chroma_int+accurate_rnd+bitexact,setsar=1 -an -c:v libx264 -preset ve

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-27 Thread negin tebyani
I am trying to reach that quality and using those parameters but the result is still low quality.. you mean bufsize could affect the quality?? I removed zerolatency but I am not getting a impressive result. On Mon, Mar 27, 2017 at 7:32 PM, Andy Furniss wrote: > negin tebyani wrote: > >> I have e

Re: [FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-27 Thread Andy Furniss
negin tebyani wrote: I have encoded my videos using ffmpeg and H264, and this is my ffmpeg command (2 pass encoding): I don't think 2 pass is needed for constant bitrate - but am in no way an expert on encoding. Look at the differences in the params you pasted bufsize 3000k (you) vs 5000

[FFmpeg-user] gain the highest quality with H264 at a certain bit rate

2017-03-27 Thread negin tebyani
I have encoded my videos using ffmpeg and H264, and this is my ffmpeg command (2 pass encoding): ffmpeg -y -i Edited\ Clips/arsenalVScristalPalas.mp4 -movflags faststart -c:v libx264 -x264opts 'keyint=300:min-keyint=25:8x8dct:sliced-threads=0:subq=6' -deblock 0:0 -flags +loop -preset slow -tune ze