Digital Video Forums  

Go Back   Digital Video Forums > Video File Formats > MP4, MKV, MPEG-4 AVC (H.264)

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 6 Oct 2008, 02:02 AM   #1
Junior Member
Junior Member
 
Join Date: Jan 2004
Posts: 22
Default Change framerate in .mp4

I've got an h264 video in an *.mp4 container. The audio in the file is the correct length at just over 24 minutes, but the framerate for the video slightly slower and runs for 30 minutes.

What's the easiest editor to use to speed up the video to make it match the audio?
Merick is offline   Reply With Quote
Old 6 Oct 2008, 05:30 AM   #2
Lord of Digital Video
Lord of Digital Video
 
paglamon's Avatar
 
Join Date: Aug 2005
Location: 22░38'12.55" N, 88░25'20.87" E
Posts: 2,126
Default

AVIDemux.
__________________

ONLY MOMENTS LINGER...DEWDROPS ON A FALLEN LEAF
paglamon is offline   Reply With Quote
Old 6 Oct 2008, 07:58 AM   #3
Junior Member
Junior Member
 
Join Date: Jan 2004
Posts: 22
Default

Thanks, that fixed it
Merick is offline   Reply With Quote
Old 6 Oct 2008, 03:12 PM   #4
Lord of Digital Video
Lord of Digital Video
 
paglamon's Avatar
 
Join Date: Aug 2005
Location: 22░38'12.55" N, 88░25'20.87" E
Posts: 2,126
Default

paglamon is offline   Reply With Quote
Old 19 Oct 2008, 10:44 AM   #5
Junior Member
Junior Member
 
Join Date: Jan 2004
Posts: 22
Default

Been busy, meant to get back to this earlier..

Seems it didn't fix it quit as well as I had thought at first, it still got de-synced towards the end. I've tried to redo it a few times, but I can't quite get the framerate to the correct speed. There's also the problem that the file uses B-frames, which makes AVIDemux crash
Merick is offline   Reply With Quote
Old 19 Oct 2008, 01:52 PM   #6
Lord of Digital Video
Lord of Digital Video
 
Join Date: Dec 2005
Posts: 1,500
Lightbulb

Hi folks,

@ Merick ... how much of it is out-of-sync!?!? May be save teh good part ... cut the bad part ... demux ... correct timing and mux up ... then combine with the good part. It is a pain in the neck ... but if you are bored and have nothing better to do ... can be done (I did it on one old film that it was from 1920's).

@ Paglamon ... I see you are back ... WELCOME BACK!

G!
gonwk is offline   Reply With Quote
Old 20 Oct 2008, 12:44 AM   #7
Junior Member
Junior Member
 
Join Date: Jan 2004
Posts: 22
Default

In the original file, the video is already a few seconds behind the audio during the opening sequence, and at the end it continues to run to 30 minutes, which is 6 minutes after the audio track is finished.

When I loaded it into avidemux, I left it as a straight copy in the audio/video options shown to the left side of the video output window. In the video->framerate menu I selected the standard ntsc 30 fps (the original is at 23.9fps). This brought the video time down to 24.15 minutes. At the beginning of the file the everything seems fine, but the video is still slightly slower and by the end of the episode it's behind by a few seconds.

I've tried changing the framerate by fractions of a second, but I always end up with the video being either slightly slower or slightly faster than the audio.

Also, if I try to load the file without using "safe mode" (because it uses b-frames), it tells me "Index is not up to date", but if I try rebuild the keyframes it crashes
Merick is offline   Reply With Quote
Old 20 Oct 2008, 04:54 AM   #8
Lord of Digital Video
Lord of Digital Video
 
Join Date: Dec 2005
Posts: 1,500
Lightbulb

Hi Merick,

I can't recall my exact steps ... but I think I demuxed the Audio and Video ... then I cut out just enough from the beginning of the Audio to match the Video and then Muxed it back up ... I had to try it out several times to get it right.

I know this is not a step-by-step help ... but sorry ... I can't even remember how many freewares I used to do it.

Also, I did another one that I ahd to chop the AVI into 7 or 8 portions since the Audio was not out-of-sync consistently throughout the video ...and that was a challenge ... but I got the darn thing working pretty good!

G!
gonwk is offline   Reply With Quote
Old 20 Oct 2008, 07:14 AM   #9
Eclectician
 
MilesAhead's Avatar
 
Join Date: Nov 2006
Posts: 2,615
Default

@Merick it sounds like you may need to use Pulldown. I'm not quite
sure how it works in avi to avi encoding but when converting avi to dvd I
can remember keeping the frame rate the same then using DGPulldown to set
the video to play correctly without throwing the audio out of sync. Tools
like FAVC do it automatically now. A google may pick up some hints.
MilesAhead is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FrameRate suggestion ShuMO General Discussions 2 22 Jan 2003 07:28 PM
Framerate Microschoft AVI, DivX/Xvid 4 11 Jan 2003 02:25 AM
How to change subtitle framerate? T_insane1 AVI, DivX/Xvid 0 11 Apr 2002 04:45 AM
DVD framerate? divxdude DivX/XviD Conversion/Encoding 2 5 Feb 2002 02:42 AM
How to change the frame rate without change the Audio/Video synchronization. lutchoj Authoring 1 24 Jan 2002 12:59 PM



All times are GMT +10. The time now is 08:45 AM.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2018 Digital Digest

Visit DivXLand   Visit dvdloc8.com