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. |
25th April 2011, 22:58 | #1 | Link |
Observer
Join Date: Jul 2008
Location: Kingston, Jamaica.
Posts: 113
|
Best way to handle VFR source?
Hi
I have this clip from a mobile phone. It's encoded in Variable Frame Rate, which I'm not much a personal fan of. I seem to have a difficult time editing it. In short, I just want to rotate it 90 degrees, and make a x264 re-encode. Here my MediaInfo output: Code:
General Complete name : 20110414006.mp4 Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : mp42 File size : 11.7 MiB Duration : 33s 600ms Overall bit rate : 2 922 Kbps Encoded date : UTC 2011-04-14 14:07:23 Tagged date : UTC 2011-04-14 14:07:23 Video ID : 1 Format : MPEG-4 Visual Format profile : Simple@L4a Format settings, BVOP : No Format settings, QPel : No Format settings, GMC : No warppoints Format settings, Matrix : Default (H.263) Codec ID : 20 Duration : 33s 433ms Bit rate mode : Variable Bit rate : 2 700 Kbps Maximum bit rate : 3 000 Kbps Width : 640 pixels Height : 480 pixels Display aspect ratio : 4:3 Frame rate mode : Variable Frame rate : 30.000 fps Minimum frame rate : 19.737 fps Maximum frame rate : 61.224 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Compression mode : Lossy Bits/(Pixel*Frame) : 0.293 Stream size : 11.3 MiB (96%) Encoded date : UTC 2011-04-14 14:07:23 Tagged date : UTC 2011-04-14 14:07:23 Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : 40 Duration : 33s 600ms Bit rate mode : Constant Bit rate : 96.0 Kbps Channel(s) : 1 channel Channel positions : Front: C Sampling rate : 48.0 KHz Compression mode : Lossy Stream size : 394 KiB (3%) Encoded date : UTC 2011-04-14 14:07:23 Tagged date : UTC 2011-04-14 14:07:23 I've heard rumors that ffmpeg.exe has VFR support, and also that there are -vfilters, but my pre-compiled Windows executables don't come with the rotate filter, so I'm all out of luck there. I've also tried encapsulating the VFR .mp4 via DirectShowSource() in a .AVS script, and simply "re-capture" to a constant frame rate while re-encoding. This fails also, output is all gray. Running Windows 7 x86. Any ideas? |
26th April 2011, 09:35 | #3 | Link |
Observer
Join Date: Jul 2008
Location: Kingston, Jamaica.
Posts: 113
|
Thanks poisondeathray!
FFMS2() seems to decode my VFR/MP4 properly. However, this approach with post-remuxing with previous timecodes you mention. Erhm, correct me if I'm wrong, but this presumes that I don't do any further editing (beyond simply rotating) on my video, right? If I want to say trim (cut and paste) some, the task gets more difficult. Correct? Any ideas on how to do then? Rumor has it that Avidemux v2.6 will be able to handle VFR. |
26th April 2011, 14:37 | #5 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,433
|
wow, where did you hear this ?
FYI , you can download nightly 2.6 builds here (experimental only) http://avidemux.org/nightly/win32/ (I haven't tested VFR on these and beware some builds are very buggy) Last edited by poisondeathray; 26th April 2011 at 14:40. |
Tags |
rotate, vfr |
Thread Tools | Search this Thread |
Display Modes | |
|
|