Archive for June, 2013

cut/split mpeg2 files without re-encoding with ffmpeg

Sunday, June 9th, 2013
ffmpeg.exe -i input.mpeg -c copy -ss 00:02 -to 24:32 output.vob

-ss time_off set the start time offset
-t duration record or transcode “duration” seconds of audio/video
-to time_stop record or transcode stop time

.vob extension is important because it forces stream container to MPEG v2 for output file.

Changing Android’s disk encryption password

Sunday, June 2nd, 2013
$ su -c vdc cryptfs changepw newpass
su -c vdc cryptfs changepw newpass
200 0 0

What are these ro.secure and ro.adb.secure properties in Android?

Sunday, June 2nd, 2013

ro.secure=1 run adbd as unprivileged user
ro.adb.secure=1 adbd needs authentication