Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/glive.py
Commit message (Collapse)AuthorAgeFilesLines
* Record high quality video at standard resolution (#4491)Daniel Drake2013-05-311-1/+1
| | | | | | | | The 400x300 resolution used previously was triggering a sticky situation with XO-4 graphics (http://dev.laptop.org/ticket/12693) Tweak the resolution slightly to work around this problem, and land on a much more standard resolution at the same time.
* Don't save preview encoded - SL #4470Gonzalo Odiard2013-03-251-1/+1
| | | | | | | | We don't need save the preview in the metadata encoded, doing it makes more difficult the interoperability with other activities using it, and takes more space in the disk. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Don't use pad blockingDaniel Drake2012-03-261-7/+0
| | | | | | | | | | | This never worked right: we always managed to block, but the unblock never happened. Previously this didn't hurt anything, but on F17 it causes problems: since the pad is blocked, we never take the photo. Remove pad blocking to work around this. Seems to be working fine with live-pipeline modification.
* Use named parameters in gettext strings -v2Gonzalo Odiard2012-03-161-1/+2
| | | | | | | | | | | | When there are more than one parameter with the same type gettext need named parameters to enable the translators to change the order if needed. Pootle server complain about this format strings in Record activity, and you can see the same error doing "./setup.py genpot" v2: Fixed typo Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Release video while saving audio fileDaniel Drake2011-08-051-1/+0
| | | | | | The video feed is not displayed on screen while saving audio, so we can stop the feed. This means that alt-tabbing away during an audio recording releases the video feed much quicker.
* Fix audio recording when no camera present (SL#2691)Daniel Drake2011-05-061-22/+21
| | | | | | Introduce the relevant code catches to allow audio recording when no camera is present. Still has some rough edges but is now usable at least.
* Fix X to Xv switchingDaniel Drake2011-02-161-1/+4
| | | | | Returning from video playback would continue using X instead of Xv for the live camera feed.
* UI reworkDaniel Drake2011-02-021-379/+334
| | | | | | | | | | | | | | This is a rework of the UI that uses a more standard GTK+ principles than previously. There is still a small amount of black magic, kept away inside mediaview.py. The UI/model separation was also refined in places, and a lot of code was simplified. Overall the functionality remains identical, and I tried to keep the UI the same as before (but it is not pixel perfect). As this was quite big there may be some bugs to shake out.
* Stop pipeline while stopping audio recordingv83Daniel Drake2010-06-301-1/+6
| | | | | Avoids a segfault which is probably due to a gstreamer bug. http://dev.laptop.org/ticket/10183
* Stop pipeline while adding audiobin (#2040)Daniel Drake2010-06-251-1/+7
| | | | | | | | | | Several seconds of silence were being prepended to the recording. This looks like a gstreamer bug. Work around it by stopping the whole pipeline while adjusting it. http://bugs.sugarlabs.org/ticket/2040 http://dev.laptop.org/ticket/10175
* Remove Best quality video optionDaniel Drake2010-06-111-2/+1
| | | | | | | | Recording in this mode is too taxing for the XO-1 and even the XO-1.5. The A/V sync is lost. Without significant changes, recording at this resolution/quality is unlikely to be successful on anything except a high end system.
* Bigger queues and overrun debuggingDaniel Drake2010-05-271-2/+18
| | | | | | | | On XO-1, we quickly meet the limits of the default queue limits. Increase them both and add debugging to detect these conditions in future. This fixes A/V sync on XO-1.
* Only limit framerate on v4l2 element when supportedDaniel Drake2010-05-271-6/+25
| | | | | | | XO-1 capture was broken because the camera driver doesn't support framerate changes right now. Add some code to check if this capability is available before using it.
* Readd queue in video recording pipelineDaniel Drake2010-05-191-2/+5
| | | | | This is certainly a good idea and was only removed earlier based on a misunderstanding
* Don't sync video preview with the clockDaniel Drake2010-05-191-0/+7
| | | | | | | | | This should reduce resource usage a little (it'll display frames when is most convenient rather than worrying about the clock) and might reduce weirdness associated with trying to synchronize the video preview with the audio. Suggested and tested by Jon Nettleton
* Don't encode video twiceDaniel Drake2010-05-061-1/+1
| | | | | Speeds up saving, theoretically improves quality, and maybe even helps synchronization?
* Fix video thumbnail scalingDaniel Drake2010-05-041-1/+4
| | | | High/best quality thumbnails weren't scaled properly
* Cleanup video saving codeDaniel Drake2010-05-041-38/+27
| | | | We always record video with audio.
* Guarantee perfect streams with videorate and audiorateDaniel Drake2010-05-031-6/+12
| | | | | | | | OGG doesn't store timestamps of audio or video frames, so it's very important to use a perfectly consistent stream. Add the audiorate element and adjust the justification for the videorate.
* Attempt to record audio from plughw:0,0Daniel Drake2010-04-291-0/+9
| | | | Improves A/V sync, for reasons not entirely known.
* Stop pipeline while initiating video captureDaniel Drake2010-04-291-5/+7
| | | | This is needed for good A/V sync (gstreamer bug?)
* Place framerate limit directly on v4l2srcDaniel Drake2010-04-291-3/+10
| | | | | | | But we also maintain the gstreamer-level videorate framerate filter. This is because the XO-1.5 camera delivers a lot more frames than you ask for, and this throws off gstreamer's timings. http://dev.laptop.org/ticket/10137
* Recording tweaksDaniel Drake2010-04-291-8/+17
| | | | | | | | | | Remove queue element in videobin, this makes recorded videos smoother Prefer fresh frames for A/V display Add a buffer in audiobin to avoid overrun/underrun problems when starting recording, avoiding some kind of bug where A/V sync is bad for the whole video.
* Fallback to ximagesink if Xv is not availableDaniel Drake2010-04-291-3/+15
| | | | Like it did before the rewrite
* Restore v60 reworkDaniel Drake2010-04-291-358/+470
| | | | | | | | Restore the v60 rewrite to use a single pipeline, tweaking at runtime when necessary. This improves responsivity of the application, and results in the activity behaving reliably again.
* Increase audio volume on XOAleksey Lim2010-04-081-2/+9
|
* Record 64 does not record sound #1244Aleksey Lim2010-04-031-37/+20
|
* Hide photo/video tabs if camera doesn't exist #847 #848Aleksey Lim2009-06-011-10/+47
|
* Change only volumes for "Capture" channels and let user change othersAleksey Lim2009-04-281-3/+6
|
* Do not change volumes for boost channelsAleksey Lim2009-04-251-2/+3
|
* Fix freezing during second audio captureAleksey Lim2009-04-251-8/+5
|
* Do not encode audio on-the-fly while encoding videoAleksey Lim2009-04-241-18/+63
|
* Set volumes to max for all capture channelsAleksey Lim2009-04-241-0/+12
|
* Add combobox to select vide qualityAleksey Lim2009-04-241-9/+16
|
* Use gstvalve from binariesAleksey Lim2009-04-211-5/+5
|
* Speedup photo captureAleksey Lim2009-04-211-38/+45
|
* Rewrite glive.pyAleksey Lim2009-04-201-485/+282
| | | | | | | * Use uuid and do not md5 video files * Fallback to ximagesink if xvimagesink is unaccessible * Use one pass for encodings * Remove glivex and add thumb_play to glive
* Fallback to ximagesink if xvimagesink is unaccessibledev.laptop.orgAleksey Lim2009-04-171-5/+35
|
* Replate tabs by spacesAleksey Lim2009-04-171-460/+460
|
* Pipeline reworkDaniel Drake2008-11-231-166/+158
| | | | | | | | | | | | | Record-59 is broken in joyride because we moved to a gstreamer, which doesn't like these broken pipelines. This commit reworks the whole pipeline system, making it easier to read and generally better structured. This is the work I did this summer, which didn't quite work for 8.2. Now that we have upgraded to the newer gstreamer in F10, the bugs have disappeared. There are a couple of quirks with video recording but it works well.
* Revert pipeline reworkDaniel Drake2008-08-291-148/+164
| | | | | Revert to the old pipeline, which at least works 100% with the old gstreamer versions that we are now shipping.
* Also stop pipeline when stopping recordingDaniel Drake2008-07-081-5/+15
| | | | Otherwise we get a really spooky live video lag
* Stop pipeline while linking in video recording elementsDaniel Drake2008-07-081-6/+2
| | | | | | | | | When you add the video recording elements (theora + wav writing) on-the-fly, there is a very visible freeze to the recorded video output (several seconds). This delay completely goes away if you stop the pipeline while doing the reshuffling, and the visual glitch caused by this is minimal.
* fix playing and pausingDaniel Drake2008-07-081-1/+2
| | | | Must have missed these hunks somehow
* Old v4l2src does not have queue-sizeDaniel Drake2008-07-071-1/+6
|
* Pipeline reworkDaniel Drake2008-07-011-162/+134
| | | | | | | | | | Move to a model where the pipeline core is fixed, and we can plug in photo and video bins to the tee element, and/or add an audiobin separated from the rest for recording audio. Fixes problems caused by not doing pad blocking and having unconnected elements lying around in the pipeline. Video recording is not quite working right... Audio and photo seem OK.
* don't use gst.Element.set_state as an idle handlerDaniel Drake2008-07-011-2/+6
| | | | | It returns True on success, which results in the idle handler calling the function again...
* Remove gst signal watch before disabling sync message emissionDaniel Drake2008-06-301-2/+2
| | | | A gstreamer assertion suggests this is the correct order of operations.
* done for the dayerikb2008-01-171-8/+3
| | | | git-svn-id: http://mediamods.com/public-svn/camera-activity/tags/51@1016 574bc980-5f2d-0410-acbc-c8f9f0eb14e0
* 51erikb2008-01-161-57/+43
| | | | git-svn-id: http://mediamods.com/public-svn/camera-activity/tags/51@1013 574bc980-5f2d-0410-acbc-c8f9f0eb14e0