2014-01-06, 06:05 PM
(This post was last modified: 2014-01-06, 06:17 PM by poor_red_neck.)
Hello all,
I use transcoding for access on my android phone on the go with nDroid. My home internet upload is 5-7mbps on average, however the latency just doesn't allow viewing the uncompressed tv.
My dedicated tuner box is a P4 3.0GHz dual core (not sure if I have a prescott or northwood) running on XP SP3 32bit stripped to minimum installation/services). Only other thing this box does is WFS, HTTP server (only used for me accessing movies on the go using a PHP directory script) and MySQL server for XBMC database.
1.5G RAM
GeForce 210
Pinnacle 800i
I am only able to do live transcoding of HD sources at 400K using nDroid. Otherwise the video gets very choppy at around 10 seconds of playback. This is not a bandwidth issue as far as I can tell. When viewing a live un-compressed TV source, my bandwidth throughput on my phone is around 5mbps. When viewing a transcoding source, it drops to 200kb/sec to 500kb/sec. I'm assuming here ffmpeg can't transcode the data fast enough.
Is there any tweaking of the ffmpeg arguments that I can try? I've tried reading up on ffmpeg but I get lost very quickly. Here is the NPVR config info as it stands now.
I'm still using the ffmpeg that came with NPRV. I tried replacing it with he newest build but it would no longer function. I'm assuming something in the allowed arguments has changed.
Also here is some codec information if that helps.
I use transcoding for access on my android phone on the go with nDroid. My home internet upload is 5-7mbps on average, however the latency just doesn't allow viewing the uncompressed tv.
My dedicated tuner box is a P4 3.0GHz dual core (not sure if I have a prescott or northwood) running on XP SP3 32bit stripped to minimum installation/services). Only other thing this box does is WFS, HTTP server (only used for me accessing movies on the go using a PHP directory script) and MySQL server for XBMC database.
1.5G RAM
GeForce 210
Pinnacle 800i
I am only able to do live transcoding of HD sources at 400K using nDroid. Otherwise the video gets very choppy at around 10 seconds of playback. This is not a bandwidth issue as far as I can tell. When viewing a live un-compressed TV source, my bandwidth throughput on my phone is around 5mbps. When viewing a transcoding source, it drops to 200kb/sec to 500kb/sec. I'm assuming here ffmpeg can't transcode the data fast enough.
Is there any tweaking of the ffmpeg arguments that I can try? I've tried reading up on ffmpeg but I get lost very quickly. Here is the NPVR config info as it stands now.
Code:
<TranscodeExe>.\other\ffmpeg.exe</TranscodeExe>
<TranscodeArgs>-y -v 0 -i [SOURCE] -f mpegts -acodec libfaac -ar 48000 -ac 2 -ab 64k -s [RESOLUTION] -vcodec libx264 -b [BITRATE] -flags +loop -cmp +chroma -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 200k -maxrate 96k -bufsize 96k -threads 2 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect [ASPECT] -g 30 -async 2 [TARGET]</TranscodeArgs>
I'm still using the ffmpeg that came with NPRV. I tried replacing it with he newest build but it would no longer function. I'm assuming something in the allowed arguments has changed.
Also here is some codec information if that helps.
Code:
Codec Tweak Tool | Log file | Generated at 2014-01-06 11:52:49
##### System Information #####
OS: Microsoft Windows XP Service Pack 3 (5.01.2600)
DirectX: 9.0c
CPU name: Intel(R) Pentium(R) 4 CPU 3.00GHz
CPU speed: 3016 MHz
Memory: 1536 MB
Screen size: 1280x720 (32bits) (60Hz)
Video card: NVIDIA GeForce 210
VendorID: 10de, DeviceID: 0a65
Video mem: 1024 MB
Video driver: nv4_disp (Version 327.23)
Audio device: NVIDIA High Definition Audio
Audio driver: nvhda32.sys (Version 1.3.26.4) (6-16-2013)
##### K-Lite Codec Pack #####
KLCP version: 10.1.5
KLCP type: mega
MPC renderer: VMR-7 (windowed)
MPC subs: 1
##### Decoder Settings #####
LAV Video (x86):
H264=1|0 VC1=1|0 MPEG2=0|0 MPEG4=1|0 FLV1=1 WMV3=0
LAV Audio (x86):
MP3=1 AAC=1 Vorbis=1 AC3=1 DTS=1 LPCM=1 WMA=0
ffdshow (x86):
H264=0 VC1=0 MPEG2=0 XVID=0 DX50=0 DIV3=0 FLV1=0 RAW=0
MP3=0 AAC=0 Vorbis=0 AC3=0 DTS=0 LPCM=0 RAW=0
##### DirectShow Filters (32-bit) #####
Description: ffdshow Video Decoder
File name: c:\program files\k-lite codec pack\filters\ffdshow\ffdshow.ax
CLSID: {04FE9017-F873-410E-871E-AB91661A4EF7}
Merit: FF800001
Description: ffdshow Audio Decoder
File name: c:\program files\k-lite codec pack\filters\ffdshow\ffdshow.ax
CLSID: {0F40E1E5-4F79-4988-B1A9-CC98794E6B55}
Merit: FF800001
Description: LAV Splitter
File name: c:\program files\k-lite codec pack\filters\lav\lavsplitter.ax
CLSID: {171252A0-8820-4AFE-9DF8-5C92B2D66B04}
Merit: 00800004
Description: DirectVobSub (auto-loading version)
File name: c:\program files\k-lite codec pack\filters\vsfilter.dll
CLSID: {9852A670-F845-491B-9BE6-EBD841B8A613}
Merit: 00800002 = MERIT_PREFERRED + 2
Description: DC-Bass Source
File name: c:\program files\k-lite codec pack\filters\dcbass\dcbasssourcemod.ax
CLSID: {ABE7B1D9-4B3E-4ACD-A0D1-92611D3A4492}
Merit: 00400000 = MERIT_UNLIKELY
Description: LAV Splitter Source
File name: c:\program files\k-lite codec pack\filters\lav\lavsplitter.ax
CLSID: {B98D13E7-55DB-4385-A33D-09FD1BA26338}
Merit: 00400001 = MERIT_UNLIKELY + 1
Description: VP7 Decompressor
File name: c:\program files\k-lite codec pack\filters\vp7dec.ax
CLSID: {C204438D-6E1A-4309-B09C-0C0F749863AF}
Merit: 00800000 = MERIT_PREFERRED
Description: LAV Audio Decoder
File name: c:\program files\k-lite codec pack\filters\lav\lavaudio.ax
CLSID: {E8E73B6B-4CB3-44A4-BE99-4F7BCB96E491}
Merit: 00800003 = MERIT_PREFERRED + 3
Description: LAV Video Decoder
File name: c:\program files\k-lite codec pack\filters\lav\lavvideo.ax
CLSID: {EE30215D-164F-4A92-A4EB-9D4C13390F9F}
Merit: FF800000
Description: DScaler Mpeg2 Video Decoder
File name: c:\program files\k-lite codec pack\filters\mpegvideo.dll
CLSID: {F8904F1F-0371-4471-8866-90E6281ABDB6}
Merit: 00800000 = MERIT_PREFERRED
Description: NPVR MP3 Reader
File name: c:\program files\npvr\npvrmp3reader.ax
CLSID: {FA497213-FF30-4D43-9D1E-558D5FBB28C1}
Merit: 00400000 = MERIT_UNLIKELY
(A total of 105 filters, 11 shown, 94 hidden)
##### ICM Class Manager (32-bit) #####
Description: ffdshow video encoder
File name: c:\program files\k-lite codec pack\filters\ffdshow\ffdshow.ax
CLSID: {4DB2B5D9-4556-4340-B189-AD20110D953F} (ffdshow video encoder)
Merit: 00100000 = MERIT_SW_COMPRESSOR
(A total of 4 filters, 1 shown, 3 hidden)
##### Default source filters (32-bit) #####
.3g2 {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.3gp {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.3gp2 {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.3gpp {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.aac {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.ac3 {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.alac {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.amr {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.ape {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.bdmv {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.bmp {7DF62B50-6843-11D2-9EEB-006008039E37} Generate Still Video
.dib {7DF62B50-6843-11D2-9EEB-006008039E37} Generate Still Video
.dts {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.dv {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.dvr-ms {C9F5FE02-F851-4eb5-99EE-AD602AF1E619} StreamBufferSource
.evo {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.f4v {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.flac {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.flv {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.gif {7DF62B50-6843-11D2-9EEB-006008039E37} Generate Still Video
.hdmov {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.jfif {7DF62B50-6843-11D2-9EEB-006008039E37} Generate Still Video
.jpe {7DF62B50-6843-11D2-9EEB-006008039E37} Generate Still Video
.jpeg {7DF62B50-6843-11D2-9EEB-006008039E37} Generate Still Video
.jpg {7DF62B50-6843-11D2-9EEB-006008039E37} Generate Still Video
.m2t {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.m2ts {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.m3u {e436ebb5-524f-11ce-9f53-0020af0ba770} File Source (Async.)
.m4a {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.m4v {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.mka {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.mks {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.mkv {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.mov {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.mp3 {E436EBB5-524F-11CE-9F53-0020AF0BA770} File Source (Async.)
.mp4 {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.mp4v {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.mpc {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.mpls {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.mpv4 {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.mts {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.ofr {ABE7B1D9-4B3E-4ACD-A0D1-92611D3A4492} DC-Bass Source
.ofs {ABE7B1D9-4B3E-4ACD-A0D1-92611D3A4492} DC-Bass Source
.oga {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.ogg {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.ogm {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.ogv {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.ra {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.rm {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.rmvb {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.tak {ABE7B1D9-4B3E-4ACD-A0D1-92611D3A4492} DC-Bass Source
.tga {7DF62B50-6843-11D2-9EEB-006008039E37} Generate Still Video
.tp {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.ts {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.webm {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source
.wv {B98D13E7-55DB-4385-A33D-09FD1BA26338} LAV Splitter Source