VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

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.
peugeot
Blank Cone
Blank Cone
Posts: 13
Joined: 09 Jan 2008 16:21

VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby peugeot » 18 Sep 2008 05:55

Hi,

I'am using VLC to produce streams. Now i updated from 0.8.6 to 0.9.2 and observed that if i produce MPEG4 stream everything is fine! But if i produce MPEG4 AVC (which is more suitable for mobile use) using parameters below, VLC will crash everytime. This same VLC argument has been wokring earlier correctly with 0.8.6 versions.

Is this known bug? or how to proceed?


MEPG4 AVC
==================================================
#VBitr:192
#ABitr:48
#VCodec:h264,venc=x264{level=1.2,no-cabac,subme=6,qpmin=16,vbv-bufsize=500,vbv-maxrate=192,me=umh,merange=12,threads=auto,partitions=all}
#ACodec:mp4a
#MType:mp4a-latm
#Aspect:4:3
#VWidth:320
#VHeight:240

VLC Arguments: -I dummy rtsp://labpc123/stream1.0 --sout "#transcode{vcodec=h264,venc=x264{level=1.2,no-cabac,subme=6,qpmin=16,vbv-bufsize=500,vbv-maxrate=192,me=umh,merange=12,threads=auto,partitions=all},vb=192,width=320,height=240,aspect=4:3,acodec=mp4a,ab=48,channels=2}:rtp{mp4a-latm,dst=51.13.73.125,port=1234,sdp=file://C:\Program Files\Team MediaPortal\MediaPortal TV Server\Plugins\PiipTv.sdp}"
======================================================================

MPEG4

#VBitr:192
#ABitr:48
#VCodec:mp4v
#ACodec:mp4a
#MType:mp4a-latm
#Aspect:4:3
#VWidth:320
#VHeight:240

VLC Arguments: -I dummy rtsp://labpc123/stream1.0 --sout "#transcode{vcodec=mp4v,vb=192,width=320,height=240,aspect=4:3,acodec=mp4a,ab=48,channels=2}:rtp{mp4a-latm,dst=51.13.73.125,port=1234,sdp=file://C:\Program Files\Team MediaPortal\MediaPortal TV Server\Plugins\PiipTv.sdp}"

=====================================================================================
Last edited by peugeot on 08 Oct 2008 11:34, edited 2 times in total.

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 0.9.2. crashes always if producing MEPG4 AVC streams

Postby Jean-Baptiste Kempf » 18 Sep 2008 06:17

Can you produce a backtrace ?
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.

peugeot
Blank Cone
Blank Cone
Posts: 13
Joined: 09 Jan 2008 16:21

Re: VLC 0.9.2. crashes always if producing MEPG4 AVC streams

Postby peugeot » 18 Sep 2008 07:48

Hi,

how i can get backtrace from windows environment?
Last edited by peugeot on 20 Sep 2008 06:20, edited 1 time in total.

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

Re: VLC 0.9.2. crashes always if producing MEPG4 AVC streams

Postby VLC_help » 18 Sep 2008 14:47

http://wiki.videolan.org/Win32CompileCy ... ebugger.29
backtrace. There should debug builds available on nightlies site, if 0.9.2 doesn't give you symbols.
http://nightlies.videolan.org/

peugeot
Blank Cone
Blank Cone
Posts: 13
Joined: 09 Jan 2008 16:21

Re: VLC 0.9.2. crashes always if producing MEPG4 AVC streams

Postby peugeot » 20 Sep 2008 06:19

hi,

I tried to take backtrace using Dr Mingw, but did not succeed :(
What i did:
-downloaded dr mingw here http://www.maresth.nl/download/index.ph ... h=Drmingw/
-intalled it to windows default debugger
-reproduced VCL crash
-from windows xp crash window i pressed DEBUG, but nothing happends after that. That thought that dr mingw should come to picture in that phase? :shock:

peugeot
Blank Cone
Blank Cone
Posts: 13
Joined: 09 Jan 2008 16:21

Re: VLC 0.9.2. crashes always if producing MEPG4 AVC streams

Postby peugeot » 08 Oct 2008 11:33

This seems to be valid also with 0.9.4 :(

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

Re: VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby VLC_help » 08 Oct 2008 21:15

I can encode with 0.9.4 using

Code: Select all

:sout=#transcode{vcodec=h264,venc=x264{level=1.2,no-cabac,subme=6,qpmin=16,vbv-bufsize=500,vbv-maxrate=192,me=umh,merange=12,threads=auto,partitions=all},vb=800,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=std{access=file,mux=mp4,dst=C:\x264test.mp4}}
without crash.

peugeot
Blank Cone
Blank Cone
Posts: 13
Joined: 09 Jan 2008 16:21

Re: VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby peugeot » 09 Oct 2008 06:50

Someone in IRC was suspecting that PC prosessor could affect this crash, i'am using intel prosessor, what did you use?

Any tips how could i provide backlog from windows environment, i have tried to provide backlog but did not succeed :(

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

Re: VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby VLC_help » 09 Oct 2008 20:42

My Vista box has Intel Pentium E2140 Dual Core Processor.
http://wiki.videolan.org/Win32CompileCy ... ebugger.29
that is the only working method I know.

peugeot
Blank Cone
Blank Cone
Posts: 13
Joined: 09 Jan 2008 16:21

Re: VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby peugeot » 18 Nov 2008 16:49

hi,
I have tried with 0.9.6 windows version and same crash still happens. Someone also suggested to try parameter change threads=auto -> 1, i tried also that but it did not help.

Any other tips?

jvdstoel1
Blank Cone
Blank Cone
Posts: 20
Joined: 17 Nov 2008 22:39

Re: VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby jvdstoel1 » 18 Nov 2008 18:19

at least one: I discovered that placing a space before :duplicate saves at least one crash...

I am about to post more issues about this topic, as the behaviour of 0.9.4 and 0.9.6 is far less than 0.8.6. I really hope this issues will be solved soon.

Johan

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

Re: VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby VLC_help » 19 Nov 2008 15:55

http://trac.videolan.org/vlc/ticket/2298
I posted some info to there.

peugeot
Blank Cone
Blank Cone
Posts: 13
Joined: 09 Jan 2008 16:21

Re: VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby peugeot » 20 Nov 2008 05:28

VLC_help,
you managed to reproduce my original crash and got also backtrace? :-O
my dream has gone true? :) now just need to wait fix...

peugeot
Blank Cone
Blank Cone
Posts: 13
Joined: 09 Jan 2008 16:21

Re: VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby peugeot » 06 Jan 2009 07:24

hello,

I tried 0.8.9a in my usage and crashes are still there :( is anyone paying attention for these x264/ AVC crashes in windows environment?

Second thing what i noticed that once streaming "regular" mpeg4 stream (like i have decribed in my first post) 0.8.9a picture quality is much worster than if i use VLC version 0.8.9f, that i'am litle bit worried about...

Thanks and keep on good work!

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

Re: VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby VLC_help » 06 Jan 2009 16:20

0.8.9a picture quality is much worster than if i use VLC version 0.8.9f
Please tell proper version numbers, otherwise you just cause more confusion. And AFAIK there is no clue why x264 crashes under Win32. We assumed it was pthread issue, but it wasn't.

peugeot
Blank Cone
Blank Cone
Posts: 13
Joined: 09 Jan 2008 16:21

Re: VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby peugeot » 06 Jan 2009 17:03

Sorry there was typo, i mean that 0.9.8a crashes still in AVC usage and in "plain" mpeg4 usage picture quality is worster than in 0.8.9f. So in my piip-tv server usage i'am forced to use still old 0.8.9f version.

If you want more information about piiptv check http://piiptv.japo.fi.

If there is something i can do to help fix this issue, please tell me :)

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

Re: VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby VLC_help » 07 Jan 2009 17:10

AFAIK there isn't any 0.8.9f release. And libavcodec encoder did change during 0.8.6 -> 0.9.x transition, so it might need some additional options to get same quality output.

If you know how to use gdb, you might be able to debug the issue why x264 crashes when it is used.

daWsOn_s
Blank Cone
Blank Cone
Posts: 23
Joined: 24 Jun 2007 17:56

Re: VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby daWsOn_s » 24 Feb 2009 18:00

Yep same problem when i try to stream AVC VLC always crashes

daWsOn_s
Blank Cone
Blank Cone
Posts: 23
Joined: 24 Jun 2007 17:56

Re: VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby daWsOn_s » 24 Feb 2009 19:56

I tried 0.8.5 and AVC/AAC streaming won't crash. That's a bug for sure, how can I report it?

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

Re: VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby VLC_help » 25 Feb 2009 13:45

That's a bug for sure, how can I report it?
x264 encoding should work in 1.0.0 in case you want to test it. So no need to do any reports.

daWsOn_s
Blank Cone
Blank Cone
Posts: 23
Joined: 24 Jun 2007 17:56

Re: VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby daWsOn_s » 25 Feb 2009 15:36

where can I get it for windows 32? I checked nightly builds but it's empty

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

Re: VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby VLC_help » 26 Feb 2009 13:41


peugeot
Blank Cone
Blank Cone
Posts: 13
Joined: 09 Jan 2008 16:21

Re: VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby peugeot » 23 Mar 2009 13:53

hi,

I tried to check that if x264 crashes has been fixed but i faced some other problems.

I installed 1.0.0 win32 version here http://nightlies.videolan.org/build/win ... 0316-2305/

And to be able to do encode i need to open one stream. But 1.0.0 version cannot open that stream :(
I'am getting error message like:
live555 error: Failed to connect with rtsp://labpc123/stream4.0
main error: open of `rtsp://labpc123/stream4.0' failed: (null)

I installed 0.8.6f version back in use and that can open stream correctly, any tips for this?

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

Re: VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby VLC_help » 23 Mar 2009 15:51

My guess is that rtsp/live555 support is somewhat broken.

peugeot
Blank Cone
Blank Cone
Posts: 13
Joined: 09 Jan 2008 16:21

Re: VLC0.9.2/0.9.4 crashes always if producing MEPG4 AVC streams

Postby peugeot » 24 Mar 2009 12:09

Do i need to report this somehow? or is this known problem?

or might it be already fixed for some sw version?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 64 guests