[vlc] Re: DIV3 codec in vlc under linux

Marcelo Manzato manzato81 at yahoo.com.br
Sat Feb 18 22:17:07 CET 2006


Hi Bejamin,

> Could you try with a more recent ffmpeg, and give us
> the complete debug output ? (with -vv)

I tried to update my ffmpeg, however, once I cannot
access other snapshots than the actual one (by cvs,
because the ffmpeg repository link is down), and once
the actual version of ffmpeg is leading to vlc compile
errors, as following:

./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x378):
In function `InitPostproc__ffmpeg':
: undefined reference to `pp_get_context'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x58b):
In function `PostprocPict__ffmpeg':
: undefined reference to `pp_postprocess'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x5f8):
In function `ClosePostproc__ffmpeg':
: undefined reference to `pp_free_mode'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x606):
In function `ClosePostproc__ffmpeg':
: undefined reference to `pp_free_context'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x669):
In function `PPQCallback':
: undefined reference to
`pp_get_mode_by_name_and_quality'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o)(.text+0x70c):
In function `PPQCallback':
: undefined reference to
`pp_get_mode_by_name_and_quality'
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1
make[2]: Leaving directory `/usr/local/src/vlc-0.8.4a'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vlc-0.8.4a'
make: *** [all] Error 2




so, here is the debug of the execution of the command
mentioned, using the ffmpeg version 20061126:


[manzato at water ~]$ vlc -vv --rt-priority
rtsp://143.107.231.226/main.sdp --noaudio --sout
"#transcode{vb=500,threads=2,vt=500000,vcodec=DIV3,scale=0.5}:std{access=mmsh,mux=asfh,url=:8080}"
VLC media player 0.8.4a Janus
[00000001] main vlc debug: opening config file
/home/manzato/.vlc/vlcrc
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file
/home/manzato/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing
`modules'
[00000001] main vlc debug: recursively browsing
`/usr/local/lib/vlc'
[00000001] main vlc debug: recursively browsing
`plugins'
[00000001] main vlc debug: module bank initialized,
found 194 modules
[00000001] main vlc debug: opening config file
/home/manzato/.vlc/vlcrc
[00000001] main vlc debug: CPU has capabilities 486
586 MMX MMXEXT SSE SSE2 FPU
[00000001] main vlc debug: looking for memcpy module:
3 candidates
[00000010] main module debug: using memcpy module
"memcpymmxext"
[00000243] main playlist debug: waiting for thread
completion
[00000243] main playlist debug: thread 4140964784
(playlist) created at priority 0
(src/playlist/playlist.c:183)
[00000244] main private debug: waiting for thread
completion
[00000244] main private debug: thread 4130474928
(preparser) created at priority 0
(src/playlist/playlist.c:205)
[00000245] main interface debug: looking for interface
module: 1 candidate
[00000182] main module debug: using interface module
"hotkeys"
[00000245] main interface debug: interface initialized
[00000245] main interface debug: thread 4119964592
(interface) created at priority 0
(src/interface/interface.c:211)
[00000247] main interface debug: looking for interface
module: 4 candidates
[00000122] main module debug: using interface module
"screensaver"
[00000247] main interface debug: interface initialized
[00000247] main interface debug: thread 4109466544
(interface) created at priority 0
(src/interface/interface.c:211)
[00000243] main playlist debug: adding playlist item
`rtsp://143.107.231.226/main.sdp' (
rtsp://143.107.231.226/main.sdp )
[00000249] main interface debug: looking for interface
module: 3 candidates
[00000043] main module debug: using interface module
"wxwidgets"
[00000249] main interface debug: interface initialized
[00000249] main interface debug: thread 4092267440
(manager) created at priority 0
(src/interface/interface.c:196)
[00000249] wxwidgets interface debug: Using last
windows config
'(-1,0,0,1280,1024)(0,49,246,399,166)(2,720,277,410,552)'
[00000249] wxwidgets interface debug: id=0 p=(49,246)
s=(399,166)
[00000249] wxwidgets interface debug: id=2 p=(720,277)
s=(410,552)
[00000243] main playlist debug: nothing requested,
starting
[00000243] main playlist debug: creating new input
thread
[00000252] main input warning: couldn't set thread
priority (src/input/input.c:230): Operation not
permitted
[00000252] main input debug: waiting for thread
completion
[00000253] main stream output debug:
stream=`transcode'
[00000254] main private debug: looking for sout stream
module: 1 candidate
[00000252] main input debug: thread 4080790448 (input)
created at priority 0 (src/input/input.c:230)
[00000253] main stream output debug: stream=`std'
[00000257] main private debug: looking for sout stream
module: 1 candidate
[00000257] main private debug: set sout option:
sout-standard-access to mmsh
[00000257] main private debug: set sout option:
sout-standard-mux to asfh
[00000257] main private debug: set sout option:
sout-standard-url to :8080
[00000257] stream_out_standard private debug: creating
`mmsh/asfh://:8080'
[00000257] stream_out_standard private debug: using
`mmsh/asfh://:8080'
[00000259] main private debug: looking for sout access
module: 1 candidate
[00000259] main private: creating httpd
[00000259] main private debug: net: listening to  port
8080
[00000262] main private debug: thread 4070222768
(httpd host thread) created at priority 0
(src/misc/httpd.c:1189)
[00000239] main module debug: using sout access module
"access_output_http"
[00000257] stream_out_standard private debug: access
opened
[00000263] main private debug: looking for sout mux
module: 1 candidate
[00000263] mux_asf private debug: Asf muxer opened
[00000263] mux_asf private debug: creating asf stream
to be used with mmsh
[00000263] mux_asf private debug: Packet size 4096
[00000263] mux_asf private debug: meta data: title=''
author='' copyright='' comment='' rating=''
[00000174] main module debug: using sout mux module
"mux_asf"
[00000253] main stream output debug: muxer support
adding stream at any time
[00000253] main stream output debug: muxer prefers
waiting for all ES before starting muxing
[00000257] stream_out_standard private debug: mux
opened
[00000116] main module debug: using sout stream module
"stream_out_standard"
[00000254] main private debug: set sout option:
sout-transcode-vb to 500
[00000254] main private debug: set sout option:
sout-transcode-threads to 2
[00000254] main private warning: option vt is unknown
[00000254] main private debug: set sout option:
sout-transcode-vcodec to DIV3
[00000254] main private debug: set sout option:
sout-transcode-scale to 0.5
[00000254] stream_out_transcode private debug: codec
video=DIV3 0x0 scaling: 0.500000 500kb/s
[00000104] main module debug: using sout stream module
"stream_out_transcode"
[00000252] main input debug:
`rtsp://143.107.231.226/main.sdp' gives access `rtsp'
demux `' path `143.107.231.226/main.sdp'
[00000252] main input debug: creating demux:
access='rtsp' demux='' path='143.107.231.226/main.sdp'
[00000265] main demuxer debug: looking for
access_demux module: 1 candidate
Sending request: OPTIONS
rtsp://143.107.231.226/main.sdp RTSP/1.0
CSeq: 1
User-Agent: VLC Media Player (LIVE.COM Streaming Media
v2005.08.08)


Received OPTIONS response: RTSP/1.0 200 OK
Server: DSS/5.5 (Build/489.7; Platform/Linux;
Release/Darwin; )
Cseq: 1
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE,
OPTIONS, ANNOUNCE, RECORD


Sending request: DESCRIBE
rtsp://143.107.231.226/main.sdp RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: VLC Media Player (LIVE.COM Streaming Media
v2005.08.08)


Received DESCRIBE response: RTSP/1.0 200 OK
Server: DSS/5.5 (Build/489.7; Platform/Linux;
Release/Darwin; )
Cseq: 2
Cache-Control: no-cache
Content-length: 303
Date: Sat, 18 Feb 2006 21:24:17 GMT
Expires: Sat, 18 Feb 2006 21:24:17 GMT
Content-Type: application/sdp
x-Accept-Retransmit: our-retransmit
x-Accept-Dynamic-Rate: 1
Content-Base: rtsp://143.107.231.226/main.sdp/


Need to read 303 extra bytes
Read 303 extra bytes: v=0
o=- 1112817353 1 IN IP4 127.0.0.1
s=NONE
c=IN IP4 0.0.0.0
t=0 0
a=tool:vlc 0.8.4a
a=control:*
m=video 0 RTP/AVP 96
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=3;
config=000001b001000001b58913000001000000012000c48d8800f514043c1463000001b24c61766335302e312e30;
a=control:trackID=1

[00000265] livedotcom demuxer debug: sdp=v=0
o=- 1112817353 1 IN IP4 127.0.0.1
s=NONE
c=IN IP4 0.0.0.0
t=0 0
a=tool:vlc 0.8.4a
a=control:*
m=video 0 RTP/AVP 96
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=3;
config=000001b001000001b58913000001000000012000c48d8800f514043c1463000001b24c61766335302e312e30;
a=control:trackID=1


[00000265] livedotcom demuxer debug: RTP subsession
'video/MP4V-ES'
Sending request: SETUP
rtsp://143.107.231.226/main.sdp/trackID=1 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=32814-32815
User-Agent: VLC Media Player (LIVE.COM Streaming Media
v2005.08.08)


Received SETUP response: RTSP/1.0 200 OK
Server: DSS/5.5 (Build/489.7; Platform/Linux;
Release/Darwin; )
Cseq: 3
Cache-Control: no-cache
Session: 1341680448911258917
Date: Sat, 18 Feb 2006 21:24:17 GMT
Expires: Sat, 18 Feb 2006 21:24:17 GMT
Transport:
RTP/AVP;unicast;source=143.107.231.226;client_port=32814-32815;server_port=6970-6971


Sending request: PLAY rtsp://143.107.231.226/main.sdp
RTSP/1.0
CSeq: 4
Session: 1341680448911258917
Range: npt=0.000-
User-Agent: VLC Media Player (LIVE.COM Streaming Media
v2005.08.08)


Received PLAY response: RTSP/1.0 200 OK
Server: DSS/5.5 (Build/489.7; Platform/Linux;
Release/Darwin; )
Cseq: 4
Session: 1341680448911258917
Range: npt=now-
RTP-Info:
url=rtsp://143.107.231.226/main.sdp/trackID=1


[00000252] main input debug: selecting program id=0
[00000013] main module debug: using access_demux
module "livedotcom"
[00000266] main packetizer debug: looking for
packetizer module: 15 candidates
[00000266] packetizer_mpeg4video packetizer debug:
opening with vol size:45
[00000141] main module debug: using packetizer module
"packetizer_mpeg4video"
[00000252] main input debug: stream out mode -> no
decoder thread
[00000252] main input debug: starting in synch mode
[00000252] main input debug:
`rtsp://143.107.231.226/main.sdp' successfully opened
[00000253] main stream output debug: adding a new
input
[00000254] stream_out_transcode private debug:
creating video transcoding from fcc=`mp4v' to
fcc=`DIV3'
[00000285] main decoder debug: looking for decoder
module: 21 candidates
[00000285] ffmpeg decoder debug: libavcodec
initialized (interface 3277056 )
[00000285] ffmpeg decoder debug: postprocessing
disabled
[00000285] ffmpeg decoder debug: ffmpeg codec (MPEG-4
Video) started
[00000014] main module debug: using decoder module
"ffmpeg"
[00000286] main encoder debug: looking for encoder
module: 5 candidates
[00000286] ffmpeg encoder debug: libavcodec already
initialized
[00000286] ffmpeg encoder warning: multi threaded
encoding not supported by codec
 (msmpeg4 at 0x880eee0)
[00000286] ffmpeg encoder error: cannot open encoder
[00000254] stream_out_transcode private error: cannot
find encoder
[00000285] ffmpeg decoder debug: ffmpeg codec (MPEG-4
Video) stopped
[00000014] main module debug: unlocking module
"ffmpeg"
[00000254] stream_out_transcode private error: cannot
create video chain
[00000266] main packetizer error: cannot create
packetizer output (mp4v)





--- Benjamin Pracht <bigben+spam at videolan.org>
escreveu:

> Le samedi 18 février 2006 à 19:19 +0000, Marcelo
> Manzato a écrit :
> 
> > 
> > which gives me an error saying that ffmpeg could
> not
> > find msmpeg4 encoder...
> > 
> > 
> 
> Could you try with a more recent ffmpeg, and give us
> the complete debug output ? (with -vv)
> 
> -- 
> BigBen
> 
> -- 
> This is the vlc mailing-list, see
> http://www.videolan.org/vlc/
> To unsubscribe, please read
> http://www.videolan.org/support/lists.html
> 
> 



		
_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora!
http://br.acesso.yahoo.com

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list