vlc raspbery b+ doesn't play mjpeg

*nix specific usage questions
marranxo
Blank Cone
Blank Cone
Posts: 24
Joined: 03 Jun 2011 11:46

vlc raspbery b+ doesn't play mjpeg

Postby marranxo » 03 Dec 2015 13:09

Hi. I'm trying to access a mjpeg video stream from an axis encoder. VLC player just plays the first 5-6 frames (with a delay of 5-6s) and then keeps playing the last frame of the sequence. Is there any way to play it successfully? I've enabled both vlc and ffmpeg hardware acceleration and set the default demuxer to ffmpeg.

The stream is playing fine in a windows computer.

marranxo
Blank Cone
Blank Cone
Posts: 24
Joined: 03 Jun 2011 11:46

Re: vlc raspbery b+ doesn't play mjpeg

Postby marranxo » 03 Dec 2015 13:17

main debug: adding item `http://192.168.0.102/mjpg/video.mjpg' ( TOO_MANY_URLS/mjpg/video.mjpg )
main debug: processing request item: TOO_MANY_URLS/mjpg/video.mjpg, node: null, skip: 0
main debug: no fetch required for (null) (art currently (null))
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 TOO_MANY_URLS/mjpg/video.mjpg
main debug: TOO_MANY_URLS/mjpg/video.mjpg is at 0
main debug: creating new input thread
main debug: Creating an input for 'TOO_MANY_URLS/mjpg/video.mjpg'
main debug: using timeshift granularity of 50 MiB, in path '/tmp'
main debug: `TOO_MANY_URLS/mjpg/video.mjpg' gives access `http' demux `' path `192.168.0.102/mjpg/video.mjpg'
main debug: enforced demux ` avformat'
main debug: creating demux: access='http' demux='avformat' location='192.168.0.102/mjpg/video.mjpg' file='(null)'
main debug: looking for access_demux module matching "http": 18 candidates
main debug: no access_demux modules matched
main debug: creating access 'http' location='192.168.0.102/mjpg/video.mjpg', path='(null)'
main debug: looking for access module matching "http": 20 candidates
qt4 debug: Adding a new MRL to recent ones: TOO_MANY_URLS/mjpg/video.mjpg
http debug: querying proxy for TOO_MANY_URLS/mjpg/video.mjpg
http debug: no proxy
http debug: http: server='192.168.0.102' port=80 file='/mjpg/video.mjpg'
main debug: net: connecting to 192.168.0.102 port 80
main debug: connection succeeded (socket = 12)
qt4 debug: IM: Setting an input
http debug: protocol 'HTTP' answer code 200
http debug: Pragma: no-cache
http debug: Connection: close
http debug: Content-Type: multipart/x-mixed-replace; boundary=myboundary
main debug: using access module "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 1024 bytes in 0s - 11764 KiB/s
main debug: looking for stream_filter module matching "any": 9 candidates
main debug: no stream_filter modules matched
main debug: looking for stream_filter module matching "record": 9 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='http' demux='avformat' location='192.168.0.102/mjpg/video.mjpg' file='(null)'
main debug: looking for demux module matching "avformat": 61 candidates
avformat debug: trying url: TOO_MANY_URLS/mjpg/video.mjpg
avformat debug: detected format: mjpeg
main debug: selecting program id=0
avformat debug: adding es: video codec = MJPG (8)
avformat debug: AVFormat supported stream
avformat debug: - format = mjpeg (raw MJPEG video)
avformat debug: - start time = -1
avformat debug: - duration = -1
main debug: using demux module "avformat"
main debug: looking for decoder module matching "any": 39 candidates
omxil debug: fmt in:MJPG, out:
omxil debug: component OMX.broadcom.audio_capture
omxil debug: component OMX.broadcom.audio_decode
omxil debug: component OMX.broadcom.audio_encode
omxil debug: component OMX.broadcom.audio_render
omxil debug: component OMX.broadcom.audio_mixer
omxil debug: component OMX.broadcom.audio_splitter
omxil debug: component OMX.broadcom.audio_processor
omxil debug: component OMX.broadcom.camera
omxil debug: component OMX.broadcom.clock
omxil debug: component OMX.broadcom.coverage
omxil debug: component OMX.broadcom.egl_render
omxil debug: component OMX.broadcom.image_fx
omxil debug: component OMX.broadcom.image_decode
omxil debug: component OMX.broadcom.image_encode
omxil debug: component OMX.broadcom.image_read
omxil debug: component OMX.broadcom.image_write
omxil debug: component OMX.broadcom.read_media
omxil debug: component OMX.broadcom.resize
omxil debug: component OMX.broadcom.source
omxil debug: component OMX.broadcom.text_scheduler
omxil debug: component OMX.broadcom.transition
omxil debug: component OMX.broadcom.video_decode
omxil debug: component OMX.broadcom.video_encode
omxil debug: component OMX.broadcom.video_render
omxil debug: component OMX.broadcom.video_scheduler
omxil debug: component OMX.broadcom.video_splitter
omxil debug: component OMX.broadcom.visualisation
omxil debug: component OMX.broadcom.write_media
omxil debug: component OMX.broadcom.write_still
omxil debug: found 0 matching components for role video_decoder.jpeg
omxil warning: couldn't find an omx component for codec MJPG
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 meta reader module matching "any": 1 candidates
lua debug: Trying Lua scripts in /home/pi/.local/share/vlc/lua/meta/reader
lua debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
main debug: no meta reader modules matched
main debug: `TOO_MANY_URLS/mjpg/video.mjpg' successfully opened
main debug: Buffering 0%
main debug: Buffering 4%
main debug: Buffering 8%
main debug: Buffering 12%
main debug: Buffering 16%
main debug: looking for text renderer module matching "any": 3 candidates
main debug: Buffering 20%
main debug: Buffering 24%
main debug: Buffering 28%
main debug: Buffering 32%
main debug: Buffering 36%
main debug: Buffering 40%
main debug: Buffering 44%
main debug: Buffering 48%
main debug: Buffering 52%
main debug: Buffering 56%
main debug: Buffering 60%
main debug: Buffering 64%
main debug: Buffering 68%
main debug: Buffering 72%
freetype debug: Building font databases.
main debug: Buffering 76%
main debug: Buffering 80%
main debug: Buffering 84%
main debug: Buffering 88%
freetype debug: Took 1 microseconds
main debug: Buffering 92%
main debug: Buffering 96%
main debug: Buffering 100%
main debug: Stream buffering done (1040 ms in 3 ms)
freetype debug: Using Serif Bold as font from file /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: looking for video filter2 module matching "any": 52 candidates
swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: looking for video filter2 module matching "any": 52 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video filter2 module "yuvp"
main debug: Deinterlacing available
main debug: deinterlace 0, mode blend, is_needed 0
main debug: Opening vout display wrapper
main debug: looking for vout display module matching "any": 12 candidates
main debug: looking for vout window xid module matching "qt4,any": 4 candidates
qt4 debug: requesting video window...
qt4 debug: Video was requested 0, 0
main debug: using vout window xid module "qt4"
main debug: looking for inhibit module matching "any": 2 candidates
dbus_screensaver debug: cannot find service org.freedesktop.ScreenSaver
dbus_screensaver debug: cannot find service org.freedesktop.PowerManagement.Inhibit
dbus_screensaver debug: cannot find service org.mate.SessionManager
dbus_screensaver debug: cannot find service org.gnome.SessionManager
main debug: using inhibit module "xdg"
xcb debug: connected to X11.0 server
xcb debug: vendor : AT&T Laboratories Cambridge
xcb debug: version: 3332
xcb debug: using screen 0x25
xcb_xv debug: XVideo extension not available
xcb_xv warning: Please enable XVideo 2.2 for faster video display
main debug: Reusing previous vout window
xcb debug: connected to X11.0 server
xcb debug: vendor : AT&T Laboratories Cambridge
xcb debug: version: 3332
xcb debug: using screen 0x25
xcb_glx debug: GLX extension not available
main debug: Reusing previous vout window
xcb debug: connected to X11.0 server
xcb debug: vendor : AT&T Laboratories Cambridge
xcb debug: version: 3332
xcb debug: using screen 0x25
xcb_x11 debug: using X11 visual ID 0x22
xcb_x11 debug: 24 bits depth
xcb_x11 debug: 32 bits per pixel
xcb_x11 debug: 32 bits line pad
xcb_x11 debug: using X11 window 03400000
xcb_x11 debug: using X11 graphic context 03400001
main debug: VoutDisplayEvent 'fullscreen' 0
main debug: VoutDisplayEvent 'resize' 704x628 window
main debug: using vout display module "xcb_x11"
main debug: A filter to adapt decoder to display is needed
main debug: looking for video filter2 module matching "any": 52 candidates
swscale debug: 704x576 chroma: J420 -> 704x576 chroma: RV32 with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: Filter 'Swscale' (0x745df660) appended to chain
main debug: original format sz 704x576, of (0,0), vsz 704x576, 4cc J420, sar 11:12, msk r0x0 g0x0 b0x0
main debug: removing module "freetype"
main debug: looking for text renderer module matching "any": 3 candidates
freetype debug: Building font databases.
freetype debug: Took 3 microseconds
freetype debug: Using Serif Bold as font from file /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
avcodec debug: using direct rendering
main debug: End of video preroll
main debug: Received first picture
freetype error: Breaking unbreakable line
main debug: looking for video blending module matching "any": 1 candidates
main debug: using video blending module "blend"
xcb debug: unhandled event 0
xcb debug: display is visible
main warning: VoutDisplayEvent 'pictures invalid'
main warning: VoutDisplayEvent 'pictures invalid'
main warning: VoutDisplayEvent 'pictures invalid'
main error: Failed to resize display
main debug: Filter 0x745df660 removed from chain
main debug: removing module "swscale"
main debug: A filter to adapt decoder to display is needed
main debug: looking for video filter2 module matching "any": 52 candidates
swscale debug: 704x576 chroma: J420 -> 703x628 chroma: RV32 with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: Filter 'Swscale' (0x701ffc38) appended to chain
main debug: removing module "blend"
freetype error: Breaking unbreakable line
main debug: looking for video blending module matching "any": 1 candidates
main debug: using video blending module "blend"
main debug: auto hiding mouse cursor
main debug: Decoder buffering done in 1173 ms
main warning: picture is too late to be displayed (missing 88 ms)
main warning: picture is too late to be displayed (missing 48 ms)
main debug: picture might be displayed late (missing 8 ms)
main warning: picture is too late to be displayed (missing 52 ms)
main warning: picture is too late to be displayed (missing 52 ms)
main debug: picture might be displayed late (missing 12 ms)
main warning: picture is too late to be displayed (missing 54 ms)
main warning: picture is too late to be displayed (missing 53 ms)
main debug: picture might be displayed late (missing 13 ms)
main warning: picture is too late to be displayed (missing 58 ms)
main warning: picture is too late to be displayed (missing 55 ms)
main debug: picture might be displayed late (missing 16 ms)
main warning: picture is too late to be displayed (missing 112 ms)
main warning: picture is too late to be displayed (missing 72 ms)
main warning: picture is too late to be displayed (missing 32 ms)
main warning: picture is too late to be displayed (missing 117 ms)
main warning: picture is too late to be displayed (missing 78 ms)
main warning: picture is too late to be displayed (missing 166 ms)
main warning: picture is too late to be displayed (missing 126 ms)
main warning: picture is too late to be displayed (missing 86 ms)
main warning: picture is too late to be displayed (missing 169 ms)
main debug: auto hiding mouse cursor
main debug: picture might be displayed late (missing 19 ms)
main warning: picture is too late to be displayed (missing 80 ms)
main warning: picture is too late to be displayed (missing 40 ms)
main warning: picture is too late to be displayed (missing 99 ms)
main warning: picture is too late to be displayed (missing 59 ms)
main warning: picture is too late to be displayed (missing 117 ms)
main warning: picture is too late to be displayed (missing 77 ms)
main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1000 ms)
main error: ES_OUT_RESET_PCR called


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 4 guests