Opened 9 years ago

Closed 8 years ago

#2251 closed defect (needs_more_info)

mplayer seek doesn't work on h.265/mp4 videos

Reported by: Abhijith Gurao Owned by: beastd
Priority: normal Component: undetermined
Version: unspecified Severity: blocker
Keywords: mp4 seek Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Summary of the bug:
I am trying to play 4k H.265 video present in mp4 container. The playback is fine until seek options are used on playback window.

Here is the mediainfo output of video file :
General
Complete name : Transcoder/output.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 3.57 GiB
Duration : 32mn 48s
Overall bit rate : 15.6 Mbps
Encoded date : UTC 1904-01-01 00:00:00
Tagged date : UTC 1904-01-01 00:00:00
Writing application : Lavf56.40.101

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L5@Main
Codec ID : hev1
Codec ID/Info : High Efficiency Video Coding
Duration : 32mn 48s
Bit rate : 15.6 Mbps
Width : 3 840 pixels
Height : 1 620 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Variable
Frame rate : 24.000 fps
Minimum frame rate : 24.000 fps
Maximum frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.104
Stream size : 3.57 GiB (100%)
Encoded date : UTC 1904-01-01 00:00:00
Tagged date : UTC 1904-01-01 00:00:00

Here is the command used to playback and its output :

$ mplayer output.mp4

Terminal Output:

MPlayer SVN-r37434 (C) 2000-2012 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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 /home/vculabs/Documents/Transcoder/output.mp4.
libavformat version 56.40.101 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f7b68d44fc0]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
[lavf] stream 0: video (hevc), -vid 0
VIDEO: [HEVC] 3840x1620 24bpp 24.000 fps 15561.3 kbps (1899.6 kbyte/s)
Clip info:

major_brand: isom
minor_version: 512
compatible_brands: isomiso2mp41
encoder: Lavf56.40.101

Load subtitles in /home/vculabs/Documents/Transcoder/
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 56.50.101 (internal)
Selected video codec: [ffhevc] vfm: ffmpeg (FFmpeg HEVC / H.265)
==========================================================================
Audio: no sound
Starting playback...
Movie-Aspect is 2.37:1 - prescaling to correct movie aspect.
VO: [vdpau] 3840x1620 => 3840x1620 Planar YV12
[ASPECT] Warning: No suitable new res found!
[ASPECT] Warning: No suitable new res found!
V: 3.0 0/ 0 157% 15% 0.0% 0 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f7b68d44fc0]seek_frame_generic failed as this stream seems to contain no keyframes after the target timestamp, 1002 non keyframes found
V: 0.1 0/ 0 ??% ??% ??,?% 0 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f7b68d44fc0]seek_frame_generic failed as this stream seems to contain no keyframes after the target timestamp, 1002 non keyframes found
V: 1.4 0/ 0 154% 18% 0.0% 0 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f7b68d44fc0]seek_frame_generic failed as this stream seems to contain no keyframes after the target timestamp, 1002 non keyframes found
V: 0.0 0/ 0 ??% ??% ??,?% 0 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f7b68d44fc0]seek_frame_generic failed as this stream seems to contain no keyframes after the target timestamp, 1002 non keyframes found
V: 1.3 0/ 0 154% 11% 0.0% 0 0

Change History (2)

comment:1 by reimar, 9 years ago

Without the file cannot really check, but "stream seems to contain no keyframes" would indicated that the file was muxed incorrectly, in a way that does not allow seeking.

comment:2 by beastd, 8 years ago

Keywords: HEVC h265 seekbar removed
Priority: highestnormal
Resolution: needs_more_info
Status: newclosed

Can you still reproduce the problem?

Does it only happens on that particular file?

Note: See TracTickets for help on using tickets.