NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 24 25 26 27 28 … 34 Next »
Watch now issue

 
  • 0 Vote(s) - 0 Average
Watch now issue
bader77uk
Offline

Junior Member

Kuwait
Posts: 45
Threads: 4
Joined: Jun 2020
#1
2020-06-22, 10:47 AM (This post was last modified: 2020-06-22, 12:40 PM by bader77uk.)
Installed Version: 5.0.6.200614
Ubuntu 16.04 LTS

NextPVR running properly and TV Guide with EPG loaded fine.

there is channels i can watch now (live streaming) and its playback properly in NextPVR

issue #1
some channels when click 'Watch now' i get error: Failed to start requested stream
Note: i have tested the streaming links in VLC and its playback properly so its not the provider issue

issue #2
Recorded streams stored in default path but unable to playback in NextPVR i also get error: Failed to start requested stream
Note: when i downloaded ts file its playback properly in VLC

looks like issue with ffmpeg argument command line

i have attached logs.zip with two log files regarding the issues

Appreciated you help!


Attached Files
.zip   logs.zip (Size: 4.63 KB / Downloads: 4)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,155
Threads: 958
Joined: May 2006
#2
2020-06-22, 11:04 AM
You turned on h/w transcoding and are getting ffmpeg errors. Do they work with just s/w transcoding.

Normally you need to attach the zipped logs from the web browser, you shouldn't typically get this stdout on linux unless you are running in a command line.

Martin
bader77uk
Offline

Junior Member

Kuwait
Posts: 45
Threads: 4
Joined: Jun 2020
#3
2020-06-22, 11:13 AM (This post was last modified: 2020-06-22, 11:13 AM by bader77uk.)
in Settings>Transcoder>Video Encoder

there is two options VAAPI and CPU both giving same error.

and yes i'm running NextPVR in terminal command line and access it via webui
bader77uk
Offline

Junior Member

Kuwait
Posts: 45
Threads: 4
Joined: Jun 2020
#4
2020-06-22, 11:28 AM
i have found that nextpvr using this ffmpeg argument command line to playback recordings

Code:
ffmpeg -y  -i file:"/home21/bh/recordings/Criminal Minds/Criminal Minds_20200622_11351220.ts" -map_metadata -1 -threads 0 -ignore_unknown  -map 0:v:0  -map 0:a:0 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -vf yadif=0:-1:0 -b:v 2000000 -maxrate 2000000 -bufsize 4000000 -vsync vfr -profile:v high -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -s 1280x720 -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -hls_time 5 -start_number 0 -hls_list_size 0 -y "/home21/bh/.NPVR-data/web/temp/Criminal Minds-2cfe89ba8f9142caac9b30d91dcc9905.m3u8"


when i manually executed in terminal i get this result
Quote:[mpegts @ 0x57d59c0] start time for stream 1 is not set in estimate_timings_from_pts
    [mpegts @ 0x57d59c0] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample format
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mpegts, from 'file:/home21/bh/recordings/Criminal Minds/Criminal Minds_20200622_11351220.ts':
      Duration: 00:06:28.92, start: 18420.400000, bitrate: 2283 kb/s
      Program 1
        Metadata:
          service_name    : Service01
          service_provider: FFmpeg
        Stream #0:0[0x100]: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
        Stream #0:1[0x101]: Audio: aac ([15][0][0][0] / 0x000F), 0 channels
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
      Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    [libx264 @ 0x5813380] using SAR=1/1
    [libx264 @ 0x5813380] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 0x5813380] profile Progressive High, level 4.1, 4:2:0, 8-bit
    Too many packets buffered for output stream 0:0.
    [libx264 @ 0x5813380] frame I:1    Avg QP:19.53  size:106705
    [libx264 @ 0x5813380] frame P:52    Avg QP:22.59  size:  7092
    [libx264 @ 0x5813380] frame B:76    Avg QP:20.69  size:  1892
    [libx264 @ 0x5813380] consecutive B-frames: 19.1%  3.1%  4.6% 73.3%
    [libx264 @ 0x5813380] mb I  I16..4:  6.1% 19.2% 74.7%
    [libx264 @ 0x5813380] mb P  I16..4:  3.3%  6.5%  1.5%  P16..4: 33.5%  0.0%  0.0%  0.0%  0.0%    skip:55.2%
    [libx264 @ 0x5813380] mb B  I16..4:  0.4%  0.6%  0.1%  B16..8: 14.7%  0.0%  0.0%  direct: 4.5%  skip:79.7%  L0:47.7% L1:46.8% BI: 5.6%
    [libx264 @ 0x5813380] 8x8 transform intra:52.3% inter:23.2%
    [libx264 @ 0x5813380] coded y,uvDC,uvAC intra: 46.8% 46.3% 9.2% inter: 4.0% 4.9% 0.0%
    [libx264 @ 0x5813380] i16 v,h,dc,p: 43% 27% 15% 15%
    [libx264 @ 0x5813380] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 19% 12%  5%  7% 12%  7%  7%  7%
    [libx264 @ 0x5813380] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 18% 10%  7%  7%  9%  7%  7%  7%
    [libx264 @ 0x5813380] i8c dc,h,v,p: 39% 24% 25% 12%
    [libx264 @ 0x5813380] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x5813380] kb/s:1920.23
    Conversion failed!
shspvr
Offline

Senior Member

Posts: 419
Threads: 32
Joined: Jan 2004
#5
2020-06-22, 11:49 AM
(2020-06-22, 11:28 AM)bader77uk Wrote: i have found that nextpvr using this ffmpeg argument command line to playback recordings

Code:
ffmpeg -y  -i file:"/home21/bh/recordings/Criminal Minds/Criminal Minds_20200622_11351220.ts" -map_metadata -1 -threads 0 -ignore_unknown  -map 0:v:0  -map 0:a:0 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -vf yadif=0:-1:0 -b:v 2000000 -maxrate 2000000 -bufsize 4000000 -vsync vfr -profile:v high -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -s 1280x720 -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -hls_time 5 -start_number 0 -hls_list_size 0 -y "/home21/bh/.NPVR-data/web/temp/Criminal Minds-2cfe89ba8f9142caac9b30d91dcc9905.m3u8"


when i manually executed in terminal i get this result
Quote:[mpegts @ 0x57d59c0] start time for stream 1 is not set in estimate_timings_from_pts
    [mpegts @ 0x57d59c0] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample format
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mpegts, from 'file:/home21/bh/recordings/Criminal Minds/Criminal Minds_20200622_11351220.ts':
      Duration: 00:06:28.92, start: 18420.400000, bitrate: 2283 kb/s
      Program 1
        Metadata:
          service_name    : Service01
          service_provider: FFmpeg
        Stream #0:0[0x100]: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
        Stream #0:1[0x101]: Audio: aac ([15][0][0][0] / 0x000F), 0 channels
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
      Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    [libx264 @ 0x5813380] using SAR=1/1
    [libx264 @ 0x5813380] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 0x5813380] profile Progressive High, level 4.1, 4:2:0, 8-bit
    Too many packets buffered for output stream 0:0.
    [libx264 @ 0x5813380] frame I:1    Avg QP:19.53  size:106705
    [libx264 @ 0x5813380] frame P:52    Avg QP:22.59  size:  7092
    [libx264 @ 0x5813380] frame B:76    Avg QP:20.69  size:  1892
    [libx264 @ 0x5813380] consecutive B-frames: 19.1%  3.1%  4.6% 73.3%
    [libx264 @ 0x5813380] mb I  I16..4:  6.1% 19.2% 74.7%
    [libx264 @ 0x5813380] mb P  I16..4:  3.3%  6.5%  1.5%  P16..4: 33.5%  0.0%  0.0%  0.0%  0.0%    skip:55.2%
    [libx264 @ 0x5813380] mb B  I16..4:  0.4%  0.6%  0.1%  B16..8: 14.7%  0.0%  0.0%  direct: 4.5%  skip:79.7%  L0:47.7% L1:46.8% BI: 5.6%
    [libx264 @ 0x5813380] 8x8 transform intra:52.3% inter:23.2%
    [libx264 @ 0x5813380] coded y,uvDC,uvAC intra: 46.8% 46.3% 9.2% inter: 4.0% 4.9% 0.0%
    [libx264 @ 0x5813380] i16 v,h,dc,p: 43% 27% 15% 15%
    [libx264 @ 0x5813380] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 19% 12%  5%  7% 12%  7%  7%  7%
    [libx264 @ 0x5813380] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 18% 10%  7%  7%  9%  7%  7%  7%
    [libx264 @ 0x5813380] i8c dc,h,v,p: 39% 24% 25% 12%
    [libx264 @ 0x5813380] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x5813380] kb/s:1920.23
    Conversion failed!

It kind of look like your running in to audio problem
bader77uk
Offline

Junior Member

Kuwait
Posts: 45
Threads: 4
Joined: Jun 2020
#6
2020-06-22, 12:33 PM (This post was last modified: 2020-06-22, 12:37 PM by bader77uk.)
(2020-06-22, 11:49 AM)shspvr Wrote:
(2020-06-22, 11:28 AM)bader77uk Wrote: i have found that nextpvr using this ffmpeg argument command line to playback recordings

Code:
ffmpeg -y  -i file:"/home21/bh/recordings/Criminal Minds/Criminal Minds_20200622_11351220.ts" -map_metadata -1 -threads 0 -ignore_unknown  -map 0:v:0  -map 0:a:0 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -vf yadif=0:-1:0 -b:v 2000000 -maxrate 2000000 -bufsize 4000000 -vsync vfr -profile:v high -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -s 1280x720 -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -hls_time 5 -start_number 0 -hls_list_size 0 -y "/home21/bh/.NPVR-data/web/temp/Criminal Minds-2cfe89ba8f9142caac9b30d91dcc9905.m3u8"


when i manually executed in terminal i get this result
Quote:[mpegts @ 0x57d59c0] start time for stream 1 is not set in estimate_timings_from_pts
    [mpegts @ 0x57d59c0] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample format
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mpegts, from 'file:/home21/bh/recordings/Criminal Minds/Criminal Minds_20200622_11351220.ts':
      Duration: 00:06:28.92, start: 18420.400000, bitrate: 2283 kb/s
      Program 1
        Metadata:
          service_name    : Service01
          service_provider: FFmpeg
        Stream #0:0[0x100]: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
        Stream #0:1[0x101]: Audio: aac ([15][0][0][0] / 0x000F), 0 channels
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
      Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    [libx264 @ 0x5813380] using SAR=1/1
    [libx264 @ 0x5813380] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 0x5813380] profile Progressive High, level 4.1, 4:2:0, 8-bit
    Too many packets buffered for output stream 0:0.
    [libx264 @ 0x5813380] frame I:1    Avg QP:19.53  size:106705
    [libx264 @ 0x5813380] frame P:52    Avg QP:22.59  size:  7092
    [libx264 @ 0x5813380] frame B:76    Avg QP:20.69  size:  1892
    [libx264 @ 0x5813380] consecutive B-frames: 19.1%  3.1%  4.6% 73.3%
    [libx264 @ 0x5813380] mb I  I16..4:  6.1% 19.2% 74.7%
    [libx264 @ 0x5813380] mb P  I16..4:  3.3%  6.5%  1.5%  P16..4: 33.5%  0.0%  0.0%  0.0%  0.0%    skip:55.2%
    [libx264 @ 0x5813380] mb B  I16..4:  0.4%  0.6%  0.1%  B16..8: 14.7%  0.0%  0.0%  direct: 4.5%  skip:79.7%  L0:47.7% L1:46.8% BI: 5.6%
    [libx264 @ 0x5813380] 8x8 transform intra:52.3% inter:23.2%
    [libx264 @ 0x5813380] coded y,uvDC,uvAC intra: 46.8% 46.3% 9.2% inter: 4.0% 4.9% 0.0%
    [libx264 @ 0x5813380] i16 v,h,dc,p: 43% 27% 15% 15%
    [libx264 @ 0x5813380] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 19% 12%  5%  7% 12%  7%  7%  7%
    [libx264 @ 0x5813380] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 18% 10%  7%  7%  9%  7%  7%  7%
    [libx264 @ 0x5813380] i8c dc,h,v,p: 39% 24% 25% 12%
    [libx264 @ 0x5813380] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x5813380] kb/s:1920.23
    Conversion failed!

It kind of look like your running in to audio problem

Thanks for your reply. i think ffmpeg arguments needs correction for playback recordings. also i hope to add an option to playback recordings in original without transcoding. am awaiting for developers reply
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,155
Threads: 958
Joined: May 2006
#7
2020-06-22, 01:37 PM
I am used to people installing as a service and using the deb installer but I suspect there could be another issue, since your file doesn't need transcoding. Perhaps you missed installing some of the required linux requirements when you did a manual install.

Also many users prefer direct play clients like Kodi to avoid extra processing.

If you must use transcoding you can override the command line in config.xml until sub can look at it. The default is mainly tested for mpeg2 to h264 and not cases when transcoding isn't a requirement.

Martin
bader77uk
Offline

Junior Member

Kuwait
Posts: 45
Threads: 4
Joined: Jun 2020
#8
2020-06-22, 03:06 PM (This post was last modified: 2020-06-22, 03:07 PM by bader77uk.)
(2020-06-22, 01:37 PM)mvallevand Wrote: I am used to people installing as a service and using the deb installer but I suspect there could be another issue, since your file doesn't need transcoding.  Perhaps you missed installing some of the required linux requirements when you did a manual install. 

Also many users prefer direct play clients like Kodi to avoid extra processing.

If you must use transcoding you can override the command line in config.xml until sub can look at it.  The default is mainly tested for mpeg2 to h264 and not cases when transcoding isn't a requirement.

Martin

First thanks for your quick response.
actually my user privilege in Linux server doesnt have sudo permission so I am limited on installing and running such program like Kodi I have tried many hours to get it running but too much missing libs so I gave up on it.

now NextPVR is much simple to install and run in the Server

I have upgraded to latest version and now one of the issues has been solved

I am still unable to playback recordings due to ffmpeg transcode argument and I have checked the config.xml and found that Is possible to override the argument command line but I'm not sure what exactly I need to edit so I prefer a developer advise on this matter and also I'm afraid if the same argument is also using for live streaming
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,155
Threads: 958
Joined: May 2006
#9
2020-06-22, 03:32 PM
Without sudo are you able to install all the requirements here https://forums.nextpvr.com/showthread.ph...#pid523886 The mediainfo binaries are going to be required and will help you out a lot. Also are you sure your ffmpeg is update to date?

You could change TranscodeHLS from default to your custom setting to see how it work. It will be used for live streaming. too.

However as @shspvr pointed out your file may not have audio can you play your file other ways, perhaps

ffplay /home21/bh/recordings/Criminal Minds/Criminal Minds_20200622_11351220.ts

Martin
bader77uk
Offline

Junior Member

Kuwait
Posts: 45
Threads: 4
Joined: Jun 2020
#10
2020-06-22, 04:02 PM
Thanks for this instructions..I will check them and post a reply
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)

Pages (8): 1 2 3 4 5 … 8 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Guide data issue using NextPVR in a Proxmox LXC njc 10 1,310 2025-03-23, 01:40 PM
Last Post: njc
  Recording Plyback Timeline Issue JeffH 11 886 2025-01-17, 03:20 PM
Last Post: mvallevand
  Wake after Suspend issue with dvbt devices (LE12 Kodi 21) ShadowMask 41 5,543 2024-02-09, 07:11 AM
Last Post: ShadowMask
  Can't record 1 subchannel and watch another w single tuner WagMan 2 628 2023-12-24, 05:18 PM
Last Post: WagMan
  Yay! DST issue :-( TheRealRoland 3 830 2023-03-12, 04:45 PM
Last Post: mvallevand
  Recent streaming issue with Matt Huisman Aus TV streams ballfam 74 12,240 2023-03-08, 10:35 PM
Last Post: mvallevand
  Schedules Direct Token Issue TheKenR 20 3,226 2023-02-20, 07:49 PM
Last Post: mvallevand
  IPv6 Installation Issue Delboy 16 2,438 2022-10-13, 08:07 PM
Last Post: Delboy
  [split] EPG update issue Obmit 10 1,722 2022-10-07, 10:22 PM
Last Post: Obmit
  [Solved] Black/black screen with audio when trying to watch HD channels on pi spleencheesemonkey 11 2,939 2022-07-16, 02:14 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