Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
24th November 2017, 08:44 | #2721 | Link | |
Registered User
Join Date: Mar 2008
Posts: 448
|
Quote:
Another thing about NVENC Weight.P..........if you turn it on for H264 encoding, B-Frame will be disabled. Not a good idea. Only enable W.P. for HEVC encoding because NVENC doesn't support B-Frame for HEVC. |
|
24th November 2017, 22:53 | #2722 | Link | |
Registered User
Join Date: Nov 2017
Posts: 3
|
Quote:
|
|
25th November 2017, 02:35 | #2723 | Link |
Registered User
Join Date: Sep 2016
Location: North France
Posts: 7
|
Hi Stax76 help me please the solution ? thanx in advance
Error ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.4 (1.7.0.4) ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.4 failed with exit code: 1 (0x1) The exit code might be a system error code: STATUS_WAIT_1 The exit code might be a system error code: Fonction incorrecte. ------------- ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.4 ------------- "C:\Program Files (x86)\Staxrip\Apps\ffmpeg\ffmpeg.exe" -i "C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23.ts" -c copy -map 0 -ignore_unknown -sn -y -hide_banner "C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23_temp\24.11.2017.12h00-NUMERO 23.mkv" [h264 @ 0000012b27e23c60] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one [h264 @ 0000012b27e23c60] Increasing reorder buffer to 3 [mpegts @ 0000012b26636960] start time for stream 4 is not set in estimate_timings_from_pts [mpegts @ 0000012b26636960] start time for stream 5 is not set in estimate_timings_from_pts Input #0, mpegts, from 'C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23.ts': Duration: 00:43:36.68, start: 0.280000, bitrate: 5062 kb/s Program 2565 Stream #0:0[0x208]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 24.83 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x212](fra): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s Stream #0:2[0x213](qaa): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s Stream #0:3[0x214](qad): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 96 kb/s Stream #0:4[0x226](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired) Stream #0:5[0x227](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) Output #0, matroska, to 'C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23_temp\24.11.2017.12h00-NUMERO 23.mkv': Metadata: encoder : Lavf57.71.100 Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 24.83 fps, 25 tbr, 1k tbn, 90k tbc Stream #0:1(fra): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 128 kb/s Stream #0:2(qaa): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 128 kb/s Stream #0:3(qad): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 96 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Stream #0:2 -> #0:2 (copy) Stream #0:3 -> #0:3 (copy) Press [q] to stop, [?] for help [matroska @ 0000012b27e29c40] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly [matroska @ 0000012b27e29c40] Can't write packet with unknown timestamp av_interleaved_write_frame(): Invalid argument video:70kB audio:7kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Conversion failed! StaxRip.ErrorAbortException: ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.4 failed with exit code: 1 (0x1) The exit code might be a system error code: STATUS_WAIT_1 The exit code might be a system error code: Fonction incorrecte. ------------- ffmpeg: Re-mux TS to MKV using ffmpeg 3.3.4 ------------- "C:\Program Files (x86)\Staxrip\Apps\ffmpeg\ffmpeg.exe" -i "C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23.ts" -c copy -map 0 -ignore_unknown -sn -y -hide_banner "C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23_temp\24.11.2017.12h00-NUMERO 23.mkv" [h264 @ 0000012b27e23c60] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one [h264 @ 0000012b27e23c60] Increasing reorder buffer to 3 [mpegts @ 0000012b26636960] start time for stream 4 is not set in estimate_timings_from_pts [mpegts @ 0000012b26636960] start time for stream 5 is not set in estimate_timings_from_pts Input #0, mpegts, from 'C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23.ts': Duration: 00:43:36.68, start: 0.280000, bitrate: 5062 kb/s Program 2565 Stream #0:0[0x208]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 24.83 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x212](fra): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s Stream #0:2[0x213](qaa): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s Stream #0:3[0x214](qad): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 96 kb/s Stream #0:4[0x226](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired) Stream #0:5[0x227](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) Output #0, matroska, to 'C:\Users\ENiGMA59\Desktop\24.11.2017.12h00-NUMERO 23_temp\24.11.2017.12h00-NUMERO 23.mkv': Metadata: encoder : Lavf57.71.100 Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 24.83 fps, 25 tbr, 1k tbn, 90k tbc Stream #0:1(fra): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 128 kb/s Stream #0:2(qaa): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 128 kb/s Stream #0:3(qad): Audio: eac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 96 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Stream #0:2 -> #0:2 (copy) Stream #0:3 -> #0:3 (copy) Press [q] to stop, [?] for help [matroska @ 0000012b27e29c40] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly [matroska @ 0000012b27e29c40] Can't write packet with unknown timestamp av_interleaved_write_frame(): Invalid argument video:70kB audio:7kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Conversion failed! à StaxRip.Proc.Start() dans D:\Projekte\VS\VB\StaxRip\General\Proc.vb:ligne 338 à StaxRip.CommandLineDemuxer.Run(Project proj) dans D:\Projekte\VS\VB\StaxRip\General\Demux.vb:ligne 207 à StaxRip.MainForm.Demux() dans D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:ligne 3114 à StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isEncoding) dans D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:ligne 1977 |
26th November 2017, 12:55 | #2724 | Link | |
Registered User
Join Date: Feb 2003
Posts: 68
|
Quote:
WP is enabled and my command line is like this: --cqp 18:20:22 --codec h265 --preset quality --output-depth 10 --weightp --lookahead 16 --transfer auto |
|
26th November 2017, 15:06 | #2726 | Link | |
Registered User
Join Date: Mar 2008
Posts: 448
|
Quote:
I noticed you use CQP mode, why not pseudo CRF mode? (It is VBR-Target Quality mode, but I have difficulty in explaining it) Take a look on the setting here https://i.imgur.com/k9Shlwr.png You will notice there is less "banding" or blockiness on scene with dark background compared to CQP mode. Trust me on this. or.....test it yourself. Edit: Because many people complained about weight-p being broken with latest nvidia driver........rigaya@nvencc developer decided to disable weightp option temporary. https://github.com/rigaya/NVEnc/releases/tag/3.25 Thus...stick with version 3.24........ Last edited by JohnLai; 26th November 2017 at 15:09. |
|
26th November 2017, 16:03 | #2727 | Link | |
Registered User
Join Date: Feb 2003
Posts: 68
|
Quote:
I'm re-encoding my NAS x264 collection anyways, purpose was to maintain similar 720p quality for much smaller file size. yes, I know. I am the devil. EDIT: cannot try your settings as I get an error when processing: NVEncC64.exe --vbr 24329 --codec h265 --preset quality --level 4.1 --output-depth 10 --weightp --lookahead 32 --max-bitrate 24329 --vbr-quality 27 --aq --sar 255:191 --transfer auto -i "Block.mkv" -o "Block_out.h265" Failed to Initialize the encoder .: 8 (NVENC indicates that one or more of the parameter passed to the API call is invalid.) Last edited by craigpro; 27th November 2017 at 09:09. |
|
28th November 2017, 03:46 | #2729 | Link | |
Registered User
Join Date: Mar 2008
Posts: 448
|
Quote:
Hmm? You didn't follow the settings exactly. -.- Where is Initial QP = 1 ? (This one is mandatory as we don't dont want set min QP contraint at default 20) Nvencc max bitrate for L4.1 is 17500kbps. For L5.1, max bitrate is 38400kbps EDIT: You should get something like below. Let us modify it a bit to L5.1 as per BD-ROM-AV-WhitePaper_HEVC. NVEncC64.exe --vbr 38400 --codec h265 --preset quality --level 5.1 --output-depth 10 --weightp --ref 5 --lookahead 32 --qp-init 1 --max-bitrate 38400 --vbr-quality 27 --aq --sar 12:11 -i -o %source_dir%%source_name%_temp\_out.h265 Last edited by JohnLai; 28th November 2017 at 03:58. |
|
29th November 2017, 13:11 | #2730 | Link | |
Registered User
Join Date: Feb 2003
Posts: 68
|
Quote:
Both your and my settings however result in a slight loss of red, particularly noticeable in skin tones WITH static images side by side for comparison. I doubt very much it'd be noticed on a tv watching the show.. at worst the video may look a little ''cool''. I'm hoping to have time this weekend to do some frame by frame comparisons (staxrip video comparison tool is awesome!) and report back. |
|
29th November 2017, 14:56 | #2731 | Link | |
Registered User
Join Date: Mar 2008
Posts: 448
|
Quote:
Generation loss = can't do much about this. EDIT: Consider using "--profile main444" to minimize chroma subsampling generation loss. But your output file size gonna...be a trouble....~.~ EDIT2: You can read more about it at https://cloudinary.com/blog/why_jpeg..._a_photocopier Last edited by JohnLai; 29th November 2017 at 15:02. |
|
29th November 2017, 21:22 | #2732 | Link |
Registered User
Join Date: Aug 2017
Posts: 2
|
audio stream name
I need some help I've been searching but I'm not sure exactly what I'm looking for or if it's even possible to do, so i hope there is some smart people here who can help me
What I'm trying to do is when i'm muxing I want to have a name on the audio track with the type of audio it is and channels has and what language it is so I know which one is what. Normally I see it like this http://prntscr.com/hgypb8 But I wanted more like this Example TrueHD 5.1 [Language] DTS-HD MA 6.1 [Language] DTS 5.1 [Language] AC3 2.0 [Language] and so on I want to hear if this possible to do it automatically instead of typing it manually if it is possible how do I do it. Any help is appreciated |
4th December 2017, 12:06 | #2734 | Link |
Registered User
Join Date: Sep 2009
Location: Berlin
Posts: 173
|
DGDecNV hardware cropping problem
By setting DGSourceNV as Source and hardware cropping filter staxrip's auto crop borders feature uses the wrong values when source is codes in 1088p but displayed in 1080p. This also deactivates the forcing output mod 4 rule for DGDecNV.
How can I fix this? |
4th December 2017, 23:17 | #2736 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Those options do not convert HDR to SDR. They only tell x264 what flags to set in the bitstream (players read the flags in order to know how to interpret/display the content). The HDR->SDR conversion has to be done in VapourSynth/AviSynth.
|
6th December 2017, 08:04 | #2738 | Link |
Registered User
Join Date: Mar 2008
Posts: 68
|
Hey guys. What settings would you recommend using for nvenc hevc for max quality? There are so many and when I try to experiment (like enabling deband, for instance) I usually get errors
So I was wondering if someone would be kind enough to post them . I've got gtx 1060. Thanx in advance PS Should I use these? https://imgur.com/k9Shlwr Should I select VBR HQ instead of VBR? What about cabac? PPS It seems --weightp is still broken in the latest nvidia drivers ;( It makes my encoding process stop at random % Last edited by Vesdaris; 6th December 2017 at 08:56. |
6th December 2017, 13:39 | #2739 | Link | |
Registered User
Join Date: Feb 2003
Posts: 68
|
Quote:
|
|
6th December 2017, 13:58 | #2740 | Link | |
Registered User
Join Date: Mar 2008
Posts: 448
|
Quote:
CQ mode only work with standard VBR. edit: CABAC is the only entropy encoder method that is allowed in HEVC per standard. What with the question? For H264 encoding, nvenc will use CABAC as default Last edited by JohnLai; 6th December 2017 at 14:03. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|