regression: mplayer detects video frame rate as -nan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| mplayer (Ubuntu) |
High
|
Unassigned | ||
| Trusty |
High
|
Unassigned |
Bug Description
MPlayer 1.1-4.8 detects the frame rate of H264 videos as -nan,
which causes the video to play very rapidly and out of synch with the audio.
The expected result is that the video plays with the correct frame rate in synch with the audio.
This bug has been fixed in the current SVN version of MPlayer (SVN-r37244-4.8),
which identifies the frame rate in the attached example video as ID_VIDEO_FPS=39.583 and correctly plays the video.
The bug appeared when upgrading from Precise to Trusty (Ubuntu 14.04.1 LTS)
The mplayer in Precise did not have difficulty playing these same files.
mplayer -identify mplayer_
MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing mplayer_
libavformat version 54.20.4 (external)
Mismatching header version 54.20.3
libavformat file format detected.
ID_VIDEO_ID=0
[lavf] stream 0: video (h264), -vid 0
ID_AUDIO_ID=0
ID_AID_0_LANG=eng
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO: [H264] 1280x720 24bpp -nan fps 8717.4 kbps (1064.1 kbyte/s)
Clip info:
major_brand: isom
ID_CLIP_
ID_CLIP_
minor_version: 0
ID_CLIP_
ID_CLIP_
compatible_brands: isom3gp4
ID_CLIP_
ID_CLIP_
creation_time: 2014-08-04 15:49:46
ID_CLIP_
ID_CLIP_
ID_CLIP_INFO_N=4
Load subtitles in ./
ID_FILENAME=
ID_DEMUXER=lavfpref
ID_VIDEO_
ID_VIDEO_
ID_VIDEO_WIDTH=1280
ID_VIDEO_HEIGHT=720
ID_VIDEO_FPS= -nan
ID_VIDEO_
ID_AUDIO_
ID_AUDIO_
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_START_TIME=0.00
ID_LENGTH=2.59
ID_SEEKABLE=1
ID_CHAPTERS=0
[vdpau] Error when calling vdp_device_
=======
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.35.0 (external)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
=======
ID_VIDEO_
=======
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 186.1 kbit/6.06% (ratio: 23263->384000)
ID_AUDIO_
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
=======
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
ID_AUDIO_
Starting playback...
Unsupported AVPixelFormat 53
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_
VO: [xv] 1280x720 => 1280x720 Planar YV12
A: 2.2 V: 1.9 A-V: 0.303 ct: -nan 0/ 0 ??% ??% ??,?% 0 0
Exiting... (End of file)
ID_EXIT=EOF
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: mplayer 2:1.1+dfsg1-
ProcVersionSign
Uname: Linux 3.13.0-32-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Mon Aug 4 19:26:25 2014
InstallationDate: Installed on 2012-05-29 (797 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: mplayer
UpgradeStatus: Upgraded to trusty on 2014-07-30 (4 days ago)
Stig-Arne Grönroos (stig-gronroos) wrote : | #1 |
Mike B. (mcbarron) wrote : | #3 |
I see the same thing across several *.m4v files that have previously worked fine.
Verbose execution of mplayer follows (username and file name redacted):
Ubuntu 14.04
3.13.0-33-generic #58-Ubuntu SMP Tue Jul 29 16:47:17 UTC 2014 i686 athlon i686 GNU/Linux
_mplayer -v [filename].m4v_
MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team
CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (Family: 15, Model: 75, Stepping: 2)
extended cpuid-level: 24
extended cache-info: 33587520
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
Compiled with runtime CPU detection.
get_path(
Reading optional codecs config file /home/[
Reading optional codecs config file /etc/mplayer/
Using built-in default codecs.conf.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/
Configuration: --prefix=/usr --confdir=
CommandLine: '-v' '[filename].m4v'
Using nanosleep() timing
get_path(
Reading optional input config file /home/[
Parsing input config file /etc/mplayer/
Input config file /etc/mplayer/
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
get_path(
Playing [filename].m4v.
get_path('sub/') -> '/home/
[file] File size is 839610047 bytes
STREAM: [file] [filename].m4v
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
libavformat version 54.20.4 (external)
Mismatching header version 54.20.3
Configuration: --arch=i386 --enable-pthreads --enable-
LAVF_check: QuickTime / MOV
libavformat file format detected.
[mov,mp4,m4a,...
Changed in mplayer (Ubuntu): | |
importance: | Undecided → High |
summary: |
- mplayer detects video frame rate as -nan + regression: mplayer detects video frame rate as -nan |
Changed in mplayer (Ubuntu Trusty): | |
status: | New → Confirmed |
importance: | Undecided → High |
no longer affects: | mplayer (Ubuntu Utopic) |
tags: | added: regression-release |
Silvio Levy (levy-msri) wrote : | #4 |
Any chance this might be fixed soon? I can't live without mplayer, it's the only really good video player I know, and after I upgrated to ubuntu 14.04 half of my mp4 files fail to play because of this problem.
Kees Cook (kees) wrote : | #5 |
My workaround is to install mplayer from 13.10.
Kees Cook (kees) wrote : | #6 |
sudo -s
echo "deb http://
apt-get update
apt-get install mplayer=
echo "mplayer hold" | sudo dpkg --set-selections
Changed in mplayer (Ubuntu): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Cip Man (cipman-p) wrote : | #7 |
Thanks Kees!
I think the 5th line should be:
apt-get install mplayer=
Changed in mplayer (Ubuntu): | |
assignee: | Dimitri John Ledkov (xnox) → nobody |
Status changed to 'Confirmed' because the bug affects multiple users.