NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Roku v
« Previous 1 2
mp4 recording won't play

 
  • 0 Vote(s) - 0 Average
mp4 recording won't play
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#1
2021-04-10, 05:50 PM (This post was last modified: 2021-04-10, 05:51 PM by VCR58.)
After remuxing the .ts file to .mp4, then deleting the .ts file, it seems that the NextPVR Roku app is not detecting the .mp4 recording and won't play it. I first tried playing the recording with the web app and then I tried playing it with the Roku app.

Here are the logs.


Attached Files
.zip   logs-20210410-1230.zip (Size: 50.7 KB / Downloads: 1)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,932
Threads: 956
Joined: May 2006
#2
2021-04-10, 05:57 PM
That is for sub

Code:
2021-04-10 12:23:25.826    [DEBUG][23]    Got request [10.239.92.184]: /services/service (recording.transcode.initiate)
2021-04-10 12:23:25.826    [DEBUG][23]    method=recording.transcode.initiate
2021-04-10 12:23:25.826    [DEBUG][23]    parameters:
2021-04-10 12:23:25.826    [DEBUG][23]       method: recording.transcode.initiate
2021-04-10 12:23:25.826    [DEBUG][23]       recording_id: 3772
2021-04-10 12:23:25.826    [DEBUG][23]       format: json
2021-04-10 12:23:25.826    [DEBUG][23]       sid: f452d047-f8d4-42f3-b6e6-4d9bf05e98b7
2021-04-10 12:23:25.826    [DEBUG][23]       client_ip: 10.239.92.184
2021-04-10 12:23:25.826    [DEBUG][23]       user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36 Edg/89.0.774.75
2021-04-10 12:23:25.826    [DEBUG][23]       host_callback: 10.239.92.183:8866
2021-04-10 12:23:25.828    [DEBUG][23]    {"stat":"Failed","code":11,"msg":"Recording not found"}

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,707
Threads: 767
Joined: Nov 2003
#3
2021-04-11, 02:49 AM
What are <AutoRemoveMissingRecordings> and <CheckForRenamedRecordings> set to in your config.xml?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,707
Threads: 767
Joined: Nov 2003
#4
2021-04-11, 02:53 AM
If both of those a true, then that call should have detected the .ts file wasn't there, but the same name with .mp4 was, and updated the database to reflect that. However, it is asking for recording.transcode.initiate, so the recording will be transcoded for playback, which I'm not sure is required for the Roku?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,932
Threads: 956
Joined: May 2006
#5
2021-04-11, 03:18 AM
(2021-04-11, 02:53 AM)sub Wrote: If both of those a true, then that call should have detected the .ts file wasn't there, but the same name with .mp4 was, and updated the database to reflect that. However, it is asking for recording.transcode.initiate, so the recording will be transcoded for playback, which I'm not sure is required for the Roku?
This would have been the web app the Roku app does not transcode recordings.  Some Roku devices do require audio AC3 transcoding prior to play in post processing.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,707
Threads: 767
Joined: Nov 2003
#6
2021-04-11, 03:22 AM
Ah right. Ok, he needs to check those settings.
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#7
2021-04-11, 03:46 AM
(2021-04-11, 02:53 AM)sub Wrote: If both of those a true, then that call should have detected the .ts file wasn't there, but the same name with .mp4 was, and updated the database to reflect that. However, it is asking for recording.transcode.initiate, so the recording will be transcoded for playback, which I'm not sure is required for the Roku?
My config.xml shows
AutoRemoveMissingRecordings is false
CheckForRenamedRecordings is false

I changed these both to true, restarted the Linux server and I still could not play the mp4.

I switch the Roku player point to my Windows server and it can detect the mp4 file when the .ts file is missing. So it seems to only work with the Windows server.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,932
Threads: 956
Joined: May 2006
#8
2021-04-11, 03:49 AM
I would avoid changing AutoRemoveMissingRecordings while you sort this out.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,707
Threads: 767
Joined: Nov 2003
#9
2021-04-11, 03:57 AM
(2021-04-11, 03:46 AM)VCR58 Wrote:
(2021-04-11, 02:53 AM)sub Wrote: If both of those a true, then that call should have detected the .ts file wasn't there, but the same name with .mp4 was, and updated the database to reflect that. However, it is asking for recording.transcode.initiate, so the recording will be transcoded for playback, which I'm not sure is required for the Roku?
My config.xml shows
AutoRemoveMissingRecordings is false
CheckForRenamedRecordings is false

I changed these both to true, restarted the Linux server and I still could not play the mp4.
All I'm going by is the above snippet of log, and looking at the code in NextPVR. With those setting set to true, it should now at least detect the mp4 file. I have no idea whether you'll be able to watch those in the web app. The only file format I test this stuff with is .ts. I'm happy to take a look and try to improve the behaviour with your mp4 files, but you'll need to supply updated logs so we can now see what is happening.

Honestly though, I suspect your mp4 files will only ever work in the web app if they have H264 video, and aac audio. If you've got non-web-friendly codecs, like MPEG2 etc, I wouldn't expect these to play in a web browser.

Quote:I switch the Roku player point to my Windows server and it can detect the mp4 file when the .ts file is missing. So it seems to only work with the Windows server.
The Roku client is doing stuff outside of NextPVR's knowledge, by creating an extra mp4 file along side the ts etc, and explicitly asking for a .mp4 file even though NextPVR only knows about a .ts file, so not really surprise this stuff is only really working in the Roku client, and not in the web app.
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#10
2021-04-11, 03:57 AM (This post was last modified: 2021-04-11, 04:12 AM by VCR58.)
Also, the web player for my Windows server will play the .mp4 file but only the audio plays. There is no video.

Edit: To get the web player to play anything I had to check "Allow unauthenticated access for streaming for Live TV Recordings"
Also, I found that the settings mentioned before where both "true" for the Windows config.xml by default (at least I did not change them).
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (4): 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording stops with error VCR58 3 1,316 2021-04-10, 02:57 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode