MxPEG Codec Support (open source C++ libs provided)

Feature requests for VLC.
Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: MxPEG Codec Support (open source C++ libs provided)

Postby Sébastien Escudier » 19 Jun 2013 22:20

vlc 2.07 how do I run ?
In this case you can force the mjpeg demuxer with :
--demux=mjpeg

tekkfreakz
New Cone
New Cone
Posts: 4
Joined: 18 Jun 2013 19:24

Re: MxPEG Codec Support (open source C++ libs provided)

Postby tekkfreakz » 22 Jun 2013 11:36

vlc 2.07 how do I run ?
In this case you can force the mjpeg demuxer with :
--demux=mjpeg

how can ?

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: MxPEG Codec Support (open source C++ libs provided)

Postby Sébastien Escudier » 22 Jun 2013 13:50

from command line, add --demux=mjpeg
Or from the Interface go to Media -> open network stream -> show more option and add :demux=mjpeg in the edit option field

tekkfreakz
New Cone
New Cone
Posts: 4
Joined: 18 Jun 2013 19:24

Re: MxPEG Codec Support (open source C++ libs provided)

Postby tekkfreakz » 22 Jun 2013 22:12

from command line, add --demux=mjpeg
Or from the Interface go to Media -> open network stream -> show more option and add :demux=mjpeg in the edit option field
Thanks Sébastien Escudier :wink:

bosa60
New Cone
New Cone
Posts: 6
Joined: 28 Jun 2013 19:49

Re: MxPEG Codec Support (open source C++ libs provided)

Postby bosa60 » 28 Jun 2013 19:59

files are correctly detected but live input is not auto-detected by ffmpeg, so you must add this option in vlc :
ffmpeg-format=mxg

tekkfreakz
New Cone
New Cone
Posts: 4
Joined: 18 Jun 2013 19:24

Re: MxPEG Codec Support (open source C++ libs provided)

Postby tekkfreakz » 16 Sep 2013 15:43

Site=http://drelstation.mine.nu:8585/

Media Url :http://drelstation.mine.nu:8585/realqt.mov

Apple - QuickTime Format VLC how do I run ?

rafaware
Blank Cone
Blank Cone
Posts: 16
Joined: 12 Sep 2012 14:19

Re: MxPEG Codec Support (open source C++ libs provided)

Postby rafaware » 23 Oct 2013 15:52

I'm testing all the options with VLC 2.1.0 (Linux, Windows, Console, Gui, ...) and there is no way to reproduce a MxPEG streaming from a Mobotix Camera.

When I open the stream, nothing happens in VLC Media Player.

Is it still valid ":ffmpeg-format=mxg" option?

Thanks in advance

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: MxPEG Codec Support (open source C++ libs provided)

Postby Sébastien Escudier » 24 Oct 2013 18:59

what are the logs ?

rafaware
Blank Cone
Blank Cone
Posts: 16
Joined: 12 Sep 2012 14:19

Re: MxPEG Codec Support (open source C++ libs provided)

Postby rafaware » 28 Oct 2013 17:35

what are the logs ?
My fault.

Code: Select all

main debug: adding item `http://192.168.0.78:80/control/faststream.jpg?stream=MxPEG' ( http://192.168.0.78:80/control/faststream.jpg?stream=MxPEG ) main debug: processing request item: http://192.168.0.78:80/control/faststream.jpg?stream=MxPEG, node: null, skip: 0 main debug: rebuilding array of current - root Lista de reproducción main debug: rebuild done - 1 items, index 0 main debug: starting playback of the new playlist item main debug: resyncing on http://192.168.0.78:80/control/faststream.jpg?stream=MxPEG main debug: http://192.168.0.78:80/control/faststream.jpg?stream=MxPEG is at 0 main debug: creating new input thread main debug: Creating an input for 'http://192.168.0.78:80/control/faststream.jpg?stream=MxPEG' main debug: no fetch required for (null) (art currently (null)) qt4 debug: Adding a new MRL to recent ones: http://192.168.0.78:80/control/faststream.jpg?stream=MxPEG main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\RAFALO~1\AppData\Local\Temp' main debug: `http://192.168.0.78:80/control/faststream.jpg?stream=MxPEG' gives access `http' demux `' path `192.168.0.78:80/control/faststream.jpg?stream=MxPEG' main debug: creating demux: access='http' demux='' location='192.168.0.78:80/control/faststream.jpg?stream=MxPEG' file='\\192.168.0.78:80\control\faststream.jpg?stream=MxPEG' main debug: looking for access_demux module matching "http": 12 candidates main debug: no access_demux modules matched main debug: creating access 'http' location='192.168.0.78:80/control/faststream.jpg?stream=MxPEG', path='\\192.168.0.78:80\control\faststream.jpg?stream=MxPEG' main debug: looking for access module matching "http": 20 candidates access_http debug: querying proxy for http://192.168.0.78:80/control/faststream.jpg?stream=MxPEG access_http debug: no proxy access_http debug: http: server='192.168.0.78' port=80 file='/control/faststream.jpg?stream=MxPEG' main debug: net: connecting to 192.168.0.78 port 80 main debug: connection succeeded (socket = 1360) qt4 debug: IM: Setting an input access_http debug: protocol 'HTTP' answer code 200 access_http debug: Content-Type: multipart/x-mixed-replace; boundary="MOBOTIX_Fast_Serverpush" main debug: using access module "access_http" main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: received first data after 0 ms main debug: pre-buffering done 1102 bytes in 0s - 1076171 KiB/s main debug: looking for stream_filter module matching "any": 6 candidates main debug: no stream_filter modules matched main debug: looking for stream_filter module matching "stream_filter_record": 6 candidates main debug: no stream_filter modules matched main debug: creating demux: access='http' demux='' location='192.168.0.78:80/control/faststream.jpg?stream=MxPEG' file='\\192.168.0.78:80\control\faststream.jpg?stream=MxPEG' main debug: looking for demux module matching "any": 63 candidates image debug: Detected image: Mxpeg mod debug: MOD validation failed (ext=jpg?stream=MxPEG) ts debug: TS module discarded (lost sync) avcodec debug: trying url: \\192.168.0.78:80\control\faststream.jpg?stream=MxPEG avcodec debug: couldn't guess format lua debug: Trying Lua scripts in C:\Users\rafa\AppData\Roaming\vlc\lua\playlist lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\playlist lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\anevia_streams.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\anevia_xml.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\appletrailers.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\bbc_co_uk.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\break.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\canalplus.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\cue.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\dailymotion.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\extreme.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\france2.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\googlevideo.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\jamendo.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\joox.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\katsomo.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\koreus.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\lelombrik.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\liveleak.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\metacafe.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\metachannels.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\mpora.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\pinkbike.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\pluzz.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\rockbox_fm_presets.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\soundcloud.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\vimeo.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\youtube.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\youtube_homepage.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\zapiks.luac ps warning: this does not look like an MPEG PS stream, continuing anyway main debug: using demux module "ps" main debug: looking for meta reader module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\rafa\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac main debug: no meta reader modules matched main debug: `http://192.168.0.78:80/control/faststream.jpg?stream=MxPEG' successfully opened ps warning: garbage at input, trying to resync... ps warning: found sync code ps debug: es id=0xff format unknown ps warning: garbage at input, trying to resync... ps warning: found sync code ps warning: garbage at input, trying to resync... ps warning: found sync code ps warning: garbage at input, trying to resync... ps warning: found sync code ps debug: es id=0xfc format unknown ps warning: garbage at input, trying to resync... ps warning: found sync code ps warning: garbage at input, trying to resync... ps warning: found sync code ps warning: garbage at input, trying to resync... ps warning: found sync code ps warning: garbage at input, trying to resync... ps warning: found sync code ps debug: es id=0xf0 format unknown ps warning: garbage at input, trying to resync... ps warning: found sync code ps warning: garbage at input, trying to resync... ps warning: found sync code ps warning: garbage at input, trying to resync... ps warning: found sync code ps warning: garbage at input, trying to resync... main debug: incoming request - stopping current input main debug: socket 1360 polling interrupted main debug: object waitpipe triggered main debug: finished input main debug: removing module "ps" main debug: removing module "access_http" main debug: incoming request - stopping current input main debug: dead input qt4 debug: IM: Deleting the input
Thanks in advance

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: MxPEG Codec Support (open source C++ libs provided)

Postby Sébastien Escudier » 04 Nov 2013 19:20

Since vlc 2.1 ffmpeg-format became avformat-format.
I am updating the wiki, thanks for the report

rafaware
Blank Cone
Blank Cone
Posts: 16
Joined: 12 Sep 2012 14:19

Re: MxPEG Codec Support (open source C++ libs provided)

Postby rafaware » 06 Nov 2013 11:37

Very grateful

Does the VLC web plugin supports this functionality?

I'm trying:

Code: Select all

var g_Url = "http://ip/control/faststream.jpg?stream=MxPEG&fps=0"; var g_PlayerOptions = "--avformat-format=mxg" var vlc = getVLC(); var vlcid = vlc.playlist.add(g_Url, "", g_PlayerOptions); vlc.playlist.play();
and it doesn't work. If I try with another RTSP stream or MJPEG stream from another camera it works properly

Where can I look at the pluggin's log?

Best Regards

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: MxPEG Codec Support (open source C++ libs provided)

Postby Sébastien Escudier » 06 Nov 2013 12:15

Don't know about the web plugin sorry.

rafaware
Blank Cone
Blank Cone
Posts: 16
Joined: 12 Sep 2012 14:19

Re: MxPEG Codec Support (open source C++ libs provided)

Postby rafaware » 11 Nov 2013 10:51

Where can I find help?

Thanks in advance

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: MxPEG Codec Support (open source C++ libs provided)

Postby Sébastien Escudier » 11 Nov 2013 13:28

create another post to ask for the logs in webplugins

dan_99503
New Cone
New Cone
Posts: 1
Joined: 20 Dec 2013 10:50

Re: MxPEG Codec Support (open source C++ libs provided)

Postby dan_99503 » 09 Jan 2014 11:13

I can view MxPEG video with VLC but am unable to convert/save or stream.

I am running vlc with:
vlc.exe --avformat-format=mxg (and/or) --demux=mxpeg

Please note it wouldn't let me post with too many of anything that looked close to a URL. So "web:/" = "http://" in the log.

This is the input URL (sample):
http://admin:meinsm@192.168.1.3:80/cont ... ream=MxPEG

I can view the camera with this setting but if I try to convert/save or stream it will either not do anything or crash VLC. The output is always 1K and unreadable (if it makes one).

The only option other than the defaults was to set an output file, I took all the other defaults (h.264,MP3).

Has anyone has success with converting/saving or streaming video and audio from the Mobotix cameras?


Here is a the log output from two runs that create a 1KB file and don't display or record anything.

Thanks for any input or suggestions.

- Dan


Please note I changed the pass and IP address in the log and the URL so it would post:
To help you, we need messages, to completely understand what your problems is.
To fix this, please be sure before you start the playback to:
  1. Open: Tools -> Messages.
  2. Set Verbosity to 2
  3. Start playback to reproduce your issue
  4. Save text in a file or copy into clipboard
  5. Then paste the full resulting log here between [​code]and[​/code] (or use Pastebin.com if it's too long)
Also don't forget to name your Operating System and provide the VLC media player version.
qt4 debug: MRL passed to the Sout: web:/admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG
qt4 debug: Transcode MRL: sout=#transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=display,dst=std{access=file{no-overwrite},mux=mp4,dst='C:\Users\Danman\Desktop\test.mp4'}}
qt4 debug: Adding option: network-caching=1000
qt4 debug: Adding option: sout=#transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=display,dst=std{access=file{no-overwrite},mux=mp4,dst='C:\Users\Danman\Desktop\test.mp4'}}
main debug: adding item `Streaming' ( web:/admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG )
qt4 debug: Adding a new MRL to recent ones: web:/admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG
main debug: processing request item: Streaming, node: null, skip: 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 6 items, index 5
main debug: starting playback of the new playlist item
main debug: resyncing on Streaming
main debug: Streaming is at 5
main debug: creating new input thread
main debug: Creating an input for 'Streaming'
main debug: meta ok for (null), need to fetch art
main debug: destroying unusable sout
main debug: destroying chain... (name=transcode)
main debug: removing module "stream_out_transcode"
main debug: destroying chain done
main debug: looking for meta fetcher module matching "any": 1 candidates
main debug: destroying chain... (name=duplicate)
main debug: removing module "stream_out_duplicate"
stream_out_duplicate debug: closing a duplication
main debug: destroying chain... (name=file)
main debug: removing module "stream_out_standard"
main debug: removing module "mux_mp4"
mux_mp4 debug: Close
mux_mp4 debug: movie duration 0s
mux_mp4 debug: created 0 chunks (stco)
main debug: removing module "access_output_file"
lua debug: Trying Lua scripts in C:\Users\Danman\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac
access_output_file debug: file access output closed
main debug: destroying chain done
main debug: destroying chain... (name=display)
main debug: removing module "stream_out_display"
main debug: destroying chain done
main debug: destroying chain done
main debug: using sout chain=`transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=display,dst=std{access=file{no-overwrite},mux=mp4,dst='C:\Users\Danman\Desktop\test.mp4'}}'
main debug: stream=`duplicate'
main debug: looking for sout stream module matching "duplicate": 21 candidates
stream_out_duplicate debug: creating 'duplicate'
stream_out_duplicate debug: * adding `display'
main debug: stream=`display'
main debug: looking for sout stream module matching "display": 21 candidates
main debug: using sout stream module "stream_out_display"
stream_out_duplicate debug: * adding `std{access=file{no-overwrite},mux=mp4,dst='C:\Users\Danman\Desktop\test.mp4'}'
main debug: stream=`std'
main debug: looking for sout stream module matching "std": 21 candidates
main debug: set config option: sout-standard-access to file{no-overwrite}
main debug: set config option: sout-standard-mux to mp4
main debug: set config option: sout-standard-dst to C:\Users\Danman\Desktop\test.mp4
main debug: using meta fetcher module "lua"
main debug: removing module "lua"
main debug: looking for sout access module matching "file": 8 candidates
main debug: searching art for Streaming
main debug: set config option: sout-file-overwrite to (null)
main debug: looking for art finder module matching "any": 2 candidates
access_output_file error: cannot create C:\Users\Danman\Desktop\test.mp4: File exists
lua debug: Trying Lua scripts in C:\Users\Danman\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
main debug: no art finder modules matched
main debug: art not found for Streaming
qt4 debug: IM: Setting an input
access_output_file debug: file access output opened (C:\Users\Danman\Desktop\test.mp4)
main debug: using sout access module "access_output_file"
main debug: looking for sout mux module matching "mp4": 10 candidates
mux_mp4 debug: Mp4 muxer opened
main debug: using sout mux module "mux_mp4"
stream_out_standard debug: using `file{no-overwrite}/mp4://C:\Users\Danman\Desktop\test.mp4'
main debug: using sout stream module "stream_out_standard"
main debug: using sout stream module "stream_out_duplicate"
main debug: stream=`transcode'
main debug: looking for sout stream module matching "transcode": 21 candidates
main debug: set config option: sout-transcode-vcodec to h264
main debug: set config option: sout-transcode-acodec to mpga
main debug: set config option: sout-transcode-ab to 128
main debug: set config option: sout-transcode-channels to 2
main debug: set config option: sout-transcode-samplerate to 44100
stream_out_transcode debug: codec audio=mpga 44100Hz 2 channels 128Kb/s
stream_out_transcode debug: codec video=h264 0x0 scaling: 0.000000 0kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Danman\AppData\Local\Temp'
main debug: `web:/admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG' gives access `hxxp' demux `' path `admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG'
main debug: enforced demux ` mjpeg'
main debug: creating demux: access='hxxp' demux='mjpeg' location='admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG' file='\\admin:chuggs@55.55.55.55:80\control\faststream.jpg?stream=MxPEG'
main debug: looking for access_demux module matching "hxxp": 12 candidates
main debug: no access_demux modules matched
main debug: creating access 'hxxp' location='admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG', path='\\admin:chuggs@55.55.55.55:80\control\faststream.jpg?stream=MxPEG'
main debug: looking for access module matching "hxxp": 20 candidates
access_hxxp debug: querying proxy for web:/admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG
access_hxxp debug: no proxy
access_hxxp debug: hxxp: server='55.55.55.55' port=80 file='/control/faststream.jpg?stream=MxPEG'
access_hxxp debug: user='admin'
main debug: net: connecting to 55.55.55.55 port 80
main debug: connection succeeded (socket = 1668)
access_hxxp debug: protocol 'hxxp' answer code 200
access_hxxp debug: Content-Type: multipart/x-mixed-replace; boundary="MOBOTIX_Fast_Serverpush"
main debug: using access module "access_hxxp"
main debug: Using stream method for AStream*
main debug: starting pre-buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s
main debug: looking for stream_filter module matching "any": 6 candidates
main debug: no stream_filter modules matched
main debug: looking for stream_filter module matching "record": 6 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='hxxp' demux='mjpeg' location='admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG' file='\\admin:chuggs@55.55.55.55:80\control\faststream.jpg?stream=MxPEG'
main debug: looking for demux module matching "mjpeg": 63 candidates
mjpeg debug: discard MIME header: Content-length: 135229
main debug: selecting program id=0
main debug: using demux module "mjpeg"
main debug: looking for packetizer module matching "any": 21 candidates
main debug: using packetizer module "packetizer_copy"
main debug: starting in async mode
main debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Danman\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac
main debug: no meta reader modules matched
main debug: `web:/admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG' successfully opened
mjpeg debug: MIME boundary not found in 15360 bytes of data
mjpeg debug: MIME boundary not found in 20480 bytes of data
mjpeg debug: MIME boundary not found in 25600 bytes of data
mjpeg debug: MIME boundary not found in 30720 bytes of data
mjpeg debug: MIME boundary not found in 35840 bytes of data
mjpeg debug: MIME boundary not found in 40960 bytes of data
mjpeg debug: MIME boundary not found in 46080 bytes of data
mjpeg debug: MIME boundary not found in 51200 bytes of data
mjpeg debug: MIME boundary not found in 56320 bytes of data
mjpeg debug: MIME boundary not found in 61440 bytes of data
mjpeg debug: MIME boundary not found in 66560 bytes of data
mjpeg debug: MIME boundary not found in 71680 bytes of data
mjpeg debug: MIME boundary not found in 76800 bytes of data
mjpeg debug: MIME boundary not found in 81920 bytes of data
mjpeg debug: MIME boundary not found in 87040 bytes of data
mjpeg debug: MIME boundary not found in 92160 bytes of data
mjpeg debug: MIME boundary not found in 97280 bytes of data
mjpeg debug: MIME boundary not found in 102400 bytes of data
mjpeg debug: MIME boundary not found in 107520 bytes of data
mjpeg debug: MIME boundary not found in 112640 bytes of data
mjpeg debug: MIME boundary not found in 117760 bytes of data
mjpeg debug: MIME boundary not found in 122880 bytes of data
mjpeg debug: MIME boundary not found in 128000 bytes of data
mjpeg debug: MIME boundary not found in 133120 bytes of data
main debug: Buffering 0%
main debug: switching to sync mode
main debug: Stream buffering done (2089 ms in 2089 ms)
main debug: Decoder buffering done in 0 ms
main debug: adding a new sout input (sout_input:02614368)
stream_out_transcode debug: creating video transcoding from fcc=`MJPG' to fcc=`h264'
main debug: looking for decoder module matching "any": 39 candidates
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec debug: avcodec codec (Motion JPEG Video) started
main debug: using decoder module "avcodec"
main debug: looking for encoder module matching "any": 17 candidates
x264 debug: version x264 0.135.X
x264 info: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x264 info: profile High, level 1.0
main debug: using encoder module "x264"
main debug: removing module "x264"
x264 debug: framecount still in libx264 buffer: 0
avcodec debug: using direct rendering
stream_out_transcode debug: decoder aspect is 1.333333:1
stream_out_transcode debug: source pixel aspect is 1.000000:1
stream_out_transcode debug: scaled pixel aspect is 1.000000:1
stream_out_transcode debug: source 640x480, destination 640x480
stream_out_transcode debug: encoder aspect is 640:480
main debug: looking for video filter2 module matching "any": 55 candidates
swscale debug: 640x480 chroma: J420 -> 640x480 chroma: I420 with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: Filter 'Swscale' (18739fac) appended to chain
stream_out_transcode debug: destination (after video filters) 640x480
main debug: looking for encoder module matching "any": 17 candidates
x264 debug: version x264 0.135.X
x264 info: using SAR=1/1
x264 info: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x264 info: profile High, level 3.0
main debug: using encoder module "x264"
stream_out_duplicate debug: duplicated a new stream codec=h264 (es=0 group=0)
main debug: looking for decoder module matching "any": 39 candidates
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started
avcodec debug: using frame thread mode with 4 threads
main debug: using decoder module "avcodec"
stream_out_duplicate debug: - added for output 0
main debug: adding a new input
mux_mp4 debug: adding input
stream_out_duplicate debug: - added for output 1
mjpeg debug: MIME boundary not found in 138240 bytes of data
mjpeg debug: MIME boundary not found in 143360 bytes of data
mjpeg debug: MIME boundary not found in 148480 bytes of data
mjpeg debug: MIME boundary not found in 153600 bytes of data
mjpeg debug: MIME boundary not found in 158720 bytes of data
mjpeg debug: MIME boundary not found in 163840 bytes of data
main debug: incoming request - stopping current input
main debug: object waitpipe triggered
main debug: control: stopping input
main debug: incoming request - stopping current input
main debug: finished input
main debug: removing module "packetizer_copy"
main debug: killing decoder fourcc `MJPG', 0 PES in FIFO
main debug: removing a sout input (sout_input:02614368)
main debug: removing module "avcodec"
avcodec debug: ffmpeg codec (Motion JPEG Video) stopped
main debug: removing module "x264"
x264 debug: framecount still in libx264 buffer: 7
main debug: Filter 18739fac removed from chain
main debug: removing module "swscale"
main debug: removing module "avcodec"
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
main debug: killing decoder fourcc `h264', 0 PES in FIFO
mux_mp4 debug: removing input
main warning: no more input streams for this mux
main debug: removing module "mjpeg"
main debug: removing module "record"
main debug: removing module "access_hxxp"
main debug: Program doesn't contain anymore ES
main debug: incoming request - stopping current input
main debug: dead input
main debug: destroying useless sout
main debug: destroying chain... (name=transcode)
main debug: removing module "stream_out_transcode"
main debug: destroying chain done
main debug: destroying chain... (name=duplicate)
main debug: removing module "stream_out_duplicate"
stream_out_duplicate debug: closing a duplication
main debug: destroying chain... (name=display)
main debug: removing module "stream_out_display"
main debug: destroying chain done
main debug: destroying chain... (name=std)
main debug: removing module "stream_out_standard"
main debug: removing module "mux_mp4"
mux_mp4 debug: Close
mux_mp4 debug: movie duration 0s
mux_mp4 debug: created 0 chunks (stco)
main debug: removing module "access_output_file"
access_output_file debug: file access output closed
main debug: destroying chain done
main debug: destroying chain done
qt4 debug: IM: Deleting the input
qt4 debug: MRL passed to the Sout: web:/admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG
qt4 debug: Transcode MRL: sout=#transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=display,dst=std{access=file{no-overwrite},mux=mp4,dst='C:\Users\Danman\Desktop\test.mp4'}}
qt4 debug: Adding option: network-caching=10000
qt4 debug: Adding option: sout=#transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=display,dst=std{access=file{no-overwrite},mux=mp4,dst='C:\Users\Danman\Desktop\test.mp4'}}
main debug: adding item `Streaming' ( web:/admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG )
qt4 debug: Adding a new MRL to recent ones: web:/admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG
main debug: meta ok for (null), need to fetch art
main debug: processing request item: Streaming, node: null, skip: 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 7 items, index 6
main debug: starting playback of the new playlist item
main debug: resyncing on Streaming
main debug: Streaming is at 6
main debug: creating new input thread
main debug: Creating an input for 'Streaming'
main debug: looking for meta fetcher module matching "any": 1 candidates
main debug: using sout chain=`transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=display,dst=std{access=file{no-overwrite},mux=mp4,dst='C:\Users\Danman\Desktop\test.mp4'}}'
main debug: stream=`duplicate'
main debug: looking for sout stream module matching "duplicate": 21 candidates
stream_out_duplicate debug: creating 'duplicate'
stream_out_duplicate debug: * adding `display'
main debug: stream=`display'
main debug: looking for sout stream module matching "display": 21 candidates
lua debug: Trying Lua scripts in C:\Users\Danman\AppData\Roaming\vlc\lua\meta\fetcher
main debug: using sout stream module "stream_out_display"
stream_out_duplicate debug: * adding `std{access=file{no-overwrite},mux=mp4,dst='C:\Users\Danman\Desktop\test.mp4'}'
main debug: stream=`std'
main debug: looking for sout stream module matching "std": 21 candidates
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher
main debug: set config option: sout-standard-access to file{no-overwrite}
main debug: set config option: sout-standard-mux to mp4
main debug: set config option: sout-standard-dst to C:\Users\Danman\Desktop\test.mp4
main debug: looking for sout access module matching "file": 8 candidates
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac
main debug: set config option: sout-file-overwrite to (null)
access_output_file debug: file access output opened (C:\Users\Danman\Desktop\test.mp4)
main debug: using sout access module "access_output_file"
main debug: looking for sout mux module matching "mp4": 10 candidates
mux_mp4 debug: Mp4 muxer opened
main debug: using sout mux module "mux_mp4"
stream_out_standard debug: using `file{no-overwrite}/mp4://C:\Users\Danman\Desktop\test.mp4'
main debug: using sout stream module "stream_out_standard"
main debug: using sout stream module "stream_out_duplicate"
main debug: stream=`transcode'
main debug: looking for sout stream module matching "transcode": 21 candidates
main debug: set config option: sout-transcode-vcodec to h264
main debug: set config option: sout-transcode-acodec to mpga
main debug: set config option: sout-transcode-ab to 128
main debug: set config option: sout-transcode-channels to 2
main debug: set config option: sout-transcode-samplerate to 44100
stream_out_transcode debug: codec audio=mpga 44100Hz 2 channels 128Kb/s
stream_out_transcode debug: codec video=h264 0x0 scaling: 0.000000 0kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Danman\AppData\Local\Temp'
main debug: `web:/admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG' gives access `hxxp' demux `' path `admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG'
main debug: enforced demux ` mjpeg'
main debug: creating demux: access='hxxp' demux='mjpeg' location='admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG' file='\\admin:chuggs@55.55.55.55:80\control\faststream.jpg?stream=MxPEG'
main debug: looking for access_demux module matching "hxxp": 12 candidates
main debug: no access_demux modules matched
main debug: creating access 'hxxp' location='admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG', path='\\admin:chuggs@55.55.55.55:80\control\faststream.jpg?stream=MxPEG'
main debug: looking for access module matching "hxxp": 20 candidates
access_hxxp debug: querying proxy for web:/admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG
access_hxxp debug: no proxy
access_hxxp debug: hxxp: server='55.55.55.55' port=80 file='/control/faststream.jpg?stream=MxPEG'
access_hxxp debug: user='admin'
main debug: using meta fetcher module "lua"
main debug: removing module "lua"
main debug: searching art for Streaming
main debug: looking for art finder module matching "any": 2 candidates
main debug: net: connecting to 55.55.55.55 port 80
lua debug: Trying Lua scripts in C:\Users\Danman\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
main debug: no art finder modules matched
main debug: art not found for Streaming
qt4 debug: IM: Setting an input
main debug: connection succeeded (socket = 1612)
access_hxxp debug: protocol 'hxxp' answer code 200
access_hxxp debug: Content-Type: multipart/x-mixed-replace; boundary="MOBOTIX_Fast_Serverpush"
main debug: using access module "access_hxxp"
main debug: Using stream method for AStream*
main debug: starting pre-buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s
main debug: looking for stream_filter module matching "any": 6 candidates
main debug: no stream_filter modules matched
main debug: looking for stream_filter module matching "record": 6 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='hxxp' demux='mjpeg' location='admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG' file='\\admin:chuggs@55.55.55.55:80\control\faststream.jpg?stream=MxPEG'
main debug: looking for demux module matching "mjpeg": 63 candidates
mjpeg debug: discard MIME header: Content-length: 134818
main debug: selecting program id=0
main debug: using demux module "mjpeg"
main debug: looking for packetizer module matching "any": 21 candidates
main debug: using packetizer module "packetizer_copy"
main debug: starting in async mode
main debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Danman\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac
main debug: no meta reader modules matched
main debug: `web:/admin:chuggs@55.55.55.55:80/control/faststream.jpg?stream=MxPEG' successfully opened
mjpeg debug: MIME boundary not found in 15360 bytes of data
mjpeg debug: MIME boundary not found in 20480 bytes of data
mjpeg debug: MIME boundary not found in 25600 bytes of data
mjpeg debug: MIME boundary not found in 30720 bytes of data
mjpeg debug: MIME boundary not found in 35840 bytes of data
mjpeg debug: MIME boundary not found in 40960 bytes of data
mjpeg debug: MIME boundary not found in 46080 bytes of data
mjpeg debug: MIME boundary not found in 51200 bytes of data
mjpeg debug: MIME boundary not found in 56320 bytes of data
mjpeg debug: MIME boundary not found in 61440 bytes of data
mjpeg debug: MIME boundary not found in 66560 bytes of data
mjpeg debug: MIME boundary not found in 71680 bytes of data
mjpeg debug: MIME boundary not found in 76800 bytes of data
mjpeg debug: MIME boundary not found in 81920 bytes of data
mjpeg debug: MIME boundary not found in 87040 bytes of data
mjpeg debug: MIME boundary not found in 92160 bytes of data
mjpeg debug: MIME boundary not found in 97280 bytes of data
mjpeg debug: MIME boundary not found in 102400 bytes of data
mjpeg debug: MIME boundary not found in 107520 bytes of data
mjpeg debug: MIME boundary not found in 112640 bytes of data
mjpeg debug: MIME boundary not found in 117760 bytes of data
mjpeg debug: MIME boundary not found in 122880 bytes of data
mjpeg debug: MIME boundary not found in 128000 bytes of data
mjpeg debug: MIME boundary not found in 133120 bytes of data
main debug: Buffering 0%
main debug: switching to sync mode
main debug: Buffering 17%
main debug: adding a new sout input (sout_input:026164c8)
stream_out_transcode debug: creating video transcoding from fcc=`MJPG' to fcc=`h264'
main debug: looking for decoder module matching "any": 39 candidates
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec debug: avcodec codec (Motion JPEG Video) started
main debug: using decoder module "avcodec"
main debug: looking for encoder module matching "any": 17 candidates
x264 debug: version x264 0.135.X
x264 info: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x264 info: profile High, level 1.0
main debug: using encoder module "x264"
main debug: removing module "x264"
x264 debug: framecount still in libx264 buffer: 0
mjpeg debug: MIME boundary not found in 138240 bytes of data
mjpeg debug: MIME boundary not found in 143360 bytes of data
main debug: Buffering 36%
mjpeg debug: MIME boundary not found in 148480 bytes of data
main debug: Buffering 56%
main debug: Buffering 77%
main debug: Buffering 97%
main debug: Stream buffering done (11720 ms in 11720 ms)
main debug: Decoder buffering done in 0 ms
avcodec debug: using direct rendering
stream_out_transcode debug: decoder aspect is 1.333333:1
stream_out_transcode debug: source pixel aspect is 1.000000:1
stream_out_transcode debug: scaled pixel aspect is 1.000000:1
stream_out_transcode debug: source 640x480, destination 640x480
stream_out_transcode debug: encoder aspect is 640:480
main debug: looking for video filter2 module matching "any": 55 candidates
swscale debug: 640x480 chroma: J420 -> 640x480 chroma: I420 with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: Filter 'Swscale' (0e3963bc) appended to chain
stream_out_transcode debug: destination (after video filters) 640x480
main debug: looking for encoder module matching "any": 17 candidates
x264 debug: version x264 0.135.X
x264 info: using SAR=1/1
x264 info: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x264 info: profile High, level 3.0
main debug: using encoder module "x264"
stream_out_duplicate debug: duplicated a new stream codec=h264 (es=0 group=0)
main debug: looking for decoder module matching "any": 39 candidates
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started
avcodec debug: using frame thread mode with 4 threads
main debug: using decoder module "avcodec"
stream_out_duplicate debug: - added for output 0
main debug: adding a new input
mux_mp4 debug: adding input
stream_out_duplicate debug: - added for output 1
mjpeg debug: MIME boundary not found in 153600 bytes of data
mjpeg debug: MIME boundary not found in 158720 bytes of data
mjpeg debug: MIME boundary not found in 163840 bytes of data
mjpeg debug: MIME boundary not found in 168960 bytes of data
main debug: incoming request - stopping current input
main debug: object waitpipe triggered
main debug: control: stopping input
main debug: incoming request - stopping current input
main debug: finished input
main debug: removing module "packetizer_copy"
main debug: killing decoder fourcc `MJPG', 0 PES in FIFO
main debug: removing a sout input (sout_input:026164c8)
main debug: removing module "avcodec"
avcodec debug: ffmpeg codec (Motion JPEG Video) stopped
main debug: removing module "x264"
x264 debug: framecount still in libx264 buffer: 32
main debug: Filter 0e3963bc removed from chain
main debug: removing module "swscale"
main debug: removing module "avcodec"
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
main debug: killing decoder fourcc `h264', 0 PES in FIFO
mux_mp4 debug: removing input
main warning: no more input streams for this mux
main debug: removing module "mjpeg"
main debug: removing module "record"
main debug: removing module "access_hxxp"
main debug: Program doesn't contain anymore ES
main debug: incoming request - stopping current input
main debug: dead input
main debug: destroying useless sout
main debug: destroying chain... (name=transcode)
main debug: removing module "stream_out_transcode"
main debug: destroying chain done
main debug: destroying chain... (name=duplicate)
main debug: removing module "stream_out_duplicate"
stream_out_duplicate debug: closing a duplication
main debug: destroying chain... (name=display)
main debug: removing module "stream_out_display"
main debug: destroying chain done
main debug: destroying chain... (name=std)
main debug: removing module "stream_out_standard"
main debug: removing module "mux_mp4"
mux_mp4 debug: Close
mux_mp4 debug: movie duration 0s
mux_mp4 debug: created 0 chunks (stco)
main debug: removing module "access_output_file"
access_output_file debug: file access output closed
main debug: destroying chain done
main debug: destroying chain done
qt4 debug: IM: Deleting the input[/messages]

lestoilfante
New Cone
New Cone
Posts: 4
Joined: 03 May 2012 12:03

Re: MxPEG Codec Support (open source C++ libs provided)

Postby lestoilfante » 14 Apr 2014 17:40

Hello,
VLC should be able to recognize the length of a mxg video?

I'm in the middle of some test and with wmplayer and mxg directshow codec I'm able to see the lenght(1minute), instead vlc shows 23minutes after 10 seconds of playing and obviously is wrong.

Thank you

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: MxPEG Codec Support (open source C++ libs provided)

Postby Jean-Baptiste Kempf » 22 Apr 2014 16:29

It might be a bug.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

hackeron
Blank Cone
Blank Cone
Posts: 24
Joined: 18 Jul 2008 13:30

Re: MxPEG Codec Support (open source C++ libs provided)

Postby hackeron » 26 Jan 2017 17:17

I'm trying the following with a Mobotix camera and not able to get any frames from it :( - any ideas? <

$ cvlc -v --no-audio --loop --ffmpeg-format=mxg 'http://admin:admin@192.168.100.232/cgi- ... .0&noaudio' --sout '#standard{access=http{mime="multipart/x-mixed-replace;boundary=7b3cc56e5f51db803f790dad720ed50a"},mux=mpjpeg,dst=:8081/video.mjpeg}' vlc://pause:5
VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80)
Warning: option --ffmpeg-format no longer exists.
[0000000001b750b8] core interface error: no suitable interface module
[0000000001a8b148] core libvlc error: interface "globalhotkeys,none" initialization failed
[0000000001bf0558] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[0000000001bf0558] core interface error: no suitable interface module
[0000000001a8b148] core libvlc error: interface "dbus,none" initialization failed
[0000000001b750b8] dummy interface: using the dummy interface module...
[00007f39cd0cc938] ps demux warning: this does not look like an MPEG PS stream, continuing anyway
[00007f39cd0cc938] ps demux warning: garbage at input, trying to resync...
[00007f39cd0cc938] ps demux warning: found sync code
[00007f39cd0cc938] ps demux warning: garbage at input, trying to resync...
[00007f39cd0cc938] ps demux warning: found sync code
[00007f39cd0cc938] ps demux warning: garbage at input, trying to resync...
[00007f39cd0cc938] ps demux warning: found sync code
[00007f39cd0cc938] ps demux warning: garbage at input, trying to resync...

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: MxPEG Codec Support (open source C++ libs provided)

Postby Jean-Baptiste Kempf » 05 Dec 2017 00:50

--avformat-format=mxg
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: Google [Bot] and 26 guests