Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mplayer not detecting fps
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
enboig
n00b
n00b


Joined: 20 Apr 2005
Posts: 4
Location: Catalunya

PostPosted: Mon Jun 19, 2006 1:03 am    Post subject: mplayer not detecting fps Reply with quote

Hi, I am trying to play a .mp4 file and I recive an error saying "FPS not specified in the header or invalid, use the -fps option"

I have used "gmplayer -fps 30 file.mp4" and I am able to see some images from de movie, but it don't play ok (I supose the value is wrong). Any way to fix it?

thanks a lot.
Back to top
View user's profile Send private message
arkanoid
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2006
Posts: 107
Location: Copenhagen, Denmark

PostPosted: Mon Jun 19, 2006 5:35 am    Post subject: Reply with quote

The only way to fix it, is to re-encode the mp4-file and include the framerate information. It's not a problem with mplayer (unless you've tried other players and they do fine. In that case, I'd say it was a codec-problem).
-fps 30 will work, if the movie was encoded with that framerate, but there's absolutely no guarantee for that. I'd try other framerates as well, such as 24:
Code:
VIDEO:  [mp4v]  640x480  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)

The above is the mplayer output from playing a mp4-file.
Back to top
View user's profile Send private message
Mandr4ke
Apprentice
Apprentice


Joined: 25 Jul 2002
Posts: 214
Location: Chicago, IL

PostPosted: Fri Jun 23, 2006 8:20 am    Post subject: Reply with quote

yeah i'm getting this crap too on some of the new anime releases, very strange, and it seems no matter what fps you put in, the audio and video are never in sync. i heard there are many different implimentations of mp4, would the latest not have the fps in the header correctly. This is a royal pain.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum