[mythtv-users] garbage output from external HDMI source

David Newman dnewman at networktest.com
Wed Jun 14 03:22:42 UTC 2023


On 6/13/23 1:31 PM, Jay Harbeston wrote:

>
>
>> On Jun 13, 2023, at 4:22 PM, Bob Sully <malibyte56 at gmail.com> wrote:
>>
>> I have ordered the capture device and the second splitter you 
>> mentioned. I'd love to get this set up and running; I am running 33 
>> on Ubuntu 22.04, also with the same Arris STB.
>>
>
> NOTE that you ONLY need a splitter if you want to watch what you are 
> recording live at the same time.
>
> If it is to become an input device ONLY for mythtv then cancel your 
> order for the splitter… save some $$! :-)
>
Agree with Jay – you only need a splitter if you also watch live TV.

Also, I spoke too soon about this working. After some initial success, 
the video now records fine but for audio all I'm getting is static. I 
will try my previous troubleshooting steps of (a) taking the splitter 
out of the system to see if it's the problem and (b) doing hard power 
resets on all devices before trying again.

As for my low-rent setup, I use this el cheapo HDMI capture device:

https://www.amazon.com/gp/product/B089ZWX5MY

And this powered splitter:

https://www.amazon.com/gp/product/B0B2R3GXL9/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

The latter includes a power cable but does not include a charger with a 
USB-A socket.


Here is /usr/local/bin/MythExternalRecorder, which I point to in 
mythtv-setup:

#!/bin/bash

## echo "`date`: /usr/bin/mythexternrecorder" "${@}" >> 
/var/log/mythtv/mythexternrecorder.log

/usr/bin/mythexternrecorder -v all:debug --exec --conf 
/usr/share/mythtv/external.conf "${@}"




And here is /usr/share/mythtv/external.conf:

[RECORDER]
# This is the recorder command to execute
command="mythffmpeg -f v4l2 -framerate 30 -input_format mjpeg 
-video_size 1920x1080 -i /dev/video0 -f alsa -ac 2 -itsoffset 0.150 -i 
hw:1,0 -f mpegts -c:v libx264 -b:v 5200k -preset ultrafast -x264opts 
keyint=50 -c:a aac -b:a 160k pipe:1"

# Optional cleanup command which is executed when this recorder is shut down
#cleanup="/home/mythtv/bin/input-finished.sh"
cleanup="killall mythffmpeg"

# Used in logging events, %ARG% are replaced from the channel info
desc=mythffmpeg \"%URL%\" \"%CHANNUM%\" \"%CHANNAME%\" \"%CALLSIGN%\"


Hope this helps.

dn


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230613/d729220a/attachment.htm>


More information about the mythtv-users mailing list