Bus error
Posted: 24 Jul 2006 15:33
Hi all,
when i run below command it works fine. It generates output.mp4 file.
./vlc -vvv -I dummy --noaudio v4l://:v4l-vdev="/dev/video0" :v4l-chroma="UYVY" :v4l-caching=10 :v4l-fps=7.000000 :v4l-width=176 :v4l-height=144 :v4l-quality=100 :v4l-norm="pal" --sout '#transcode{vcodec=mp4v,vb=168,venc=ffmpeg{keyint=80,hurry-up},deinterlace}:std{access=file,mux=mp4,url=output.mp4}'
But when i run below command to generate output.mpg file
./vlc -vvv -I dummy --noaudio v4l://:v4l-vdev="/dev/video0" :v4l-chroma="UYVY" :v4l-caching=10 :v4l-fps=7.000000 :v4l-width=176 :v4l-height=144 :v4l-quality=100 :v4l-norm="pal" --sout '#transcode{vcodec=mp2v,vb=168,venc=ffmpeg{keyint=80,hurry-up},deinterlace}:std{access=file,mux=ps,url=output.mpg}'
it gives "bus error"...
00241] main private debug: looking for sout mux module: 1 candidate
[00000241] mux_ps private: Open
[00000241] main private debug: using sout mux module "mux_ps"
[00000233] main stream output debug: muxer support adding stream at any time
[00000233] main stream output debug: muxer prefers to wait for all ES before sta
rting to mux
[00000237] stream_out_standard private debug: mux opened
[00000237] main private debug: using sout stream module "stream_out_standard"
[00000234] main private debug: set sout option: sout-transcode-vcodec to mpgv
[00000234] main private debug: set sout option: sout-transcode-vb to 168
[00000234] main private debug: set sout option: sout-transcode-venc to ffmpeg{ke
yint=80,hurry-up}
[00000234] main private debug: set sout option: sout-transcode-deinterlace to (n
ull)
[00000234] stream_out_transcode private warning: bad aspect ratio
[00000234] stream_out_transcode private debug: codec video=mpgv 0x0 scaling: 1.0
00000 168kb/s
[00000234] main private debug: using sout stream module "stream_out_transcode"
[00000231] main input debug: `v4l://:v4l-vdev=/dev/video0' gives access `v4l' de
mux `' path `:v4l-vdev=/dev/video0'
[00000231] main input debug: creating demux: access='v4l' demux='' path=':v4l-vd
ev=/dev/video0'
[00000243] main demuxer debug: looking for access_demux module: 1 candidate
[00000243] v4l demuxer warning: unknown option
[00000243] v4l demuxer debug: opening V4L2 device
[00000243] v4l demuxer debug: V4L2 device DaVinci EVM
[00000243] v4l demuxer debug: QUERY STD
[00000243] v4l demuxer debug: PAL camera detected
[00000243] v4l demuxer debug: start-CROP setting
[00000243] v4l demuxer debug: end-CROP setting done
[00000243] v4l demuxer debug: vout_InitPicture function called
[00000243] v4l demuxer debug: v4l device uses frame size: 50688
[00000243] v4l demuxer debug: v4l device uses chroma: UYVY
[00000243] v4l demuxer debug: v4l grabbing started
[00000243] v4l demuxer debug: added new video es UYVY 176x144
[00000231] main input debug: ###### EsOutAdd fmt codec = UYVY
[00000231] main input debug: selecting program id=0
[00000231] main input debug: ###### EsOutAdd codec = UYVY
[00000231] main input debug: EsOutSelect codec = UYVY
[00000243] main demuxer debug: using access_demux module "v4l"
[00000231] main input debug: #### EsOutControl for loop codec = UYVY
[00000231] main input debug: EsOutSelect codec = UYVY
[00000231] main input debug: #### enter : EsSelect
[00000245] main packetizer debug: $$$$$$$$$$$$$$$$$ Create Decoderc codec = $$$
$$$$$$$$$$$$$$$$$$$$
[00000245] main packetizer debug: looking for packetizer module: 14 candidates
[00000245] main packetizer debug: using packetizer module "rawvideo"
[00000245] main packetizer debug: $$$$$$$$$$$$$$$$$ input decode new codec = UYV
Y $$$$$$$$$$$$$$$$$$$$$$$
[00000231] main input debug: call ^^^^^^^^^^^DecoderThread function^^^^^^^^^^
[00000245] main packetizer debug: thread 1139874656 (decoder) created at priorit
y 0 (input/decoder.c:169)
[00000231] main input debug: starting in asynch mode
[00000231] main input debug: `v4l://:v4l-vdev=/dev/video0' successfully opened
[00000243] v4l demuxer debug: i_video_frame_size = 50688
[00000245] main packetizer debug: call DecderDecoded from Decoder Thread
[00000245] main packetizer debug: ^^^^^^^^^call sout_InputNew ^^^^^^^^^
[00000233] main stream output debug: adding a new input
[00000234] stream_out_transcode private debug: creating video transcoding from f
cc=`UYVY' to fcc=`mpgv'
[00000249] main decoder debug: looking for decoder module: 16 candidates
[00000249] ffmpeg decoder debug: ######### codec = UYVY ##########
[00000249] main decoder debug: using decoder module "rawvideo"
[00000250] main encoder debug: looking for encoder module: 1 candidate
[00000250] ffmpeg encoder debug: libavcodec initialized (interface 3342592 )
[00000250] main encoder debug: set sout option: sout-ffmpeg-keyint to 80
[00000250] main encoder debug: set sout option: sout-ffmpeg-hurry-uAlignment tra
p: vlc (1238) PC=0x001efcb4 Instr=0xe4812004 Address=0x43f5f067 FSR 0x801
p to (null)
[00000250] ffmpeg encoder debug: found encoder MPEG-2 Video
[00000250] main encoder debug: using encoder module "ffmpeg"
[00000250] main encoder debug: removing module "ffmpeg"
[00000234] stream_out_transcode private debug: decoder aspect is 576000:432000
[00000234] stream_out_transcode private debug: source pixel aspect is 1.090909:1
[00000234] stream_out_transcode private debug: scaled pixel aspect is 1.090909:1
[00000234] stream_out_transcode private debug: source 176x144, crop 176x144, des
tination 176x144, padding 176x144
[00000234] stream_out_transcode private debug: encoder aspect is 576000:432000
[00000250] main encoder debug: looking for encoder module: 1 candidate
[00000250] ffmpeg encoder debug: libavcodec already initialized
[00000250] main encoder debug: set sout option: sout-ffmpeg-keyint to 80
[00000250] main encoder debug: set sout option: sout-ffmpeg-hurry-up to (null)
[00000243] v4l demuxer debug: i_video_frame_size = 50688
[00000250] ffmpeg encoder debug: found encoder MPEG-2 Video
[00000250] main encoder debug: using encoder module "ffmpeg"
[00000241] main private debug: adding a new input
[00000241] mux_ps private debug: adding input codec=mpgv
[00000263] main private debug: looking for video filter2 module: 4 candidates
[00000263] main private warning: no video filter2 module matching "deinterlace"
could be loaded
[00000234] stream_out_transcode private debug: no video filter found
[00000268] main private debug: looking for crop padd module: 1 candidate
[00000268] ffmpeg private debug: input: 176x144 UYVY -> 176x144 I420
[00000268] ffmpeg private debug: libavcodec already initialized
[00000268] main private debug: using crop padd module "ffmpeg"
[00000250] ffmpeg encoder debug: hurry up mode 3
[00000250] ffmpeg encoder debug: LIBAVCODEC_BUILD=3342592
Bus error
any body know how to solve this?
Thanx,
sanjay
when i run below command it works fine. It generates output.mp4 file.
./vlc -vvv -I dummy --noaudio v4l://:v4l-vdev="/dev/video0" :v4l-chroma="UYVY" :v4l-caching=10 :v4l-fps=7.000000 :v4l-width=176 :v4l-height=144 :v4l-quality=100 :v4l-norm="pal" --sout '#transcode{vcodec=mp4v,vb=168,venc=ffmpeg{keyint=80,hurry-up},deinterlace}:std{access=file,mux=mp4,url=output.mp4}'
But when i run below command to generate output.mpg file
./vlc -vvv -I dummy --noaudio v4l://:v4l-vdev="/dev/video0" :v4l-chroma="UYVY" :v4l-caching=10 :v4l-fps=7.000000 :v4l-width=176 :v4l-height=144 :v4l-quality=100 :v4l-norm="pal" --sout '#transcode{vcodec=mp2v,vb=168,venc=ffmpeg{keyint=80,hurry-up},deinterlace}:std{access=file,mux=ps,url=output.mpg}'
it gives "bus error"...
00241] main private debug: looking for sout mux module: 1 candidate
[00000241] mux_ps private: Open
[00000241] main private debug: using sout mux module "mux_ps"
[00000233] main stream output debug: muxer support adding stream at any time
[00000233] main stream output debug: muxer prefers to wait for all ES before sta
rting to mux
[00000237] stream_out_standard private debug: mux opened
[00000237] main private debug: using sout stream module "stream_out_standard"
[00000234] main private debug: set sout option: sout-transcode-vcodec to mpgv
[00000234] main private debug: set sout option: sout-transcode-vb to 168
[00000234] main private debug: set sout option: sout-transcode-venc to ffmpeg{ke
yint=80,hurry-up}
[00000234] main private debug: set sout option: sout-transcode-deinterlace to (n
ull)
[00000234] stream_out_transcode private warning: bad aspect ratio
[00000234] stream_out_transcode private debug: codec video=mpgv 0x0 scaling: 1.0
00000 168kb/s
[00000234] main private debug: using sout stream module "stream_out_transcode"
[00000231] main input debug: `v4l://:v4l-vdev=/dev/video0' gives access `v4l' de
mux `' path `:v4l-vdev=/dev/video0'
[00000231] main input debug: creating demux: access='v4l' demux='' path=':v4l-vd
ev=/dev/video0'
[00000243] main demuxer debug: looking for access_demux module: 1 candidate
[00000243] v4l demuxer warning: unknown option
[00000243] v4l demuxer debug: opening V4L2 device
[00000243] v4l demuxer debug: V4L2 device DaVinci EVM
[00000243] v4l demuxer debug: QUERY STD
[00000243] v4l demuxer debug: PAL camera detected
[00000243] v4l demuxer debug: start-CROP setting
[00000243] v4l demuxer debug: end-CROP setting done
[00000243] v4l demuxer debug: vout_InitPicture function called
[00000243] v4l demuxer debug: v4l device uses frame size: 50688
[00000243] v4l demuxer debug: v4l device uses chroma: UYVY
[00000243] v4l demuxer debug: v4l grabbing started
[00000243] v4l demuxer debug: added new video es UYVY 176x144
[00000231] main input debug: ###### EsOutAdd fmt codec = UYVY
[00000231] main input debug: selecting program id=0
[00000231] main input debug: ###### EsOutAdd codec = UYVY
[00000231] main input debug: EsOutSelect codec = UYVY
[00000243] main demuxer debug: using access_demux module "v4l"
[00000231] main input debug: #### EsOutControl for loop codec = UYVY
[00000231] main input debug: EsOutSelect codec = UYVY
[00000231] main input debug: #### enter : EsSelect
[00000245] main packetizer debug: $$$$$$$$$$$$$$$$$ Create Decoderc codec = $$$
$$$$$$$$$$$$$$$$$$$$
[00000245] main packetizer debug: looking for packetizer module: 14 candidates
[00000245] main packetizer debug: using packetizer module "rawvideo"
[00000245] main packetizer debug: $$$$$$$$$$$$$$$$$ input decode new codec = UYV
Y $$$$$$$$$$$$$$$$$$$$$$$
[00000231] main input debug: call ^^^^^^^^^^^DecoderThread function^^^^^^^^^^
[00000245] main packetizer debug: thread 1139874656 (decoder) created at priorit
y 0 (input/decoder.c:169)
[00000231] main input debug: starting in asynch mode
[00000231] main input debug: `v4l://:v4l-vdev=/dev/video0' successfully opened
[00000243] v4l demuxer debug: i_video_frame_size = 50688
[00000245] main packetizer debug: call DecderDecoded from Decoder Thread
[00000245] main packetizer debug: ^^^^^^^^^call sout_InputNew ^^^^^^^^^
[00000233] main stream output debug: adding a new input
[00000234] stream_out_transcode private debug: creating video transcoding from f
cc=`UYVY' to fcc=`mpgv'
[00000249] main decoder debug: looking for decoder module: 16 candidates
[00000249] ffmpeg decoder debug: ######### codec = UYVY ##########
[00000249] main decoder debug: using decoder module "rawvideo"
[00000250] main encoder debug: looking for encoder module: 1 candidate
[00000250] ffmpeg encoder debug: libavcodec initialized (interface 3342592 )
[00000250] main encoder debug: set sout option: sout-ffmpeg-keyint to 80
[00000250] main encoder debug: set sout option: sout-ffmpeg-hurry-uAlignment tra
p: vlc (1238) PC=0x001efcb4 Instr=0xe4812004 Address=0x43f5f067 FSR 0x801
p to (null)
[00000250] ffmpeg encoder debug: found encoder MPEG-2 Video
[00000250] main encoder debug: using encoder module "ffmpeg"
[00000250] main encoder debug: removing module "ffmpeg"
[00000234] stream_out_transcode private debug: decoder aspect is 576000:432000
[00000234] stream_out_transcode private debug: source pixel aspect is 1.090909:1
[00000234] stream_out_transcode private debug: scaled pixel aspect is 1.090909:1
[00000234] stream_out_transcode private debug: source 176x144, crop 176x144, des
tination 176x144, padding 176x144
[00000234] stream_out_transcode private debug: encoder aspect is 576000:432000
[00000250] main encoder debug: looking for encoder module: 1 candidate
[00000250] ffmpeg encoder debug: libavcodec already initialized
[00000250] main encoder debug: set sout option: sout-ffmpeg-keyint to 80
[00000250] main encoder debug: set sout option: sout-ffmpeg-hurry-up to (null)
[00000243] v4l demuxer debug: i_video_frame_size = 50688
[00000250] ffmpeg encoder debug: found encoder MPEG-2 Video
[00000250] main encoder debug: using encoder module "ffmpeg"
[00000241] main private debug: adding a new input
[00000241] mux_ps private debug: adding input codec=mpgv
[00000263] main private debug: looking for video filter2 module: 4 candidates
[00000263] main private warning: no video filter2 module matching "deinterlace"
could be loaded
[00000234] stream_out_transcode private debug: no video filter found
[00000268] main private debug: looking for crop padd module: 1 candidate
[00000268] ffmpeg private debug: input: 176x144 UYVY -> 176x144 I420
[00000268] ffmpeg private debug: libavcodec already initialized
[00000268] main private debug: using crop padd module "ffmpeg"
[00000250] ffmpeg encoder debug: hurry up mode 3
[00000250] ffmpeg encoder debug: LIBAVCODEC_BUILD=3342592
Bus error
any body know how to solve this?
Thanx,
sanjay