Problem Recording
Hi there,
Thanks for the awesome initiative.. Just taking this for a spin the first time; I'm running libreelec v18 on a r pi 4. Installed FFMPEG Tools addon from the Lirbrelec repository. Set a couple of streams up to record (on my external usb drive plugged into the pi permanently). Setup seemed fine; checked the recordings folder this morning & there were two .ts files (on for each recording) with a file size of 0 Bytes.
Checked the kodi.log file & this is all I could find that seemed pertinent:
WARNING: could not find codec parameters for /var/media/USBDRIVE/recordings/Other/The show i was trying to record.ts 2021-06-01 09:39:06.418 T:2366632816 ERROR: Open - error probing input format, /var/media/USBDRIVE/recordings/Other/Show Name/The show I was trying to record.ts
Any ideas?
Looks like the issue with ffmpeg. Check if you can record from bash using the version installed.
sure thing.. you got a test command that I can use?
You can try this. Just add your stream url and local files destination:
ffmpeg -i stream_url -y -t 10 -fflags +genpts -vcodec copy -acodec copy -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 300 -f mpegts /tmp/test.ts
sorry for the radio silence; just remembered this - everything was fine; must have just been a bad stream that one time I tried it; and/or I was limited to 1 line by my iptv provider; and perhaps forgot to turn off the live stream while recording (e.g. it was probably perceiving the recording as a second concurrent stream). Thanks again for your help and for this awesome free tool!