BUG REPORT from cvs 2003/08/10
Philippe Van Hecke <[email protected]> Sun, 10 Aug 2003 14:19:27 +0200
| Newsgroups | gmane.comp.video.videolan.vls.devel |
|---|---|
| Organization | BELNET |
| Message-ID | <[email protected]> |
Hi vls-dev,
I have get current vls version from cvs today. And after
compile and started vls i obtain this.
root@spoke bin # ./vls -vvv
Reading file /usr/local/etc/videolan/vls/vls.cfg for base configuration
VideoLAN Server v 0.5.5-cvs (Aug 10 2003) - (c)1999-2002 VideoLAN
2003-08-10 14:07:12 [INFO/Vls] Module "channel:file" registered
2003-08-10 14:07:12 [INFO/Vls] Module "channel:network" registered
2003-08-10 14:07:12 [INFO/Vls] Module "mpegreader:file" registered
2003-08-10 14:07:12 [INFO/Vls] Module "mpegconverter:ts2ts" registered
2003-08-10 14:07:12 [INFO/Vls] Module "mpegconverter:ps2ts" registered
2003-08-10 14:07:12 [INFO/Vls] Module "input:local" registered
2003-08-10 14:07:12 [INFO/Vls] Module "input:video" registered
2003-08-10 14:07:12 [INFO/Vls] Module "interface:dummy" registered
2003-08-10 14:07:12 [INFO/Vls] Module "interface:telnet" registered
2003-08-10 14:07:12 [INFO/Vls] Module "interface:native" registered
2003-08-10 14:07:12 [INFO/Vls] Module "trickplay:normal" registered
2003-08-10 14:07:12 [INFO/Vls] Module "input:v4l" registered
2003-08-10 14:07:12 [INFO/Vls] Module "mpegreader:v4l" registered
2003-08-10 14:07:12 [INFO/Vls] Module "mpegconverter:raw2ts" registered
2003-08-10 14:07:12 [INFO/Vls] Browsing modules in directory "."
2003-08-10 14:07:12 [INFO/Vls] Browsing modules in directory
"/usr/local/lib/videolan/vls"
2003-08-10 14:07:12 [DEBUG/Vls] In src/core/module.cpp line 152 -> trying
file "/usr/local/lib/videolan/vls/dvdreader.so"
2003-08-10 14:07:12 [INFO/Vls] Module "mpegreader:dvd" registered
2003-08-10 14:07:12 [DEBUG/Vls] In netchannel.h line 45 -> New instance of
module "channel:network"
2003-08-10 14:07:12 [INFO/Vls] Channel 'multicast1' created
2003-08-10 14:07:12 [DEBUG/Vls] In v4linput.h line 70 -> New instance of
module "input:v4l"
2003-08-10 14:07:12 [INFO/Vls] Starting input 'tuner'
2003-08-10 14:07:12 [DEBUG/Vls] In src/server/input.cpp line 136 ->
Initialising input tuner
2003-08-10 14:07:12 [INFO/Vls] Input 'tuner' sucessfully initialised
2003-08-10 14:07:12 [INFO/Vls] New admin group "master" is ok
2003-08-10 14:07:12 [INFO/Vls] New admin group "monitor" is ok
2003-08-10 14:07:12 [INFO/Vls] New admin user "bozo" is ok
2003-08-10 14:07:12 [INFO/Vls] New admin user "monitor" is ok
2003-08-10 14:07:12 [DEBUG/Vls] In dummyinterface.h line 77 -> New instance
of module "interface:dummy"
2003-08-10 14:07:12 [INFO/Vls] Starting interface 'Dummy'
2003-08-10 14:07:12 [INFO/Vls] Interface 'Dummy' sucessfully initialised
2003-08-10 14:07:12 [INFO/Vls] Executing command1 : 'start video multicast1
tuner'
2003-08-10 14:07:12 [DEBUG/Vls] In src/server/manager.cpp line 516 -> Manager
locked
2003-08-10 14:07:12 [DEBUG/tuner] In src/server/input.cpp line 205 ->
Starting reception of pgrm video
2003-08-10 14:07:12 [DEBUG/Vls] In v4lreader.h line 106 -> New instance of
module "mpegreader:v4l"
2003-08-10 14:07:12 [DEBUG/Vls] In raw2ts.h line 108 -> New instance of
module "mpegconverter:raw2ts"
2003-08-10 14:07:12 [DEBUG/Vls] In normaltrickplay.h line 58 -> New instance
of module "trickplay:normal"
Info : Found V4L device BT878(Hauppauge (bt878))
4 channel(s)
48x32->924x576
Info : Changing to channel 0 (Television)
Info : current frequency is 12020
Info : Found V4L window 720x576
2003-08-10 14:07:13 [INFO/Vls] Info : Palette YUV420P
2003-08-10 14:07:13 [INFO/Vls] Info : Opening sound device /dev/dsp
Info : Image de-interlacement ON
Info : Encoding : 720x576 25 fps at 2000 kb/s in mpeg4
2003-08-10 14:07:13 [DEBUG/Vls] In src/server/manager.cpp line 535 -> Manager
unlocked
2003-08-10 14:07:13 [DEBUG/tuner] In normaltrickplay.cpp line 107 -> Starting
to read program "video"
Segmentation fault
I have compiled vls with the following configure param.
configure --enable-debug --enable-v4l
--with-ffmpeg=/tmp/ffmpeg-cvs-2003-08-10/
You can find i attachement my vls config files.
ffmpeg was compiled using simple configure command.
my hardware is
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 1
model name : Intel(R) Pentium(R) 4 CPU 1.70GHz
stepping : 2
cpu MHz : 1715.374
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 3420.97
my software is
- Gentoo Linux 1.4rc2 with
- gentoo-kernel 2.4.20
- gcc-3.2.3
- glibc-2.3.2
I have also started vls with gdb and obtain this informations.
root@spoke bin # gdb ./vls
GNU gdb 5.2.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) run
Starting program: /usr/local/bin/vls
[New Thread 16384 (LWP 11902)]
Reading file /usr/local/etc/videolan/vls/vls.cfg for base configuration
VideoLAN Server v 0.5.5-cvs (Aug 10 2003) - (c)1999-2002 VideoLAN
[New Thread 32769 (LWP 11903)]
[New Thread 16386 (LWP 11904)]
Info : Found V4L device BT878(Hauppauge (bt878))
4 channel(s)
48x32->924x576
Info : Changing to channel 0 (Television)
Info : current frequency is 12020
Info : Found V4L window 720x576
Info : Image de-interlacement ON
Info : Encoding : 720x576 25 fps at 2000 kb/s in mpeg4
[New Thread 32771 (LWP 11905)]
[New Thread 49156 (LWP 11906)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 11902)]
mpeg4_encode_picture_header (s=0x8379390, picture_number=0) at bswap.h:24
24 {
Current language: auto; currently c
Regards,
Philippe
vls.cfg
(text/x-diff, 7.8 KB)
# vls configuration file (Example)
# Application wide settings
BEGIN "Global"
LogFile = "vls.log" # log file
ScreenLog = "enable" # log to the console
SystemLog = "enable" # log to the systemlog
END
# Security informations :
#
# The section "Groups" describes which group is allowed to use which command.
# Each user who belongs to the 'master" group has all the power on the server.
# Each one who belongs to the "monitor" group is a "read-only" user.
BEGIN "Groups"
# --- Format:
# groupname = "cmd1|cmd2|..."
# --- Example:
monitor = "help|browse|logout"
master = "cd|ls|help|browse|start|broadcast_resume|broadcast_suspend|broadcast_stop|shutdown|logout|config|program|input|channel|show|broadcast_ls|broadcast_add|broadcast_del|channel_add|broadcast_start"
END
# The section "Users" describes each user
# Use "mkpasswd" to generate the encrypted password.
BEGIN "Users"
# --- Format:
# username = "encryptedpassword:group"
# --- Example:
monitor = "3BcKWoiQn0vi6:monitor" # password is 'monitor'
bozo = "JKg2TpPerilnw:master" # password is 'bozo'
END
BEGIN "Interfaces"
# Domain = "Inet6" # Inet4 or Inet6
# Telnet = "telnet" # Port to use for that purpose
END
# Telnet Administration
BEGIN "Telnet"
# Domain = "Inet6" # Inet4 or Inet6
LocalPort = "9999" # Port to use for that purpose
Use = "false"
END
# Streams sources declaration
BEGIN "Inputs"
# --- Format:
# InputName = "Type"
# --- Example:
# local1 = "local" # Local input example
# kfir = "video" # Video input example (mpeg encoder)
# dvb = "dvb" # Video input example (DVB card)
# webcam = "v4l" # Video For Linux example (webcam)
tuner = "v4l" # Video For Linux example (composite)
END
BEGIN "Input"
ProgramCount = "1"
# TrickPlay = "normal"
END
# --- Format:
# BEGIN "program_number"
# Name = "program_name"
# Type = "type" # can be Mpeg1-PS, Mpeg2-PS, Mpeg2-TS, or Dvd
# FileName = "path" # use this variable if Type is not "Dvd"
# Device = "device" # use this variable with type "Dvd"
# END
# --- Example:
#BEGIN "1" # MPEG2 stream stored in /home/videolan/streams/Dolby.vob
# Name = "dolby"
# FileName = "/media/films/Dolby_Canyon.vob"
# Type = "Mpeg2-PS"
#END
#BEGIN "2" # another file
# Name = "canyon"
# FileName = "Dolby_Canyon.vob"
# Type = "Mpeg2-PS"
#END
#
#BEGIN "3" # DVD
# Name = "film"
# Device = "/dev/cdrom"
# Type = "dvd"
# DvdTitle = "1" # Start title
# DvdChapter = "1" # Start chapter
#END
#BEGIN "4" # DVD stored on a hard disk
# Name = "matrix"
# Device = "/mnt/data/matrix/VIDEO_TS"
# Type = "dvd"
# DvdTitle = "1" # Start title
# DvdChapter = "1" # Start chapter
#END
# Video input configuration
BEGIN "kfir"
# --- Example:
# Device = "/dev/video" # Video4linux device (default is /dev/video)
# Type = "Mpeg2-PS" # Stream type (default is "Mpeg2-PS")
END
# Video input (DVB) configuration
BEGIN "dvb"
# --- Example:
# DeviceNumber = "0" # /dev/dvb/adapter<i>
# SendMethod = "0" # 0 - Send All Pids
# 1 - Send only MPEG2 datas
END
# Video For Linux (V4L) configuration
BEGIN "webcam"
# --- Example:
Device = "/dev/video" # Video4linux device (default is /dev/video)
Channel = "0" # Channel Source: Webcam often 0
# For TV Card, may be Tuner(0), Composite(1),
# Svideo(2)
Norm = "0" # PAL=0, NTSC=1, SECAM=2
Size = "" # Size possibilities
# - empty string : default size
# - width x height
# - subQCIF(128x96), QSIF(160x120),
# QCIF(176x144), SIF(320x240),
# CIF(352x288), VGA (640x480)
DeInterlace = "0"
Compression = "mpeg4" # mpeg1 or mpeg4 [experimental]
Bitrate = "500" # Bitrate (approx.) in kbps
Quality = "1.0" # 1.0 (good) to 31.0 (bad)
AudioDevice = "/dev/audio1" # Sound device (try /dev/dsp<X>
AudioCompression = "mp2" # mp2, mp3 or ogg
AudioBitrate = "64" # Audio bitrate in kbps
AudioFreq = "16000" # 16000, 22050, 24000, 32000, 44100, 48000
AudioChannel = "2" # 1=mono, 2=stereo
END
# Video For Linux (V4L) configuration
BEGIN "tuner"
# --- Example:
Device = "/dev/video0" # Video4linux device (default is /dev/video)
Channel = "0" # Channel Source: Webcam often 0
# For TV Card, may be Tuner(0), Composite(1),
# Svideo(2)
# Frequency = "12020" # Frequency (Mhz) * 16
Norm = "0" # PAL=0, NTSC=1, SECAM=2
Size = "720x576" # Size possibilities
# - empty string : default size
# - width x height
# - subQCIF(128x96), QSIF(160x120),
# QCIF(176x144), SIF(320x240),
# CIF(352x288), VGA (640x480)
DeInterlace = "1"
Compression = "mpeg4" # mpeg1 or mpeg4 [experimental]
Bitrate = "2000" # Bitrate (approx.) in kbps
Quality = "1.0" # 1.0 (good) to 31.0 (bad)
AudioDevice = "/dev/dsp" # Sound device (try /dev/dsp<X>
AudioCompression = "mp3" # mp2, mp3 or ogg
AudioBitrate = "128" # Audio bitrate in kbps
AudioFreq = "44100" # 16000, 22050, 24000, 32000, 44100, 48000
AudioChannel = "2" # 1=mono, 2=stereo
END
# Channel (outputs) declaration
BEGIN "Channels"
# --- Format:
# ChannelName = "Type"
# --- Example:
# localhost = "network"
# client1 = "network"
# client2 = "network"
multicast1 = "network"
# multicast2 = "network"
# localfile = "file"
END
# Channels configuration
BEGIN "localhost" # The client is on the same host as the server
DstHost = "127.0.0.1"
DstPort = "1234"
END
#BEGIN "client1" # unicast example
# DstHost = "192.168.1.2" # destination IP address
# DstPort = "1234" # destination port
#END
#BEGIN "client2" # unicast IPv6 example
# Domain = "inet6"
# DstHost = "3ffe:ffff::2:12:42" # destination IPv6 address
# DstPort = "1234" # destination port
#END
BEGIN "multicast1" # multicast example
streamtype = "multicast"
TTL = "64" # Time To Live
DstHost = "239.2.12.43" # multicast address
DstPort = "1234" # destination port
END
#BEGIN "multicast2" # multicast IPv6 example
# Domain = "inet6"
# streamtype = "multicast"
# TTL = "1" # Time To Live
# DstHost = "ff08::2" # multicast IPv6 address
# DstPort = "1234" # destination port
#END
#BEGIN "localfile" # file output example
# FileName = "stream.ts"
# Append = "no" # rewrite the file if it exists
#END
# Commands automatically lanched on Startup
# Commands shall be like they would be typed in a telnet console.
BEGIN "LaunchOnStartUp"
# command1 = "start dolby localhost local1 --loop"
# command2 = "start 28009 client1 dvb"
command1 = "start video multicast1 tuner"
END