NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR v4 Support (legacy versions) v
« Previous 1 … 11 12 13 14 15 … 431 Next »
Live Stream Transcode

Live Stream Transcode
hdpvr-doug8796
Offline

Member

Posts: 90
Threads: 13
Joined: Sep 2019
#1
2019-10-13, 06:30 PM (This post was last modified: 2019-10-13, 06:30 PM by hdpvr-doug8796.)
I was trying to write a batch script:

ffmpeg -i "NFL Football_20191013_12001525.ts" -b 4000000 output.ts

It works, but only converts the current ts file.  Is there a code to continuously convert a ts file to a lower quality one so I can use on a lower bandwidth device?  

I know the web app transcodes, but its not quite up to par yet imho.

Please advise and thanks for your help everyone (sub usually)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 96,690
Threads: 674
Joined: Nov 2003
#2
2019-10-13, 06:32 PM
It's not really clear what you're wanting to happen or how it'd be used.

The web app, and iOS/Android apps are able to ask for transcoding, and receive lower bandwidth streams, for both live TV and recordings.
hdpvr-doug8796
Offline

Member

Posts: 90
Threads: 13
Joined: Sep 2019
#3
2019-10-13, 06:53 PM (This post was last modified: 2019-10-13, 06:57 PM by hdpvr-doug8796.)
(2019-10-13, 06:32 PM)sub Wrote: It's not really clear what you're wanting to happen or how it'd be used.

The web app, and iOS/Android apps are able to ask for transcoding, and receive lower bandwidth streams, for both live TV and recordings.
Very true, but on older devices that don't have hardware ac3 decoding, the audio wont play.  This includes shieldtv, s7 etc.  I don't mind writing the code for it if I can simulate it .  I just want to know how to create my own lower bandwidth stream, the code from ffmpeg converts the original ts file and doesnt do so continuously.

It would be very helpful to have this option in Kodi.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 96,690
Threads: 674
Joined: Nov 2003
#4
2019-10-13, 06:58 PM
(2019-10-13, 06:53 PM)hdpvr-doug8796 Wrote:
(2019-10-13, 06:32 PM)sub Wrote: It's not really clear what you're wanting to happen or how it'd be used.

The web app, and iOS/Android apps are able to ask for transcoding, and receive lower bandwidth streams, for both live TV and recordings.
Very true, but on older devices that don't have hardware ac3 decoding, the audio wont play.  This includes shieldtv, s7 etc.  I don't mind writing the code for it if I can simulate it .  I just want to know how to create my own lower bandwidth stream, the code from ffmpeg converts the original ts file and doesnt do so continuously.

It would be very helpful to have this option in Kodi.
You'd only get AC3 if you're not transcoding (ie, when you've got directplay enabled). When it is set to transcode, you get H.264 video, and AAC audio.

I think Martin said he might add transcoding to the Kodi addon in a future version.
hdpvr-doug8796
Offline

Member

Posts: 90
Threads: 13
Joined: Sep 2019
#5
2019-10-13, 07:04 PM (This post was last modified: 2019-10-13, 07:14 PM by hdpvr-doug8796.)
I know it isn't optimal, or recommended, but streaming outside of the network, the app gives more problems than kodi does. My friends gigapower internet handles it just fine, but networks where streaming is required creates issues and the stream isn't consistent.

EDIT: I tested again after raising priority level of NextPVR and it seems to be working. Going to test more.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 36,362
Threads: 723
Joined: May 2006
#6
2019-10-13, 07:23 PM
knewc for Kodi already has transcoded live tv playback for v4 and v5 as a proof of concept for what I am thinking of doing in Kodi. Since this is a v4 thread be aware that v5 transcoding stability is superior and I likely won't even bother allowing it with v4, not worth the support posts.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 96,690
Threads: 674
Joined: Nov 2003
#7
2019-10-13, 07:35 PM
(2019-10-13, 07:04 PM)hdpvr-doug8796 Wrote: I know it isn't optimal, or recommended, but streaming outside of the network, the app gives more problems than kodi does.  My friends gigapower internet handles it just fine, but networks where streaming is required creates issues and the stream isn't consistent.

EDIT: I tested again after raising priority level of NextPVR and it seems to be working. Going to test more.
You may find you need to select a lower quality bitrate. This should be a bit easier on your PC and network.
hdpvr-doug8796
Offline

Member

Posts: 90
Threads: 13
Joined: Sep 2019
#8
2019-10-13, 08:42 PM (This post was last modified: 2019-10-13, 08:44 PM by hdpvr-doug8796.)
It is actually the opposite. Maybe the way its transcoding is too fast and my cpu and gpu are rendering it too quickly similar to my ffmpeg method?

It seems its rendering so fast that it actually stops to wait for more data. If I select 8mbps it works fine.. Live tv and dvr recording.. Is it rendering too fast?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 96,690
Threads: 674
Joined: Nov 2003
#9
2019-10-13, 08:47 PM
Never heard of that before...

(I've got a fast machine, and not encountered a problem like you're describing there)
hdpvr-doug8796
Offline

Member

Posts: 90
Threads: 13
Joined: Sep 2019
#10
2019-10-13, 08:49 PM
(2019-10-13, 08:47 PM)sub Wrote: Never heard of that before...

(I've got a fast machine, and not encountered a problem like you're describing there)
well directplay works fine on 4g/5g, unless i transcode then it is buggy

I was trying to make my own ts file script.  is there an ffmpeg script that can essentially do the same thing i can just use vlc to play with?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Black Screen Live TV and Recording Eric8497 9 1,038 2020-03-14, 06:17 PM
Last Post: sub
  Live TV not working jresnick 21 2,847 2020-01-04, 06:26 PM
Last Post: BrettB
  No live TV display or audio Kram 3 766 2019-12-02, 10:30 PM
Last Post: mvallevand
  Record direct from live tv? rv0987 3 574 2019-11-01, 12:29 PM
Last Post: rv0987
  Stream Freeze hdpvr-doug8796 7 778 2019-10-12, 06:18 PM
Last Post: sub
  Black Screen, No Audio - Live TV Rev73 11 3,052 2019-08-21, 01:48 AM
Last Post: mvallevand
  DVB-T and selecting audio stream three6zerocool 16 1,187 2019-08-11, 09:36 AM
Last Post: three6zerocool
  After performing new channel scan, all channels and live TV are black ctdenney 8 803 2019-07-31, 06:19 PM
Last Post: ctdenney
  Live TV constant lag outside of home network terabitz 4 459 2019-05-26, 04:53 PM
Last Post: terabitz
  NPVR Channels and Emby Live TV jd1940 3 504 2019-05-25, 02:06 AM
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