[vlc] mp4s video stream works in ffmpeg but not vlc with ffmpeg

Jerry Geis geisj at pagestation.com
Wed Jul 25 14:37:53 CEST 2007


I had gotten ffmpeg to play a linksys camera stream.

I now am trying to use VLC with --sout to make more than one stream 
available.

When I run vlc -vvvvvv http://username:password@CAMIP/img/video.asf 
--sout '#standard{access=http,mux=ogg,dst=myserver:8080}'

it tells me it cannot decode MP4S.

ffmpeg does MP4S (I think) so what is wrong with VLC or what am I 
missing that VLC
is not able to decode the MP4S?????

THanks, jerry
--------------

I installed ffmpeg and nothing else. I am trying to get the minimal 
config for this.

My ffmpeg config was;
./configure --enable-shared --disable-vhook --enable-decoder=g726 
--enable-encoder=g726 --disable-libx264 --enable-pp --disable-libfaac 
--disable-libfaad --enable-gpl --disable-libmp3lame --disable-swscaler 
--extra-cflags="-fPIC"


My vlc config was:
./configure --disable-libmpeg2 --disable-mad --disable-vhook 
--disable-quicktime --disable-alsa --enable-ffmpeg --enable-sout 
--disable-x264 --disable-faac --disable-faad --disable-a52 
--with-ffmpeg-tree=/home/silentm/ffmpeg 
--with-ffmpeg-config-path=/home/silentm/ffmpeg --disable-wxwidgets 
--disable-skins2 --disable-dvdnav --disable-dvdread --disable-smb 
--disable-xvideo --disable-xinerama --disable-opengl --disable-xosd 
--disable-visual --disable-sdl --disable-freetype --disable-fribidi 
--disable-xml2 --disable-fb --disable-visual --disable-daap 
--disable-joystick --disable-gtk --disable-kde --disable-qt 
--disable-ncurses --disable-screen --disable-vorbis --enable-debug

What libraries do I need for MP4S?

[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: loading plugins cache file 
/root/.vlc/cache/plugins-04081e.dat
[00000001] main private debug: recursively browsing `modules'
[00000001] main private debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main private debug: recursively browsing `plugins'
[00000001] main private debug: module bank initialized, found 181 modules
[00000001] main private debug: opening config file /root/.vlc/vlcrc
[00000001] main private warning: config file /root/.vlc/vlcrc does not 
exist yet
[00000001] main private debug: CPU has capabilities 486 586 MMX 3DNow! 
MMXEXT SSE SSE2 FPU
[00000001] main private debug: looking for memcpy module: 4 candidates
[00000001] main private debug: using memcpy module "memcpymmxext"
[00000230] main playlist debug: waiting for thread completion
[00000230] main playlist debug: thread 1082132800 (playlist) created at 
priority 0 (playlist/playlist.c:184)
[00000231] main private debug: waiting for thread completion
[00000231] main private debug: thread 1090525504 (preparser) created at 
priority 0 (playlist/playlist.c:210)
[00000232] main interface debug: looking for interface module: 1 candidate
[00000232] main interface debug: using interface module "hotkeys"
[00000232] main interface debug: thread 1098918208 (interface) created 
at priority 0 (interface/interface.c:231)
[00000234] main interface debug: looking for interface module: 1 candidate
[00000234] main interface debug: using interface module "screensaver"
[00000234] main interface debug: thread 1107310912 (interface) created 
at priority 0 (interface/interface.c:231)
[00000230] main playlist debug: adding playlist item 
`http://192.168.1.115/img/video.asf' ( http://192.168.1.115/img/video.asf )
[00000236] main interface debug: looking for interface module: 1 candidate
Remote control interface initialized. Type `help' for help.
[00000236] main interface debug: using interface module "rc"
[00000236] main interface debug: thread 1115703616 (manager) created at 
priority 0 (interface/interface.c:216)
[00000230] main playlist debug: creating statistics handler
[00000230] main playlist debug: creating new input thread
[00000239] main input debug: waiting for thread completion
[00000240] main stream output debug: stream=`standard'
[00000241] main private debug: looking for sout stream module: 1 candidate
[00000241] main private debug: set sout option: sout-standard-access to http
[00000239] main input debug: thread 1124096320 (input) created at 
priority 0 (input/input.c:265)
[00000241] main private debug: set sout option: sout-standard-mux to ogg
[00000241] main private debug: set sout option: sout-standard-dst to 
192.168.1.59:8080
[00000241] stream_out_standard private debug: creating 
`http/ogg://192.168.1.59:8080'
[00000241] stream_out_standard private debug: extension is 59:8080
[00000241] stream_out_standard private debug: extension -> mux=(null)
[00000241] stream_out_standard private debug: using 
`http/ogg://192.168.1.59:8080'
[00000243] main private debug: looking for sout access module: 1 candidate
[00000243] main private: creating httpd
[00000243] main private debug: net: listening to 192.168.1.59 port 8080
[00000246] main http server debug: thread 1132489024 (httpd host thread) 
created at priority 0 (network/httpd.c:1078)
[00000243] main private debug: using sout access module "access_output_http"
[00000241] stream_out_standard private debug: access opened
[00000247] main private debug: looking for sout mux module: 1 candidate
[00000247] mux_ogg private: Open
[00000247] main private debug: using sout mux module "mux_ogg"
[00000240] main stream output debug: muxer support adding stream at any time
[00000240] main stream output debug: muxer prefers to wait for all ES 
before starting to mux
[00000241] stream_out_standard private debug: mux opened
[00000241] main private debug: using sout stream module 
"stream_out_standard"
[00000239] main input debug: `http://192.168.1.115/img/video.asf' gives 
access `http' demux `' path `192.168.1.115/img/video.asf'
[00000239] main input debug: creating demux: access='http' demux='' 
path='192.168.1.115/img/video.asf'
[00000249] main demuxer debug: looking for access_demux module: 0 candidates
[00000249] main demuxer warning: no access_demux module matched "http"
[00000239] main input debug: creating access 'http' 
path='192.168.1.115/img/video.asf'
[00000250] main access debug: looking for access2 module: 6 candidates
[00000250] access_http access debug: http: server='192.168.1.115' 
port=80 file='/img/video.asf
[00000250] main access debug: net: connecting to 192.168.1.115 port 80
[00000250] main access debug: connection in progress
status change: ( new input: http://192.168.1.115/img/video.asf )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000250] access_http access debug: protocol 'HTTP' answer code 206
[00000250] access_http access debug: Server: thttpd/2.20b 10oct00
[00000250] access_http access debug: Content-Type: application/octet-stream
[00000250] access_http access debug: stream size=4504
[00000250] main access debug: using access2 module "access_http"
[00000252] main private debug: pre-buffering...
[00000252] main private debug: received first data for our buffer
[00000252] main private debug: pre-buffering done 495 bytes in 0s - 3 
kbytes/s
[00000239] main input debug: creating demux: access='http' demux='' 
path='192.168.1.115/img/video.asf'
[00000253] main demuxer debug: looking for demux2 module: 39 candidates
[00000252] asf private debug: found object guid: 
0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:431
[00000252] asf private debug: read "header object" subobj:4, 
reserved1:1, reserved2:2
[00000252] asf private debug: found object guid: 
0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104
[00000252] asf private debug: read "file properties object" 
file_id:0x67452301-0xab89-0xefcd-0x0000000000000000 file_size:4294967295 
creation_date:0 data_packets_count:4294967295 play_duration:4294967295 
send_duration:16777215 preroll:0 flags:1 min_data_packet_size:2000 
max_data_packet_size:2000 max_bitrate:916000
[00000252] asf private debug: found object guid: 
0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:147
[00000252] asf private debug: read "stream Properties object" 
stream_type:0xbc19efc0-0x5b4d-0x11cf-0xa8fd00805f5c442b 
error_correction_type:0x20fb5700-0x5b55-0x11cf-0xa8fd00805f5c442b 
time_offset:0 type_specific_data_length:69 
error_correction_data_length:0 flags:0x1 stream_number:1
[00000252] asf private debug: found object guid: 
0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:104
[00000252] asf private debug: read "stream Properties object" 
stream_type:0xf8699e40-0x5b4d-0x11cf-0xa8fd00805f5c442b 
error_correction_type:0xbfc3cd50-0x618f-0x11cf-0x8bb200aa00b4e220 
time_offset:0 type_specific_data_length:18 
error_correction_data_length:8 flags:0x2 stream_number:2
[00000252] asf private debug: found object guid: 
0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:46
[00000252] asf private debug: read "header extension object" 
reserved1:0xabd3d211-0xa9ba-0x11cf-0x8ee600c00c205365 reserved2:6 
header_extension_size:0
[00000252] asf private debug: found object guid: 
0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c size:-72057594037927937
[00000252] asf private debug: read "data object" 
file_id:0x67452301-0xab89-0xefcd-0x0000000000000000 total data packet:0 
reserved:257
[00000252] asf private debug: + 'Unknown' GUID 
0x0-0x0-0x0-0x0000000000000000 size:0pos:0
[00000252] asf private debug: + 'Header' GUID 
0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:431pos:0
[00000252] asf private debug: | + 'File Properties' GUID 
0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104pos:30
[00000252] asf private debug: | + 'Stream Properties' GUID 
0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:147pos:134
[00000252] asf private debug: | + 'Stream Properties' GUID 
0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:104pos:281
[00000252] asf private debug: | + 'Header Extension' GUID 
0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:46pos:385
[00000252] asf private debug: + 'Data' GUID 
0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c size:18374686479671623679pos:431
[00000253] asf demuxer debug: found 2 streams
[00000250] access_http access warning: unimplemented query in control
[00000239] main input debug: selecting program id=0
[00000253] asf demuxer debug: added new video stream(ID:1)
[00000250] access_http access warning: unimplemented query in control
[00000253] asf demuxer debug: added new audio stream(codec:0x45,ID:2)
[00000253] main demuxer debug: using demux2 module "asf"
[00000255] main packetizer debug: looking for packetizer module: 14 
candidates
[00000255] packetizer_mpeg4video packetizer debug: opening with vol size: 18
[00000255] main packetizer debug: using packetizer module 
"packetizer_mpeg4video"
[00000239] main input debug: stream out mode -> no decoder thread
[00000265] main packetizer debug: looking for packetizer module: 14 
candidates
[00000265] main packetizer debug: using packetizer module "packetizer_copy"
[00000239] main input debug: stream out mode -> no decoder thread
[00000239] main input debug: starting in sync mode
[00000239] main input debug: `http://192.168.1.115/img/video.asf' 
successfully opened
[00000253] asf demuxer warning: cannot peek while getting new packet, EOF ?
[00000239] main input debug: EOF reached
[00000239] main input debug: closing input
[00000252] asf private debug: free asf object 
0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365
[00000252] asf private debug: free asf object 
0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365
[00000252] asf private debug: free asf object 
0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365
[00000252] asf private debug: free asf object 
0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365
[00000252] asf private debug: free asf object 
0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c
[00000252] asf private debug: free asf object 
0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c
[00000255] main packetizer debug: removing module "packetizer_mpeg4video"
[00000255] main packetizer debug: killing decoder fourcc `MP4S', 0 PES 
in FIFO
[00000265] main packetizer debug: removing module "packetizer_copy"
[00000265] main packetizer debug: killing decoder fourcc `g726', 0 PES 
in FIFO
[00000239] main input debug: Program doesn't contain anymore ES
[00000253] main demuxer debug: removing module "asf"
[00000250] main access debug: removing module "access_http"
[00000239] main input debug: destroying sout
[00000241] main private debug: destroying chain... (name=standard)
[00000247] mux_ogg private: Close
[00000247] main private debug: removing module "mux_ogg"
[00000246] main http server debug: thread 1132489024 joined 
(network/httpd.c:1134)
[00000246] main http server debug: HTTP host removed
[00000245] main http server debug: no host left, stopping httpd
[00000243] access_output_http private debug: Close
[00000243] main private debug: removing module "access_output_http"
[00000241] main private debug: removing module "stream_out_standard"
[00000241] main private debug: destroying chain done
status change: ( stop state: 0 )
[00000239] main input debug: thread 1124096320 joined (input/input.c:412)
[00000230] main playlist: nothing to play
signal 2 received, terminating vlc - do it again in case it gets stuck
status change: ( stop state: 0 )
status change: ( quit )
[00000001] main private debug: removing all interfaces
[00000236] main interface debug: thread 1115703616 joined 
(interface/interface.c:258)
[00000236] main interface debug: removing module "rc"
[00000234] main interface debug: thread 1107310912 joined 
(interface/interface.c:258)
[00000234] main interface debug: removing module "screensaver"
[00000232] main interface debug: thread 1098918208 joined 
(interface/interface.c:258)
[00000232] main interface debug: removing module "hotkeys"
[00000001] main private debug: removing playlist handler
[00000231] main private debug: thread 1090525504 joined 
(playlist/playlist.c:247)
[00000230] main playlist debug: thread 1082132800 joined 
(playlist/playlist.c:248)
[00000230] main playlist: stopping playback
[00000230] main playlist debug: deleting playlist item 
`http://192.168.1.115/img/video.asf'
[00000001] main private debug: removing all video outputs
[00000001] main private debug: removing all audio outputs
[00000001] main private debug: TIMER Playlist walk : Total 0.033 ms / 2 
intvls (Avg 0.016 ms)
[00000001] main private debug: removing module "memcpymmxext"
[00000001] main private debug: saving plugins cache file 
/root/.vlc/cache/plugins-04081e.dat
[root at mndemo vlc]#

_______________________________________________
vlc mailing list
vlc at videolan.org
http://mailman.videolan.org/listinfo/vlc


More information about the vlc mailing list