Thursday, 21 April 2016

Odroid Android

 

https://packages.debian.org/sid/utils/dvb-tools

 root@odroid-jessie:~# dvb-fe-tool
Device Sony CXD2820R (/dev/dvb/adapter0/frontend0) capabilities:
     CAN_2G_MODULATION
     CAN_FEC_1_2
     CAN_FEC_2_3
     CAN_FEC_3_4
     CAN_FEC_5_6
     CAN_FEC_7_8
     CAN_FEC_AUTO
     CAN_GUARD_INTERVAL_AUTO
     CAN_HIERARCHY_AUTO
     CAN_INVERSION_AUTO
     CAN_MULTISTREAM
     CAN_MUTE_TS
     CAN_QAM_16
     CAN_QAM_32
     CAN_QAM_64
     CAN_QAM_128
     CAN_QAM_256
     CAN_QAM_AUTO
     CAN_QPSK
     CAN_TRANSMISSION_MODE_AUTO
DVB API Version 5.10, Current v5 delivery system: DVBT
Supported delivery systems:
    [DVBT]
     DVBT2
     DVBC/ANNEX_A

Source

CM-12.1 Android 5.1.1 Lollipop for ODROID-XU3/XU4 (20151201)
http://dn.odroid.com/5422/ODROID-XU3/Android/4.4.4_Alpha_3.5_Mar-17-2016/

lsblk

 root@odroid-jessie:/mnt/sda1/odroid# lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda            8:0    0 931.5G  0 disk
└─sda1         8:1    0 931.5G  0 part /mnt/sda1
mmcblk0boot0 179:8    0     4M  1 disk
mmcblk0boot1 179:16   0     4M  1 disk
mmcblk0      179:0    0  29.1G  0 disk
├─mmcblk0p1  179:1    0  25.8G  0 part /boot
├─mmcblk0p2  179:2    0     1G  0 part /media/odroid/57f8f4bc-abf4-655f-bf67-946
├─mmcblk0p3  179:3    0     2G  0 part
└─mmcblk0p4  179:4    0   256M  0 part /media/odroid/57f8f4bc-abf4-655f-bf67-946
mmcblk1      179:24   0  14.9G  0 disk
├─mmcblk1p1  179:25   0    71M  0 part /media/odroid/boot
└─mmcblk1p2  179:26   0  14.8G  0 part /

dd bs=1M if=android-4.4.4-alpha-3.5-emmc_installer-odroidxu3-20160317.img of=/dev/mmcblk0
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 4.65627 s, 113 MB/s

  root@odroid-jessie:~# lsmod
Module                  Size  Used by
rfcomm                 32804  0
bluetooth             225844  3 rfcomm
rfkill                 12936  1 bluetooth
em28xx_rc               7134  0
cxd2820r               14479  1
em28xx_dvb             17935  12
em28xx                 92301  2 em28xx_dvb,em28xx_rc
tveeprom               11600  1 em28xx
videobuf2_vmalloc       3010  1 em28xx
snd_usb_audio         119694  2
snd_usbmidi_lib        19094  1 snd_usb_audio
snd_hwdep               5913  1 snd_usb_audio
snd_rawmidi            20142  1 snd_usbmidi_lib
snd_seq_device          6169  1 snd_rawmidi
spi_s3c64xx            13713  0
ina231_sensor           8388  0
fuse                   75445  5

 

Linux localhost 3.10.9-g62151c3-dirty #2 SMP PREEMPT Thu Jan 14 20:56:21 AMT 2016 armv7l GNU/Linux

Linux odroid-jessie 3.10.96+ #1 SMP PREEMPT Sun Feb 14 11:47:29 CET 2016 armv7l GNU/Linux

 

Thursday, 31 March 2016

TVheadend processes

Extract mp3 from .ts files

 
ffmpeg -i inputfile -f mp3 -acodec mp3 -ab 128k -ar 44100 -vn outputfile.mp3

http://quartz-net.co.uk/quartzwiki/index.php/TS_convert_using_ffmpeg#Audio_conversion

Down scale video

ffmpeg -i inputfile -s hd720 -c:v libx264 -crf 23 -c:a aac -strict -2 output.mp4
 
http://askubuntu.com/a/99648