vlc crash

4 posts / 0 new
Last post
#1 Sat, 2014-04-05 19:21
ch3mik
  • ch3mik's picture
  • Offline
  • Last seen: 3 years 1 week ago
  • Joined: 2014-04-05

Hi I have problem with vlc. I want transcode input video (from file) and send it to multicast addr. I have this config
/etc/conf.d/vlc (mainly taken from http://wiki.alpinelinux.org/wiki/Stream_a_DV-camera_using_vlc):

BITRATE=500
XRES=720
YRES=576
TVIDEO="venc=x264{preset=ultrafast,vbv-maxrate=${BITRATE},vbv-bufsize=256,keyint=250,min-keyint=25},vcodec=h264,vb=${BITRATE},scale=1,width=${XRES},height=${YRES}"
TAUDIO="acodec=mp4a,ab=96,channels=2,samplerate=44100"
TMISC="deinterlace,audio-sync"
TRANSPORT="standard{access=udp,mux=ts,dst=239.2.1.254:1234}"

VLC_OPTS="-I dummy /home/mo.mp4 --repeat --rawdv-hurry-up --sout-keep --sout-transcode-audio-sync \
--file-logging --logfile /var/log/vlc/vlc.log \
--sout #transcode{$TVIDEO,$TAUDIO,$TMISC}:$TRANSPORT"

After starting /etc/init.d/vlc start vlc crash with this message in log:

[74287.214101] vlc[8081]: segfault at 0 ip 0000646f5d741c38 sp 0000646f5c3eb5f8 error 4 in libuClibc-0.9.33.2.so[646f5d705000+75000]
[74287.214114] grsec: From x.x.x.x: Segmentation fault occurred at (nil) in /usr/bin/vlc[vlc:8081] uid/euid:100/100 gid/egid:101/101, parent /bin/busybox[init:1] uid/euid:0/0 gid/egid:0/0
kern.alert kernel: [74287.214190] grsec: From x.x.x.x: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/bin/vlc[vlc:8081] uid/euid:100/100 gid/egid:101/101, parent /bin/busybox[init:1] uid/euid:0/0 gid/egid

I have alpine 2.7.5 x86_64 with minimal configuration, here is /etc/apk/world
alpine-base
openssh
chrony
ncurses
mc
iputils
htop
iperf
tcpdump
nmap
vlc
vlc-daemon

When I am not transcoding file and only send it to multicast, then vlc working without problem.
I try much more transcoding configs (taken from web) and when I transcoding, vlc always crash.
(I tested only transcoding to h264)

Thank you for help

Sun, 2014-04-06 13:59
ch3mik
  • ch3mik's picture
  • Offline
  • Last seen: 3 years 1 week ago
  • Joined: 2014-04-05

It seems that vlc crash only when transcoding to h264. When I try

#transcode{vcodec=mp4v,acodec=mp4a}:standard{access=udp,mux=ts,dst=239.2.1.254:1234}

it works good.

Wed, 2014-04-09 15:38
ch3mik
  • ch3mik's picture
  • Offline
  • Last seen: 3 years 1 week ago
  • Joined: 2014-04-05

please help me. h264 is important for me. I tried last vlc from edge with the same result

Thu, 2014-04-10 22:32
ch3mik
  • ch3mik's picture
  • Offline
  • Last seen: 3 years 1 week ago
  • Joined: 2014-04-05

i try ffmpeg, it crash in libx264 too.
may be the problem with solution is described here?

https://bugs.launchpad.net/ubuntu/+source/x264/+bug/1241772

Log in or register to post comments