[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Converting variable frame rate to constant frame rate

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 12
Thread images: 1

File: 1f766d70de[1].png (2KB, 301x72px) Image search: [Google]
1f766d70de[1].png
2KB, 301x72px
I have a bunch of variable frame rate video lying around that I want to convert to HEVC to save space. I've tried converting them in the past and found that converting from variable x264 or otherwise to HEVC always ends up with desynced audio and video.

Is there any way I can maybe pre-convert the variable files into constant x264 and then convert to constant HEVC? I don't want variable HEVC if possible.

Pic related
>>
>>57419744
Any decent encoder can do this. Just load up handbrake or something.
>>
>>57420333

The media info says the audio plays at 48.674fps. Would I just use crf 0 and set the constant video frame rate to 48.674?
>>
>>57419744
Just going off the pic I'd go with constant 29.97. It will save more space than going at the max 59.94 and if you to go with lower fps like 23.98/24 the motion will get all choppy and look like shit
>>
Also: MPEG Streamclip is good
>>
>>57420738

The 48.674fps audio won't be a problem?
>>
>>57420802
fps isn't an applicable measurement of audio but yes if that's actually 48 kHz audio sampling rate that should be fine as-is
>>
>>57421030

Ah. I see. I'll give it a shot. Thanks anon
>>
>>57421049
Just try to pass the audio through as much as possible and not mess with any settings too much. 29.97 for video should work fine
>>
>>57419744
ffmpeg -i input.mkv -vsync 1 -r 60 -c copy -c:v libx265 (... other options ...)
>>
>>57421128
don't use "-r 29.97", 29.97 is just a shortened version of 29.97002997, or 30/1.001
use "-r 30/1.001"
>>
>>57421889


I'm not sure how x264 and x265 handle variable to constant conversions but I've tried converting the variable file directly to HEVC in CLI with -r 60 doesn't seem to help.
Thread posts: 12
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.