Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
7th June 2009, 17:34 | #1 | Link |
Advanced Blogging
Join Date: May 2009
Posts: 480
|
How do I create a 120fps "VFR" AVC AVI
I need to convert some hybrid 24/30fps footage to AVC in AVI. Does anyone know how to create a 120fps hybrid AVI with nullframes for this (in the same manner as 120fps DivX encodes).
|
7th June 2009, 17:55 | #4 | Link | |
Compiling Encoder
Join Date: Jan 2007
Posts: 1,348
|
Quote:
1. AVC is not compatible with AVI and should not be used as the container. 2. AVI itself can't handle VFR. remove the VFR point from the thread title as you're wanting a VFR -> CFR conversion. the end result is not VFR at all. you can do this with avisynth using trim(), AssumeFPS(), and ChangeFPS(). |
|
7th June 2009, 17:56 | #5 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
Quote:
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
7th June 2009, 17:58 | #6 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
That's probably the reason why he wants to emulate VFR by using the least common multiple framerate and inserting dummy frames to compensate
Still the question why he can't use MKV with "native" VFR support, which would be the preferred method here... (BTW: Despite all the rumors, there's no real problem with H.264 in AVI as long as we aren't talking about hardware players. All the common software players do handle it fine in fact)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 7th June 2009 at 18:17. |
7th June 2009, 20:18 | #9 | Link |
Advanced Blogging
Join Date: May 2009
Posts: 480
|
@comatose
I did try using tritical's tc2cfr tool but it complained about "Number of data chunks does not match frame count" with the timecodes file # timecode format v1 Assume 23.976023976024 324,383,29.97 Edit: the AVC AVI was prepared as such: FFVideoSource("vfr.mkv") AssumeFPS(24000/1001) fed to x264vfw in VirtualDub Edit2: @roozhuu - Can you elaborate on the usage of MEncoder to create 120fps AVC AVIs? I found a mailing list post about a patch to MEncoder that enables this function but it dates back to 2008 (http://article.gmane.org/gmane.comp....er.devel/47818) Last edited by thewebchat; 7th June 2009 at 20:30. |
8th June 2009, 07:47 | #11 | Link | |
Registered User
Join Date: Apr 2008
Posts: 1,181
|
Quote:
try something like mencoder -vf pullup -ofps 12000/1001 ... Well, it's not perfect because the pts of IVTCed parts created by mencoder are not accurate, resulting in mixed 20fps/30fps or even worse 17fps/24fps/30fps. |
|
8th June 2009, 21:42 | #13 | Link | ||
warpsharpened
Join Date: Feb 2007
Posts: 787
|
Quote:
Quote:
Double whammy! Logic is flawless sir. Last edited by TheRyuu; 8th June 2009 at 21:46. |
||
9th June 2009, 00:18 | #14 | Link |
Advanced Blogging
Join Date: May 2009
Posts: 480
|
@Chikuzen
I was not able to understand the instructions for AVIRead and tc2asc, but I attempted to create my asc file as such tc2asc timecodes_v2.txt test.asc 120000 1001 10 After loading the AVI in AVIRead and using "add drop frames (120fps)" and saving, the result plays very slowly, as though it had been slowed by around 4x. @roozhou That solution would create a file that actually has 120 coded frames per second, which would certainly not be a good idea. What I want is a 120fps AVI with special nullframes. Last edited by thewebchat; 9th June 2009 at 00:27. |
9th June 2009, 01:39 | #15 | Link | |
Spinner of yarns
Join Date: May 2009
Posts: 164
|
Quote:
__________________
僕と契約して、L-SMASH developerになってよ! L-SMASH | L-SMASH Works | Opus-in-ISOBMFF specification and reference software |
|
9th June 2009, 01:50 | #16 | Link |
Advanced Blogging
Join Date: May 2009
Posts: 480
|
@VFR Maniac
In tc2asc, do I specify the output framerate as 60 or 120 then? Edit: Never mind, I used "Add Drop Frames (60fps)" + "Change Framerate" with a 120fps ASC and it worked. Thank you, VFR Maniac and Chikuzen. Last edited by thewebchat; 9th June 2009 at 01:58. |
9th June 2009, 16:48 | #18 | Link |
Advanced Blogging
Join Date: May 2009
Posts: 480
|
@roozhou: Ah, I am sorry. I did not know that.
It seems I have found three satisfactory solutions for this: 1) use tc2avi 2) use AVIRead with tc2asc 3) use MEncoder Thank you to roozhou, VFR maniac, Chikuzen, and Comatose. |
|
|