NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 6 7 8 9 10 … 43 Next »
Crashing out trying to start ffmpeg

 
  • 0 Vote(s) - 0 Average
Crashing out trying to start ffmpeg
Ade_AV
Offline

Junior Member

New Zealand
Posts: 24
Threads: 4
Joined: Jul 2023
#1
2023-08-12, 06:23 AM
Hi

just started getting the following:

Unhandled exception. System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'ffmpeg' with working directory '/Applications/NPVR'. No such file or directory

NextPVR running on MacBook

Thanks
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,834
Threads: 954
Joined: May 2006
#2
2023-08-12, 11:04 AM
Is this with your extra? If so maybe the extra needs to specify the path to ffmpeg? Next time please upload the zipped logs so we get better understanding of the issue.

Also please start replying after we ask you question ie here https://forums.nextpvr.com/showthread.ph...#pid584588 and here https://forums.nextpvr.com/showthread.php?tid=64987 We take the trouble to reply to you.

Martin
Ade_AV
Offline

Junior Member

New Zealand
Posts: 24
Threads: 4
Joined: Jul 2023
#3
2023-08-12, 11:21 AM
This is not with the Extra which I haven't looked at yet

Logs attached

Thanks


Attached Files
.zip   logs-20230812-2318.zip (Size: 872.37 KB / Downloads: 1)
Ade_AV
Offline

Junior Member

New Zealand
Posts: 24
Threads: 4
Joined: Jul 2023
#4
2023-08-12, 11:36 AM
Apologies for late replies on these issues, life is getting in the way
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,834
Threads: 954
Joined: May 2006
#5
2023-08-12, 12:42 PM
OK, but this means we have to repeat questions so it doesn't save either of us time. How did you install ffmpeg? It isn't required for Kodi but it is for web playback and for receiving PRIME.

Martin
Ade_AV
Offline

Junior Member

New Zealand
Posts: 24
Threads: 4
Joined: Jul 2023
#6
2023-08-12, 01:06 PM
This appears (to me) to be a different issue, it doesn't seem to like anything that requires ffmpeg, playback or recording. Snippet from terminal after crash, logs attached after restarting

[11] Created Mutex: Global\NPVR-mutex-ef6c6b6f5f1b1ea3e9ca708fb4d58ca5
[11] Created map: /Volumes/Ade_Media/Next_PVR_Recordings/FIFA Womens World Cup 2023/FIFA Womens World Cup 2023_20230812_21450100.ts.map
[11] StartStream [/Volumes/Ade_Media/Next_PVR_Recordings/FIFA Womens World Cup 2023/FIFA Womens World Cup 2023_20230812_21450100.ts] allocated handle: 2
[11] IPTV StartStream@9
[11] Started recording (1459:2:/Volumes/Ade_Media/Next_PVR_Recordings/FIFA Womens World Cup 2023/FIFA Womens World Cup 2023_20230812_21450100.ts)
[11] Starting thumbnail extraction for /Volumes/Ade_Media/Next_PVR_Recordings/FIFA Womens World Cup 2023/FIFA Womens World Cup 2023_20230812_21450100.ts
[11] Running: ffmpeg -re -y -i "/Volumes/Ade_Media/Next_PVR_Recordings/FIFA Womens World Cup 2023/FIFA Womens World Cup 2023_20230812_21450100.ts" -vf fps=1/10,scale=220:124 -f mjpeg -flush_packets 1 "/Volumes/Ade_Media/Next_PVR_Recordings/FIFA Womens World Cup 2023/FIFA Womens World Cup 2023_20230812_21450100.thumbnails"
Unhandled exception. System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'ffmpeg' with working directory '/Applications/NPVR'. No such file or directory
  at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
  at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
  at System.Diagnostics.Process.Start()
  at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
  at NShared.ThumbnailExtractor.StartThumbnailExtraction(String filename)
  at NShared.RecordingService.StartParallelProcessing(ScheduledRecording scheduledRecording)
  at NShared.RecordingService.WorkerThread()
  at System.Threading.Thread.StartCallback()
Abort trap: 6


Attached Files
.zip   logs-20230813-0103.zip (Size: 246.23 KB / Downloads: 2)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,834
Threads: 954
Joined: May 2006
#7
2023-08-12, 01:33 PM (This post was last modified: 2023-08-12, 01:36 PM by mvallevand.)
Actually thumbnail and timing generation for recordings also require ffmpeg and ffprobe. They are optional though so if you don't want to use them turn them off thumbnails in Settings->General They don't help Kodi at all.

Is the thread correct is NextPVR actually crashing or are there just log messages?

Martin
Ade_AV
Offline

Junior Member

New Zealand
Posts: 24
Threads: 4
Joined: Jul 2023
#8
2023-08-12, 07:53 PM (This post was last modified: 2023-08-12, 08:02 PM by Ade_AV.)
Appears to crash if trying to record

Edit: latest attempt was through the browser trying to record which caused a crash and now it won't restart, crashes with same ffmpeg error, looks like it's trying to resume recording
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,834
Threads: 954
Joined: May 2006
#9
2023-08-12, 08:44 PM (This post was last modified: 2023-08-12, 08:44 PM by mvallevand.)
Before restarting find config.xml in NPVR-data and


<ExtractThumbnails>none</ExtractThumbnails>
<GenerateTiming>false</GenerateTiming>

and ffmpeg shouldn't be used unless the source requires it.

The send the zipped logs again.

Martin
Ade_AV
Offline

Junior Member

New Zealand
Posts: 24
Threads: 4
Joined: Jul 2023
#10
2023-08-12, 08:58 PM
Think I have it working now

Moved ffmpeg to a different directory and then did export PATH=$PATH:/ffmpeg_directory

Not sure why it stopped working

Thanks for your help
« 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
  [FFMPEG]: HTTP error 404 Not Found bit_creepy 19 1,349 2025-02-27, 05:04 AM
Last Post: sub
  Extras.xml | restart ffmpeg when it closes? D3iver 5 593 2024-09-27, 03:35 PM
Last Post: mvallevand
  Slow Playback Start NextPVR Plugin on Jellyfin Zetriq 4 1,004 2024-06-19, 01:45 PM
Last Post: Zetriq
  NPVR Recording Service fails to start kingdomservant 5 1,074 2023-06-16, 04:51 AM
Last Post: sub
Question How to start NPVR directly in "Live TV" mode NathanF 2 912 2023-02-13, 04:47 AM
Last Post: NathanF
  web interface wouldn't start, root element missing. brucewol 5 1,200 2023-01-11, 03:25 PM
Last Post: BrettB
  Recordings start too early, and finish too early Paul92 2 787 2022-12-25, 02:50 PM
Last Post: mvallevand
  Start recording again after failure? cords911 3 1,183 2021-10-07, 01:37 PM
Last Post: mvallevand
  "Failed to start requested stream" SloppyJoeES 4 1,377 2021-07-08, 06:27 AM
Last Post: SloppyJoeES
  help with "Failed to Start Requested Stream" lbit 19 4,647 2021-04-27, 04:44 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