begna112 / bvsfunc Goto Github PK
View Code? Open in Web Editor NEWbegna112's VapourSynth-related functions and scripts.
Home Page: https://bvsfunc.readthedocs.io/en/latest/
License: MIT License
begna112's VapourSynth-related functions and scripts.
Home Page: https://bvsfunc.readthedocs.io/en/latest/
License: MIT License
get the .ts file from the third line of the .d2v file.
It would be very nice because I guess I'm not the only one, first, create the script on my PC, and second, push the script to a server.
So this:
path = r'BDMV\STREAM\00001.m2ts'
ap.VideoSource(infile=path, trimlist="[None,-48]")
Instead of:
path = r'F:\MY\FULL\PATH\BDMV\STREAM\00001.m2ts'
ap.VideoSource(infile=path, trimlist="[None,-48]")
Example:
import bvsfunc.AudioProcessor as ap
path = r'F:\VPS\ENCO EN COURS\Magia Record\BD\[BDMV][200304][Magia Record][Vol.1]\BD_VIDEO\BDMV\STREAM\00001.m2ts'
ap.VideoSource(infile=path, trimlist="[[None, -48]]", noflac=True, silent=False)
The issue is fixed when using a single dict "[None, -48]"
, though.
Opus is becoming used more often by encoders, so having additional support for encoding it in AudioProcessor would be nice for those users.
PS C:\Users\begna112> ffprobe "T:\[SubsPlease] Kumo desu ga Nani ka - 20 (1080p) [7BD09B60].mkv"
ffprobe version 4.3.1 Copyright (c) 2007-2020 the FFmpeg developers
built with gcc 10.2.1 (GCC) 20200726
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --enable-librav1e --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
Input #0, matroska,webm, from 'T:\[SubsPlease] Kumo desu ga Nani ka - 20 (1080p) [7BD09B60].mkv':
Metadata:
encoder : no_variable_data
creation_time : 1970-01-01T00:00:00.000000Z
Duration: 00:23:41.50, start: 0.000000, bitrate: 8159 kb/s
Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Metadata:
BPS-eng : 7996504
DURATION-eng : 00:23:41.422000000
NUMBER_OF_FRAMES-eng: 34080
NUMBER_OF_BYTES-eng: 1420800904
_STATISTICS_WRITING_APP-eng: no_variable_data
_STATISTICS_WRITING_DATE_UTC-eng: 1970-01-01 00:00:00
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(jpn): Audio: aac (LC), 44100 Hz, stereo, fltp (default)
Metadata:
BPS-eng : 128000
DURATION-eng : 00:23:41.502000000
NUMBER_OF_FRAMES-eng: 61219
NUMBER_OF_BYTES-eng: 22744039
_STATISTICS_WRITING_APP-eng: no_variable_data
_STATISTICS_WRITING_DATE_UTC-eng: 1970-01-01 00:00:00
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2(eng): Subtitle: ass (default)
Metadata:
title : English subs
BPS-eng : 150
DURATION-eng : 00:23:38.450000000
NUMBER_OF_FRAMES-eng: 328
NUMBER_OF_BYTES-eng: 26762
_STATISTICS_WRITING_APP-eng: no_variable_data
_STATISTICS_WRITING_DATE_UTC-eng: 1970-01-01 00:00:00
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:3: Attachment: ttf
Metadata:
filename : Roboto-Medium.ttf
mimetype : application/x-truetype-font
Stream #0:4: Attachment: ttf
Metadata:
filename : Roboto-MediumItalic.ttf
mimetype : application/x-truetype-font
Stream #0:5: Attachment: ttf
Metadata:
filename : arial.ttf
mimetype : application/x-truetype-font
Stream #0:6: Attachment: ttf
Metadata:
filename : arialbd.ttf
mimetype : application/x-truetype-font
Stream #0:7: Attachment: ttf
Metadata:
filename : comic.ttf
mimetype : application/x-truetype-font
Stream #0:8: Attachment: ttf
Metadata:
filename : comicbd.ttf
mimetype : application/x-truetype-font
Stream #0:9: Attachment: ttf
Metadata:
filename : times.ttf
mimetype : application/x-truetype-font
Stream #0:10: Attachment: ttf
Metadata:
filename : timesbd.ttf
mimetype : application/x-truetype-font
Stream #0:11: Attachment: ttf
Metadata:
filename : trebuc.ttf
mimetype : application/x-truetype-font
Stream #0:12: Attachment: ttf
Metadata:
filename : trebucbd.ttf
mimetype : application/x-truetype-font
Stream #0:13: Attachment: ttf
Metadata:
filename : verdana.ttf
mimetype : application/x-truetype-font
Stream #0:14: Attachment: ttf
Metadata:
filename : verdanab.ttf
mimetype : application/x-truetype-font
Unsupported codec with id 98304 for input stream 3
Unsupported codec with id 98304 for input stream 4
Unsupported codec with id 98304 for input stream 5
Unsupported codec with id 98304 for input stream 6
Unsupported codec with id 98304 for input stream 7
Unsupported codec with id 98304 for input stream 8
Unsupported codec with id 98304 for input stream 9
Unsupported codec with id 98304 for input stream 10
Unsupported codec with id 98304 for input stream 11
Unsupported codec with id 98304 for input stream 12
Unsupported codec with id 98304 for input stream 13
Unsupported codec with id 98304 for input stream 14
It'd be cool to have bvsfunc on pypi and being able to use as a dependency on other packages.
pip install twine
python setup.py bdist_wheel
twine upload dist/*
Since the package has typing, it's good practice to put a py.typed file so there's no need for external stubs in dependant packages.
Thanks!
example: titan84 PID 110 DELAY -180ms_2_2ch.aac
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.