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.
]]>./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
]]>