FAQ  •  Register  •  Login

IP Cam MJPEG cgo support?

<<

hwmonkey

Streaming enthusiast

Posts: 23

Joined: Fri Jul 20, 2012 4:23 am

Post Sat Aug 04, 2012 3:50 am

IP Cam MJPEG cgo support?

I am attempting to understand live streams and serviio support. I have upgraded to serviio 1.0

I have an IP camera with a stream available at http://ip/livestream.cgi?user=user&pwd=pwd . When I try doing an ffmpeg -i, I get....
  Code:
[loas @ 0x21851b0] Format loas detected only with low score of 1, misdetection possible!
[loas @ 0x21851b0] Stream #0: not enough frames to estimate rate; consider increasing probesize
[loas @ 0x21851b0] decoding for stream 0 failed
[loas @ 0x21851b0] Could not find codec parameters for stream 0 (Audio: aac_latm, 0 channels, s16): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[loas @ 0x21851b0] Estimating duration from bitrate, this may be inaccurate

So the question is... are IP cameras supported now? I obviously have problems with the existing URL, but is there a way to make a plug in or something else to make it work?

Thanks!
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Aug 04, 2012 10:57 am

Re: IP Cam MJPEG cgo support?

is that all you get from the FFmpeg output?
<<

hwmonkey

Streaming enthusiast

Posts: 23

Joined: Fri Jul 20, 2012 4:23 am

Post Sat Aug 04, 2012 12:15 pm

Re: IP Cam MJPEG cgo support?

No. But this is....

  Code:
ffmpeg version git-2012-07-23-7afd42d Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 23 2012 09:52:15 with gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
  configuration: --enable-pthreads --disable-mmx --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-librtmp --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3 --enable-librtmp --pkg-config=pkg-config
  libavutil      51. 65.100 / 51. 65.100
  libavcodec     54. 44.100 / 54. 44.100
  libavformat    54. 19.100 / 54. 19.100
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3.  3.100 /  3.  3.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[loas @ 0x21851b0] Format loas detected only with low score of 1, misdetection possible!
[loas @ 0x21851b0] Stream #0: not enough frames to estimate rate; consider increasing probesize
[loas @ 0x21851b0] decoding for stream 0 failed
[loas @ 0x21851b0] Could not find codec parameters for stream 0 (Audio: aac_latm, 0 channels, s16): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[loas @ 0x21851b0] Estimating duration from bitrate, this may be inaccurate


Thanks!
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Aug 04, 2012 1:05 pm

Re: IP Cam MJPEG cgo support?

Looks like FFmpeg cannot detect what the stream is, so it won't work in Serviio
<<

nranka

Serviio newbie

Posts: 3

Joined: Sat Oct 06, 2012 8:00 pm

Post Sat Oct 06, 2012 8:03 pm

Re: IP Cam MJPEG cgo support?

I'm trying to add the live feed of my IP Webcam android application.

ffmpeg for the stream provided the following output - not sure what this means?

C:\Program Files\Serviio\lib>ffmpeg -i "http://192.168.1.110:8081/videofeed
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 10 2012 03:40:45 with gcc 4.6.3
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
libavutil 51. 64.100 / 51. 64.100
libavcodec 54. 33.100 / 54. 33.100
libavformat 54. 15.102 / 54. 15.102
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 1.100 / 3. 1.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
[loas @ 0037BC80] Format loas detected only with low score of 1, misdetection po
ssible!


Appreciate the guidance!

nranka
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Oct 07, 2012 12:54 pm

Re: IP Cam MJPEG cgo support?

is that URL of the stream or a web site? FFmpeg doesn't understand it.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 24 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.