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. |
5th October 2024, 23:29 | #24 | Link |
Registered User
Join Date: Nov 2008
Posts: 51
|
Thanks for BestSource2, using (55MB) sample "20090227_letterman-x264_m2ts_1080i.mp4" taken from:
https://forum.videohelp.com/threads/...le#post2608363 ffms2 gives slighlty wrong num/den FPS (500000/16697) LSmashVideoSource thinks it's PAL 25fps and duplicate all frames LWLibavVideoSource gives 2x FPS 60000/1001 DirectshowSource gives slightly wrong 10000000/333667 FPS BSSource is the only one which gives correct FPS 30000/1001 |
6th October 2024, 08:52 | #25 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,588
|
Quote:
So even if you get the framerate you expect you could still end up with an audio offset of a few ms. Everything is shit.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
21st October 2024, 14:06 | #26 | Link |
Banana User
Join Date: Sep 2008
Posts: 1,032
|
What's up with this very slow indexing? I guess it tries to decode whole video file.
With LSMASHSource half of encode would be finished when BestSource2 would be still indexing...
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
21st October 2024, 14:47 | #27 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,588
|
The whole file is decoded. Every frame has its checksum calculated. Makes things more reliable than all other source filters.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
21st October 2024, 20:32 | #28 | Link |
Banana User
Join Date: Sep 2008
Posts: 1,032
|
Could be there option implemented for faster indexing like LWLibavVideoSource()?
I like that dxva2/d3d11va decoding works here, could speed-up encoding a bit.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
21st October 2024, 20:50 | #29 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,588
|
Quote:
Sure, just download LWLibavVideoSource.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
21st October 2024, 20:58 | #30 | Link |
Banana User
Join Date: Sep 2008
Posts: 1,032
|
I meant the faster indexing.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
21st October 2024, 23:20 | #31 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,588
|
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
24th October 2024, 18:14 | #32 | Link |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,696
|
Many thanks Myrsloik !
Here your BestSource R8 just served correct framerate 6.004fps from a crappy xvid in .avi webcam source. The other sourcefilters assumed 25.000fps and borked the stream.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..." |
25th October 2024, 08:48 | #33 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,588
|
Interesting. Now I'm waiting for someone to report a case where the framerate guessing really fails. Posting a mega VFR file doesn't count.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
26th October 2024, 07:57 | #34 | Link |
Registered User
Join Date: Jul 2015
Posts: 779
|
I don't know how to use it.
Test GCC: (GNU) 15.0.0 20241020 (experimental) (SIMD) AVX I don't know if gcc 15.0.0 works correctly in C++23. Wrapper uses std::format and std:: print or fmt::format replacement. https://github.com/vapoursynth/bests...6dcff124a6729f BSAudioSource("myAvi.avi", -1, -1, 0, false, false, 0, 1, "", 100) Code:
[mp3 @ 0000022278cac380] The dropchanged flag is deprecated. [mpeg4 @ 0000022278cca160] Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using the mpeg4_unpack_bframes bitstream filter without encoding but stream copy to fix it. [mp3 @ 0000022278cf0fe0] The dropchanged flag is deprecated. Input #0, avisynth, from 'AudioBoost.avs': Duration: 01:38:45.19, start: 0.000000, bitrate: N/A Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s 6.83 M-A: 0.000 fd= 0 aq= 192KB vq= 0KB sq= 0B Code:
[mpeg4 @ 000002184d9377b0] The dropchanged flag is deprecated. [mpeg4 @ 000002184d97eb80] Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using the mpeg4_unpack_bframes bitstream filter without encoding but stream copy to fix it. [mpeg4 @ 000002184d97b5d0] The dropchanged flag is deprecated. [mpeg4 @ 000002184d97bcb0] Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using the mpeg4_unpack_bframes bitstream filter without encoding but stream copy to fix it. nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B BSSource("myAvi.avi", -1, -1, false, -1, 1, false, 0, 20, false, false, 1, "", 100, 1000, "", 9, "time.txt", 1, -1, 0) Code:
[avisynth @ 0000012382d187a0] Script error: Invalid arguments to function 'BSSource'. (AudioBoost.avs, line 8) AudioBoost.avs: Unknown error occurred BSSetDebugOutput(false) Code:
[avisynth @ 000001869e344350] AviSynth script did not return a clip AudioBoost.avs: Unknown error occurred I don't know how to use it. Edit: Probably too modern a solution for ffmpeg in gcc 15.0.0. When I have time I will test C++17 with std::to_string. https://www.sendspace.com/file/rxka3g Last edited by Jamaika; 26th October 2024 at 08:06. |
Thread Tools | Search this Thread |
Display Modes | |
|
|