[mythtv] Disable software encoder to record as raw video format
Marcos Iuato
iuato at samurai.com.br
Tue Apr 10 15:01:10 UTC 2007
Hi,
Is it possible to disable software encoder to not use mpeg2 or mpeg4
when recording video? I would like to record as raw format.
Why? Becouse I have a hardware that I am using as my personal computer
and my pvr with mythtv, with a dualhead configuration, so I am using one
screen connected to my TV running Mythtv and at screen two connected to
a vga running xfce.
My video capture doesn't have hardware mpeg2 encoder, just hardware
mpeg2 decoder.
So if I do not software encoder, it will use less cpu and memory. All of
this becouse when running just mythtv, it is in swap and cpu idle is ~5%
when wathing live TV.
And sometimes It gets image freezing when watching live tv, when this
happens I get "2007-04-10 08:56:49.049 NVP: prebuffering pause".
sar -p
08:47:01 all 79,44 0,00 10,30 4,96 0,00
5,31
08:48:03 all 80,82 0,00 6,35 5,46 0,00
7,37
08:49:02 all 75,71 0,00 8,94 5,92 0,00
9,43
08:50:02 all 84,79 0,00 6,28 4,47 0,00
4,47
08:51:01 all 80,67 0,00 8,59 3,56 0,00
7,18
08:52:02 all 85,19 0,00 5,84 3,76 0,00
5,21
top - 08:55:51 up 21:33, 4 users, load average: 5.50, 4.63, 4.15
Tasks: 81 total, 2 running, 79 sleeping, 0 stopped, 0 zombie
Cpu(s): 83.8%us, 2.3%sy, 0.0%ni, 7.9%id, 6.0%wa, 0.0%hi, 0.0%si,
0.0%st
Mem: 224304k total, 220444k used, 3860k free, 320k buffers
Swap: 979956k total, 114452k used, 865504k free, 82360k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
27648 root 18 0 258m 43m 15m S 54.9 19.6 80:10.84 mythbackend
9636 sdm 15 0 187m 89m 27m R 24.2 40.8 21:43.45
mythfrontend
4711 root 15 0 78716 27m 11m S 5.3 12.7 27:07.64 Xorg
4801 sdm 15 0 37960 1940 1712 S 0.3 0.9 1:15.01 python
1 root 15 0 1948 540 512 S 0.0 0.2 0:02.07 init
2 root RT 0 0 0 0 S 0.0 0.0 0:00.00
migration/0
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Celeron(R) M processor 1.20GHz
stepping : 6
cpu MHz : 1200.062
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr mce cx8 apic sep mtrr pge mca
cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe up
bogomips : 2401.59
Memory: 256MB
Debian etch
Mythtv 0.20-svn20070223-0.0
Kernel 2.6.18
Filesystem: XFS in a 10GB partition.
More information about the mythtv-dev
mailing list