FFMPEG: idea to use ffstats file
@Kwag and all with programing skills
One crazy idea (I think crazy enough to work): I noticed that in the output tab you can choose to save a ffstats file. If you are making a second encoding of the same source you can choose to use the previously created ffstats file, that way you can do a second pass encoding. I opened in a text viewer such a file and I noticed that is in plain text. I think that you or somebody with programing skills and more understanding than me of how things work can understand what is in that file and how it can be modified to work the way we want. My idea: it could be great if we could feed FFVFW first with a sampled file (made with sampler.dll), modify the obtained ffstats by extrapolating the values and then using the resulted file for final encoding. What do you think? :roll: |
you already can do that... there is an xvid tool that can access ancd change the file...
but also ffvfw can do so (thats what he does in the 2nd pass :D ) |
Quote:
|
oooooops :D
To extrapolating the sample we only need its size and length :-? (as done with CCE, TMPGEnc and so on) But AFAIK we couldn't do much with I,P and B Framevalues because they are only the results for the sample we encoded... the other part of the video doesn't have anything to do with this. (But only AFAIK... mybe it does :D :wink: ) |
Re: One crazy (enough to work) idea
Quote:
You should see some of my crazy posts :lol: Quote:
Only if we have full control of the encoder quantization, etc., then we could apply the stats for a post-process. So the stats created by ffvfw are really usefull for it's internal second pass, when it finally works!, because right now it bombs on the second pass. -kwag |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.