Opened 7 years ago
Closed 3 years ago
#13251 closed Patch - Feature (Trac EOL)
Give mythfilerecorder the ability to run an external program
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | needs_triage |
Component: | MythTV - General | Version: | Master Head |
Severity: | medium | Keywords: | mythfilerecorder, external tuner, blackbox |
Cc: | Ticket locked: | no |
Description
I have recently modified mythfilerecorder so that it is possible to run an external program (such as ffmpeg) and send its stdout to the backend as a TS stream. The attached patch also adds a "--tuner" option, which points to an external script to tune the channel before recording begins. This allows me to do something like this:
mythfilerecorder --exec --infile 'ffmpeg -channels 8 -format_code Hi59 -f decklink -i "DeckLink Mini Recorder" -ac 6 -pix_fmt yuv420p -c:a ac3 -c:v libx264 -threads 5 -preset veryfast -f mpegts pipe:1' --tuner '/path/to/upnpchannelchanger 192.168.65.18'
to capture from a BlackMagic? DeckLink? card, compress using H.264/AC-3, and output as a TS stream. Another user has used this to capture from a generic, IP-based card.
Since it does not look to me as though mythfilerecorder has changed since 0.28.1, I actually created this patch there. It should apply equally well against master.
If this patch is accepted I'll gladly update the docs on the Wiki to reflect the changes.
Attachments (1)
Change History (3)
Changed 7 years ago by
Attachment: | mythfilerecorder-add-exec.patch added |
---|
Hi Dan,
Can you take a look at the new mythexternrecorder application and see if it meets your needs?
Thanks,
John