Page 1 of 1

2.0.4 Audio Transcoding crash

Posted: 20 Oct 2012 01:01
by pdbpdb
Updated to VLC 2.0.4 today.
Since this version any atempt to transcode the audio from any file (avi, mp3, mp4, mkv) to mp4a or mpga makes VLC crash.

This seems to happen only in 2.0.4 win32 version.
No problem with 2.0.4 x64 version, or any other VLC version than 2.0.4 (tried with 2.0.3, 2.0.2 both working just fine)

here's what I have been using to test it.

:sout=#transcode{vcodec=h264,vb=0,scale=0,acodec=mp4a,ab=128,channels=2,samplerate=44100}:rtp{sdp=rtsp://:8554/} :sout-keep

any clue?
thanks!

Re: 2.0.4 Audio Transcoding crash

Posted: 20 Oct 2012 01:57
by pdbpdb
I have been doing some more research about this problem and found out something interesting:

VLC 2.0.4 nighly build from 14/10 -> Working Fine
VLC 2.0.4 nighly build from 15/10 -> Working Fine
VLC 2.0.4 nighly build from 16/10 -> Working Fine
VLC 2.0.4 nighly build from 17/10 -> Working Fine

VLC 2.0.4 Official Release (the one you download from videolan main page) -> Not Working

Re: 2.0.4 Audio Transcoding crash

Posted: 21 Oct 2012 10:20
by vel_tins
I can confirm this, but I am not sure, which part of the command causes VLC to crash.
2.0.3 works correct with this command-line

Code: Select all

"C:\Program Files (x86)\VideoLAN\VLC2.0.4\vlc.exe" "dshow://" :sout="#transcode{width=480,fps=25,vcodec=h264,vb=500,acodec=mp3,ab=64,samplerate=44100,venc=x264{preset=fast,tune=film}}:std{access=http,mux=ts,dst=0.0.0.0:1234}"

Re: 2.0.4 Audio Transcoding crash

Posted: 22 Oct 2012 01:13
by pdbpdb
I'm pretty sure the problem is the audio codec. Using mp3 or mp4a VLC just crashes. Using vorbis works just fine.

"C:\Program Files (x86)\VideoLAN\VLC2.0.4\vlc.exe" "dshow://" :sout="#transcode{width=480,fps=25,vcodec=h264,vb=500,acodec=mp3,ab=64,samplerate=44100,venc=x264{preset=fast,tune=film}}:std{access=http,mux=ts,dst=0.0.0.0:1234}" -> CRASH

"C:\Program Files (x86)\VideoLAN\VLC2.0.4\vlc.exe" "dshow://" :sout="#transcode{width=480,fps=25,vcodec=h264,vb=500,acodec=mp4a,ab=64,samplerate=44100,venc=x264{preset=fast,tune=film}}:std{access=http,mux=ts,dst=0.0.0.0:1234}" -> CRASH

"C:\Program Files (x86)\VideoLAN\VLC2.0.4\vlc.exe" "dshow://" :sout="#transcode{width=480,fps=25,vcodec=h264,vb=500,acodec=vorbis,ab=64,samplerate=44100,venc=x264{preset=fast,tune=film}}:std{access=http,mux=ts,dst=0.0.0.0:1234}" -> WORKING FINE

Re: 2.0.4 Audio Transcoding crash

Posted: 22 Oct 2012 03:41
by vel_tins
I'm pretty sure the problem is the audio codec. Using mp3 or mp4a VLC just crashes. Using vorbis works just fine
With other words, the streaming/transcoding function is completely dead and unusable.. :evil:

Re: 2.0.4 Audio Transcoding crash

Posted: 22 Oct 2012 12:37
by Jean-Baptiste Kempf
This is probably a libavcodec regression then...

Re: 2.0.4 Audio Transcoding crash

Posted: 22 Oct 2012 13:53
by pdbpdb
Yes, but every nightly build I tested is working. (I tested nightly builds for 2.0.4-win32 Oct 11,12,13,14,15,16,17)

The only one not working is the official release

Re: 2.0.4 Audio Transcoding crash

Posted: 22 Oct 2012 15:54
by Jean-Baptiste Kempf
Because the nightly build are built with older versions than the official

Re: 2.0.4 Audio Transcoding crash

Posted: 23 Oct 2012 05:55
by pdbpdb
I see...
So, no more streaming to android until a new release? That's a shame.

Re: 2.0.4 Audio Transcoding crash

Posted: 24 Oct 2012 21:57
by horizons
I tried the 2.0.5 version found here which is working again.
http://nightlies.videolan.org/build/win ... 1024-0203/

Re: 2.0.4 Audio Transcoding crash

Posted: 25 Oct 2012 14:48
by Jean-Baptiste Kempf
I tried the 2.0.5 version found here which is working again.
http://nightlies.videolan.org/build/win ... 1024-0203/
Please read other messages before commenting....