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.


Go Back   Doom9's Forum > Announcements and Chat > General Discussion

Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 25th April 2011, 22:58   #1  |  Link
Gew's Avatar
Join Date: Jul 2008
Location: Kingston, Jamaica.
Posts: 113
Best way to handle VFR source?


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:

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

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

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
From what it seems, x264.exe manages to hold the timecodes correct in a reencode. I assume this by pulling "x264.exe -o test.mkv 20110414006.mp4", which yielded a correct re-encoded output, same VFR style. However, x264.exe doesn't have any rotate filter. I try Avidemux v2.4, which is my favorite editing tool. It fails, it messes up the frame rate whichever container or setting I choose.

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?
Gew is offline   Reply With Quote

rotate, vfr

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 13:39.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.