plugin.video.iptv.recorder icon indicating copy to clipboard operation
plugin.video.iptv.recorder copied to clipboard

Problem Recording

Open gr9 opened this issue 4 years ago • 4 comments

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?

gr9 avatar Jun 01 '21 17:06 gr9

Looks like the issue with ffmpeg. Check if you can record from bash using the version installed.

tbrek avatar Jun 01 '21 19:06 tbrek

sure thing.. you got a test command that I can use?

gr9 avatar Jun 01 '21 20:06 gr9

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

tbrek avatar Jun 02 '21 07:06 tbrek

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!

gr9 avatar Sep 12 '21 18:09 gr9