I wanted to deinterlace and use sRetore in a video and i saw, the aspect ratio got changed. Strange is, in mediainfo it shows the same resolution, but different aspect ratio and i see it in the video, its true. I dont use resizer. it happens when i only deinterlace and also when i do both.
Here is the Video: https://uploadnow.io/de/share?utm_source=23JVW9p
+ Reply to Thread
Results 1 to 8 of 8
-
-
Probably a bug in the muxing or something, since you didn't care to share details,....
What I did:- Start Hybrid
- load source (soure is detected as PAR 16:5 = 1.067)
- set x264 to crf and check the command line:
Code:x264 --preset veryfast --crf 18.00 --profile high --level 4.1 --ref 3 --direct auto --b-adapt 0 --sync-lookahead 11 --qcomp 0.50 --rc-lookahead 40 --qpmax 51 --partitions i4x4,p8x8,b8x8 --no-fast-pskip --subme 5 --aq-mode 0 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 16:15 --qpfile GENERATED_QP_FILE --non-deterministic --range tv --colormatrix bt470bg --demuxer raw --input-res 720x576 --input-csp i420 --input-range tv --input-depth 8 --fps 50/1 --output-depth 8 --output "J:\tmp\Naruto DVD Folge 4_3 min.264" -
create an run a job, check the output of the job with mediainfo:
Code:Video Count : 383 Count of stream of this kind : 1 Kind of stream : Video Kind of stream : Video Stream identifier : 0 StreamOrder : 0 ID : 1 ID : 1 Format : AVC Format : AVC Format/Info : Advanced Video Codec Format/Url : http://developers.videolan.org/x264.html Commercial name : AVC Format profile : High@L4.1 Format settings : CABAC / 4 Ref Frames Format settings, CABAC : Yes Format settings, CABAC : Yes Format settings, Reference frames : 4 Format settings, Reference frames : 4 frames Internet media type : video/H264 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 120320 Duration : 2 min 0 s Duration : 2 min 0 s 320 ms Duration : 2 min 0 s Duration : 00:02:00.320 Duration : 00:02:00:08 Duration : 00:02:00.320 (00:02:00:08) Bit rate : 832549 Bit rate : 833 kb/s Maximum bit rate : 3612224 Maximum bit rate : 3 612 kb/s Width : 720 Width : 720 pixels Height : 576 Height : 576 pixels Sampled_Width : 720 Sampled_Height : 576 Pixel aspect ratio : 1.067 Display aspect ratio : 1.333 Display aspect ratio : 4:3 Rotation : 0.000 Frame rate mode : CFR Frame rate mode : Constant Frame rate : 25.000 Frame rate : 25.000 FPS FrameRate_Num : 25 FrameRate_Den : 1 Frame count : 3008 Standard : PAL Color space : YUV Chroma subsampling : 4:2:0 Chroma subsampling : 4:2:0 Bit depth : 8 Bit depth : 8 bits Scan type : Progressive Scan type : Progressive Bits/(Pixel*Frame) : 0.080 Stream size : 12521540 Stream size : 11.9 MiB (100%) Stream size : 12 MiB Stream size : 12 MiB Stream size : 11.9 MiB Stream size : 11.94 MiB Stream size : 11.9 MiB (100%) Proportion of this stream : 0.99697 Writing library : x264 - core 164 r3107 a8b68eb Writing library : x264 core 164 r3107 a8b68eb Encoded_Library_Name : x264 Encoded_Library_Version : core 164 r3107 a8b68eb Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x111 / me=hex / subme=5 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=0 / threads=18 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=0 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.50 / qpmin=0 / qpmax=51 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:0.00 Encoded date : 2023-05-01 18:53:04 UTC Tagged date : 2023-05-01 18:53:04 UTC colour_description_present : Yes colour_description_present_Source : Container / Stream Color range : Limited colour_range_Source : Container / Stream colour_primaries_Source : Container / Stream transfer_characteristics_Source : Container / Stream Matrix coefficients : BT.470 System B/G matrix_coefficients_Source : Container / Stream mdhd_Duration : 120400 Codec configuration box : avcC
=> can't reproduce with the current details. (Additionally tried NVEncC with H264 and H265, same result, output has the correct PAR.)
Properly create a debug output of the issue and I can look into it further.
Cu Selur
Ps.: I managed to reproduce the issue when NVEncC with AV1 is used, but this does not seem like a bug in Hybrid, but a bug in either NVEncC or MP4Box. -> Will report to the NVEncC author, in case you are not using NVEncC with AV1, a debug output is still needed,...
Reported the av1 issue to the author: https://github.com/rigaya/NVEnc/issues/484
(thought issue was fixed in 7.23, but it's still present in 7.24)Last edited by Selur; 1st May 2023 at 14:40.
users currently on my ignore list: deadrats, Stears555, marcorocchini -
How can i share details ? I would have shared, but i dont know, where i can see a log or what you need ?
But i tried now again and found the problem: It's AV1. When i use CPU x264 it does not happen. When i use NVEnc and x265 it does not happen. When i use NVEnc and AV1 it does happen.
What details do i have to share? Logfile in Hybrid? Where can i find it?
So than it's solved for me. But if you want further details tell me, i can give, if it's a problem in hybrid or so. But tell me which details pls.Last edited by Platos; 1st May 2023 at 15:02.
-
Yes, NVEncC doesn't set sar infos when AV1, for raw AV1 output.
In AV1 encoding, sar is container side information. Therefore, to avoid this problem, do not write in raw AV1 and write in containers such as mkv or mp4 format, and you'll have sar applied.
Seems like AV1 raw output doesn't have sar metadata. For example ffmpeg bsf av1_metadata also cannot apply sample_aspect_ratio, but h264_metadata has sample_aspect_ratio.
What details do i have to share? Logfile in Hybrid? Where can i find it?
Cu Selur
Ps.: wrote a workaround when mp4box is used or ffmpeg is used, but there's a bug in mkvmerge atm. so I'm waiting on that (reported to the developer)Last edited by Selur; 1st May 2023 at 22:39.
users currently on my ignore list: deadrats, Stears555, marcorocchini -
Send you a link to a dev version which should set the container flags and thus workaround th issue.
users currently on my ignore list: deadrats, Stears555, marcorocchini
Similar Threads
-
Trying to Deinterlace VHS, Hybrid says it’s BFF, MeGUI says it’s TFF
By macramore in forum Video ConversionReplies: 9Last Post: 23rd Aug 2023, 12:31 -
Selur's Hybrid change Tile Size in Resizer-RealCUGAN not possible ?
By Platos in forum Newbie / General discussionsReplies: 4Last Post: 25th Apr 2023, 11:37 -
Is it possible to change the number of pixels without reencoding?
By shampistols69 in forum EditingReplies: 22Last Post: 20th Apr 2023, 23:35 -
Deinterlace a DVD lossy using QTGMC hybrid?
By jedi55 in forum Video ConversionReplies: 15Last Post: 20th Apr 2022, 07:57 -
Can I change the pixel aspect ratio in an x264 AVI without reencoding?
By Calidore in forum Video ConversionReplies: 24Last Post: 16th May 2018, 17:24