Does anybody know about ffmpeg, which can be used from terminal emulator directly in phone? I found just these compiled libraries
Any ideas?
Kokesh has been successful?
I also want an ffmpeg binary to run inside the terminal
Nope, still stitching my videos in PC
Sent from my LG-P500 using XDA App
Any news on this? If at least the demo client from the ffmpeg4android app (the one for referred libraries, I guess) it would be awesome.
Or has anybody got the demo client fixed?
Sent from my Xoom using xda app-developers app
I compiled ffmpeg last year when I was trying to compile every app under the sun for android. Kinda got sidetracked on that a little. Here's the version I compiled last year.
FFmpeg binaries
http://d-h.st/4VD
FFmpeg libraries
http://d-h.st/iLh
You need to extract the libraries to a folder, then add it to the LD_LIBRARY_PATH variable
For example:
LD_LIBRARY_PATH=/data/tmp/lib;$LD_LIBRARY_PATH
Does anybody has a recent version compiled statically?
This should work:
[HOWTO]Use ffmpeg on android
Hi Guys
There is one i found on app store its call:
FFmpeg Media Encoder by SilentLexx
You can extract binary from that app and use it in terminal works good
but im still looking for different one cos that one cant record screen of my phone
This is good for compressing videos demuxing muxing everythink works great very usefull. Just need to figure all commands out
Let me know if somebody have better one
Have fun guys
dd_command said:
Hi Guys
There is one i found on app store its call:
FFmpeg Media Encoder by SilentLexx
You can extract binary from that app and use it in terminal works good
but im still looking for different one cos that one cant record screen of my phone
This is good for compressing videos demuxing muxing everythink works great very usefull. Just need to figure all commands out
Let me know if somebody have better one
Have fun guys
Click to expand...
Click to collapse
Could you tell me the name of the binary? I only could find libffmpeg.so archives for armeaby-v7a and x86.
scandiun said:
Could you tell me the name of the binary? I only could find libffmpeg.so archives for armeaby-v7a and x86.
Click to expand...
Click to collapse
Thats the binary libffmpeg.so just do:
Code:
cp libffmpeg.so /system/xbin/ffmpeg
chmod 777 /system/xbin/ffmpeg
and you got it
dd_command said:
Thats the binary libffmpeg.so just do:
Code:
cp libffmpeg.so /system/xbin/ffmpeg
chmod 777 /system/xbin/ffmpeg
and you got it
Click to expand...
Click to collapse
I see, but would be possible to use ffmpeg from terminal without the need of being root?
Use it as terminal app
scandiun said:
I see, but would be possible to use ffmpeg from terminal without the need of being root?
Click to expand...
Click to collapse
You just need to copy ffmpeg binary to terminals folder my is there /data/data/jackpal.androidterm/
Related
I was wondering if its possible to replace the default applications?
Specifically, I'd like to replace the built-in "Alarm clock" app with Koush's excellent "Klaxon" app.
Anybody know how to do this? Can it be done with ADB push/pull?
I'm running JF's rooted RC30, 1.2, with the engineering booloader.
cheers, and happy new year!
-- michael
adb remount
adb shell rm /system/app/AlarmClock.apk
adb shell rm /system/app/AlarmClock.odex
adb push Klaxon.apk /system/app
That's one way to do it. Klaxon will then survive hard resets.
The recommended way to do it is to extract the system directory to your computer. Change the files around in the same manner as above, and use "mkyaffs2image -f directory image" to create a new image. Then use fastboot to flash that image. That's a bit more complicated though.
Koush said:
adb remount
adb shell rm /system/app/AlarmClock.apk
adb shell rm /system/app/AlarmClock.odex
adb push Klaxon.apk /system/app
That's one way to do it. Klaxon will then survive hard resets.
The recommended way to do it is to extract the system directory to your computer. Change the files around in the same manner as above, and use "mkyaffs2image -f directory image" to create a new image. Then use fastboot to flash that image. That's a bit more complicated though.
Click to expand...
Click to collapse
koush, thats a good idea! i want to try that. hey question, did you get the wireless in cupcake to work?
korndub said:
koush, thats a good idea! i want to try that. hey question, did you get the wireless in cupcake to work?
Click to expand...
Click to collapse
Nah, I didn't play around with it for that long.
Koush said:
Nah, I didn't play around with it for that long.
Click to expand...
Click to collapse
me either. too bad that its not complete. would be nice to have the native keyboard...
Koush said:
adb remount
adb shell rm /system/app/AlarmClock.apk
adb shell rm /system/app/AlarmClock.odex
adb push Klaxon.apk /system/app
That's one way to do it. Klaxon will then survive hard resets.
The recommended way to do it is to extract the system directory to your computer. Change the files around in the same manner as above, and use "mkyaffs2image -f directory image" to create a new image. Then use fastboot to flash that image. That's a bit more complicated though.
Click to expand...
Click to collapse
Would it be possible to do this all through cygwin, or would I need a full linux VM?
s0niqu3 said:
Would it be possible to do this all through cygwin, or would I need a full linux VM?
Click to expand...
Click to collapse
Those commands would work in Windows or Linux.
Koush said:
Those commands would work in Windows or Linux.
Click to expand...
Click to collapse
Hi,
I know the adb commands will work, I apologize for not being more specific, I was wondering if it would be possible to extract the system image, and build a new one without a linux vm.
s0niqu3 said:
Hi,
I know the adb commands will work, I apologize for not being more specific, I was wondering if it would be possible to extract the system image, and build a new one without a linux vm.
Click to expand...
Click to collapse
Yes, the mkyaffs2image tool is available as a Windows binary. I've seen it floating around this forum somewhere. Or you can ask JesusFreke to build you the executable; he has Cygwin set up properly.
Ok, time for another question that's semi-related.
Can anyone think of any reason why removing the "email" program can't be removed?
I only use the gmail app, and can't foresee needing the regular email app as gmail can check any other accounts I ever setup.
I tried push some app to system/app and I find that all app add to system/app will be alway active (as running app or service)
s0niqu3 said:
Ok, time for another question that's semi-related.
Can anyone think of any reason why removing the "email" program can't be removed?
I only use the gmail app, and can't foresee needing the regular email app as gmail can check any other accounts I ever setup.
Click to expand...
Click to collapse
I second the question. I'd like to remove the stock Email and replace it with K-9.
danguyf said:
I second the question. I'd like to remove the stock Email and replace it with K-9.
Click to expand...
Click to collapse
So far I have removed:
Alarm Clock
Voice Dialer
Email
IM
Talk
com.amazon.mp3
Sound Recorder
Camera
The stock Browser with the auto-rotating one
Stay away from sync/service packages (Im*, calendar, gmail, gtalkservices, etc) as you will find yourself with some interesting errors and malfunctioning apps. Leave MyFaves be as well (documented elsewhere in the forum); if you want it gone, install ADP1.
question to those with a little more knowledge than I.
Running Kings Espresso 1.3 with 160mb swap (this motha flies off teh chain..had to treat myself for a first degree burn on my thumb) on my MT3G and i was wanting to add HTC Footprints back into the build. He had it in V0.1 and then removed it. How would I put it back into the build using adb? would i have to include the odex file along with the apks for footprints and the footprints widget?
just looking to learn a little more
i would say...adb push it? lol but i never use it or need it so i wouldnt know...
the1gladiator said:
question to those with a little more knowledge than I.
Running Kings Espresso 1.3 with 160mb swap (this motha flies off teh chain..had to treat myself for a first degree burn on my thumb) on my MT3G and i was wanting to add HTC Footprints back into the build. He had it in V0.1 and then removed it. How would I put it back into the build using adb? would i have to include the odex file along with the apks for footprints and the footprints widget?
just looking to learn a little more
Click to expand...
Click to collapse
Maybe ask in the appropriate thread instead of starting a new development thread for a question about a rom.
bkmo said:
Maybe ask in the appropriate thread instead of starting a new development thread for a question about a rom.
Click to expand...
Click to collapse
if you can't answer the question how about just remaining quiet?
the1gladiator said:
if you can't answer the question how about just remaining quiet?
Click to expand...
Click to collapse
I see what you did thar.
the1gladiator said:
if you can't answer the question how about just remaining quiet?
Click to expand...
Click to collapse
I believe you can take the apk for v0.1 and copy it into your tools folder open either cmd if on windows or terminal if on linux and for windows type adb install filename.apk and for linux ./adb install filename.apk
ps: forgot remember to cd to your tools folder in your sdk also I haven't done mac because I haven't used adb and mac XD However I bleieve mac and linux commands for adb may be similar or the same 0o
xillius200 said:
I believe you can take the apk for v0.1 and copy it into your tools folder open either cmd if on windows or terminal if on linux and for windows type adb install filename.apk and for linux ./adb install filename.apk
ps: forgot remember to cd to your tools folder in your sdk also I haven't done mac because I haven't used adb and mac XD
Click to expand...
Click to collapse
i thank you my friend. i think that would be it...i did adb push and just pushed it there and OOPSIE, it went bye bye so i had to reflash mi rom.
let me ask this, so my syntax would be....
adb remount
adb install filename.apk
is that it or do i need to give it a destination?
i'm just now relearning some of this stuff...i'm an older school programmer so i'm just now familiarizing myself with linux and source codes / packages for this type of development
the1gladiator said:
i thank you my friend. i think that would be it...i did adb push and just pushed it there and OOPSIE, it went bye bye so i had to reflash mi rom.
let me ask this, so my syntax would be....
adb remount
adb install filename.apk
is that it or do i need to give it a destination?
i'm just now relearning some of this stuff...i'm an older school programmer so i'm just now familiarizing myself with linux and source codes / packages for this type of development
Click to expand...
Click to collapse
Nope just adb install filename.apk you shouldn't even need to adb remount as it does not mess with /system files also you don't need to give it a directory
XD don't worry I understand you lol Im still learning
xillius200 said:
Nope just adb install filename.apk you shouldn't even need to adb remount as it does not mess with /system files also you don't need to give it a directory
XD don't worry I understand you lol Im still learning
Click to expand...
Click to collapse
now that leads me to ask the age old question...can one use the Package Manager to do this as well? just curious, although i prefer adb just for sheer intellectual purposes
the1gladiator said:
now that leads me to ask the age old question...can one use the Package Manager to do this as well? just curious, although i prefer adb just for sheer intellectual purposes
Click to expand...
Click to collapse
Yep package manager should be ok never used it guessing it is a file manager for android lol also if you use file managers I suggest androzip people suggest others like astro manager but what they don't relise is that androzip supports .rar files etc. unlike others
ps: Don't tell me you are talking about synaptic package manager on ubuntu please no 0o lol if thats the case no but im guessing it isnt
xillius200 said:
Yep package manager should be ok never used it guessing it is a file manager for android lol also if you use file managers I suggest androzip people suggest others like astro manager but what they don't relise is that androzip supports .rar files etc. unlike others
ps: Don't tell me you are talking about synaptic package manager on ubuntu please no 0o lol if thats the case no but im guessing it isnt
Click to expand...
Click to collapse
Nah meant to say Package Installer native to android or Astro. Thanks for the heads up, was thinking too far ahead with the adb commands. Ripped them and looks like they are loaded and working...appreciate your input
the1gladiator said:
Nah meant to say Package Installer native to android or Astro. Thanks for the heads up, was thinking too far ahead with the adb commands. Ripped them and looks like they are loaded and working...appreciate your input
Click to expand...
Click to collapse
No Problem just glad I could help
I can't believe theres an app in the market that makes you pay for an unrar library..
here is the arm binary freshly compiled so you may use it with android term.
tar xf unrar.tar -C /data/local/tmp/
chmod 777 /data/local/tmp/unrar
cd /data/local/tmp/unrar
<test it out> (aka ./unrar)
move to system/xbin or wherever.. just not sdcard.
perhaps this has been posted before.. but probably not version 4. woo post whore.
thanks, this is much faster than unrar pro on the market
btw, can you tell me how can I extract only ONE file from a rar with this utility?
thanks in advance
Adolf1994 said:
thanks, this is much faster than unrar pro on the market
btw, can you tell me how can I extract only ONE file from a rar with this utility?
thanks in advance
Click to expand...
Click to collapse
Pretty sure its unrar x file.rar -n file/youwant/to/extract/
Or unrar x file.rar [email protected]
its a lengthly --help output.. its all there!
Maybe U cud write a UI app too ( a rooted one ) ..that wud make it cooler
Blades said:
Pretty sure its unrar x file.rar -n file/youwant/to/extract/
Or unrar x file.rar [email protected]
its a lengthly --help output.. its all there!
Click to expand...
Click to collapse
nope, it doesn't work
I get this everytime
Code:
$ unrar x System\ 3.0.A.2.181.rar -n /system/app/textinput-tng.apk /sdcard/download/play
UNRAR 4.00 freeware Copyright (c) 1993-2011
Alexander Roshal
Extracting from System 3.0.A.2.181.rar
No files to extract
edit: oh god, wildcard that made it
-n *textinput-tng.apk worked well
sarfaraz1989 said:
Maybe U cud write a UI app too ( a rooted one ) ..that wud make it cooler
Click to expand...
Click to collapse
Oh ****. Serious?
i could probably work something up pretty easily..might look at it later.
Illegal Instruction
On x10 mini pro, getting 'illegal instruction' error...
hi there,
I tried this and it does work on my phone which is really cool. But it doesn't work on the emulator and someone reported it doesn't work on the x10? Hmm shouldn't this work on all devices if its compiled for the arm architecture? Also I tried to run the binaries that are posted by RarLabs found here and they do not run either
(Ok I cannot actually post the link but you should be able to find it)
Command line freeware ARMEL v4 Linux UnRAR.
Command line freeware ARM Linux UnRAR.
These are different architectures too? I was considering using this binary in my app but wonder how many devices it will be incompatible with
I extracted "unrar" to /system/xbin, and tried it there from my PC with adb shell and from phone with terminal emulator... it says "cannot execute - Permission denied".
I'm on a rooted verizon lte samsung galaxy nexus.
I tried "unrar x file.rar" at the command line...
edit: I executed "chmod 777 /system/xbin/unrar" b/c thats where I put the unrar command/shell file, and that fixed it... i guess that makes it executable.
Sweet! Thanks!!! +100
yep you can't run on sd card.
i tested this executable on many many devices, it works on about 50% of them only though
Any geniuses out there know how to compile it to make it 100% compatible?
Thank you, very helpful
govindadas said:
I executed "chmod 777 /system/xbin/unrar" ...... and that fixed it... i guess that makes it executable.
Sweet! Thanks!!! +100
Click to expand...
Click to collapse
Hi
when I do chmod 777 on the file,
I get
"Operation not permitted"
That's because my phone is not rooted? :/
I there anyway to succeed in doing chmod when the phone is not rooted?
Thank you
unrar 5.1.6 file for android arm
Blades said:
I can't believe theres an app in the market that makes you pay for an unrar library..
here is the arm binary freshly compiled so you may use it with android term.
tar xf unrar.tar -C /data/local/tmp/
chmod 777 /data/local/tmp/unrar
cd /data/local/tmp/unrar
<test it out> (aka ./unrar)
move to system/xbin or wherever.. just not sdcard.
perhaps this has been posted before.. but probably not version 4. woo post whore.
Click to expand...
Click to collapse
hi there this works perfecty on my android system...
but i have a question would it bee possible to make another one for version 5.1.6? this would realy help me
EagleEyeX said:
hi there this works perfecty on my android system...
but i have a question would it bee possible to make another one for version 5.1.6? this would realy help me
Click to expand...
Click to collapse
Nobody?
EagleEyeX said:
hi there this works perfecty on my android system...
but i have a question would it bee possible to make another one for version 5.1.6? this would realy help me
Click to expand...
Click to collapse
Hi, I know this is an old post, but I need desperately an Unrar command line module for Android, using the latest version. Is there any possibility to generate it again?
Many thanks in advance!
Hi I was wondering if it were possible to run adb on my infinity so I can hook my phone up to it.
I'm getting real tired of firing my old laptop to use adb for my phone.
shaggydiamond said:
Hi I was wondering if it were possible to run adb on my infinity so I can hook my phone up to it.
I'm getting real tired of firing my old laptop to use adb for my phone.
Click to expand...
Click to collapse
I found this a while ago, but never tried it:
http://forum.xda-developers.com/showthread.php?t=2033722
_that said:
I found this a while ago, but never tried it:
http://forum.xda-developers.com/showthread.php?t=2033722
Click to expand...
Click to collapse
Thanks, but this won't work for me, it's a flashable zip and I don't want to unlock my bootloader(yet)
shaggydiamond said:
Thanks, but this won't work for me, it's a flashable zip and I don't want to unlock my bootloader(yet)
Click to expand...
Click to collapse
Shouldn't need to flash anything. Just download the zip file, extract the contents, copy the `kadb' file to /system/bin (or /system/xbin), and finally set permissions (chmod 0755 /system/bin/kadb). To use, just open a terminal emulator and run the binary.
Haven't tried it myself, but it looks like what you're looking for.
becomingx said:
Shouldn't need to flash anything. Just download the zip file, extract the contents, copy the `kadb' file to /system/bin (or /system/xbin), and finally set permissions (chmod 0755 /system/bin/kadb). To use, just open a terminal emulator and run the binary.
Haven't tried it myself, but it looks like what you're looking for.
Click to expand...
Click to collapse
Oh i might have misread it then. i'll give it a go this weekend
Okk im looking for a software for pc or Android anyone would work
What i need to do is edit around 150 xml files
In all of them i have to do the same changes of copy and replace
For ex in all of them i have to vhange somc:colorizable with colorizable
Such changes i have to do.plzz suggest some apps or software
Sent from my C2305 using Tapatalk
A bash script using something like "sed" would do the trick.
Dark3n said:
A bash script using something like "sed" would do the trick.
Click to expand...
Click to collapse
Sir if i tell u what i want to search and replace in each file thwn can u write a script for me
Actually there are only 2 things that havr to be done in all files plzz sir
Sent from my C2305 using Tapatalk
abhishekr700 said:
Okk im looking for a software for pc or Android anyone would work
What i need to do is edit around 150 xml files
In all of them i have to do the same changes of copy and replace
For ex in all of them i have to change somc:colorizable with colorizable
Such changes i have to do.plzz suggest some apps or software
Click to expand...
Click to collapse
Try this:
Place all the files to be edited in a directory, say 'temp'
Open terminal in your Linux OS and change current directory to this created directory using cd command.
Now for example, to replace somc:colorizable with colorizable in all files, use this command in terminal:
Code:
sed -i 's/somc:colorizable/colorizable/g' *.xml
GokulNC said:
Try this:
Place all the files to be edited in a directory, say 'temp'
Open terminal in your Linux OS and change current directory to this created directory using cd command.
Now for example, to replace somc:colorizable with colorizable in all files, use this command in terminal:
Code:
sed 's/somc:colorizable/colorizable/g' *.xml
Click to expand...
Click to collapse
Thabks but i got a way of doing it via notepad ++
Sent from my C2305 using Tapatalk