[Q] Extracting frames from a video - Android Software Development

Hello everyone,
I've been looking for a way to extract frames from a video for my Android App... The only things I found were related to the Java Media Framework, which I did not succeed to use since Eclipse doesn't seem to recognize the packages even though I've installed JMF on my computer.
What I need is to be able to get a video that is located on the SSD card of the phone (The video is recorded from the phone) and be able to separate all the frames of it, so I can make some processing out of it... Is there any other way than the JMF library? Or maybe can someone help me get JMF to work?
Thanks a lot in advance for any help at all!

You wont be able to do this from the phone. Transfer the video to the computer, then use a video editing program to save frames. You will probably have to save each frame individually, unless you can find software to do it automatically.

I really hope you do figure out how to do this, especially if you're doing it to make any sort of video editing app. And if you're making a video editor please put a rotate video option. I always film in portrait mode then realize unlike the camera there's no rotate.

Related

convert videos?

hi,
how do i convert videos taken with the blackstone?
i setup mpeg4 but neither windows movie thing editor nor virtualdub can handle the file.
but i can play it with mpc without any problems.
linux...at least i see the video
i like to convert it to some moviemaker compatible format so i can quick edit some files to one video with effects in between.
thx!
Blackstone videos are already highly compressed as it is, so recoding them only to be able to use them in movie maker would give you awful videos. your best bet is avisynth - a frameserving application which basically feeds uncompressed stream from original video to the editing application. The idea is this, you create a text file which contains a link to the input file, save it with an .avs extension and then open that with an editing application. The avs file could be as simple as this:
DirectShowSource("c:\VIDEO0001.mp4")
I tried it now, and it works. You need to download avisynth and install it. Unforunately, i don't remember which apps open .avs files.
sorry i don't get it...
it's not about compression in detail.
i mean i do not want to compress or decompress the files.
i can not use it with moviemaker cause i just hear the sound and the picture is black.
so i thought i convert it to a format moviemaker can handle as it seems htc is saving it in some format that can not be used.
which i think is strange but...what do i know...
i which i could do all that with my jaunty
Well, here's the deal - every time you edit a video and save it, you are recompressing it, meaning you're getting a degraded picture quality. If you are only cutting out portions of video, then you can save it without recompression, meaning you get the same quality as the original file. The moment you add effects to the video (transitions, resizing, etc...), you have to reencode video - and get lower quality. Now, that may not be a big deal when your input files are high resolution videos, but when the input file is a heavily compressed ile, such as those made with Blackstone, it will definitely show.
Movie maker can't open mp4 files. The way i see it, if you really want to edit the files, your best bet is to download Super, a freware app which uses AviSynth as a part of it's encoding process, then output the files from blackstone as avi files in HuffYuv codec (lossless compression codec), open it in Windows Movie Maker, edit it and then save it. Note that Windows Movie Maker doesn't output to mp4, only wmv.
As far as getting only the sound an no video - deinstall all codecs or codec packs from your system and install ffdshow.

[Q] Clear.Fi - I don't get something.

We all know that the A500 can't play most regular video formats such as DiVX and so on natively, so can anyone explain to me how come the Clear.Fi app is able to read these files well enough to generate thumbnails of them, but fails when I try to play them?
It doesn't make sense to me... How can it make a thumbnail of a random frame from the video if it can't read the encoding?
Yes, I know I can use Moboplayer to play back, and I do... Just trying to work out how Clear.Fi can make thumbnails of files it can't play.
I was just wondering the exact same thing today, any ideas anyone?

Video Editing 60fps Video

Hey I took a couple 'smooth' videos during a bball game, problem is the phone fell over and 50% of it is darkness.
I'd like to edit the video but all the apps i see are saying the video is not supported, and the system editor won't cut such a large file. 2 - 3 gb.
anyone know a work around?
tb5... said:
Hey I took a couple 'smooth' videos during a bball game, problem is the phone fell over and 50% of it is darkness.
I'd like to edit the video but all the apps i see are saying the video is not supported, and the system editor won't cut such a large file. 2 - 3 gb.
anyone know a work around?
Click to expand...
Click to collapse
I'd suggest just moving the video files into your PC and do the rest there, but you're probably unable (as in you don't have access to a PC or etc) to do that if you're posting here.
well preferably i'd like it done on the phone, this is why i asked.
i guess there are no other options other than editing on pc...?
You could have a look at samsungs editor, don't know if it supports cutting.
http://www.samsungapps.com/appquery...droid.app.vefull&cntyTxt=234&equipID=SM-N910F
Sent from my SM-N910F

Disable all videos in windows

I must disable any kind of videos (.mp4 , .avi , .mpeg , would be a good start, if you do it by file extention).
I have a computer that is used by employees, and i must disable any kind of video (not audio) playback.
I was wondering if it was as easy as removing a certain DLL or registry, and being able to put it back when i want to.
(note: i am not talking about browsers here, i am talking about disabling on the pc itself, so that u cant open it in vlc, windows media player, or any ither portable program etc.)
thanks!
No real way to disable that. There will always be a work around for a savvy user.

video recorded plays sideways on PC

Hello,
I'm either missing something glaringly obvious or there is no solution to this, but every time I record a video on my phone in landscape mode, when watching this later on a PC the video is 90 degrees rotated.
Where would I find the setting to avoid this, or auto-rotate on my phone please? As far as I know, only the header tag would need changing which has nothing to do with how the video has been recorded.
The only solution I found thus far was to use the Photos built-in app and rotate the video, however it takes a good while to create the new file this way and I'm not even sure how this affects the quality of the video.
Thank you.

Categories

Resources