Hi!
I can open the mjpeg over the http and play it. It is also possible to transcode and stream the mjpeg file from the disc, but I can't combine both.
Here is the log from the streaming:
banjann@osir124x:/opt/VideoLAN/bin> ./vlc -vvv --http-proxy yyy.29.125.66:81
http://80.240.228.233/liveimgs/camera003_233.jpg :sout='#transcode{vcodec=mp4v,vb=768,scale=1}:duplicate{dst=std{access=http,mux=ts,url=xxx.168.0.220:8080}}' --sout-keep --repeat
VLC media player snapshot-20041002 Janus
[00000001] main vlc debug: opening config file /home/banjann/.vlc/vlcrc
[00000001] main vlc warning: config file /home/banjann/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /home/banjann/.vlc/vlcplugins
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/opt/VideoLAN/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 153 modules
[00000001] main vlc debug: opening config file /home/banjann/.vlc/vlcrc
[00000001] main vlc warning: config file /home/banjann/.vlc/vlcrc does not exist yet
[00000000] main root debug: VLC media player - version snapshot-20041002 Janus - (c) 1996-2004 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure --prefix=/opt/VideoLAN --disable-ogg --disable-vorbis --disable-gtk --enable-faad --with-faad-tree=/home/grineri/installations/VideoLAN/faad2-2.0 --with-dvdcss-tree=/home/grineri/installations/VideoLAN/libdvdcss-1.2.8 --with-dvbpsi-tree=/home/grineri/installations/VideoLAN/libdvbpsi3-0.1.4 --with-mad-tree=/home/grineri/installations/VideoLAN/libmad-0.15.0b --with-a52-tree=/home/grineri/installations/VideoLAN/a52dec-0.7.4 --with-dvdplay=/usr --with-ffmpeg-tree=/home/grineri/installations/VideoLAN/ffmpeg-20040520 --with-ffmpeg-faac --disable-libmpeg2
[00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file /home/banjann/.vlc/vlcrc
[00000001] main vlc warning: config file /home/banjann/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /home/banjann/.vlc/vlcplugins
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/opt/VideoLAN/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 153 modules
[00000001] main vlc debug: opening config file /home/banjann/.vlc/vlcrc
[00000001] main vlc warning: config file /home/banjann/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: CPU has capabilities 486 586 MMX FPU
[00000001] main vlc debug: looking for memcpy module
[00000001] main vlc debug: probing 2 candidates
[00000005] main module debug: using memcpy module "memcpymmx"
[00000190] main playlist debug: creating group Normal with id 1 at position 0
[00000190] main playlist debug: waiting for thread completion
[00000190] main playlist debug: thread 1078750128 (playlist) created at priority 0 (src/playlist/playlist.c:107)
[00000191] main interface debug: looking for interface module
[00000191] main interface debug: probing 1 candidate
[00000096] main module debug: using interface module "hotkeys"
[00000191] main interface debug: interface initialized
[00000191] main interface debug: thread 1080871856 (interface) created at priority 0 (src/interface/interface.c:209)
[00000190] main playlist debug: adding playlist item `
http://80.240.228.233/liveimgs/camera003_233.jpg' (
http://80.240.228.233/liveimgs/camera003_233.jpg )
[00000193] main interface debug: looking for interface module
[00000193] main interface debug: probing 1 candidate
Remote control interface initialized, `h' for help
[00000093] main module debug: using interface module "rc"
[00000193] main interface debug: interface initialized
[00000190] main playlist debug: creating new input thread
[00000195] main input debug: option: :sout=#transcode{vcodec=mp4v,vb=768,scale=1}:duplicate{dst=std{access=http,mux=ts,url=192.168.0.220:8080}}
[00000195] main input debug: set input option: sout to #transcode{vcodec=mp4v,vb=768,scale=1}:duplicate{dst=std{access=http,mux=ts,url=192.168.0.220:8080}}
[00000195] main input debug: waiting for thread completion
[00000195] main input warning: sout-keep true
[00000196] main stream output debug: stream=`transcode'
[00000197] main private debug: looking for sout stream module
[00000197] main private debug: probing 1 candidate
[00000196] main stream output debug: stream=`duplicate'
[00000200] main private debug: looking for sout stream module
[00000200] main private debug: probing 1 candidate
[00000200] stream_out_duplicate private debug: creating 'duplicate'
[00000200] stream_out_duplicate private debug: * adding `std{access=http,mux=ts,url=192.168.0.220:8080}'
[00000196] main stream output debug: stream=`std'
[00000202] main private debug: looking for sout stream module
[00000202] main private debug: probing 1 candidate
[00000202] main private debug: set sout option: sout-standard-access to http
[00000202] main private debug: set sout option: sout-standard-mux to ts
[00000202] main private debug: set sout option: sout-standard-url to 192.168.0.220:8080
[00000202] stream_out_standard private debug: creating `http/ts://192.168.0.220:8080'
[00000202] stream_out_standard private debug: extention is 220:8080
[00000202] stream_out_standard private debug: extention -> mux=(null)
[00000202] stream_out_standard private debug: using `http/ts://192.168.0.220:8080'
[00000204] main private debug: looking for sout access module
[00000204] main private debug: probing 1 candidate
[00000204] main private: creating httpd
[00000207] main private debug: thread 1085184944 (httpd host thread) created at priority 0 (src/misc/httpd.c:1148)
[00000039] main module debug: using sout access module "access_output_http"
[00000202] stream_out_standard private debug: access opened
[00000208] main private debug: looking for sout mux module
[00000195] main input debug: thread 1083005872 (input) created at priority 0 (src/input/input.c:228)
[00000193] main interface debug: thread 1092287408 (manager) created at priority 0 (src/interface/interface.c:194)
[00000208] main private debug: probing 1 candidate
[00000208] mux_ts private debug: Open
[00000208] mux_ts private debug: shaping=200000 pcr=30000 dts_delay=200000
[00000208] mux_ts private debug: invalid csa ck (it must be 16 chars long)
[00000012] main module debug: using sout mux module "mux_ts"
[00000196] main stream output debug: muxer support adding stream at any time
[00000202] stream_out_standard private debug: mux opened
[00000160] main module debug: using sout stream module "stream_out_standard"
[00000164] main module debug: using sout stream module "stream_out_duplicate"
[00000197] main private debug: set sout option: sout-transcode-vcodec to mp4v
[00000197] main private debug: set sout option: sout-transcode-vb to 768
[00000197] main private debug: set sout option: sout-transcode-scale to 1
[00000197] stream_out_transcode private debug: codec video=mp4v 0x0 scaling: 1.000000 768kb/s
[00000167] main module debug: using sout stream module "stream_out_transcode"
[00000195] main input debug: `
http://80.240.228.233/liveimgs/camera003_233.jpg' gives access `http' demux `' path `80.240.228.233/liveimgs/camera003_233.jpg'
[00000195] main input debug: demux2_New: access='http' demux='' path='80.240.228.233/liveimgs/camera003_233.jpg'
[00000209] main demuxer debug: looking for access_demux module
[00000209] main demuxer debug: probing 0 candidates
[00000209] main demuxer warning: no access_demux module matched "http"
[00000195] main input debug: access2_New: access='http' path='80.240.228.233/liveimgs/camera003_233.jpg'
[00000210] main access debug: looking for access2 module
[00000210] main access debug: probing 6 candidates
[00000210] access_http access debug: http: server='80.240.228.233' port=80 file='/liveimgs/camera003_233.jpg
[00000210] access_http access debug: proxy 141.29.125.66:81
[00000210] main access debug: net: connecting to '141.29.125.66:81'
[00000210] main access debug: looking for network module
[00000210] main access debug: probing 2 candidates
[00000210] ipv4 access debug: connection in progress
[00000142] main module debug: using network module "ipv4"
[00000142] main module debug: unlocking module "ipv4"
[00000210] access_http access debug: protocol 'HTTP' answer code 206
[00000210] access_http access debug: Content-Type: image/jpeg
[00000210] access_http access debug: stream size=9775
[00000028] main module debug: using access2 module "access_http"
[00000213] main private debug: pre buffering
[00000213] main private debug: received first data for our buffer
[00000195] main input debug: demux2_New: access='http' demux='' path='80.240.228.233/liveimgs/camera003_233.jpg'
[00000214] main demuxer debug: looking for demux2 module
[00000214] main demuxer debug: probing 26 candidates
[00000214] mp4 demuxer warning: MP4 plugin discarded (not a valid file)
[00000214] avi demuxer warning: avi module discarded (invalid header)
[00000214] asf demuxer warning: ASF plugin discarded (not a valid file)
[00000214] mpgv demuxer warning: ES module discarded (no startcode)
[00000214] main demuxer debug: looking for id3 module
[00000214] main demuxer debug: probing 1 candidate
[00000214] id3 demuxer debug: checking for ID3 tag
[00000118] main module debug: using id3 module "id3"
[00000118] main module debug: unlocking module "id3"
[00000214] mpga demuxer warning: mpga module discarded
[00000214] aac demuxer warning: AAC module discarded
[00000214] ts demuxer warning: TS module discarded (lost sync)
[00000214] pva demuxer warning: PVA module discarded
[00000214] nsv demuxer warning: NSV module discarded
[00000214] aiff demuxer warning: AIFF module discarded
[00000214] playlist demuxer warning: old import module discarded: invalid file
[00000214] playlist demuxer warning: pls import module discarded
[00000214] au demuxer warning: AU module discarded
[00000214] mjpeg demuxer debug: JPEG SOI marker detected
[00000195] main input debug: Selecting program id=0
[00000115] main module debug: using demux2 module "mjpeg"
[00000238] main packetizer debug: looking for packetizer module
[00000238] main packetizer debug: probing 13 candidates
[00000158] main module debug: using packetizer module "packetizer_copy"
[00000195] main input debug: stream out mode -> no decoder thread
[00000195] main input debug: starting in synch mode
[00000195] main input debug: `
http://80.240.228.233/liveimgs/camera003_233.jpg' sucessfully opened
[00000214] mjpeg demuxer debug: JPEG EOI detected at 9775
[00000195] main input debug: control type=1
[00000214] mjpeg demuxer warning: no more data
[00000214] mjpeg demuxer warning: cannot peek data
[00000195] main input debug: EOF reached
[00000195] main input debug: closing input
[00000115] main module debug: unlocking module "mjpeg"
[00000028] main module debug: unlocking module "access_http"
[00000158] main module debug: unlocking module "packetizer_copy"
[00000238] main packetizer debug: killing decoder fourcc `mjpg', 0 PES in FIFO
[00000195] main input warning: keeping sout
[00000195] main input debug: thread 1083005872 joined (src/input/input.c:290)
[00000190] main playlist debug: creating new input thread
[00000260] main input debug: option: :sout=#transcode{vcodec=mp4v,vb=768,scale=1}:duplicate{dst=std{access=http,mux=ts,url=192.168.0.220:8080}}
[00000260] main input debug: set input option: sout to #transcode{vcodec=mp4v,vb=768,scale=1}:duplicate{dst=std{access=http,mux=ts,url=192.168.0.220:8080}}
[00000260] main input debug: waiting for thread completion
[00000260] main input warning: sout-keep true
[00000260] main input warning: sout keep : reusing sout
[00000260] main input warning: sout keep : you probably want to use gather stream_out
[00000260] main input debug: `
http://80.240.228.233/liveimgs/camera003_233.jpg' gives access `http' demux `' path `80.240.228.233/liveimgs/camera003_233.jpg'
[00000260] main input debug: demux2_New: access='http' demux='' path='80.240.228.233/liveimgs/camera003_233.jpg'
[00000260] main input debug: thread 1083005872 (input) created at priority 0 (src/input/input.c:228)
[00000261] main demuxer debug: looking for access_demux module
[00000261] main demuxer debug: probing 0 candidates
[00000261] main demuxer warning: no access_demux module matched "http"
[00000260] main input debug: access2_New: access='http' path='80.240.228.233/liveimgs/camera003_233.jpg'
[00000262] main access debug: looking for access2 module
[00000262] main access debug: probing 6 candidates
[00000262] access_http access debug: http: server='80.240.228.233' port=80 file='/liveimgs/camera003_233.jpg
[00000262] access_http access debug: proxy 141.29.125.66:81
[00000262] main access debug: net: connecting to '141.29.125.66:81'
[00000262] main access debug: looking for network module
[00000262] main access debug: probing 2 candidates
[00000262] ipv4 access debug: connection in progress
[00000142] main module debug: using network module "ipv4"
[00000142] main module debug: unlocking module "ipv4"
[00000262] access_http access debug: protocol 'HTTP' answer code 206
[00000262] access_http access debug: Content-Type: image/jpeg
[00000262] access_http access debug: stream size=9626
[00000028] main module debug: using access2 module "access_http"
[00000263] main private debug: pre buffering
[00000263] main private debug: received first data for our buffer
[00000260] main input debug: demux2_New: access='http' demux='' path='80.240.228.233/liveimgs/camera003_233.jpg'
[00000264] main demuxer debug: looking for demux2 module
[00000264] main demuxer debug: probing 26 candidates
[00000264] mp4 demuxer warning: MP4 plugin discarded (not a valid file)
[00000264] avi demuxer warning: avi module discarded (invalid header)
[00000264] asf demuxer warning: ASF plugin discarded (not a valid file)
[00000264] mpgv demuxer warning: ES module discarded (no startcode)
[00000264] main demuxer debug: looking for id3 module
[00000264] main demuxer debug: probing 1 candidate
[00000264] id3 demuxer debug: checking for ID3 tag
[00000118] main module debug: using id3 module "id3"
[00000118] main module debug: unlocking module "id3"
[00000264] mpga demuxer warning: mpga module discarded
[00000264] aac demuxer warning: AAC module discarded
[00000264] ts demuxer warning: TS module discarded (lost sync)
[00000264] pva demuxer warning: PVA module discarded
[00000264] nsv demuxer warning: NSV module discarded
[00000264] aiff demuxer warning: AIFF module discarded
[00000264] playlist demuxer warning: old import module discarded: invalid file
[00000264] playlist demuxer warning: pls import module discarded
[00000264] au demuxer warning: AU module discarded
[00000264] mjpeg demuxer debug: JPEG SOI marker detected
[00000260] main input debug: Selecting program id=0
[00000115] main module debug: using demux2 module "mjpeg"
[00000265] main packetizer debug: looking for packetizer module
[00000265] main packetizer debug: probing 13 candidates
[00000158] main module debug: using packetizer module "packetizer_copy"
[00000260] main input debug: stream out mode -> no decoder thread
[00000260] main input debug: starting in synch mode
[00000260] main input debug: `
http://80.240.228.233/liveimgs/camera003_233.jpg' sucessfully opened
[00000264] mjpeg demuxer debug: JPEG EOI detected at 9626
here is the output from the vlc client:
banjann@osir124x:/opt/VideoLAN/bin> ./vlc -vvv
http://192.168.0.220:8080
VLC media player snapshot-20041002 Janus
[00000001] main vlc debug: opening config file /home/banjann/.vlc/vlcrc
[00000001] main vlc warning: config file /home/banjann/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /home/banjann/.vlc/vlcplugins
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/opt/VideoLAN/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 153 modules
[00000001] main vlc debug: opening config file /home/banjann/.vlc/vlcrc
[00000001] main vlc warning: config file /home/banjann/.vlc/vlcrc does not exist yet
[00000000] main root debug: VLC media player - version snapshot-20041002 Janus - (c) 1996-2004 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure --prefix=/opt/VideoLAN --disable-ogg --disable-vorbis --disable-gtk --enable-faad --with-faad-tree=/home/grineri/installations/VideoLAN/faad2-2.0 --with-dvdcss-tree=/home/grineri/installations/VideoLAN/libdvdcss-1.2.8 --with-dvbpsi-tree=/home/grineri/installations/VideoLAN/libdvbpsi3-0.1.4 --with-mad-tree=/home/grineri/installations/VideoLAN/libmad-0.15.0b --with-a52-tree=/home/grineri/installations/VideoLAN/a52dec-0.7.4 --with-dvdplay=/usr --with-ffmpeg-tree=/home/grineri/installations/VideoLAN/ffmpeg-20040520 --with-ffmpeg-faac --disable-libmpeg2
[00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file /home/banjann/.vlc/vlcrc
[00000001] main vlc warning: config file /home/banjann/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /home/banjann/.vlc/vlcplugins
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/opt/VideoLAN/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 153 modules
[00000001] main vlc debug: opening config file /home/banjann/.vlc/vlcrc
[00000001] main vlc warning: config file /home/banjann/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: CPU has capabilities 486 586 MMX FPU
[00000001] main vlc debug: looking for memcpy module
[00000001] main vlc debug: probing 2 candidates
[00000005] main module debug: using memcpy module "memcpymmx"
[00000190] main playlist debug: creating group Normal with id 1 at position 0
[00000190] main playlist debug: waiting for thread completion
[00000190] main playlist debug: thread 1078750128 (playlist) created at priority 0 (src/playlist/playlist.c:107)
[00000191] main interface debug: looking for interface module
[00000191] main interface debug: probing 1 candidate
[00000096] main module debug: using interface module "hotkeys"
[00000191] main interface debug: interface initialized
[00000191] main interface debug: thread 1080871856 (interface) created at priority 0 (src/interface/interface.c:209)
[00000190] main playlist debug: adding playlist item `
http://192.168.0.220:8080' (
http://192.168.0.220:8080 )
[00000193] main interface debug: looking for interface module
[00000193] main interface debug: probing 1 candidate
Remote control interface initialized, `h' for help
[00000093] main module debug: using interface module "rc"
[00000193] main interface debug: interface initialized
[00000190] main playlist debug: creating new input thread
[00000195] main input debug: waiting for thread completion
[00000195] main input debug: thread 1083005872 (input) created at priority 0 (src/input/input.c:228)
[00000193] main interface debug: thread 1085107120 (manager) created at priority 0 (src/interface/interface.c:194)
[00000195] main input debug: `
http://192.168.0.220:8080' gives access `http' demux `' path `192.168.0.220:8080'
[00000195] main input debug: demux2_New: access='http' demux='' path='192.168.0.220:8080'
[00000196] main demuxer debug: looking for access_demux module
[00000196] main demuxer debug: probing 0 candidates
[00000196] main demuxer warning: no access_demux module matched "http"
[00000195] main input debug: access2_New: access='http' path='192.168.0.220:8080'
[00000197] main access debug: looking for access2 module
[00000197] main access debug: probing 6 candidates
[00000197] access_http access debug: http: server='192.168.0.220' port=8080 file='(null)
[00000197] main access debug: net: connecting to '192.168.0.220:8080'
[00000197] main access debug: looking for network module
[00000197] main access debug: probing 2 candidates
[00000197] ipv4 access debug: connection in progress
[00000197] ipv4 access warning: cannot connect socket (SO_ERROR)
[00000197] ipv6 access warning: IPv6 error: unknown host 192.168.0.220
[00000197] main access debug: net: connection to '192.168.0.220:8080' failed
[00000197] access_http access error: cannot connect to 192.168.0.220:8080
[00000197] main access debug: net: connecting to '192.168.0.220:8080'
[00000197] main access debug: looking for network module
[00000197] main access debug: probing 2 candidates
[00000197] ipv4 access debug: connection in progress
[00000197] ipv4 access warning: cannot connect socket (SO_ERROR)
[00000197] ipv6 access warning: IPv6 error: unknown host 192.168.0.220
[00000197] main access debug: net: connection to '192.168.0.220:8080' failed
[00000197] access_http access error: cannot connect to 192.168.0.220:8080
[00000197] main access debug: net: connecting to '192.168.0.220:8080'
[00000197] main access debug: looking for network module
[00000197] main access debug: probing 2 candidates
[00000197] ipv4 access debug: connection in progress
[00000197] ipv4 access warning: cannot connect socket (SO_ERROR)
[00000197] ipv6 access warning: IPv6 error: unknown host 192.168.0.220
[00000197] main access debug: net: connection to '192.168.0.220:8080' failed
[00000197] access_mms access error: cannot connect to192.168.0.220:8080
[00000197] vcd access warning: could not open 192.168.0.220:8080
[00000197] access_file access warning: cannot stat() file `192.168.0.220:8080' (No such file or directory)
[00000197] cdda access warning: could not open 192.168.0.220:8080
[00000197] main access warning: no access2 module matching "http" could be loaded
[00000195] main input error: no suitable access module for `
http://192.168.0.220:8080'
[00000195] main input debug: thread 1083005872 joined (src/input/input.c:290)
thx
Peric@
Would you preferd to sent you in the future the logs in the mail?