VLC cashed for encoding x264

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
aliamiri
New Cone
New Cone
Posts: 7
Joined: 09 Jan 2009 23:32
Operating System: Windows
Location: Studnet

VLC cashed for encoding x264

Postby aliamiri » 14 Jan 2009 01:48

I have tried VLC to encode some video to x264. But each time VLC cashed in windows environment.
The VLC version is 9.7

CinemaPete
New Cone
New Cone
Posts: 1
Joined: 14 Jan 2009 05:14

Re: VLC cashed for encoding x264

Postby CinemaPete » 14 Jan 2009 05:19

I'm a new user to VLC myself and saw your post. I'm having a similar issue but I'm not sure if I'm doing something incorrectly: I'm trying to convert an AVI that can play in VLC to H.264 but can't seem to accomplish it. Can you tell me the steps you took and I can try it with my AVI file and see if we get the same results, i.e. see if it crashes? Thanks.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC cashed for encoding x264

Postby VLC_help » 14 Jan 2009 18:31

x264 encoding is broken in 0.9.x series. So it will crash VLC.

aliamiri
New Cone
New Cone
Posts: 7
Joined: 09 Jan 2009 23:32
Operating System: Windows
Location: Studnet

Re: VLC cashed for encoding x264

Postby aliamiri » 14 Jan 2009 22:37

Thank you for you reply. Now, at least I know, it is a bug from software, not mine. :(
So, do you have any suggestion to solve it? or do you think it will be solve in coming version?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC cashed for encoding x264

Postby VLC_help » 15 Jan 2009 17:56

AFAIK no one knows where the bug is, so this might be still broken when 1.0.0 gets released. My current suggestion is to use some other program if you need x264 encoding.

wotan
New Cone
New Cone
Posts: 2
Joined: 01 Feb 2009 06:02

Re: VLC cashed for encoding x264

Postby wotan » 01 Feb 2009 06:04

Hello,

Is it the bug: https://trac.videolan.org/vlc/ticket/1756 ? Isn't it possible to use the workaround proposed?

ssbssa
Cone that earned his stripes
Cone that earned his stripes
Posts: 107
Joined: 03 May 2007 22:00
VLC version: 2.0.2
Operating System: Windows

Re: VLC cashed for encoding x264

Postby ssbssa » 02 Feb 2009 10:56

I sent a patch for this problem last week, don't know yet if it's going to be used.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC cashed for encoding x264

Postby Jean-Baptiste Kempf » 02 Feb 2009 19:23

It is going to be used.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

sonix
New Cone
New Cone
Posts: 5
Joined: 04 Dec 2008 11:37

Re: VLC cashed for encoding x264

Postby sonix » 06 Feb 2009 16:53

Using the proposed workaround it's not a real solution to the problem as it limits the usability. You cannot encode in real time a 720p(from a HD input device for instance) using a single thread x264 therefore if you have 4 cores only one will encode with 100% load.

Case scenario:
* Dshow input device 1080i capable >> VLC 1.0 GIT (x264 encoding) >> rtp >> wowza streaming server >> flash clients

This works using VLC 0.8f but will not work on 9.... 1.0 versions. Somewhere along the line between 0.8f version and 0.9.6 something has changed for the worst.
The issue is not that it's not working in the new versions (we just use older/faster versions) but that older VLC version is really difficult to compile in order to add new features (like HDYC chroma support, etc...)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC cashed for encoding x264

Postby Jean-Baptiste Kempf » 06 Feb 2009 18:22

Exactly, so we have to fix x264 encoding multi-threaded for 0.9 and 1.0 since the code is easier to develop on. And ssbssa patch should allow multi-core encoding.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

wotan
New Cone
New Cone
Posts: 2
Joined: 01 Feb 2009 06:02

Re: VLC cashed for encoding x264

Postby wotan » 09 Feb 2009 17:03

I use a similar scheme: D-Link IP-camera >> VLC 0.8.6 (x264 encoding) for Windows 32 >> wowza media server >> flash client. It works good finally apart from the 3 bugs:

* Sometimes VLC stops sending RTP content to Wowza without any other visible sign. I have to monitor the UDP port on the Wowza server. Fortunately the stop occurs only in first 20-30 seconds, if VLC works longer, it works pretty stable.

* Logo works like a flip-flop. Sometimes you have to re-run VLC many times before you see the logo in flash client.

* I am pretty sure VLC 0.8.6 doesn't understand the vb (bitrate) parameter or at least it doesn't work with it correctly.

So I just hoped that 0.9.x (or 1.0.x) fixed some of the problems listed above...

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC cashed for encoding x264

Postby Jean-Baptiste Kempf » 09 Feb 2009 17:29

0.9 is less stable for streaming though.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 38 guests