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 … 87 88 89 90 91 … 433 Next »
Transcoder parameters - burn DVB subtitles in a video

Transcoder parameters - burn DVB subtitles in a video
Krstareci
Offline

Junior Member

Posts: 9
Threads: 2
Joined: Jul 2017
#1
2017-07-10, 05:16 AM
Hi everybody,

Little help please...
How can I (or where) set some custom parameters for ffmpeg encoder in order to Burn dvbsub's directly into video.
New web-player working great but missing sub is huge flaw.

I was try to modify TranscodeArgs in the config.xml, but I can see that encoder always gets the same args. :confused:

Thanks
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,864
Threads: 954
Joined: May 2006
#2
2017-07-10, 03:10 PM
I think the config.xml for the web server uses TranscodeHLS not TranscodeArgs

Martin
Krstareci
Offline

Junior Member

Posts: 9
Threads: 2
Joined: Jul 2017
#3
2017-07-11, 02:23 PM
Hi Martin,

Thank you for response.
I found "<TranscodeHLS>default</TranscodeHLS>", but I can't find any file that contains instructions of this profile, perhaps you can help me to find it?
I just want to add some custom commands that server pass to the ffmpeg.exe. If get success I will post some tutorial for other users here. Smile

This platform is great but for 90% of my channels, that I want to watch remotely, I need subtitles, unfortunately my bandwidth is low so I can't avoid transcoding.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,864
Threads: 954
Joined: May 2006
#4
2017-07-11, 02:33 PM
That is it, default is the only stored profile everything else you need to add yourself web.log will show you what default is and what you use.

Code:
2017-07-11 10:28:20.403    [DEBUG][24]    Default transcoder args: -y [SEEK] -i [SOURCE] -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 -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] [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 -y [TARGET]
2017-07-11 10:28:20.403    [DEBUG][24]    Using transcoder args:  -y [SEEK] -i [SOURCE] -map_metadata -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -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] [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 -y [TARGET]

Martin
Krstareci
Offline

Junior Member

Posts: 9
Threads: 2
Joined: Jul 2017
#5
2017-07-11, 02:52 PM
Thanks. I give it a try...
Krstareci
Offline

Junior Member

Posts: 9
Threads: 2
Joined: Jul 2017
#6
2017-07-11, 10:20 PM
No mater what I change in "Default transcoder args: " section, in the log file I see that encoder always get the same commands.
It seams that he totally ignore these lines from the config file. Sad
Only thing that I want to add is "-filter_complex "[0:v][0Confused]overlay[v]" and from the batch file this working fine...

mvallevand Wrote:That is it, default is the only stored profile everything else you need to add yourself web.log will show you what default is and what you use.

Code:
2017-07-11 10:28:20.403    [DEBUG][24]    Default transcoder args: -y [SEEK] -i [SOURCE] -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 -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] [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 -y [TARGET]
2017-07-11 10:28:20.403    [DEBUG][24]    Using transcoder args:  -y [SEEK] -i [SOURCE] -map_metadata -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -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] [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 -y [TARGET]

Martin
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,864
Threads: 954
Joined: May 2006
#7
2017-07-11, 10:47 PM
I am sure it works since in my example I removed -ignore_unknown and you can see they are different.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,676
Threads: 767
Joined: Nov 2003
#8
2017-07-12, 01:40 AM
You'd need to replace "default" with the following, then edit as necessary:

-y [SEEK] -i [SOURCE] -map_metadata -1 -threads 0 -ignore_unknown -map 0:v:0 -map 0:a:0 -map -0Confused -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -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] [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 -y [TARGET]
Krstareci
Offline

Junior Member

Posts: 9
Threads: 2
Joined: Jul 2017
#9
2017-07-12, 06:34 AM
Success! Smile
Taking Administrator's string and removing "-ignore_unknown" does the trick.
I'm still testing best settings but this is what I've looked for.
Thank you both for all of your help. Smile
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
Information Audio Video Sync Fixed with AC3Filter! gearsofwoe 0 1,060 2022-11-18, 04:36 AM
Last Post: gearsofwoe
  NPVR 4.2.4 Video Library No Longer Shows folder.jpg Lao Pan 12 3,817 2022-04-14, 04:33 AM
Last Post: Antmannz
  LAV Decoder, Subtitles, Chunky XJW 1 1,338 2021-03-28, 04:08 PM
Last Post: sub
  Video Meta information made from scratch MPMovieBuff 1 1,653 2020-04-06, 02:51 PM
Last Post: mvallevand
Photo video in recordings slow to display jimbojones 7 2,742 2020-04-02, 10:37 PM
Last Post: jimbojones
  Will not play recorded video on 1st computer but will play same video on second compu Krepps 5 2,114 2020-02-28, 05:33 PM
Last Post: Krepps
  No video or audio from start of playback smiffypr 8 3,610 2020-02-05, 05:11 PM
Last Post: smiffypr
  Choppy Video NND 5 2,840 2020-01-14, 09:31 PM
Last Post: NND
  Remapping a RC6 MCE IR USB remote for Subtitles wwhenderson 0 1,726 2019-12-22, 06:50 PM
Last Post: wwhenderson
  Audio/video sync problem on playback and program freeze when resuming zer 34 13,013 2019-12-21, 02:49 PM
Last Post: HarryH3

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

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

Linear Mode
Threaded Mode