Page 1 of 1

(Full) HD with x264 fails !

Posted: 13 Apr 2009 17:46
by Crazyfaboo
Hi everybody,

I'm here because I have a problem.

I can not watch videos encoded with x264 which have this kind of resolution : 1920x1080...
I lost easyly 80 frames in 20 seconds when the movie has many effects to display.

The movies I tried to play have the following specifications :
- 1 or 2 audio stream(s) in a52, 6 channels, 48Khz, at least 640 Kb/s (but that's not the problem).
- 1 or 2 sutbtitles tracks.
- 1 video stream in x264, 1920x1080 (or 1920x816, etc.), at least 10 000 Kb/s.
Theses streams are in a matroska container (mkv). The (mkv) file's sizes is at least 6 GiB (up to 12 GiB).

I have no problem to watch videos in hd 720p and the Big Buck Bunny video plays perfectly in 1920x1080.

I have a 26' widescreen and my desktop resolution is 1920x1200 so there is no scaling through my nvidia graphic card (well configured).
I have an Intel Pentium D Dual Core 3.20 Ghz with 2048 kB L2 Cache and VLC seems to use only 50% of my 2 CPUs (conky stats).
I have no problem to watch HD TV and my problem is not solved even if I turn the "Skip the loop filter for H.264 decoding" to All in the FFmpeg options.

I tried to play theses movies on linux (ubuntu & gentoo) and windows vista with vlc but there is no difference : still the same problem.

I think it's a real bug of vlc which is not able to support that video resolution. So I hope developpers will solve this problem with the 1.0 version (which is supposed to support HD).

In the mean time, if someone has a solution...

Thanks.

PS : There is another litte bug (which is linked to my gentoo configuration I think but...) : when I open video files containing spaces in their names, VLC shows me an error message. For exemple :
“File reading failed:
VLC could not open the file "~/Videos/Movies/Love%20Actually.avi". ”.
The problem comes from the space character because files without spaces doesn't display this message.
The bug is that the message is displayed by VLC although the movie is played perfectly.

Re: (Full) HD with x264 fails !

Posted: 13 Apr 2009 19:22
by Arite
Try skipping the loop filter:
viewtopic.php?f=2&t=42328

Arite.

Re: (Full) HD with x264 fails !

Posted: 13 Apr 2009 20:36
by Crazyfaboo
Thanks but you should read at least what I wrote.

Re: (Full) HD with x264 fails !

Posted: 13 Apr 2009 20:51
by Arite
Oh right - sorry, missed that part.

ATM libavcodec in FFmpeg only uses a single core. When(/if) FFmpeg-mt is incorporated into the main FFmpeg branch then multithreaded decoding should then be supported in VLC.

A nightly build of 1.0.0-pre1 might give better results:
http://nightlies.videolan.org/

Arite.

Re: (Full) HD with x264 fails !

Posted: 13 Apr 2009 21:11
by Crazyfaboo
Sorry, I forgot that point : I compiled VLC et x264 from the git repository this morning and remade tests. That's why I created this topic.

I have just checked my VLC version and it's indeed : 1.0.0-pre1 Goldneye :mrgreen:

Any ideas ? Or just have to wait developpers solve this problem ?