mp4 streaming not working

*nix specific usage questions
talelelalit
New Cone
New Cone
Posts: 6
Joined: 08 Aug 2007 08:21

mp4 streaming not working

Postby talelelalit » 20 Aug 2007 12:07

hi ,

I am using 0.8.6 version on linux, when I am trying to stream mp4 song I am not able to see the video but able to listen the audio output of the same song.
vlc it gives error like :

[00000173] stream_out_transcode private error: cannot find encoder ((null))
[00000173] stream_out_transcode private error: cannot create video chain
[00000211] main packetizer error: cannot create packetizer output (mp4v)

I am using the following command :

vlc Dahlan_64kb.mp4 --sout '#duplicate{dst="transcode{vcodec=mp4,vb=384,width=320,height=240,deinterlace}:std{access=rtp,mux=ts,dst=192.168.25.92:1234}}'

Following is the total log:

VLC media player 0.8.6 Janus
starting VLC root wrapper... using UID 0 (root)
***************************************
* Running VLC as root is discouraged. *
***************************************

It is potentially dangerous, and might not even work properly.
[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: loading plugins cache file //.vlc/cache/plugins-04041e.dat
[00000001] main private debug: recursively browsing `modules'
[00000001] main private debug: recursively browsing `/home/lalit/vlc/KNP-Linux/build/stage/i386/lib/vlc'
[00000001] main private debug: recursively browsing `plugins'
[00000001] main private debug: module bank initialized, found 133 modules
[00000001] main private debug: opening config file //.vlc/vlcrc
[00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE FPU
[00000001] main private debug: looking for memcpy module: 2 candidates
[00000001] main private debug: using memcpy module "memcpymmxext"
[00000162] main playlist debug: waiting for thread completion
[00000162] main playlist debug: thread 1026 (playlist) created at priority 0 (playlist/playlist.c:184)
[00000163] main private debug: waiting for thread completion
[00000163] main private debug: thread 2051 (preparser) created at priority 0 (playlist/playlist.c:210)
[00000164] main interface debug: looking for interface module: 1 candidate
[00000164] main interface debug: using interface module "hotkeys"
[00000164] main interface debug: thread 3076 (interface) created at priority 0 (interface/interface.c:231)
[00000162] main playlist debug: adding playlist item `Dahlan_64kb.mp4' ( Dahlan_64kb.mp4 )
[00000166] main interface debug: looking for interface module: 1 candidate
Remote control interface initialized. Type `help' for help.
[00000166] main interface debug: using interface module "rc"
[00000166] main interface debug: thread 4101 (manager) created at priority 0 (interface/interface.c:216)
[00000162] main playlist debug: creating new input thread
[00000168] main input debug: waiting for thread completion
[00000168] main input debug: thread 5126 (input) created at priority 0 (input/input.c:265)
[00000168] main input debug: creating statistics handler
invalid options (empty)[00000170] main stream output debug: stream=`duplicate'
[00000171] main private debug: looking for sout stream module: 1 candidate
[00000171] stream_out_duplicate private debug: creating 'duplicate'
[00000171] stream_out_duplicate private debug: * adding `transcode{vcodec=mpeg,vb=384,width=320,height=240,deinterlace}:std{access=rtp,mux=ts,dst=192.168.25.92:1234}'
[00000170] main stream output debug: stream=`transcode'
[00000173] main private debug: looking for sout stream module: 1 candidate
[00000170] main stream output debug: stream=`std'
[00000176] main private debug: looking for sout stream module: 1 candidate
[00000176] main private debug: set sout option: sout-standard-access to rtp
[00000176] main private debug: set sout option: sout-standard-mux to ts
[00000176] main private debug: set sout option: sout-standard-dst to 192.168.25.92:1234
[00000176] stream_out_standard private debug: creating `rtp/ts://192.168.25.92:1234'
[00000176] stream_out_standard private debug: extension is 92:1234
[00000176] stream_out_standard private debug: extension -> mux=(null)
[00000176] stream_out_standard private debug: using `rtp/ts://192.168.25.92:1234'
[00000178] main private debug: looking for sout access module: 1 candidate
[00000178] main private debug: net: connecting to 192.168.25.92 port 1234
[00000180] main private debug: thread 6151 (sout write thread) created at priority 0 (udp.c:268)
[00000178] access_output_udp private debug: udp access output opened(192.168.25.92:1234)
[00000178] main private debug: using sout access module "access_output_udp"
[00000176] stream_out_standard private debug: access opened
[00000181] main private debug: looking for sout mux module: 1 candidate
[00000181] mux_ts private debug: shaping=200000 pcr=70000 dts_delay=400000
[00000181] main private debug: using sout mux module "mux_ts"
[00000170] main stream output debug: muxer support adding stream at any time
[00000176] stream_out_standard private debug: mux opened
[00000176] main private debug: using sout stream module "stream_out_standard"
status change: ( new input: Dahlan_64kb.mp4 )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000173] main private debug: set sout option: sout-transcode-vcodec to mpeg
[00000173] main private debug: set sout option: sout-transcode-vb to 384
[00000173] main private debug: set sout option: sout-transcode-width to 320
[00000173] main private debug: set sout option: sout-transcode-height to 240
[00000173] main private debug: set sout option: sout-transcode-deinterlace to (null)
[00000173] stream_out_transcode private debug: codec video=mpeg 320x240 scaling: 1.000000 384kb/s
[00000173] main private debug: using sout stream module "stream_out_transcode"
[00000171] main private debug: using sout stream module "stream_out_duplicate"
[00000168] main input debug: `Dahlan_64kb.mp4' gives access `' demux `' path `Dahlan_64kb.mp4'
[00000168] main input debug: creating demux: access='' demux='' path='Dahlan_64kb.mp4'
[00000182] main demuxer debug: looking for access_demux module: 0 candidates
[00000182] main demuxer warning: no access_demux module matched "any"
[00000168] main input debug: creating access '' path='Dahlan_64kb.mp4'
[00000183] main access debug: looking for access2 module: 3 candidates
[00000183] access_file access debug: opening file `Dahlan_64kb.mp4'
[00000183] main access debug: using access2 module "access_file"
[00000187] main private debug: pre-buffering...
[00000187] main private debug: received first data for our buffer
[00000187] main private debug: pre-buffering done 1408981 bytes in 0s - 76907 kbytes/s
[00000168] main input debug: creating demux: access='' demux='' path='Dahlan_64kb.mp4'
[00000188] main demuxer debug: looking for demux2 module: 25 candidates
[00000188] ffmpeg demuxer debug: detected format: mov,mp4,m4a,3gp,3g2,mj2
Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. Do not report crashes to FFmpeg developers.
[00000168] main input debug: selecting program id=0
[00000188] ffmpeg demuxer debug: adding es: video codec = DIVX
[00000188] ffmpeg demuxer warning: unsupported track type in ffmpeg demux
[00000188] ffmpeg demuxer debug: adding es: video codec = undf
[00000188] ffmpeg demuxer debug: adding es: audio codec = mp4a
[00000188] ffmpeg demuxer warning: unsupported track type in ffmpeg demux
[00000188] ffmpeg demuxer debug: adding es: video codec = undf
[00000188] ffmpeg demuxer warning: unsupported track type in ffmpeg demux
[00000188] ffmpeg demuxer debug: adding es: video codec = undf
[00000188] ffmpeg demuxer warning: unsupported track type in ffmpeg demux
[00000188] ffmpeg demuxer debug: adding es: video codec = undf
[00000188] ffmpeg demuxer debug: AVFormat supported stream
[00000188] ffmpeg demuxer debug: - format = mov,mp4,m4a,3gp,3g2,mj2 (QuickTime/MPEG4/Motion JPEG 2000 format)
[00000188] ffmpeg demuxer debug: - start time = 0
[00000188] ffmpeg demuxer debug: - duration = 303670033
[00000188] main demuxer debug: using demux2 module "ffmpeg"
[00000168] main input debug: looking for a subtitle file in //
[00000211] main packetizer debug: looking for packetizer module: 13 candidates
[00000211] packetizer_mpeg4video packetizer debug: opening with vol size: 31
[00000211] main packetizer debug: using packetizer module "packetizer_mpeg4video"
[00000168] main input debug: stream out mode -> no decoder thread
[00000222] main packetizer debug: looking for packetizer module: 13 candidates
[00000222] main packetizer debug: using packetizer module "packetizer_mpeg4video"
[00000168] main input debug: stream out mode -> no decoder thread
[00000223] main packetizer debug: looking for packetizer module: 13 candidates
[00000223] packetizer_mpeg4audio packetizer debug: running MPEG4 audio packetizer
[00000223] packetizer_mpeg4audio packetizer debug: AAC 48000Hz 1024 samples/frame
[00000223] main packetizer debug: using packetizer module "packetizer_mpeg4audio"
[00000168] main input debug: stream out mode -> no decoder thread
[00000168] main input debug: starting in sync mode
[00000168] main input debug: `Dahlan_64kb.mp4' successfully opened
[00000222] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000222] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000222] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000222] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000222] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000222] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000222] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000170] main stream output debug: adding a new input
[00000171] stream_out_duplicate private debug: duplicated a new stream codec=mp4a (es=2 group=0)
[00000173] stream_out_transcode private debug: not transcoding a stream (fcc=`mp4a')
[00000181] main private debug: adding a new input
[00000181] mux_ts private debug: adding input codec=mp4a pid=68
[00000181] mux_ts private debug: - lang=eng
[00000181] mux_ts private debug: new PCR PID is 68
[00000171] stream_out_duplicate private debug: - added for output 0
[00000211] packetizer_mpeg4video packetizer debug: need a starting pts/dts
[00000170] main stream output debug: adding a new input
[00000171] stream_out_duplicate private debug: duplicated a new stream codec=mp4v (es=0 group=0)
[00000173] stream_out_transcode private debug: creating video transcoding from fcc=`mp4v' to fcc=`mpeg'
[00000227] main decoder debug: looking for decoder module: 14 candidates
[00000227] ffmpeg decoder debug: libavcodec initialized (interface 3352580 )
[00000227] ffmpeg decoder debug: postprocessing disabled
[00000227] ffmpeg decoder debug: using direct rendering
[00000227] ffmpeg decoder debug: ffmpeg codec (MPEG-4 Video) started
[00000227] main decoder debug: using decoder module "ffmpeg"
[00000228] main encoder debug: looking for encoder module: 3 candidates
[00000173] stream_out_transcode private error: cannot find encoder ((null))
[00000227] ffmpeg decoder debug: ffmpeg codec (MPEG-4 Video) stopped
[00000227] main decoder debug: removing module "ffmpeg"
[00000173] stream_out_transcode private error: cannot create video chain
[00000171] stream_out_duplicate private debug: - failed for output 0
[00000211] main packetizer error: cannot create packetizer output (mp4v)

ffmpeg confiduration options are :
--enable-libmp3lame --enable-shared --enable-muxer=mp2t --enable-encoder=mpeg2video --disable-decoder=atrac3 --enable-pp --enable-gpl --enable-demuxer=mpeg2video --enable-muxer=mpeg2video

vlc configuration options are:
--disable-x11 --disable-xvideo --disable-gtk --disable-livedotcom --disable-mad --disable-libmpeg2 --enable-shared --with-libiconv-prefix=<libiconv PATH> --disable-caca --disable-skins --disable-skins2 --disable-kde --disable-qt --disable-nls --disable-x --prefix=<PATH> --disable-screen --disable-screensaver --disable-gui --disable-freetype --disable-gnutls --disable-glx --with-ffmpeg-mp3lame --enable-mp4 --disable-ipv6 --enable-ffmpeg --with-ffmpeg-tree=<ffmpeg PATH> --enable-ts --enable-dvbpsi --enable-realrtsp

Can anybody help me ?

Thanks in Advance
--Lalit

Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 18 guests