NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 80 81 82 83 84 … 102 Next »
ffmpeg transcoder args

 
  • 0 Vote(s) - 0 Average
ffmpeg transcoder args
fwpvr789
Offline

Junior Member

Posts: 31
Threads: 8
Joined: Nov 2019
#1
2020-07-04, 04:41 PM
Hi,

How can I add additional argument to ffmpeg command that NextPVR uses? I wanted to add "-max_muxing_queue_size 1024" to fix a transcoding issue. I edited the following section in config.xml but it didn't take effect

<TranscodeArgsHLS>-y [SEEK] -i [SOURCE] -map_metadata -1 -threads 0 -map 0:0 -map 0:1 -map -0Confused -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -b:v [BITRATE] -maxrate [BITRATE] -bufsize 2698344 -vsync vfr -profile:v high -level 41 -aspect [ASPECT] -force_key_frames \"expr:gte(t,n_forced*3)\" -s [RESOLUTION] [SUBTITLES] -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -af \"adelay=1,aresample=async=1\" -hls_time 3 -start_number 0 -hls_list_size 0 -max_muxing_queue_size 1024 -y [TARGET]</TranscodeArgsHLS>

the nrecord.log shows a default transcoder args is always used

2020-07-04 01:53:19.232 [DEBUG][7] Default transcoder args: -y [SEEK] -i [SOURCE] -map_metadata -1 -threads [THREADS] -ignore_unknown  -map 0:v:0? [PREFERRED_LANGUAGE] -map 0:a:[AUDIO_STREAM] -map -0Confused -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 [DEINTERLACING] -b:v [BITRATE] -maxrate [BITRATE] -bufsize [BUFSIZE] -vsync vfr -profile:v high -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -s [RESOLUTION] [SCALE] [SUBTITLES] -flags -global_header -sc_threshold 0 -codec:a:0 [AUDIO_CODEC] -strict experimental -ac [AUDIO_CHANNELS] -ab [AUDIO_BITRATE] -hls_time [SEGMENT_DURATION] -start_number 0 -hls_list_size [SEGMENT_COUNT] -y [TARGET]

so where is the default configured if it's not in config.xml?

Thanks.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#2
2020-07-04, 04:47 PM
I showed another user how to use that option https://forums.nextpvr.com/showthread.ph...#pid542910

Sounds like sub should make that the default.

Martin
fwpvr789
Offline

Junior Member

Posts: 31
Threads: 8
Joined: Nov 2019
#3
2020-07-04, 04:58 PM
(2020-07-04, 04:47 PM)mvallevand Wrote: I showed another user how to use that option https://forums.nextpvr.com/showthread.ph...#pid542910

Sounds like sub should make that the default.

Martin

Martin, in that thread you suggested adding "-max_muxing_queue_size 1024" to <TranscodeHLS>, which I assume it's in the config.xml, but as I mentioned I tried that already but it didn't take effect, or am I missing any additional step in that thread?

Code:
-y [SEEK] -i [SOURCE] -max_muxing_queue_size 1024 -map_metadata -1 -threads [THREADS] -ignore_unknown  -map 0:v:0? [PREFERRED_LANGUAGE] -map 0:a:[AUDIO_STREAM] -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 [DEINTERLACING] -b:v [BITRATE] -maxrate [BITRATE] -bufsize [BUFSIZE] -vsync vfr -profile:v high -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -s [RESOLUTION] [SCALE] [SUBTITLES] -flags -global_header -sc_threshold 0 -codec:a:0 [AUDIO_CODEC] -strict experimental -ac [AUDIO_CHANNELS] -ab [AUDIO_BITRATE] -hls_time [SEGMENT_DURATION] -start_number 0 -hls_list_size [SEGMENT_COUNT] -y [TARGET]
fwpvr789
Offline

Junior Member

Posts: 31
Threads: 8
Joined: Nov 2019
#4
2020-07-04, 05:10 PM
Figured it out now! I should modify tag <TranscodeHLS> instead of <TranscodeArgsHLS>. so what's the difference between these two anyway? thanks.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Streaming Failed (transcoder exited) hamster 3 370 2025-05-18, 03:28 PM
Last Post: mvallevand
  ffmpeg in postprocessing fails on spaces in filename Druhl 3 493 2025-03-29, 06:25 PM
Last Post: mvallevand
  Streaming Failed (transcoder exited) jzk 3 411 2025-02-20, 03:26 PM
Last Post: mvallevand
  Streaming failed (transcoder exited) pouzolais 9 745 2025-02-12, 02:49 PM
Last Post: mvallevand
  Transcoder question eastavin 4 526 2025-01-29, 05:33 PM
Last Post: sub
  Transcoder issue dodgydart 2 359 2025-01-16, 10:56 PM
Last Post: dodgydart
  Streaming Failed (transcoder exited) daydreaming5 4 809 2024-08-10, 04:42 AM
Last Post: daydreaming5
  No Listing // Transcoder Excited Draxebuu 10 1,185 2024-06-28, 02:19 PM
Last Post: Draxebuu
  Streaming failed. (transcoder exiting) lm32692 10 1,922 2024-06-09, 07:17 PM
Last Post: mvallevand
  Streaming Failed-transcoder exited joolsc 3 719 2024-01-09, 08:10 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