NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 76 77 78 79 80 … 433 Next »
Can't get MP4 file to play

Can't get MP4 file to play
sydneybrit
Offline

Junior Member

Posts: 36
Threads: 4
Joined: Sep 2017
#11
2017-10-18, 04:27 AM
Hi Martin

Yes, I see how I have confused things!

So in the m3u file containing all my IPTV channels, you are right that some of the URLs are to mp4 files, not .ts files.

From what Sub is saying, in this scenario NextPVR asks ffmpeg to convert the stream to a .ts format (creating a temp file for this purpose) and will then try to play the file using the decoders specified in "Settings"? My configuration here, is:

Video Decoders

- MPEG2 Video = Cyberlinks Video Decoder (PDVD13)
- H.264 Video = Cyberlinks Video Decoder (PDVD13)
- HEVC = LAV Decoder

Audio Decoders

- All set to LAV Audio Decoder


As I mentioned in my 1st post, I installed the SAF632 codec pack which is how the Cyberlinks and LAV decoders got installed.

Would it help if I captured the temp .ts file created by ffmpeg and sent that through?

Cheers
sydneybrit
Offline

Junior Member

Posts: 36
Threads: 4
Joined: Sep 2017
#12
2017-10-18, 08:46 AM
OK, I've done some more testing.

I can confirm that NextPVR is using ffmpeg to create a temp .ts file. Here is a link to the file created:

https://www.dropbox.com/s/t4xa1fyk7u5dtc...fd.ts?dl=0

When I play this file in VLC, it provides the following codec information:

Does this help?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#13
2017-10-18, 05:50 PM
If you try to play that .ts file in NextPVR, does it play with audio/video? Your file is giving me audio and video when I play it here.
sydneybrit
Offline

Junior Member

Posts: 36
Threads: 4
Joined: Sep 2017
#14
2017-10-18, 08:35 PM
Hi Sub

No, unfortunately the .ts file won't play in NextPVR. All I get is a black screen, no audio.

However, the file plays fine in VLC or the built-in, Win 10 "Films & TV" app.

Really scratching my head on this one!

Cheers
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#15
2017-10-18, 08:51 PM
Can you try playing that .ts file, then zip and attach the logs? (ie, play the .ts file your posted, not attempting to view it as a live tv channel from the mp4 url)
sydneybrit
Offline

Junior Member

Posts: 36
Threads: 4
Joined: Sep 2017
#16
2017-10-18, 09:15 PM
Hi Sub

Thanks for the advice.

Just need to confirm how would I play that particular .ts file that I posted, from within NextPVR? Add it as a specific IPTV channel?

Cheers
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#17
2017-10-18, 09:16 PM
Right click, 'Open File' and select the .ts file (the one you had shared on dropbox)
sydneybrit
Offline

Junior Member

Posts: 36
Threads: 4
Joined: Sep 2017
#18
2017-10-18, 10:31 PM
Thanks. Will test this evening and send through the logs.
sydneybrit
Offline

Junior Member

Posts: 36
Threads: 4
Joined: Sep 2017
#19
2017-10-19, 08:09 AM
Hi Sub

So I tested playing the same file through NextPVR again - same result, black screen/no audio. I've names the logs for this test "NPVR Logs Transcoding".

I then opened the transcoded file that was still stitting in \Users\Public\Public Videos\ in NextPVR (using right-click, Open File), and it played perfectly. I've named the logs in this test, "NPVR Logs Direct Play".

The link to the ffmpeg transcoded file is here: https://www.dropbox.com/s/yg2nar00qgydzy...46.ts?dl=0

Is it possible that NextPVR isn't finding the transcoded file that ffmpeg is creating?

Cheers
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,184
Threads: 958
Joined: May 2006
#20
2017-10-19, 12:40 PM
Those show the problem I alluded to earlier the on the fly transcoding maps the 4121 to the wrong audio type

2017-10-19 18:45:48.032 [DEBUG][1] No audio mapped. Will default to MPEG1 Layer II.

the working example file comes in as AAC

2017-10-19 18:53:06.740 [DEBUG][1] audio renderer now AAC

It does take ffmpeg a long time to start writing that file

2017-10-19 18:45:32.080 [DEBUG][18] Executing: C:\Program Files (x86)\NPVR\Other\ffmpeg.exe -y
...
2017-10-19 18:45:49.929 [DEBUG][19] IPTV: frame= 73 fps=0.0 q=28.0 size= 8kB time=00:00:03.34 bitrate= 18.4kbits/s

and it looks like the EOF marker was read

2017-10-19 18:45:48.678 [DEBUG][1] GetEventCode() returned: 0x0000

before the file had enough time to grow to reach the point of changing audio decoders.

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
  decoder issue? some channels don't play Donsch 10 5,463 2023-12-04, 10:19 PM
Last Post: turkeypets
  incorrect frequency in adelaide .ini file spin35 5 3,125 2023-02-01, 05:40 PM
Last Post: sub
  ts file shows length too long? SuttonWillow 2 2,000 2021-03-15, 01:56 PM
Last Post: mvallevand
  Unhandled Exception: file name too long (idiots at pbs made it super long) jobby99 1 1,464 2020-10-29, 09:40 PM
Last Post: mvallevand
  black play and zero recording sebjoan 5 2,579 2020-10-13, 05:16 PM
Last Post: sebjoan
  ts file shows length too long SamM 4 2,400 2020-10-06, 02:45 AM
Last Post: Ehrlichia
  EPG displaying small subset of xmltv file. Esteban 9 3,113 2020-07-18, 10:07 PM
Last Post: Esteban
  Max File Size jrockow 2 1,573 2020-04-21, 02:38 PM
Last Post: jrockow
  Will not play recorded video on 1st computer but will play same video on second compu Krepps 5 2,206 2020-02-28, 05:33 PM
Last Post: Krepps
  Skip causes fast-forward to the end of the file madbrain 9 4,043 2020-02-27, 10:24 PM
Last Post: Esch

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

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

Linear Mode
Threaded Mode