vlc decoder not liking MP4S

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
jerrygeis
Blank Cone
Blank Cone
Posts: 37
Joined: 17 Jul 2007 22:29

vlc decoder not liking MP4S

Postby jerrygeis » 18 Oct 2007 21:21

Below is the output from my VLC. My command line is:
vlc -vvv http://192.168.1.115/img/video.asf --sout '#standard{access=http,mux=ogg,dst=192.168.1.12:8080}'

I have compiled ffmpeg with:
./configure --enable-shared --enable-decoder=g726 --enable-encoder=g726 --enable-libx264 --enable-pp --enable-libfaac --enable-libfaad --enable-gpl --enable-libmp3lame --extra-cflags="-fPIC" --disable-vhook

How can I get vlc to play this MP4 stream?

I am compiling on centos 4 i386. vlc is 0.8.6c, ffmpeg is a svn checkout from jul 20.

Jerry


----------------------------

[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-04041e.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 185 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 MMXEXT SSE SSE2 FPU
[00000001] main private debug: looking for memcpy module: 3 candidates
[00000001] main private debug: using memcpy module "memcpymmxext"
[00000228] main playlist debug: waiting for thread completion
[00000228] main playlist debug: thread 3084204960 (playlist) created at priority 0 (playlist/playlist.c:184)
[00000229] main private debug: waiting for thread completion
[00000229] main private debug: thread 3073715104 (preparser) created at priority 0 (playlist/playlist.c:210)
[00000230] main interface debug: looking for interface module: 1 candidate
[00000230] main interface debug: using interface module "hotkeys"
[00000230] main interface debug: thread 3063225248 (interface) created at priority 0 (interface/interface.c:231)
[00000232] main interface debug: looking for interface module: 1 candidate
[00000232] main interface debug: using interface module "screensaver"
[00000232] main interface debug: thread 3052735392 (interface) created at priority 0 (interface/interface.c:231)
[00000228] main playlist debug: adding playlist item `http://192.168.1.115/img/video.asf' ( http://192.168.1.115/img/video.asf )
[00000234] main interface debug: looking for interface module: 1 candidate
[00000234] main interface debug: using interface module "rc"
[00000234] main interface debug: thread 3042241440 (manager) created at priority 0 (interface/interface.c:216)
[00000228] main playlist debug: creating new input thread
[00000236] main input debug: waiting for thread completion
[00000236] main input debug: creating statistics handler
[00000238] main stream output debug: stream=`standard'
[00000239] main private debug: looking for sout stream module: 1 candidate
[00000239] main private debug: set sout option: sout-standard-access to http
[00000239] main private debug: set sout option: sout-standard-mux to ogg
[00000239] main private debug: set sout option: sout-standard-dst to 192.168.1.12:8080
[00000239] stream_out_standard private debug: creating `http/ogg://192.168.1.12:8080'
[00000239] stream_out_standard private debug: extension is 12:8080
[00000239] stream_out_standard private debug: extension -> mux=(null)
[00000239] stream_out_standard private debug: using `http/ogg://192.168.1.12:8080'
[00000241] main private debug: looking for sout access module: 1 candidate
[00000241] main private: creating httpd
[00000241] main private debug: net: listening to 192.168.1.12 port 8080
[00000244] main http server debug: thread 3021261728 (httpd host thread) created at priority 0 (network/httpd.c:1078)
[00000241] main private debug: using sout access module "access_output_http"
[00000239] stream_out_standard private debug: access opened
[00000245] main private debug: looking for sout mux module: 1 candidate
[00000245] mux_ogg private: Open
[00000245] main private debug: using sout mux module "mux_ogg"
[00000238] main stream output debug: muxer support adding stream at any time
[00000238] main stream output debug: muxer prefers to wait for all ES before starting to mux
[00000239] stream_out_standard private debug: mux opened
[00000239] main private debug: using sout stream module "stream_out_standard"
[00000236] main input debug: `http://192.168.1.115/img/video.asf' gives access `http' demux `' path `192.168.1.115/img/video.asf'
[00000236] main input debug: creating demux: access='http' demux='' path='192.168.1.115/img/video.asf'
[00000247] main demuxer debug: looking for access_demux module: 0 candidates
[00000247] main demuxer warning: no access_demux module matched "http"
[00000236] main input debug: creating access 'http' path='192.168.1.115/img/video.asf'
[00000248] main access debug: looking for access2 module: 7 candidates
[00000248] access_http access debug: http: server='192.168.1.115' port=80 file='/img/video.asf
[00000248] main access debug: net: connecting to 192.168.1.115 port 80
[00000248] main access debug: connection in progress
[00000236] main input debug: thread 3031751584 (input) created at priority 0 (input/input.c:265)
[00000248] access_http access debug: protocol 'HTTP' answer code 206
[00000248] access_http access debug: Server: thttpd/2.20b 10oct00
[00000248] access_http access debug: Content-Type: application/octet-stream
[00000248] access_http access debug: stream size=4504
[00000248] main access debug: using access2 module "access_http"
[00000250] main private debug: pre-buffering...
[00000250] main private debug: received first data for our buffer
[00000236] main input debug: creating demux: access='http' demux='' path='192.168.1.115/img/video.asf'
[00000251] main demuxer debug: looking for demux2 module: 38 candidates
[00000250] asf private debug: found object guid: 0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:431
[00000250] asf private debug: read "header object" subobj:4, reserved1:1, reserved2:2
[00000250] asf private debug: found object guid: 0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104
[00000250] 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
[00000250] asf private debug: found object guid: 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:147
[00000250] 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
[00000250] asf private debug: found object guid: 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:104
[00000250] 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
[00000250] asf private debug: found object guid: 0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:46
[00000250] asf private debug: read "header extension object" reserved1:0xabd3d211-0xa9ba-0x11cf-0x8ee600c00c205365 reserved2:6 header_extension_size:0
[00000250] asf private debug: found object guid: 0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c size:-72057594037927937
[00000250] asf private debug: read "data object" file_id:0x67452301-0xab89-0xefcd-0x0000000000000000 total data packet:0 reserved:257
[00000250] asf private debug: + 'Unknown' GUID 0x0-0x0-0x0-0x0000000000000000 size:0pos:0
[00000250] asf private debug: + 'Header' GUID 0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:431pos:0
[00000250] asf private debug: | + 'File Properties' GUID 0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104pos:30
[00000250] asf private debug: | + 'Stream Properties' GUID 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:147pos:134
[00000250] asf private debug: | + 'Stream Properties' GUID 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:104pos:281
[00000250] asf private debug: | + 'Header Extension' GUID 0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:46pos:385
[00000250] asf private debug: + 'Data' GUID 0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c size:18374686479671623679pos:431
[00000251] asf demuxer debug: found 2 streams
[00000248] access_http access warning: unimplemented query in control
[00000236] main input debug: selecting program id=0
[00000251] asf demuxer debug: added new video stream(ID:1)
[00000248] access_http access warning: unimplemented query in control
[00000251] asf demuxer debug: added new audio stream(codec:0x45,ID:2)
[00000251] main demuxer debug: using demux2 module "asf"
[00000253] main packetizer debug: looking for packetizer module: 14 candidates
[00000253] packetizer_mpeg4video packetizer debug: opening with vol size: 18
[00000253] main packetizer debug: using packetizer module "packetizer_mpeg4video"
[00000236] main input debug: stream out mode -> no decoder thread
[00000267] main packetizer debug: looking for packetizer module: 14 candidates
[00000267] main packetizer debug: using packetizer module "packetizer_copy"
[00000236] main input debug: stream out mode -> no decoder thread
[00000236] main input debug: starting in sync mode
[00000236] main input debug: `http://192.168.1.115/img/video.asf' successfully opened
[00000251] asf demuxer warning: cannot peek while getting new packet, EOF ?
[00000236] main input debug: EOF reached
[00000236] main input debug: closing input
[00000250] asf private debug: free asf object 0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365
[00000250] asf private debug: free asf object 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365
[00000250] asf private debug: free asf object 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365
[00000250] asf private debug: free asf object 0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365
[00000250] asf private debug: free asf object 0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c
[00000250] asf private debug: free asf object 0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c
[00000253] main packetizer debug: removing module "packetizer_mpeg4video"
[00000253] main packetizer debug: killing decoder fourcc `MP4S', 0 PES in FIFO
[00000267] main packetizer debug: removing module "packetizer_copy"
[00000267] main packetizer debug: killing decoder fourcc `g726', 0 PES in FIFO
[00000236] main input debug: Program doesn't contain anymore ES
[00000251] main demuxer debug: removing module "asf"
[00000248] main access debug: removing module "access_http"
[00000236] main input debug: destroying sout
[00000239] main private debug: destroying chain... (name=standard)
[00000245] mux_ogg private: Close
[00000245] main private debug: removing module "mux_ogg"
[00000244] main http server debug: thread 3021261728 joined (network/httpd.c:1134)
[00000244] main http server debug: HTTP host removed
[00000243] main http server debug: no host left, stopping httpd
[00000241] access_output_http private debug: Close
[00000241] main private debug: removing module "access_output_http"
[00000239] main private debug: removing module "stream_out_standard"
[00000239] main private debug: destroying chain done
[00000236] main input debug: thread 3031751584 joined (input/input.c:412)
[00000228] main playlist: nothing to play
signal 2 received, terminating vlc - do it again in case it gets stuck
[00000001] main private debug: removing all interfaces
[00000234] main interface debug: thread 3042241440 joined (interface/interface.c:258)
[00000234] main interface debug: removing module "rc"
[00000232] main interface debug: thread 3052735392 joined (interface/interface.c:258)
[00000232] main interface debug: removing module "screensaver"
[00000230] main interface debug: thread 3063225248 joined (interface/interface.c:258)
[00000230] main interface debug: removing module "hotkeys"
[00000001] main private debug: removing playlist handler
[00000229] main private debug: thread 3073715104 joined (playlist/playlist.c:247)
[00000228] main playlist debug: thread 3084204960 joined (playlist/playlist.c:248)
[00000228] main playlist: stopping playback
[00000228] 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: removing module "memcpymmxext"
[00000001] main private debug: saving plugins cache file /root/.vlc/cache/plugins-04041e.dat

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: vlc decoder not liking MP4S

Postby funman » 18 Oct 2007 22:14

the problem seems to be here:

Code: Select all

[00000236] main input debug: `http://192.168.1.115/img/video.asf' successfully opened [00000251] asf demuxer warning: cannot peek while getting new packet, EOF ? [00000236] main input debug: EOF reached

jerrygeis
Blank Cone
Blank Cone
Posts: 37
Joined: 17 Jul 2007 22:29

Re: vlc decoder not liking MP4S

Postby jerrygeis » 18 Oct 2007 22:39

I changed my command line to the following:

/usr/bin/vlc -vvv http://192.168.1.115/img/video.asf --sout '#std{access=http,mux=asf,dst=:8080}'

and I now got video. I think the muxer off was the issue.


When viewing this port 8080 with vlc or mplayer the delay of the video is very small.
However, when viewing this video with Windows media player the delay is HUGE.

What might I be able to do so as to provide windows media player with the
correct format so the delay is small.

THanks,

Jerry


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 24 guests