Re: [gentoo-user] Re: [OT} GStreamer: How to view AND record a stream coming from an USB Webcam

2014-06-16 Thread meino . cramer
James wirel...@tampabay.rr.com [14-06-16 05:36]:
  meino.cramer at gmx.de writes:
 
 
  After unsuccessfully trying vlc with a Logitech C920 HD Pro Webcam 
  (over 2 seconds delay between audio and video). 
 
 
 Have you tried  : media-video/ffmpeg ?
 
 This wiki is full of good information. Many video packages use
 ffmpeg as part of their core solution... Pay attention to the myriad
 of flags you can set and the order of your syntax (manual) strings.
 
 
 http://trac.ffmpeg.org/wiki
 
 Here are some ideas:
 
 https://wiki.archlinux.org/index.php/FFmpeg
 
 You *may* be able to use the copy command of ffmpeg to spit and view
 the h.264 (x.264) stream in real time.  Google for some more syntax
 snippets.
 
 Also there is zoneminder a video surveillance application. I do not
 know if they ever added x.264 support
 
 
 HTH,
 James
 

Hi James,

thanks for your resply 8)

Zoneminder needs to intercept the video stream to analyse it --
that means, that it need to decode the stream, analyse it and 
to encode it again.
Furthermore it needs a webserver...
A little to much load for my CPU and a little too much effort...

FFmpeg crashes and breaks (similiar reports on the web...) when
trying to watch video streams from the c920...

Currently the best results I get with gstreamer...but then I
cannot control the uvc parameters


Sigh...things are crossing the border between interesting to
complex...

Best regards,
mcc






[gentoo-user] Re: [OT} GStreamer: How to view AND record a stream coming from an USB Webcam

2014-06-16 Thread James
 meino.cramer at gmx.de writes:

OK, one last trick, that will work with a coax camera.
A coax output camera, can be connected to either
a h.264 encoder/mux (standard industry equipment)
or to a pci card that has external coax inputs. 
You can then put a coax splitter (a mechanical tee)
and run the camera output to 2 differnet computers.
One encodes and records (writes to) the HD, then
other for viewing. Hokey, but we used it to test
the encoding delays of various video surveillance boxes.
Camera's that output h.264 direclty, usually use
a custom encoder that will differ from vendor to vendor.
Vendors do this because each algo, code_block and patent
is managed my the MPLA and vendors engineer what to put
inside of a video camera that outputs h.264 by playing
what if with a myriad of offerings directly or indirectly
from software vendors.   

It you can, a video camera with coax outputs is best and you 
can run your own h.264 encoding on a workstation  or a 
stand alone video encoding board.

Probably too much work for your needs, methinks...

I have threatened to pick up the zoneminder code and fork
it, as have others, but I just dont have the time for that.
It's a large effort to say the least.
A google summer of code genius could/should do that, because
support for h.264 and V8 (media-libs/libvpx) would be very, very
keen, imho added to ZM. V8 is superior to h.264 and is
not patent encumbered.

sorry I'm not more help,
James












[gentoo-user] Re: [OT} GStreamer: How to view AND record a stream coming from an USB Webcam

2014-06-15 Thread James
 meino.cramer at gmx.de writes:


 After unsuccessfully trying vlc with a Logitech C920 HD Pro Webcam 
 (over 2 seconds delay between audio and video). 


Have you tried  : media-video/ffmpeg ?

This wiki is full of good information. Many video packages use
ffmpeg as part of their core solution... Pay attention to the myriad
of flags you can set and the order of your syntax (manual) strings.


http://trac.ffmpeg.org/wiki

Here are some ideas:

https://wiki.archlinux.org/index.php/FFmpeg

You *may* be able to use the copy command of ffmpeg to spit and view
the h.264 (x.264) stream in real time.  Google for some more syntax
snippets.

Also there is zoneminder a video surveillance application. I do not
know if they ever added x.264 support


HTH,
James