Calculate output bitrate to have the same quality as input
Is there an option to automatically calculate the correct bitrate of the output video codec to have the same quality as the input video?
On 20.01.2011 23:18, Leo Izen wrote:
Is there an option to automatically calculate the correct bitrate of the output video codec to have the same quality as the input video?
-sameq
On Thu, Jan 20, 2011 at 3:52 PM, Gord von Campe <voncampeg at netscape.net> wrote:
On 20.01.2011 23:18, Leo Izen wrote:
Is there an option to automatically calculate the correct bitrate of the output video codec to have the same quality as the input video?
-sameq
That means same quantizer, not same quality. They do not mean the same thing. Jason
On 21.01.2011 00:53, Jason Garrett-Glaser wrote:
On Thu, Jan 20, 2011 at 3:52 PM, Gord von Campe<voncampeg at netscape.net> wrote:
On 20.01.2011 23:18, Leo Izen wrote:
Is there an option to automatically calculate the correct bitrate of the output video codec to have the same quality as the input video? -sameq That means same quantizer, not same quality. They do not mean the same thing.
Jason
True of course! But visually I think that the output video looks very close to the input video using this option. Gord
Assuming -sameq is out of the cards, is there an option to do this? On Thu, Jan 20, 2011 at 6:58 PM, Gord von Campe <voncampeg at netscape.net>wrote:
On 21.01.2011 00:53, Jason Garrett-Glaser wrote:
On Thu, Jan 20, 2011 at 3:52 PM, Gord von Campe<voncampeg at netscape.net> wrote:
On 20.01.2011 23:18, Leo Izen wrote:
Is there an option to automatically calculate the correct bitrate of the output video codec to have the same quality as the input video?
-sameq
That means same quantizer, not same quality. They do not mean the same thing.
Jason
True of course! But visually I think that the output video looks very close to the input video using this option.
Gord
_______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
On 21.01.2011 02:15, Leo Izen wrote:
Assuming -sameq is out of the cards, is there an option to do this?
On Thu, Jan 20, 2011 at 6:58 PM, Gord von Campe<voncampeg at netscape.net>wrote:>
On 21.01.2011 00:53, Jason Garrett-Glaser wrote:>>
On Thu, Jan 20, 2011 at 3:52 PM, Gord von Campe<voncampeg at netscape.net> wrote:>>>
On 20.01.2011 23:18, Leo Izen wrote:
Is there an option to automatically calculate the correct bitrate of the output video codec to have the same quality as the input video?
-sameq
That means same quantizer, not same quality. They do not mean the same thing.
Jason
True of course! But visually I think that the output video looks very close to the input video using this option.
Gord
Since my "quick and dirty" fix didn't work for you, assuming the following definition from ffmpeg help: -sameq use same video quality as source (implies VBR), maybe you should indicate the source and target formats of your video conversion, so that someone knowledgeable here can help you further. Gord
On Thu, Jan 20, 2011 at 3:58 PM, Gord von Campe <voncampeg at netscape.net> wrote:
On 21.01.2011 00:53, Jason Garrett-Glaser wrote:
On Thu, Jan 20, 2011 at 3:52 PM, Gord von Campe<voncampeg at netscape.net> ?wrote:
On 20.01.2011 23:18, Leo Izen wrote:
Is there an option to automatically calculate the correct bitrate of the output video codec to have the same quality as the input video?
-sameq
That means same quantizer, not same quality. ?They do not mean the same thing.
Jason
True of course! But visually I think that the output video looks very close to the input video using this option.
... only in certain cases. -sameq is extremely situational and will not work correctly in a wide variety of conversions. Jason
On 2011-01-20 6:53 PM, Jason Garrett-Glaser wrote:
-sameq
That means same quantizer, not same quality. They do not mean the same thing.
I have watched a steady stream of people (including me) wander through the confusion of the meaning of the "-sameq" parameter, and I think I know the reason. On the documentation page at <http://ffmpeg.org/ffmpeg-doc.html#SEC6> it says: `-sameq' Use same video quality as source (implies VBR). Apparently this is wrong, but it looks like official documentation, being on the "ffmpeg.org" site. I realise that effort is at a premium on a big project like this, but perhaps it would be less trouble to change the documentation, than it is to repeatedly explain this point to newcomers? As I write this, I recall that complaints about the documentation are often met with "updates to the documentation are always welcome". Well, here's an update to the documentation: s/Use same video quality as source/Use same video quantiser as source/ I don't even mind if you change the s for a z to keep the Americanz [sic] happy. LOL! -- Andy
So... As far as I can tell: use -samq at first, if it doesn't work, then play around with the bitrate until you get it. Am I correct? On Mon, Jan 31, 2011 at 9:49 AM, Andy Civil <andycivil at gmail.com> wrote:
On 2011-01-20 6:53 PM, Jason Garrett-Glaser wrote:
-sameq
That means same quantizer, not same quality. They do not mean the same thing.
I have watched a steady stream of people (including me) wander through the confusion of the meaning of the "-sameq" parameter, and I think I know the reason. On the documentation page at < http://ffmpeg.org/ffmpeg-doc.html#SEC6> it says:
`-sameq' Use same video quality as source (implies VBR).
Apparently this is wrong, but it looks like official documentation, being on the "ffmpeg.org" site. I realise that effort is at a premium on a big project like this, but perhaps it would be less trouble to change the documentation, than it is to repeatedly explain this point to newcomers?
As I write this, I recall that complaints about the documentation are often met with "updates to the documentation are always welcome". Well, here's an update to the documentation:
s/Use same video quality as source/Use same video quantiser as source/
I don't even mind if you change the s for a z to keep the Americanz [sic] happy. LOL!
-- Andy
_______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
participants (4)
-
andycivil@gmail.com -
jason@x264.com -
leo.izen@gmail.com -
voncampeg@netscape.net