06/09/16 [mechanical-parts][master] by Mikhail Karpenko: Update 0393-18-31 to RevA
Mikhail Karpenko committed changes to the Elphel git project :
Update 0393-18-31 to RevA
Update 0393-18-31 to RevA
Using gstreamer
← Older revision
Revision as of 22:51, 9 June 2016
(4 intermediate revisions not shown)Line 1:
Line 1:
-Gstreamer is a modular node based player as well as encoder in a single application. It is possible to create chains of so called elements with a wide range of different plugins.+GStreamer is a modular node based player as well as encoder in a single application. It is possible to create chains of so called elements with a wide range of different plugins.
-= Gstreamer =+= GStreamer =
GStreamer is a library for constructing graphs of media-handling components. The applications it supports range from simple Ogg/Vorbis playback, audio/video streaming to complex audio (mixing) and video (non-linear editing) processing. GStreamer is a library for constructing graphs of media-handling components. The applications it supports range from simple Ogg/Vorbis playback, audio/video streaming to complex audio (mixing) and video (non-linear editing) processing.
Line 8:
Line 8:
= Installing GStreamer = = Installing GStreamer =
-[http://blog.nicolargo.com/ NicoLargo] made a script to automatically install all the required packages for GStreamer on Ubuntu 10.04. Very simple and useful, just download and execute the script: http://svn.nicolargo.com/ubuntupostinstall/trunk/gstreamerinstall.sh+[http://blog.nicolargo.com/ NicoLargo] made [http://blog.nicolargo.com/2010/05/installation-de-tout-les-composants-gstreamer-sous-ubuntu.html a script] to automatically install all the required packages for GStreamer on Ubuntu 10.04. Should work up to for (K)Ubuntu 16.04 as well.
= Tips = = Tips =
== How to get 25 FPS ? == == How to get 25 FPS ? ==
-You won't get 25 fps if autoexposure is on and local brightness not high enough: the camera will automatically lower framerate for keeping clear picture. Either lighten up, or play with image settings (notably, gain).+Depends on the sensor and the exposure:
+* In the sensor's datasheet find resolutions that allow the required FPS.
+* You won't get 25 fps if autoexposure is on and local brightness not high enough: the camera will automatically lower framerate for keeping clear picture. Either lighten up, or play with image settings (notably, gain).
-= Commandline examples =
-(Note: replace width and height accordingly to your camera setup and your computer's horsepower :p).+= Command line examples =
-== Displaying ==+<b>Note: replace width and height accordingly to your camera setup and your computer's horsepower :P)</b>
+
+== GStreamer 0.10==
+
+=== Displaying ===
careful with streams at higher resolution than 1920x1088 careful with streams at higher resolution than 1920x1088
Line 27:
Line 32:
gst-launch-0.10 rtspsrc location=rtsp://192.168.0.9:554 ! rtpjpegdepay ! jpegdec ! queue ! ffmpegcolorspace ! videoscale ! xvimagesink sync=false gst-launch-0.10 rtspsrc location=rtsp://192.168.0.9:554 ! rtpjpegdepay ! jpegdec ! queue ! ffmpegcolorspace ! videoscale ! xvimagesink sync=false
-== Dumping ==+=== Dumping ===
-=== mjpeg dumping ===+==== mjpeg dumping ====
gst-launch -v rtspsrc location=rtsp://192.168.0.9:554 ! queue ! rtpjpegdepay ! videorate ! capsfilter caps = "image/jpeg, framerate=(fraction)25/1, width=1024, height=768" ! queue ! matroskamux ! filesink location=/tmp/test.mkv gst-launch -v rtspsrc location=rtsp://192.168.0.9:554 ! queue ! rtpjpegdepay ! videorate ! capsfilter caps = "image/jpeg, framerate=(fraction)25/1, width=1024, height=768" ! queue ! matroskamux ! filesink location=/tmp/test.mkv
-=== YUV Dumping ===+==== YUV Dumping ====
gst-launch -v rtspsrc location=rtsp://192.168.0.9:554 ! queue ! rtpjpegdepay ! queue ! jpegdec ! queue ! videorate ! capsfilter caps="video/x-raw-yuv, format=(fourcc)I420, width=(int)1024, height=(int)768, framerate=(fraction)25/1" ! queue ! avimux ! filesink location=/tmp/test.avi gst-launch -v rtspsrc location=rtsp://192.168.0.9:554 ! queue ! rtpjpegdepay ! queue ! jpegdec ! queue ! videorate ! capsfilter caps="video/x-raw-yuv, format=(fourcc)I420, width=(int)1024, height=(int)768, framerate=(fraction)25/1" ! queue ! avimux ! filesink location=/tmp/test.avi
-== Dump transcoding example ==+=== Dump transcoding example ===
gst-launch filesrc location=test.mkv ! matroskademux ! queue ! jpegdec ! queue ! theoraenc bitrate=4000 ! queue ! oggmux ! filesink location=test.ogg gst-launch filesrc location=test.mkv ! matroskademux ! queue ! jpegdec ! queue ! theoraenc bitrate=4000 ! queue ! oggmux ! filesink location=test.ogg
-== Live encoding ==+=== Live encoding ===
gst-launch -v rtspsrc location=rtsp://192.168.0.9:554 ! queue ! rtpjpegdepay ! queue ! jpegdec ! queue ! videorate ! capsfilter caps="video/x-raw-yuv, format=(fourcc)I420, width=(int)1024, height=(int)768, framerate=(fraction)25/1" ! queue ! theoraenc bitrate=4000 ! queue ! oggmux ! filesink location=/tmp/test1024.ogg gst-launch -v rtspsrc location=rtsp://192.168.0.9:554 ! queue ! rtpjpegdepay ! queue ! jpegdec ! queue ! videorate ! capsfilter caps="video/x-raw-yuv, format=(fourcc)I420, width=(int)1024, height=(int)768, framerate=(fraction)25/1" ! queue ! theoraenc bitrate=4000 ! queue ! oggmux ! filesink location=/tmp/test1024.ogg
I did some benchmarks; a Core 2 Quad Q6600 (2.4 Ghz) is not powerful enough for h264 encoding @fullHD resolution (using 4 treads). I did some benchmarks; a Core 2 Quad Q6600 (2.4 Ghz) is not powerful enough for h264 encoding @fullHD resolution (using 4 treads).
Oleg
06/09/16 [mechanical-parts][master] by Mikhail Karpenko: Production
Mikhail Karpenko committed changes to the Elphel git project :
Production
Production
06/09/16 [mechanical-parts][master] by Mikhail Karpenko: Update 0393-11-Update 0393-11-Update 0393-11-Update 0393-11-04A
Mikhail Karpenko committed changes to the Elphel git project :
Update 0393-11-Update 0393-11-Update 0393-11-Update 0393-11-04A
Update 0393-11-Update 0393-11-Update 0393-11-Update 0393-11-04A
Elphel camera parts 0393-11
0393-11-04A - Cooling fan enclosure, RevA:
← Older revision Revision as of 22:03, 9 June 2016 (One intermediate revision not shown)Line 20: Line 20: {{Cad4a|0393-11-04}} {{Cad4a|0393-11-04}} ---- ---- +=== 0393-11-04A - Cooling fan enclosure, Rev "A" === +{{Cad4a|0393-11-04A}} +---- + === 0393-11-10 - CPU heat plate === === 0393-11-10 - CPU heat plate === {{Cad4a|0393-11-10}} {{Cad4a|0393-11-10}} Mikhail06/09/16 [mechanical-parts][master] by Mikhail Karpenko: Merge branch 'master' of https://github.com/Elphel/mechanical-parts
Mikhail Karpenko committed changes to the Elphel git project :
Merge branch 'master' of https://github.com/Elphel/mechanical-parts
Merge branch 'master' of https://github.com/Elphel/mechanical-parts
06/09/16 [mechanical-parts][master] by Mikhail Karpenko: Production
Mikhail Karpenko committed changes to the Elphel git project :
Production
Production
06/09/16 [mechanical-parts][master] by Mikhail Karpenko: Update 0393-11-04 to RevA
Mikhail Karpenko committed changes to the Elphel git project :
Update 0393-11-04 to RevA
Update 0393-11-04 to RevA
06/09/16 [elphel-apps-camogm][master-initial] by Mikhail Karpenko: WIP: single threaded app
Mikhail Karpenko committed changes to the Elphel git project :
WIP: single threaded app
WIP: single threaded app
06/09/16 [x393][framepars] by Andrey Filippov: Merge branch 'master' of github.com:Elphel/x393
Andrey Filippov committed changes to the Elphel git project :
Merge branch 'master' of github.com:Elphel/x393
Merge branch 'master' of github.com:Elphel/x393
06/09/16 [x393][master] by Andrey Filippov: working on replacement for 8x8 DCT
Andrey Filippov committed changes to the Elphel git project :
working on replacement for 8x8 DCT
working on replacement for 8x8 DCT
06/09/16 [x393][master] by Andrey Filippov: removed unused file
Andrey Filippov committed changes to the Elphel git project :
removed unused file
removed unused file
06/08/16 [elphel-apps-camogm][framepars] by Mikhail Karpenko: WIP: single threaded app
Mikhail Karpenko committed changes to the Elphel git project :
WIP: single threaded app
WIP: single threaded app
Tmp manual
Connections:
← Older revision Revision as of 02:51, 9 June 2016 Line 5: Line 5: |[[File:NC393-CS marked ports.jpeg|thumb|200px]] |[[File:NC393-CS marked ports.jpeg|thumb|200px]] |} |} +* [[10393_power|Power supply]] + ==<font color="blue">Defaults</font>== ==<font color="blue">Defaults</font>== IP addr: <b>192.168.0.8</b> IP addr: <b>192.168.0.8</b> Oleg10393 power
← Older revision
Revision as of 00:36, 9 June 2016
(One intermediate revision not shown)Line 12:
Line 12:
===Notes=== ===Notes===
* <font color='red'>For 12V the recommended connector is '''J4''' - bypassing diodes reduces voltage drop and the chances of not hitting the lower voltage limit are better.</font> * <font color='red'>For 12V the recommended connector is '''J4''' - bypassing diodes reduces voltage drop and the chances of not hitting the lower voltage limit are better.</font>
-* For 12+ V the recommended connector is '''J3'''+* For 18+ V the recommended connector is '''J3'''
==Power supply requirements== ==Power supply requirements==
+AC/DC WALL MOUNT ADAPTER
* 20+ W * 20+ W
** 48V => 0.42+ A ** 48V => 0.42+ A
** 12V => 1.67+ A ** 12V => 1.67+ A
Olga
10393 power
← Older revision
Revision as of 00:11, 9 June 2016
(8 intermediate revisions not shown)Line 1:
Line 1:
+[[File:10393 power j3 j4.jpeg|thumb|350px|Fig.1 power through J3 connector]]
+[[File:10393 power j4.jpeg|thumb|400px|Fig.2 power through J4 connector]]
+
==18-75V (48V)== ==18-75V (48V)==
-* DC-DC converter: TRACO POWER THD 12-4810WI, IN 18-75V, OUT 3.3V/3500mA+* camera's DC-DC converter installed: TRACO POWER THD 12-4810WI, IN 18-75V, OUT 3.3V/3500mA
===Notes=== ===Notes===
-* Recommended connector for power: '''J3'''+* For 48V the recommended connector is '''J3'''
==9-36V (12V)== ==9-36V (12V)==
-* DC-DC converter: TRACO POWER THD 12-2410WI, IN 9-36V, OUT 3.3V/3500mA+* camera's DC-DC converter installed: TRACO POWER THD 12-2410WI, IN 9-36V, OUT 3.3V/3500mA
===Notes=== ===Notes===
-* Recommended connector for power: '''J4''' = bypass diodes to reduce voltage drop+* <font color='red'>For 12V the recommended connector is '''J4''' - bypassing diodes reduces voltage drop and the chances of not hitting the lower voltage limit are better.</font>
-* '''J3''' is can be used only at 12+ V+* For 12+ V the recommended connector is '''J3'''
+
+==Power supply requirements==
+* 20+ W
+** 48V => 0.42+ A
+** 12V => 1.67+ A
Oleg
File:10393 power j4.jpeg
uploaded "[[File:10393 power j4.jpeg]]"
OlegFile:10393 power j3 j4.jpeg
uploaded "[[File:10393 power j3 j4.jpeg]]"
Oleg10393 power
New page
==18-75V (48V)==* DC-DC converter: TRACO POWER THD 12-4810WI, IN 18-75V, OUT 3.3V/3500mA
===Notes===
* Recommended connector for power: '''J3'''
==9-36V (12V)==
* DC-DC converter: TRACO POWER THD 12-2410WI, IN 9-36V, OUT 3.3V/3500mA
===Notes===
* Recommended connector for power: '''J4''' = bypass diodes to reduce voltage drop
* '''J3''' is can be used only at 12+ V Oleg
06/08/16 [elphel-apps-camogm][master] by Mikhail Karpenko: WIP: single threaded app
Mikhail Karpenko committed changes to the Elphel git project :
WIP: single threaded app
WIP: single threaded app