You are not logged in.

#1 2013-02-28 08:39:49

bannbann
Member
From: Viljandi, Estonia, Europe
Registered: 2013-02-21
Posts: 2

vlc 2.0.5 and ffmpeg 1.1.3 segfaults if using AAC (MP4A)

vlc segfaults when using aac (mp4a) audio codec on transcode

./asus0.sh: line 10: 20063 Segmentation fault      (core dumped) vlc -Idummy -v 'v4l2:///dev/video0:input=1:standard=2:chroma=I420:width=720:height=576' ':input-slave=alsa://' --v4l2-aspect-ratio=16:9 --sout '#transcode{vcodec=h264{keyint=30},vb=512,fps=25,acodec=mp4a,ab=128,channels=2,fps=25,vt=1024000,deinterlace,canvas-aspect=16:9,aspect=16:9,samplerate=44100,hurry-up,high-priority}:duplicate{dst=std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=:8080},dst=std{access=livehttp{seglen=10,delsegs=true,numsegs=5,index="/home/vlc/streaming/asus0.m3u8",index-url="http://leelo.folk.ee/streaming/asus0-########.ts"},mux=ts{use-key-frames},dst="/home/vlc/streaming/asus0-########.ts"},dst=std{access=http{mime=video/x-mpeg},mux=ts,dst=:8090},dst=rtp{sdp=rtsp://:8880/asus0.sdp},dst=std{access=file,mux=ts,dst="/home/vlc/save/FILE"}}' --ttl 12 --sout-ffmpeg-strict=-2 --rtsp-host=193.40.120.236

dmesg last line

[61652.892234] vlc[20074]: segfault at 7f3bcd96d9a0 ip 00007f3c4d3ca100 sp 00007f3c34f01c38 error 4 in libavcodec.so.54.86.100[7f3c4d33a000+7b8000]

no problems when using mpga (mp3) audio. And problem starts after ffmpeg 1.0.1 -> 1.1.3

Offline

#2 2013-03-01 02:46:49

DrZaius
Member
Registered: 2008-01-02
Posts: 170

Re: vlc 2.0.5 and ffmpeg 1.1.3 segfaults if using AAC (MP4A)

You need to make it easy for others to attempt to duplicate the issue. That means you need to include your actual commands, the complete console outputs, and any required input files. How are we supposed to know what asus0.sh is doing?


Damned dirty ape.

Offline

#3 2013-03-01 07:00:54

bannbann
Member
From: Viljandi, Estonia, Europe
Registered: 2013-02-21
Posts: 2

Re: vlc 2.0.5 and ffmpeg 1.1.3 segfaults if using AAC (MP4A)

asus0 is symlink to vlc

asus0 -Idummy  \
'v4l2:///dev/video0:input=1:standard=2:chroma=I420:width=720:height=576' ':input-slave=alsa://' \
--v4l2-aspect-ratio=16:9 \
--sout \
'#transcode{vcodec=h264{keyint=30},vb=512,fps=25,acodec=mp4a,ab=128,channels=2,fps=25,vt=1024000,deinterlace,canvas-aspect=16:9,aspect=16:9,samplerate=44100,hurry-up,high-priority}:duplicate{dst=std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=:8080},dst=std{access=livehttp{seglen=10,delsegs=true,numsegs=5,index="/home/vlc/streaming/asus0.m3u8",index-url="http://leelo.folk.ee/streaming/asus0-########.ts"},mux=ts{use-key-frames},dst="/home/vlc/streaming/asus0-########.ts"},dst=std{access=http{mime=video/x-mpeg},mux=ts,dst=:8090},dst=rtp{sdp=rtsp://:8880/asus0.sdp},dst=std{access=file,mux=ts,dst="/home/vlc/save/FILE"}}' \
--ttl 12 --sout-ffmpeg-strict=-2 --rtsp-host=193.40.120.236

and big -vvv output from vlc is available http://www2.folk.ee/~jaanus/log.txt
valgrind output http://www2.folk.ee/~jaanus/valgrind.txt
strace -ff output http://www2.folk.ee/~jaanus/strace.txt

vlc, x264 & ffmpeg downgrade helps, but this information may be useful.

This issue is repeatable on different machines. No problem with mp3 audio, crash only occures when using AAC audio codec.

Last edited by bannbann (2013-03-01 10:17:35)

Offline

Board footer

Powered by FluxBB