You are not logged in.

#1 2016-07-03 17:41:07

daynite
Banned
Registered: 2016-06-27
Posts: 7

HD *.mkv [AVC] works with mplayer but not with vlc

So I have this videofile, lets call it "movie.mkv".

# mediainfo movie.mkv

General
Unique ID                                : 243303859617510865580752758756834327766 (0xB70A9E6F10F07DD19582D0F2FDDCBCD6)
Complete name                            : movie.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 12.3 GiB
Duration                                 : 2 h 19 min
Overall bit rate                         : 12.6 Mb/s
Encoded date                             : UTC 2015-07-30 15:20:18
Writing application                      : mkvmerge v4.5.0 ('Speed of Light') gebaut am Feb  1 2011 02:10:32
Writing library                          : libebml v1.2.0 + libmatroska v1.1.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2 h 19 min
Bit rate                                 : 10.3 Mb/s
Width                                    : 1 920 pixels
Height                                   : 800 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.279
Stream size                              : 9.82 GiB (80%)
Writing library                          : x264 core 140 r2377 1ca7bb9
Encoding settings                        : cabac=1 / ref=5 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=2pass / mbtree=1 / bitrate=10287 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No

If I play the file with the mplayer command it starts properly and I can enjoy the movie. This is the output in the terminal:

#mplayer movie.mkv

MPlayer SVN-r37857 (C) 2000-2016 MPlayer Team
224 audio & 451 video codecs

Playing movie.mkv.
libavformat version 57.25.100 (external)
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (dca), -aid 0, -alang ger, German
[lavf] stream 2: audio (dca), -aid 1, -alang eng, English
[lavf] stream 3: subtitle (dvdsub), -sid 0, -slang ger, German forced
[lavf] stream 4: subtitle (dvdsub), -sid 1, -slang ger, German complete
[lavf] stream 5: subtitle (dvdsub), -sid 2, -slang eng, English complete
VIDEO:  [H264]  1920x800  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 57.24.102 (external)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Clip info:
 encoder: libebml v1.2.0 + libmatroska v1.1.0
 creation_time: 2015-07-30 15:20:18
Load subtitles in ./
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 768.0 kbit/25.00% (ratio: 96000->384000)
Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS)
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 2.40:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x800 => 1920x800 Planar YV12 
A:   0.0 V:   0.0 A-V:  0.045 ct:  0.000   0/  0 ??% ??% ??,?% 0 0 [J
A:   0.1 V:   0.0 A-V:  0.040 ct:  0.004   0/  0 ??% ??% ??,?% 0 0 [J
A:   0.1 V:   0.1 A-V:  0.037 ct:  0.008   0/  0 ??% ??% ??,?% 0 0 [J
A:   0.2 V:   0.1 A-V:  0.033 ct:  0.011   0/  0 ??% ??% ??,?% 0 0 [J
A:   0.2 V:   0.2 A-V:  0.030 ct:  0.014   0/  0 ??% ??% ??,?% 0 0 [J
A:   0.2 V:   0.2 A-V:  0.026 ct:  0.017   0/  0 ??% ??% ??,?% 0 0 [J
A:   0.3 V:   0.2 A-V:  0.023 ct:  0.019   0/  0 ??% ??% ??,?% 0 0 [J
A:   0.3 V:   0.3 A-V:  0.022 ct:  0.021   0/  0 ??% ??% ??,?% 0 0 [J
A:   0.4 V:   0.3 A-V:  0.019 ct:  0.023   0/  0 ??% ??% ??,?% 0 0 [J
A:   0.4 V:   0.4 A-V:  0.017 ct:  0.025   0/  0 ??% ??% ??,?% 0 0 [J
A:   0.4 V:   0.4 A-V:  0.016 ct:  0.026   0/  0 ??% ??% ??,?% 0 0 [J
A:   0.5 V:   0.5 A-V:  0.015 ct:  0.028   0/  0  9%  5%  0.5% 0 0 [J
A:   0.5 V:   0.5 A-V:  0.013 ct:  0.029   0/  0 10%  4%  0.6% 0 0 [J
A:   0.6 V:   0.5 A-V:  0.011 ct:  0.030   0/  0 10%  4%  0.6% 0 0 [J
A:   0.6 V:   0.6 A-V:  0.011 ct:  0.031   0/  0  9%  4%  0.5% 0 0 [J
A:   0.6 V:   0.6 A-V:  0.010 ct:  0.032   0/  0  9%  4%  0.5% 0 0 [J

[...]

So here is the thing. If I want to use the vlc player it won't play the file properly. It will stutter and the video is very pixelated. See this picture. And this is the output during the "play":

# vlc movie.mkv

VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
[0000000000ae8088] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007fb76cd99a08] dts decoder: DTS channels:6 samplerate:48000 bitrate:768000
[00007fb76cc0b2c8] avcodec decoder: Using NVIDIA VDPAU Driver Shared Library  367.27  Thu Jun  9 18:23:31 PDT 2016 for hardware decoding.
Stream with high frequencies VQ coding
X Error: RenderBadPicture (invalid Picture parameter) 143
  Extension:    139 (RENDER)
  Minor opcode: 7 (RenderFreePicture)
  Resource id:  0xc00019
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 18 (X_ChangeProperty)
  Resource id:  0xc0001a
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 4 (X_DestroyWindow)
  Resource id:  0xc0001a

If I click to other scenes the video often stands still while the audio keeps playing. An *.avi with different codec seems to work.

#mediainfo clip.avi

General
Complete name                            : clip.avi
Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 698 MiB
Duration                                 : 46 min
Overall bit rate                         : 2 106 kb/s
Writing application                      : VirtualDubMod 1.5.10.3 | www.virtualdub-fr.org || (build 2550/release)
Writing library                          : VirtualDubMod build 2550/release

Video
ID                                       : 0
Format                                   : MPEG-4 Visual
Format profile                           : Advanced Simple@L5
Format settings, BVOP                    : 1
Format settings, QPel                    : No
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (MPEG)
Codec ID                                 : XVID
Codec ID/Hint                            : XviD
Duration                                 : 46 min
Bit rate                                 : 1 649 kb/s
Width                                    : 656 pixels
Height                                   : 272 pixels
Display aspect ratio                     : 2.40:1
Frame rate                               : 23.976 (23976/1000) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.385
Stream size                              : 546 MiB (78%)
Writing library                          : XviD 1.3.0.dev55

I'm confused because at least one player is able to play the file, so it can't be a problem with missing libraries, can it?!

I hope someone can tell what I'm doing wrong.

greetings

Offline

Board footer

Powered by FluxBB