primaeval / plugin.video.iptv.recorder

GNU General Public License v3.0
44 stars 29 forks source link

ffmpeg exe not found #27

Open jamissr opened 5 years ago

jamissr commented 5 years ago

running nvidia shield with kodi 18.2. Im trying to start a recording but it says ffmpeg exe not found. I have downloaded the android version of ffmpeg from the linked site in the readme, extracted a file named ffmpeg from the armeabi-v7a folder and copied it to a created directory on the shield. in the IPTV Recorder addon I have pointed ffmpeg to that file. do I need to place ffmpeg file somewhere specific on the shield to get it to work? is there a different version of ffmpeg needed for the shield?

primaeval commented 5 years ago

There are different architectures for the nvidia shield. Use the Droid Hardware Info app to find out what yours uses. You did the right thing of extracting the file and pointing to it in settings. I have had reports of a few addons failing in 18.2 over the last couple of days so maybe there is a problem with it.

jamissr commented 5 years ago

getting the same issue with 18.1. used droid hardware it says architecture is arm-v8. I tried the other arm ffmpeg file provided in the download, neon, and I'm getting the same thing. does the ffmpeg file need any type of extension or can it just be named ffmpeg? will the arm-v7 ffmpeg work with my arm-v8 CPU? from reading it seems like it should.

primaeval commented 5 years ago

You can call it anything. It will be changed to ffmpeg when the addon copies it to the /data/data folder. It will only get copied over the old one if the full path is different that before. So rename ffmpeg to ffmpeg.new or something. You can follow the logic here. https://github.com/primaeval/plugin.video.iptv.recorder/blob/master/main.py#L413

jamissr commented 5 years ago

is it possible it's not copying the file to /data/data? I dont have root access and esexplorer doesn't show the entire file system that I can tell because I can't find that directory to check. I'm assuming root is required to find this directory?

primaeval commented 5 years ago

Someone in the forum had a problem with that the other day. They added an ssd and it wouldn't work. Check the last page or so. https://forum.kodi.tv/showthread.php?tid=329991

jamissr commented 5 years ago

excellent. i am using an SSD and kodi is installed to it. i will try what he did in the thread and see if it works. ill write back either way. Thank you

ryadre commented 5 years ago

excellent. i am using an SSD and kodi is installed to it. i will try what he did in the thread and see if it works. ill write back either way. Thank you

Hey, did you ever get iptv recorder working on your shield? I have same issue, don't k ow how to use ffmpeg and the no exe file

PeterWeb commented 4 years ago

For anyone else affected by this:

  1. I had the same issue on a Shield which had had an external SSD formatted as the internal drive before I installed Kodi (or much else, really). I eventually had to take the step of using the Shield's storage menu option to move the data back to the internal drive, then ejecting and physically unplugging the external SSD. At that point Kodi disappeared - but when I reinstalled it, it found all its data which had been moved back to the internal drive and the missing-ffmpeg problem went away - I could view programs and start recordings.

  2. However, I noticed that the recordings were zero-length - I was getting a "recording finished" notice a second after it started. This problem was fixed by replacing the armeabi-v7a ffmpeg binary I'd originally had with the arm64-v8a binary from https://github.com/Khang-NT/ffmpeg-binary-android/releases - I called it ffmpeg.8a to ensure the change was picked up by IPVR Recorder. After that, all was well.

When I subsequently reinstalled the SSD as a true external drive and begun recording to the Kodi subfolder on that, things were basically ok.