user-1915
29-08-2017, 08:22 PM
Hi...I'm new to get_iplayer (great program, btw) and I'm not an expert when it comes to Terminal / the command line on my Mac (running MacOS 10.12.6).
I have installed both get_iplayer and ffmpeg using Homebrew (only 3-4 days ago).
When I'm sat in front of my Mac, using Terminal, everything works perfectly; I can record episodes by program code (following a search), PID or URL. I have set a default directory in which to save all recordings, and when an episode finishes downloading it always gets converted into a .mp4 file.
So far, so good.
I can also connect to my Mac using my iPhone via SSH, using an app called Workflow. I can get back to my Mac no problem...but when I first tried to send a command to get_iplayer, such as
I would get an error along the lines that it was an invalid BASH command (?).
I dug into this and figured out that in order to get a command to get_iplayer via the workflow app that I had to use the following instead:
I can now use this technique to initiate searches and the recording of programs, by inserting a PID or URL etc. However, whenever I do this, the recording does happen but the resulting file is always left as a .ts file. I get the following in the output:
"WARNING: Required ffmpeg utility not found - not converting .ts file"
...suggesting that get_iplayer cannot locate ffmpeg when I do things from the app on my phone.
I wondered if anyone had any idea how I could get things working so that I end up with a .mp4 file at the end, instead?
Many thanks.
I have installed both get_iplayer and ffmpeg using Homebrew (only 3-4 days ago).
When I'm sat in front of my Mac, using Terminal, everything works perfectly; I can record episodes by program code (following a search), PID or URL. I have set a default directory in which to save all recordings, and when an episode finishes downloading it always gets converted into a .mp4 file.
So far, so good.
I can also connect to my Mac using my iPhone via SSH, using an app called Workflow. I can get back to my Mac no problem...but when I first tried to send a command to get_iplayer, such as
Code:
get_iplayer "news"
I would get an error along the lines that it was an invalid BASH command (?).
I dug into this and figured out that in order to get a command to get_iplayer via the workflow app that I had to use the following instead:
Code:
/usr/local/Cellar/get_iplayer/3.02/bin/get_iplayer "news"
I can now use this technique to initiate searches and the recording of programs, by inserting a PID or URL etc. However, whenever I do this, the recording does happen but the resulting file is always left as a .ts file. I get the following in the output:
"WARNING: Required ffmpeg utility not found - not converting .ts file"
...suggesting that get_iplayer cannot locate ffmpeg when I do things from the app on my phone.
I wondered if anyone had any idea how I could get things working so that I end up with a .mp4 file at the end, instead?
Many thanks.