Opened 15 years ago

Last modified 13 years ago

#1595 new defect

Override video frame rate option (-fps) doesn't work for x264 de/encoding

Reported by: smyp@… Owned by: reimar
Priority: normal Component: core
Version: HEAD Severity: normal
Keywords: Cc: compn
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

I built MPlayer SVN-r29809-4.4.2 from SVN, x264 version is 0.78.1301. The frame rate option (-fps) doesn't seem to work anymore for H.264 video. If I play a movie with "mplayer -fps 50 movie.mts" the output says "FPS forced to be 50.000" but the movie still plays at 25fps. The -fps switch doesn't seem to have any effect. This also applies for mencoder encoding. I'm not sure whether this is an ffmpeg, mplayer or even x264 issue. For other video codecs (xvid) the frame rate option works fine.

The output says:
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)

Change History (3)

comment:1 by compn, 15 years ago

still affects svn wiht lavf demuxer too.

comment:2 by rmanola@…, 15 years ago

(In reply to comment #1)

still affects svn wiht lavf demuxer too.

I have the same problem. My MTS files are being played with the wrong fps. When I play them with VLC, it plays smooth and acuses an fps of: 119,88 and the Mplayer says it has 59.940 fps. In the Mplayer, the video plays very fast and the audio plays at a "normal"rate.

comment:3 by compn, 13 years ago

Cc: patriotact@… added

the problem is that -correct-pts breaks -fps
try with -nocorrect-pts

Note: See TracTickets for help on using tickets.