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
#31
2021-04-14, 02:57 PM
So, I have NScriptHelper working and can change the NextPVR database to point to the .mp4 on my Linux server and then delete the .ts file if I choose to.

Now the NextPVR Roku app and Kodi can play the mp4 recording and are happy without the .ts file but the NextPVR android client and the web browser only play the audio. From previous discussion in this thread I gather this is because NextPVR is direct playing rather than transcoding the .mp4 file to the browser.

I also have a Jellyfin server running on Linux and I can play the same .mp4 recordings in the browser with both audio and video. Jellyfin indicates from the "Player Data" button that it is transcoding the .mp4 file (both audio and video) so I guess that is why it can play it.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,504
Threads: 963
Joined: May 2006
#32
2021-04-14, 03:22 PM
That is expected as I posted earlier you would need to transcode your mp4 files and not just remux them. You could also use your HDHR Extend and turn on transcoding by default and the files would already be h264.

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#33
2021-04-14, 06:46 PM
(2021-04-14, 03:22 PM)mvallevand Wrote: That is expected as I posted earlier you would need to transcode your mp4 files and not just remux them.  You could also use your HDHR Extend and turn on transcoding by default and the files would already be h264.

Martin

Ok, I missed that. Still learning about remuxing and transcoding.

After transcoding to h264 I was able to direct play the .mp4 recording in the NextPVR Android app and also could play it in the NextPVR web client. Jellyfin said it was direct playing both video (h264) and audio (AC3) when it played the .mp4.

Transcoding the .ts file with ffmpeg from the Linux terminal took 1 hr 59 sec for just one recording so I think using the HDHR Extend for transcoding might be better.

When you say "turn on transcoding by default" are you referring to creating the Extra HDHR device with the Python script and use that for recordings?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,504
Threads: 963
Joined: May 2006
#34
2021-04-14, 07:08 PM
I am saying open the HDHR Extend via http://my.hdhomerun.com/ and go to the Transcode configuration link to change it from none to heavy or whatever preference you have for your recordings. Your HD streams will be smaller, but your SD streams could end up being a little bigger if they get upconverted.

1x transcoding seems like a pain, but remember that is what the web browser will do if you want to watch recordings too. You might be able to reduce that with h/w decoding.

With AC3 you still will have trouble in the web app if you don't use Edge.

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#35
2021-04-14, 09:07 PM
(2021-04-14, 07:08 PM)mvallevand Wrote: I am saying open the HDHR Extend  via http://my.hdhomerun.com/ and go to the Transcode configuration link to change it from none to heavy or whatever preference you have for your recordings.  Your HD streams will be smaller, but your SD streams could end up being a little bigger if they get upconverted.

1x transcoding seems like a pain, but remember that is what the web browser will do if you want to watch recordings too. You might be able to reduce that with h/w decoding.

With AC3 you still will have trouble in the web app if you don't use Edge.

Martin

Thanks. Setting the HDHR Extend to "heavy" made the recording h264. Transcoding the audio to aac only took a few seconds so I can change "-acodec copy" to "-acodec aac -ac 2" in PostProcessing.sh

I suppose the HD recordings may not be as high quality now but it's probably good enough. And, I'm actually using the HW Trascoding of my HDHR.

Thanks for the help getting all this working!
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,504
Threads: 963
Joined: May 2006
#36
2021-04-14, 09:31 PM
Great. With heavy they should be very close to the same quality just smaller because of h264, I am not sure what happens with SD. I had trouble with comksip from the extend's h264 mux, so consider doing comksip on the mp4 file.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4


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