links for 2009-07-05

5 Luglio 2009

links for 2009-07-02

2 Luglio 2009

Nautilus script with mencoder for convert mkv videos in android format with embedded srt subtitles

25 Giugno 2009


#!/bin/bash
for arg
do
mkvextract tracks "$arg" 3:"$arg.srt"
mencoder "$arg" -o "$arg".mp4 -vf scale=480:-10,harddup -lavfopts format=mp4 -faacopts mpeg=4:object=2:raw:br=128 -srate 16000 -oac faac -mc 0 -noskip -ovc x264 -sws 9 -x264encopts nocabac:level_idc=30:bframes=0:global_header:threads=auto:subq=1:turbo:frameref=6:partitions=all:trellis=1:chroma_me:me=umh:bitrate=1250 -sub "$arg".srt -ffactor 1 -fontconfig -font Arial -subfont-text-scale 4 -of lavf
done

This script copied in the .gnome2/nautilus-scripts folder can convert your mkv movies in a format suitable for the G1/G2 android device.
it extracts with mkvextract (you must install mkvtools in your system) the subtitles track .srt and then you can have the video .mp4 hardsubbed.
fps setted to 13 and audio rate 128:16000 (all for more speed conversion without loosing quality in a portable device!)
enjoy


links for 2009-06-25

25 Giugno 2009
  • This is the script I use to convert (from terminal) all *.mpg files to .avi (xvid)
    Code:

    #!/bin/bash

    for f in $(ls ./ |grep .mpg |grep -v .avi ) ; do
    xv=`echo "$f" | sed 's/\.\w*$/.avi/'` ;
    ffmpeg -i $f -f avi -vcodec xvid -b 800 -g 300 -bf 2 -acodec mp2 -ab 128 $xv ;
    echo $f converted to $xv ;
    rm $f ;
    done

    This works for me where the script on this thread doesn't. (after selecting convert to xvid it opens the progress bar for a fraction of a second and exits)


links for 2009-06-22

22 Giugno 2009

links for 2009-06-21

21 Giugno 2009
  • 9 ( ̄□ ̄;) Surprised
    10 (#^.^#) Shy
    11 (*´▽`*) Infatuation
    12 (ーー;) Worried
    13 (*^▽^*) Joyful
    14 _| ̄|○, orz, OTL, etc Depressed
    15 (^▽^) Laughing
    16 キタ━━━(゜∀゜)━━━!!!!!, (゜∀゜), etc I think it is “I’m here!!!”, but I just don’t really know!
    17 (´・ω・`) Snubbed
    18 ( ゚ Д゚) Shocked
    19 (・∀・) Laughing
    20 (T▽T) Crying
    21 (* ̄m ̄) Dissatisfied
    22 ( ´∀`) Laughing
    23 (⌒▽⌒) Laughing
    24 (^v^) Laughing
    25 ヽ(´ー`)┌ Mellow
    26 (’-’*) Laughing
    27 (’A`) Snubbed
    28 (゜◇゜) Surprised
    29 (*°∀°)=3 Infatuation
    30 ∩( ・ω・)∩, ( ・ω・), etc Joyful
  • Titolo Principale: Tales of the Abyss
    Titolo Originale: テイルズ オブジ アビス
    Tipo: Action, Adventure, Angels, Goddessess, High Fantasy, Magic, Parallel Universe, Shounen, Slapstick – similar
    Anno di Messa in Onda: 03.10.2008
    Produzione: Sunsrise

    Storia

    Luke è un giovane principe segregato nel maniero del padre: questo fino a sette anni prima, data del sup rapimento. Dopo questo fatto Luke perse la memoria e incominciò a sentire delle voci che lo debilitavano fisicamente.
    Fu proprio a causa di questo avvenimento che il ragazzo venne ritenuto cagionevole di salute e quindi bisognoso di protezione… almeno agli occhi dei genitori.
    Ma in realtà il giovane stava letteralmente esplodendo: la sua curiosità verso il mondo esterno era notevole e purtroppo quel poco che sapeva gli era stato celato dalla sua amnesia.
    Fortunatamente la vita di Luke gode anche di fattori positivi: innanzitutto ha un maestro d'armi a cui è molto legato, ovvero un generale molto abile in combattimento. Inoltre il ragazzo ha

  • Yuuji Sakai è un normale studente fino al giorno in cui incontra il paranormale e con esso Shana, una ragazza dai capelli rossi e gli occhi di fuoco. Shana è una Flame Haze che ha come obbiettivo la caccia agli Abitanti Cremisi (Guze no Tomogara) e il mantenimento dell'equilibrio del mondo tramite questa procedura. Dopo aver mostrato a Yuuji la verità sul mondo e avergli spiegato che lui è un "Torch" speciale, deciderà di proteggerlo. Gli Abitanti Cremisi vengono dal Regno Cremisi e rubano l'energia che forma il mondo, il "Potere dell'esistenza" dalle persone che lo popolano per utilizzarla per ambizioni personali. A loro si contrappongono appunto le Flame Haze, che hanno il potere speciale di far rivivere come "Torch" le persone il cui il potere dell'esistenza è stato rubato in modo da non apportare modifiche visibili alla realtà in cui le altre persone vivono. I "Torch" hanno sempre la forma delle figure che avevano perso il potere dell'esistenza, ma sono condannate a svanire dalla m

FIXED THE MUSIC CUT BUG IN A2DP MODE?

17 Giugno 2009

Seems that after 2 days of testing the bug of the music cut described here is resolved… or almost it doesent reproduces itself like before. all thanks to the new ION rom, the official one, posted in the HTC support portal.

the specs:
firmware version: 1.5
baseband version: 62.50S.20.17H_2.22.19.26I
kernel version: 2.6.27-00393-g6607056 san@sandroid #1
build number: CBR43

Remains the problem of PARING … but i’m quite happy now.
i have only to test the behavior of A2DP bluetooth with the most problematic MyTracks GPS …

____________________________________________________________
EDIT: tested with GPS mymaps by google and the cut went back!
not as frequent as before.. only when i stop running fast to take breath.. strange, very strange…

seems that the new kernel works… ;)


links for 2009-06-17

17 Giugno 2009
  • RESTORING A NANDROID BACKUP COMMANDS:
    … you dont need to make a update.zip from your nand backup

    just put the files of your nandroid backup – the img files – into your tools folder of the android sdk
    open your windows cmd
    change to the tools folder of your android sdk
    start your phone in fastboot (the one with the skaterboards)
    connect your phone to the pc
    and enter the following commands

    fastboot erase system -w
    fastboot erase boot
    fastboot flash system system.img
    fastboot flash userdata data.img
    fastboot flash boot boot.img
    fastboot reboot

    with this you will put the files from your nandbackup on your phone and everything is restored

  • Attention!
    This document applies to the Google I/O Device for developers only. The Google I/O Device with its unique color and pattern can be seen here. This document is not suitable for the T-Mobile G1 or any other Android powered phone.

    Flashing your Google I/O Device with a Factory System Image

    This page provides instructions on how you can flash your Google I/O Device with a factory Android platform system image and associated radio image. From here, you can also download the actual image binaries, as well as relevant tools to help you flash the images to your device.


Google ION rom, still the best (now on htc official site)

16 Giugno 2009

it’s on the official HTC support site now, with all the instruction on how to flash it on your magic or google ion.
http://www.htc.com/www/support/android/google-io-device.html
after i’ve tried several firmwares, this is still the best rom, in therms of speed, affability, simplicity.
the only bug, that isn’t fixed in any rom yet, is related to the bluetooth A2DP, and also the paring with the bluetooth headset.
this bug manifests as an incapability of connecting (in audio mode with A2DP) to the headset if those are turned on after the system bluetooth of the device.
but… more problematic is the cut off of the sound randomly during the music playing… in certain conditions this became very annoying and should be tagged as an urgent to fix bug.
i’ve tested that it doesn’t depend on the processor speed, even with an overclock of the cpu (527 Mhz via an android widget downloaded fron the market) the cut of the music persist sometimes.
i’ve noticed, at last, that, and for that reason i call it CUT, it is not a real STOP of the music, because when the music returns afer the lak of sound, it is not restored from the moment that it stopped (like when you push PAUSE and then again PLAY), but it’s more like when you low down totally the volume… the music in the background still continues.
this made me think of only a bluetooth problem… we will wait.. fug fixxxxxxxx!


links for 2009-06-15

15 Giugno 2009