Clip attached downloaded from YouTube. It's uses the AV1 video codec. Is there an indexer which supports that input format?
I tried previewing the video with FFVideoSource in AvsPmod but it says it can't open the video.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 15 of 15
Thread
-
-
Recent versions of lsmash and ffms2 support AV1 . Likely you are using an older version
-
LWlibavVideoSource works fine here, ffms2 2.4 doesn't and reports "No video track found" (on both Avisynth and Vapoursynth)
https://forum.doom9.org/showthread.php?p=1925683#post1925683 -> FFVideoSource/ffms2 with av1 support.users currently on my ignore list: deadrats, Stears555 -
I normally use this for indexing videos which DGDecodeNV doesn't support:
Code:FFVideoSource("J:\Video.mkv.ffindex", fpsnum=25, fpsden=1, threads=1)
Also, somebody outside of this forum told me that FFMS is not reliable, it can't handle 1080i files for example. Is that true? How is it unreliable? I've been using it for years without issues. -
From my experience the 'threads=1' is outdated nowadays for both FFVideoSource and LWlibavVideoSource and forcing cfr decoding (fpsnum=25, fpsden=1) should only be needed on vfr sources.
With LWLibavVideoSource I usually use something like:
Code:LWLibavVideoSource("C:\Users\Selur\Desktop\test.mkv",cache=false,format="YUV420P8", prefer_hw=3,repeat=true)
prefer_hw=3
Hardware decoding mode:
Whether to prefer hardware accelerated decoder to software decoder.
Have no effect if 'decoder' is specified.
- 0 : Use default software decoder.
- 1 : Use NVIDIA CUVID acceleration for supported codec, otherwise use default software decoder.
- 2 : Use Intel Quick Sync Video acceleration for supported codec, otherwise use default software decoder.
- 3 : Try hardware decoder in the order of CUVID->QSV. If none is available then use default software decoder.
Code:LWLibavVideoSource("C:\Users\Selur\Desktop\test.mkv",cache=false,format="YUV420P8", prefer_hw=3,fpnum=25,fpsden=1)
see: http://avisynth.nl/index.php/LSMASHSource/LWLibavVideoSource
Cu Selurusers currently on my ignore list: deadrats, Stears555 -
Thanks. Why do you use fpnum=25, fpsden=1 on a 29.97 fps video?
On the clip I uploaded in my original post I tried both of your scripts but I get an Avisynth access violation. Could you please give me the correct script so I can encode the video.Last edited by VideoFanatic; 2nd Nov 2020 at 09:59.
-
Why do you use fpnum=25, fpsden=1 on a 29.97 fps video?
I took the fpsnum an fpsdenum values from your example:
FFVideoSource("J:\Video.mkv.ffindex", fpsnum=25, fpsden=1, threads=1)
Cu Selurusers currently on my ignore list: deadrats, Stears555 -
with "cache=false," LWLibavVideoSource creates the index in the RAM, with "cache=true" you can specify the index file with cachefile="PATH TO FILE", see: http://avisynth.nl/index.php/LSMASHSource/LWLibavVideoSource
No clue why you would get an access violation,...users currently on my ignore list: deadrats, Stears555 -
Here's part of my
Code:MeGUI log: ---[NoImage] LWLibavVideoSource("L:\0 = To Encode\Biden\Small Files Upscale to 4K\1xpogsny.md2\20120426 CBS Biden assures voters Obama 'has a big stick' 86689 Views rrmbsKW0d7c USA YouTube 720p @@vp9 @@mp4a.40.2 FPS 30.mkv.lwi") --[Information] [02/11/2020 15:35:46] resolution: 1280x720 --[Information] [02/11/2020 15:35:46] frame rate: 15913/1062 --[Information] [02/11/2020 15:35:46] frames: 862 --[Information] [02/11/2020 15:35:46] length: 00:00:57.528 --[Information] [02/11/2020 15:35:46] aspect ratio (avs): 16:9 (1.778) --[Information] [02/11/2020 15:35:46] color space: I420 --[Information] [02/11/2020 15:35:46] custom command line: --keyint 60 --vbv-bufsize 15000 --vbv-maxrate 15000 --sar 1:1 --[Information] [02/11/2020 15:35:46] Job command line: "cmd.exe" /c ""Z:\MeGUI 2913\tools\ffmpeg\ffmpeg.exe" -loglevel level+error -i "L:\0 = To Encode\Biden\Small Files Upscale to 4K\1xpogsny.md2\20120426 CBS Biden assures voters Obama 'has a big stick' 86689 Views rrmbsKW0d7c USA YouTube 720p @@vp9 @@mp4a.40.2 FPS 30.mkv.avs" -strict -1 -f yuv4mpegpipe - | "Z:\MeGUI 2913\tools\x264\x264.exe" --preset slow --crf 15 --keyint 36 --min-keyint 14 --vbv-bufsize 15000 --vbv-maxrate 15000 --sar 1:1 --tcfile-in "L:\0 = To Encode\Biden\Small Files Upscale to 4K\1xpogsny.md2\20120426 CBS Biden assures voters Obama 'has a big stick' 86689 Views rrmbsKW0d7c USA YouTube 720p @@vp9 @@mp4a.40.2 FPS 30.mkv.timestamps.txt.x264" --frames 862 --output "L:\0 = To Encode\Biden\Small Files Upscale to 4K\1xpogsny.md2\20120426 CBS Biden assures voters Obama 'has a big stick' 86689 Views rrmbsKW0d7c USA YouTube 720p @@vp9 @@mp4a.40.264" --stdin y4m -" --[Information] [02/11/2020 15:35:46] Process started --[Information] [02/11/2020 15:35:46] Standard output stream --[Error] [02/11/2020 15:35:46] Standard error stream ---[Information] [02/11/2020 15:35:46] [error] av_interleaved_write_frame(): Broken pipe ---[Information] [02/11/2020 15:35:46] [error] Error writing trailer of pipe:: Broken pipe ---[Information] [02/11/2020 15:35:46] y4m [info]: 1280x720p 1:1 @ 15913/1062 fps (cfr) ---[Error] [02/11/2020 15:35:46] timecode [error]: invalid input tcfile for frame 1 ---[Error] [02/11/2020 15:35:46] x264 [error]: timecode input failed --[Error] [02/11/2020 15:35:46] Process exits with error: 0xFFFFFFFF (-1) --[Information] [02/11/2020 15:35:46] Job completed
Last edited by VideoFanatic; 2nd Nov 2020 at 10:38.
-
Code:
LWLibavVideoSource("L:\0 = To Encode\Biden\Small Files Upscale to 4K\1xpogsny.md2\20120426 CBS Biden assures voters Obama 'has a big stick' 86689 Views rrmbsKW0d7c USA YouTube 720p @@vp9 @@mp4a.40.2 FPS 30.mkv.lwi")
I would have expected something like:
Code:LWLibavVideoSource("L:\0 = To Encode\Biden\Small Files Upscale to 4K\1xpogsny.md2\20120426 CBS Biden assures voters Obama 'has a big stick' 86689 Views rrmbsKW0d7c USA YouTube 720p @@vp9 @@mp4a.40.2 FPS 30.mkv",cache=true,cachefile="L:\0 = To Encode\Biden\Small Files Upscale to 4K\1xpogsny.md2\20120426 CBS Biden assures voters Obama 'has a big stick' 86689 Views rrmbsKW0d7c USA YouTube 720p @@vp9 @@mp4a.40.2 FPS 30.mkv.lwi",format="YUV420P8", prefer_hw=3,fpnum=15913,fpsden=1062)
Cu Selurusers currently on my ignore list: deadrats, Stears555 -
I simplified the folder names but I'm still getting the Avisnyth access violation with this script:
LWLibavVideoSource("J:\0Working\AV1 Source.mkv",cache=true,cachefile="J:\0Working\AV1 Source.mkv.lwi",format="YUV420P8", prefer_hw=3,fpsnum=15913,fpsden=1062)
Even AVC codec is giving me that access violation.
My "LSMASHSource.dll" is in C:\Program Files (x86)\AviSynth 2.5\plugins
I downloaded the 20200728 version from here: https://github.com/HolyWu/L-SMASH-Works/releases/
Any idea what I'm doing wrong?
Could you please explain where you got the fpsnum and fpsden numbers from? -
"AviSynth 2.5" for
32bit Avisynth you should use 32bit Avisynth+ 3.6.1
64bit Avisynth you should use 64bit Avisynth+ 3.6.1
https://github.com/AviSynth/AviSynthPlus/releases
Also iirc MeGui did have some Preview or Script View, where you can look at the output of the Avisynthscript used.
Does that preview work properly?
Alternatively look at the script with or example AvsPmod.
Haven't used MeGui or ages,...
Could you please explain where you got the fpsnum and fpsden numbers from?
Code:---[NoImage] LWLibavVideoSource("L:\0 = To Encode\Biden\Small Files Upscale to 4K\1xpogsny.md2\20120426 CBS Biden assures voters Obama 'has a big stick' 86689 Views rrmbsKW0d7c USA YouTube 720p @@vp9 @@mp4a.40.2 FPS 30.mkv.lwi") --[Information] [02/11/2020 15:35:46] resolution: 1280x720 --[Information] [02/11/2020 15:35:46] frame rate: 15913/1062 --[Information] [02/11/2020 15:35:46] frames: 862 --[Information] [02/11/2020 15:35:46] length: 00:00:57.528 --[Information] [02/11/2020 15:35:46] aspect ratio (avs): 16:9 (1.778)
users currently on my ignore list: deadrats, Stears555 -
I can do either of these in AvsPmod and the video displays fine for my VP9 codec clip:
LWLibavVideoSource("L:\VP9 Clip.mkv",cache=true,cachefile="L:\VP9 Clip.mkv.lwi",format="YUV420P8",prefer_hw=3,fpsnum =15913,fpsden=1062)
LWLibavVideoSource("L:\VP9 Clip.mkv")
However when I try to encode the video with either of the above scripts then the video fails to encode.
Code:Here's my log: -[Error] Log for job1 (video, VP9 Clip.mkv.avs -> VP9 Clip_Video.264) --[Information] [02/11/2020 22:13:54] Started handling job --[Information] [02/11/2020 22:13:54] Preprocessing --[Information] [02/11/2020 22:13:54] AviSynth input script ---[NoImage] global MeGUI_darx = 16 ---[NoImage] global MeGUI_dary = 9 ---[NoImage] LoadPlugin("Z:\MeGUI 2913 Outgunner Install\tools\lsmash\LSMASHSource.dll") ---[NoImage] LWLibavVideoSource("L:\t42q54ig.e1p\VP9 Clip.mkv.lwi") --[Information] [02/11/2020 22:13:56] resolution: 1280x720 --[Information] [02/11/2020 22:13:56] frame rate: 15913/1062 --[Information] [02/11/2020 22:13:56] frames: 905 --[Information] [02/11/2020 22:13:56] length: 00:01:00.398 --[Information] [02/11/2020 22:13:56] aspect ratio (avs): 16:9 (1.778) --[Information] [02/11/2020 22:13:56] color space: I420 --[Information] [02/11/2020 22:13:56] custom command line: --keyint 60 --vbv-bufsize 15000 --vbv-maxrate 15000 --sar 1:1 --[Information] [02/11/2020 22:13:56] Job command line: "cmd.exe" /c ""Z:\MeGUI 2913 Outgunner Install\tools\ffmpeg\ffmpeg.exe" -loglevel level+error -i "L:\t42q54ig.e1p\VP9 Clip.mkv.avs" -strict -1 -f yuv4mpegpipe - | "Z:\MeGUI 2913 Outgunner Install\tools\x264\x264.exe" --preset slow --crf 15 --keyint 36 --min-keyint 14 --vbv-bufsize 15000 --vbv-maxrate 15000 --sar 1:1 --tcfile-in "L:\t42q54ig.e1p\VP9 Clip.mkv.timestamps.txt.x264" --frames 905 --output "L:\t42q54ig.e1p\VP9 Clip_Video.264" --stdin y4m -" --[Information] [02/11/2020 22:13:56] Process started --[Information] [02/11/2020 22:13:56] Standard output stream --[Error] [02/11/2020 22:13:56] Standard error stream ---[Information] [02/11/2020 22:13:57] [error] av_interleaved_write_frame(): Broken pipe ---[Information] [02/11/2020 22:13:57] [error] Error writing trailer of pipe:: Broken pipe ---[Information] [02/11/2020 22:13:57] y4m [info]: 1280x720p 1:1 @ 15913/1062 fps (cfr) ---[Error] [02/11/2020 22:13:57] timecode [error]: invalid input tcfile for frame 1 ---[Error] [02/11/2020 22:13:57] x264 [error]: timecode input failed --[Error] [02/11/2020 22:13:57] Process exits with error: 0xFFFFFFFF (-1) --[Information] [02/11/2020 22:13:57] Job completed
Similar Threads
-
How to play AV1 codec videos in and old version of GomPlayer?
By jairovital in forum Newbie / General discussionsReplies: 8Last Post: 25th Dec 2021, 17:21 -
Is AV1 Codec Really Better Then x265?
By jamespoo in forum Video ConversionReplies: 14Last Post: 10th Apr 2021, 10:48 -
MSU Codec Comparison 2017 Part 5 - AV1 - Comparison results
By KarMa in forum Latest Video NewsReplies: 9Last Post: 3rd Mar 2018, 09:28 -
megui - using it's File Indexer
By pooksahib in forum Video ConversionReplies: 4Last Post: 2nd Aug 2017, 23:21 -
Need MP4 encoder that supports AVISynth
By Foebane72 in forum Video ConversionReplies: 3Last Post: 8th Oct 2016, 19:26