![]() |
|
Hybrid converted video loses 5 seconds compared to original..? - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: Hybrid converted video loses 5 seconds compared to original..? (/thread-4223.html) Pages:
1
2
|
Hybrid converted video loses 5 seconds compared to original..? - IanTopaz - 01.10.2025 It seems to have done an OK job visually, but the resulting video is 5 seconds shorter than the original. The 5 seconds seems to have been cut from the first 20 seconds of the video (not a gradual loss of time). The 1st 20 seconds of the original video is a kind of lead in black video. The scene first fades in at 0:21 in the original, but in the converted video, it fades in at 0:16. So obviously the 5 sceonds is somehow cut from the first part of the AVI video. The original has no audio track, nor subtitle track. I've tried a few options in Hybrid. The Config > Input > Ffmpeg vsync handling: passthrough, cfr, vfr, those 3 produce a video which is 13:56 seconds long when it should be 14:01. I also tried 'drop' which didn't work. Any ideas how to fix this 5 second drop ? I am using Hybrid latest version, just downloaded it yesterday. 2025.27.07.1 RE: Hybrid converted video loses 5 seconds compared to original..? - Selur - 01.10.2025 To be frank, I would have expected a loss of 12 seconds and 14ms not 5ms, since the short Mediainfo output (detailed output is preferable), states that the Time Code of the first frame is at "00;00;12;14" and I assume that translates to 12 seconds and 14ms. So Hybrid will probably ignore it. (doesn't make any sense to add a delay to a video only stream) My guess is that the delay is shortened by the source filter that is used which tries to be clever,... Since you did not read the sticky and share proper details, I can't really say what Hybrid is doing. Maybe using another source filter i.e. Avisource in case you have a 64bit vfw decoder installed for your input on your system, which change things. Since I think that extending a video only stream by using a delay makes no sense, I will not write any code to tackle this. If you really want a longer stream you could write custom code to add additional frames, before the current start frame after deinterlacing and let Hybrid know that you changed the length,... Cu Selur RE: Hybrid converted video loses 5 seconds compared to original..? - IanTopaz - 01.10.2025 Sorry about the log, I now have learned how to create one (attached). I turned Avisynth on, same 13:56 result. (image attached) Info: Input: NTSC DV AVI 720×480, 29.97i, BFF, no audio. Base: no trims; start=00:00:00.000, end full length. Config → Input: Ignore delay from input: OFF Fix positive/negative delays: OFF (both) FFmpeg vsync handling: drop (also tested: cfr/passthrough/vfr/ → same 13:56 result, drop didn't work either) Filtering → Vapoursynth → Misc → Source: Prefer LWLibAVSource over FFmpegSource2: ON (or, if testing AVS: “Always use Avisynth” + AviSource) (De-)Interlace/Telecine (VS): Input scan type (detected): bottom field first Auto deinterlace handling: QTGMC (Vapoursynth) QTGMC: Bob ON, Preset Slower, Source matching 2xrefined, EZKeepGrain 1.00 Crop/Resize: Resize 640×480, PAR → Square Pixel (1:1). Video encoder/container: FFV1 lossless → MKV. Observed: Output 13:56; original 14:01. Fade-in @ 0:21 source, 0:16 output. RE: Hybrid converted video loses 5 seconds compared to original..? - Selur - 01.10.2025 The Vapoursynth script used: # Importsvidc.i420=> Aside from manually adding frames in a custom section there is nothing you can do about this. Hybrid does not, and will not support adding delays though time codes, especially not on video only files, where delay makes no sense. Can't say whether any other tool supports such delays. => Hybrid is probably not the right tool for you / your files. Cu Selur RE: Hybrid converted video loses 5 seconds compared to original..? - IanTopaz - 10.10.2025 Thanks! What's your opinion on converting the Hybrid-processed 59.94fps deinterlaced footage back to 29.97fps? Since I am aiming to upscale this in Topaz, a 59.94 video will take significantly longer to render than a 29.97 video. Is there a method you recommend to convert the 59.97 video down to 29.97, or 24, and keep as much quality as possible. Or will a down convert lose some detail and give poor results, especially where there are scenes where significant motion occurs? (I do have Apple Motion/FCPX, and I might investigate FFmpeg minterpolate, which I just learned about.) RE: Hybrid converted video loses 5 seconds compared to original..? - Selur - 10.10.2025 Quote: What's your opinion on converting the Hybrid-processed 59.94fps deinterlaced footage back to 29.97fps?Assuming your content was real interlaced (not telecined, field shifted or similar; do not trust the flags of the source!) and you got real motion between fields, it depends on the content. If you have lots of motion, you can potentially lose 50% of the motion information, which can be visible. Then I would not go or 29.97fps and loose that information. If the goal to create something for archiving (= keep as much quality as possible) I would not go for 29.97fps. For normal content, you just want to watch that isn't sports you can get away with throwing out that information. Quote:Is there a method you recommend to convert the 59.97 video down to 29.97, or 24,sRestore or RIFE. Quote: Or will a down convert lose some detail and give poor results, especially where there are scenes where significant motion occurs?Yes, throwing out frames can hurt a lot depending on the content and how it's watched. Quote:(I do have Apple Motion/FCPX, and I might investigate FFmpeg minterpolate, which I just learned about.minterpolate = personally I would even prefer mvtoolsFPS over it. Motion from FCPX: no clue never used it Cu Selur RE: Hybrid converted video loses 5 seconds compared to original..? - IanTopaz - 13.10.2025 thanks... How do I ensure export from Hybrid is 59.94? It shows 59.94 for .MKV, but now I switched to ProRes422HQ, its saying its 60fps. I'm not 100% sure how to add custom flags, I'd like to add: -r 60000/1001 -vsync cfr -video_track_timescale 60000How do I do that? RE: Hybrid converted video loses 5 seconds compared to original..? - Selur - 13.10.2025 You can't. Quote: It shows 59.94 for .MKV, but now I switched to ProRes422HQ, its saying its 60fps.mkv is a container, prores a video codec, those are different things. No clue, what you are doing. Using a random file using ProRes422HQ and a mov container, the encoding call looks like: ffmpeg -y -noautorotate -nostdin -threads 8 -color_primaries bt470bg -color_trc smpte170m -colorspace bt470bg -color_range tv -i "/Users/selur/Desktop/test.avi" -map 0:0 -an -sn -vf fps=59.94 -color_primaries bt470bg -color_trc smpte170m -colorspace bt470bg -color_range tv -pix_fmt yuv422p10le -strict -1 -r 60000/1001 -vcodec prores_ks -profile:v 0 -vtag apco -metadata encoding_tool="Hybrid 2025.10.06.1" -aspect 640:352 -f mov "/Users/selur/Output/test_1_2025-10-13@20_29_04_8010_01.mov"Cu Selur RE: Hybrid converted video loses 5 seconds compared to original..? - IanTopaz - 13.10.2025 How are you adding these flags: -vf fps=59.94 -r 60000/1001 I tried Filtering > Speed Change > Scale Output frame rate: 59.94fps, but that didn't add the flags to the ffmpeg command line. RE: Hybrid converted video loses 5 seconds compared to original..? - Selur - 14.10.2025 Strange, it did here,... using the latest dev version. |