HDHomerun Streams Fine, But Recordings Stutter
#1
HDHomerun tuners let you record an OTA stream via http, so I've been using cron as a rudimentary DVR to save episodes to the micro SD card. My recordings have a stutter that recurs about every minute. The stutter persists whether I play the recording back on the Pi or my laptop.

The stutter doesn't occur when I stream the channel live to the Pi; nor does it occur if I record directly to my laptop. I've uploaded some sample recordings made on my Pi and laptop. Any help is appreciated.

Sample Recorded on Raspberry
Sample Recorded on Laptop
Log File
Reply
#2
If it helps, the test files were recorded on the Pi via SSH using the following format:

Code:
wget http://<ip addr>:5004/auto/v2?duration=120 -O /storage/recordings/test.ts

The stream is ~16Mbps (~2MB/s), which should be well within the Pi's limits. My SD card seems to bench high enough in iozone:

Code:
.                                                              random   random
              kB  reclen    write  rewrite     read   reread     read    write
           51200       4     1853     1796     6406     6405     5796      999
           51200     512     9562     9300    42585    42647    42354     8124
           51200   16384    10270     9221    42633    42635    42629     8730

I'm beginning to suspect that the Kodi SMB server has too much overhead for the Pi's CPU. Is there a way to make it work (increase buffer size?) or do I need beefier hardware? Would the Pi 3 suffice?
Reply

Logout Mark Read Team Forum Stats Members Help
HDHomerun Streams Fine, But Recordings Stutter0