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
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,729
Threads: 767
Joined: Nov 2003
#11
2021-04-11, 04:05 AM
There is some logic in the web application that assumes mp4 files can be played natively in the web app, which was a pretty safe bet at the time it was implemented this way. Because of this, it doesn't attempt to transcode mp4 files for playback in the web app.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,729
Threads: 767
Joined: Nov 2003
#12
2021-04-11, 04:06 AM
(2021-04-11, 03:57 AM)VCR58 Wrote: Also, the web player for my Windows server will play the .mp4 file but only the audio plays. There is no video.
What type of video is it? (ie, H264...or something non-web-friendly)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,977
Threads: 956
Joined: May 2006
#13
2021-04-11, 04:10 AM
That would mean there is a difference in how linux and Windows are detecting a missing ts file, since the other error was file not found. Some transcoding would likely be going on to since VCR58 uses OTA ATSC broadcast which doesn't have browser compatible audio.

Honestly @VCR58 sticking with my recommendation to keep two files is the best choice if you really must have web browser capability. Second best is to transcode to mp4 in post processing in h264/aac.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,729
Threads: 767
Joined: Nov 2003
#14
2021-04-11, 04:12 AM
I'm pretty sure AC3 is supported in some browsers. MPEG2 video is not.
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#15
2021-04-11, 04:18 AM
(2021-04-11, 04:10 AM)mvallevand Wrote: That would mean there is a difference in how linux and Windows are detecting a missing ts file, since the other error was file not found.  Some transcoding would likely be going on to since VCR58 uses OTA ATSC broadcast which doesn't have browser compatible audio.

Honestly @VCR58 sticking with my recommendation to keep two files is the best choice if you really must have web browser capability.  Second best is to transcode to mp4 in post processing in h264/aac. 

Martin

I'm OK with not using the web client, it was mostly just for troubleshooting. My main concern is that The mp4 cannot be played by the Roku app when the app is pointing to my Linux server. But the mp4 can be played by the Roku app when pointing to my Windows server.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,729
Threads: 767
Joined: Nov 2003
#16
2021-04-11, 04:24 AM
If you've got a script which is remuxing to mp4, and deleting the .ts file. You could try using NScripHelper to call recording.rename, passing in the "from" and "to" parameters with the filenames.

It wont get it playing in the web app, but it will mean the NextPVR database knows the filename of your recording.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,977
Threads: 956
Joined: May 2006
#17
2021-04-11, 04:29 AM
Cool, just tested and sure enough MS Edge did AC3, even more reason for custom profiles.

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#18
2021-04-11, 04:31 AM
(2021-04-11, 04:24 AM)sub Wrote: If you've got a script which is remuxing to mp4, and deleting the .ts file. You could try using NScripHelper to call recording.rename, passing in the "from" and "to" parameters with the filenames.

It wont get it playing in the web app, but it will mean the NextPVR database knows the filename of your recording.

Does NScripthelper work with Linux? I have never used it before.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,729
Threads: 767
Joined: Nov 2003
#19
2021-04-11, 04:42 AM
Yes, though you may have to do a forum search. (I think users may have had to add a text file or something - can't remember the details)

Checked the code, and you should be able to run something like:
Code:
dotnet NScriptHelper.dll -rename /some/source.ts /some/source.mp4
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,977
Threads: 956
Joined: May 2006
#20
2021-04-11, 03:12 PM
Some notes on NScripthelper,

1. with the deb install dotnet is not in the path so it is

/opt/dotnet/dotnet /opt/nextpvr/system/NScriptHelper.dll

2. sub's mentioned that mp4's need to be transcoded for the web player so you will have to modify your post processing to transcode.

3. sub includes NScriptHelper.deps.json in 5.1.1 so you don't need a text file for linux. What is missing now is the runtime json file for the new Windows exe.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording stops with error VCR58 3 1,337 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