Active Topics

 



Notices


Reply
Thread Tools
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#151
Originally Posted by pichlo View Post
If I may, there is a minor improvement I would like to suggest.
Please do, major improvements too! I kinda just threw this together last night...

My intended use case did not include recording my voice over the video. So my suggestion is this: instead of 4 radio buttons, have just 3 checkboxes for mic, speakers and screen and let the user choose his own combination (6 permutations altogether).
Yeah, I basically just added one more button to the UI, because I finally managed to get a set of audio / video / container GStreamer options that (a) worked together without complaints and (b) was simple enough to run on the base N900 media player. I suspect what really needs to be done is to create a new dialog box or window to hold the various configuration options, and just allow the main window to display the currently chosen option and the various record / pause / stop controls. Once that is done, lots more options can be added (like other video sources, etc.). It's just getting to be too much to display all on one screen...

I tried the new feature by trying to record the video stream from the camera app. It recorded the screen decorations and my voice but the actual video was blank. As if the camera app did not export the video in a way Orecchiette could access it.
Interesting! Hmm, maybe the camera app is bypassing X to display its data? (I guess that would make sense, if they've got a way to directly blast pixels at the screen; it could save a little CPU.)

I'm not entirely sure how to remedy this (at least within GStreamer); I guess there might be some way to access the frame buffer directly?

I tried recording a video from cuteTube. That worked fine in a sense that it recorded everything, but the CPU usage went through the roof and the playback was terribly jerky with the audio out of sync.
Yeah, I guess this is still a GStreamer app, even after I dropped the audio encoder and set the video speed to 5 frames per second. It looked like I was getting CPU usage of 30% or less overall during my (limited) testing, but that's still a lot of CPU, and I didn't try to record much significant animation. (And I dunno what happens when two apps try to use the DSP at the same time...)

I tried to make another recording and got a yellow banner saying "Error: Unable to link avContainer to outputFile". That was perfectly reproducible until I closed and reopened Orecchiette.
Well, shoot. That is not a message I would expect; the "avContainer" is a GStreamer matroskamux element, and the "outputFile" is a GStreamer filesink element. These elements should be regenerated anew each time the GStreamer pipleline is created; an error like that would mean, I think, that some portion of a previous pipeline was hanging around and interfering with the new one. I've got an internal check to make sure that I don't try to start a new pipeline if one is already running, but maybe I need to check more closely to see whether the previous pipeline was cleanly removed...

BTW, the error messages that pop up in the Hildon banners are also sent to the "STDERR" stream. So if you'd like, you should be able to catch them if you run Orechiette from the command line...
 

The Following 6 Users Say Thank You to Copernicus For This Useful Post:
Posts: 178 | Thanked: 91 times | Joined on May 2011 @ Mira (Venice) - Italy
#152
Copernicus... I love your app... really! But... an you change the icon with something in maemo style?
 

The Following User Says Thank You to Vento For This Useful Post:
pichlo's Avatar
Posts: 6,447 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#153
Eh? What's un-Maemo-style about Orecchiette's icon?

Being an Italian, I am sure you know where the app's name comes from. I personally find it rather fitting.
__________________
Русский военный корабль, иди нахуй!
 

The Following 3 Users Say Thank You to pichlo For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#154
Given my rather minimal artistic skills, I'm always open to suggestions as to improvements in the icons.

I'll probably be updating the icons a bit in the future, as it turns out that my current icons don't scale up well (which is something that is now required for high-pixel-density screens). I do intend to keep the pasta theme going as long as I can, though...
 

The Following 2 Users Say Thank You to Copernicus For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#155
Also, by the way, the formula I'm currently using for video starts with the ximagesrc element, passes that data through ffmpegcolorspace and into the dspmp4venc encoder, then throws it into the matroskamux container element and then to a file. If you'd like to do that on the command line, the command should be something like this:

Code:
gst-launch-1.0 -v ximagesrc ! video/x-raw-rgb,framerate=5/1 ! ffmpegcolorspace ! dspmp4venc ! queue ! matroskamux ! filesink location=pathAndNameOfFile.mkv
That'll record video, but no audio. (And yeah, "pathAndNameOfFile" should be replaced with whatever you want to call the file.)
 

The Following 5 Users Say Thank You to Copernicus For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#156
That new feature is absolutely awesome idea, and - to me - a complete surprise. I wasn't aware that something like this might be thrown together so quickly. Anyway, I can imagine some very good uses for it, even from top of my head

Now, as I may presume, I'm not a kind of 'nay'sayer, but are you sure that it fits Orecchiette, and shouldn't become separate program? Now, I understand that having zillion tools for similar things may be irritating (both for developer and users), so personally, I'm split a little about this, but we've gone from audio-recording to video-screen-recording. And I can quite imagine that feature/options list for that componenjt will only get longer with time..

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 2 Users Say Thank You to Estel For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#157
Originally Posted by Estel View Post
I wasn't aware that something like this might be thrown together so quickly.
[ ... ]
are you sure that it fits Orecchiette, and shouldn't become separate program?
Well, to be honest, the reason why I was able to throw it together so quickly is that Orecchiette is at the moment something of a gui front-end for calls to GStreamer. I did intend for Orecchiette to be just a "little ear", and so tailored to audio recording tasks, but it might work as a general front-end to GStreamer tasks of all sorts. Certainly, using Orecchiette here allows you to take advantage of Pichlo's work on file naming, and (once I get things working properly) should let you control both video and audio encoding formats. (And yeah, I don't see why we couldn't just throw in options for the front and back video camera sources too... GStreamer can be a fantastically powerful tool. )

But yeah, it might make more sense to have separate apps focussed on separate media recording tasks.
 

The Following 3 Users Say Thank You to Copernicus For This Useful Post:
nokiabot's Avatar
Posts: 1,974 | Thanked: 1,834 times | Joined on Mar 2013 @ india
#158
What is video screen recording ?
 

The Following User Says Thank You to nokiabot For This Useful Post:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#159
Originally Posted by nokiabot View Post
What is video screen recording ?
I will assume this is not a troll. Making a film of what is happening on the screen of the device. Also known as screen-casting.
 

The Following 4 Users Say Thank You to handaxe For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#160
Originally Posted by nokiabot View Post
What is video screen recording ?
It's pretty much as the name says -- you take the content being displayed on the screen, and store it to a file in a manner that can be played back like any other type of video recording.

This can be convenient for showing examples of apps running on the phone, for teaching users how to use the phone in general or an app in particular, or really any number of situations where you'd like to have a record of what is happening on the screen...

(Here's a link to the example video I posted earlier.)
 

The Following 7 Users Say Thank You to Copernicus For This Useful Post:
Reply

Tags
nokia n900, pasta, recording


 
Forum Jump


All times are GMT. The time now is 19:09.