mkvtoolnix | Creating and working with Matroska files | Form library

 by   nmaier C++ Version: release-5.1.0 License: GPL-2.0

kandi X-RAY | mkvtoolnix Summary

kandi X-RAY | mkvtoolnix Summary

mkvtoolnix is a C++ library typically used in User Interface, Form applications. mkvtoolnix has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

Creating and working with Matroska files
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              mkvtoolnix has a low active ecosystem.
              It has 105 star(s) with 40 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              mkvtoolnix has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of mkvtoolnix is release-5.1.0

            kandi-Quality Quality

              mkvtoolnix has no bugs reported.

            kandi-Security Security

              mkvtoolnix has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              mkvtoolnix is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              mkvtoolnix releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mkvtoolnix
            Get all kandi verified functions for this library.

            mkvtoolnix Key Features

            No Key Features are available at this moment for mkvtoolnix.

            mkvtoolnix Examples and Code Snippets

            No Code Snippets are available at this moment for mkvtoolnix.

            Community Discussions

            QUESTION

            Can't write packet with unknown timestamp av_interleaved_write_frame(): Invalid argument
            Asked 2021-May-26 at 18:42

            I'm trying to convert a .ts file with this output to mkv:

            ...

            ANSWER

            Answered 2021-May-02 at 08:14

            Try to run with the -ss flag.

            Source https://stackoverflow.com/questions/66013483

            QUESTION

            Subprocess.run and an unknown amount of files, how?
            Asked 2021-Jan-01 at 20:31

            So I am currently trying to make something that uses mkvmerge to merge audio, video and an unknown amount of subtitle files. For now, those subtitle filepaths are in a list.

            Here is my issue. I cannot for the life of me think of a way of putting this into subprocess run, without throwing an error. If I combine the subtitle names into a single string, mkvmerge throws an error, so each file would need to be inside "","" themselves.

            So, the command without subtitles looks like this:
            subprocess.run(['C:\MKVToolNix\mkvmerge.exe', '-o', f'E:\Videos\{output_filename}.mkv', 'E:\Videos\viddec.mp4', 'E:\Videos\auddec.mp4']) So this will produce a working video.

            AFAIK, a properly formatted subprocess call including two subtitles would need to look like this. subprocess.run(['C:\MKVToolNix\mkvmerge.exe', '-o', f'E:\Videos\{output_filename}.mkv', 'E:\Videos\viddec.mp4', 'E:\Videos\auddec.mp4', 'E:\Videos\eng.srt', 'E:\Videos\nor.srt'])

            Is it possible to add variables like that, as individual strings into a subprocess.run call, so that it will function properly? or is there perhaps a different method/call I cannot think of?

            ...

            ANSWER

            Answered 2021-Jan-01 at 20:04

            You can build the list of arguments before the subprocess.run call, as long as you need it to be, and pass that list in the call.

            Source https://stackoverflow.com/questions/65533234

            QUESTION

            Piping results from ls into command in Powershell, capturing with regex
            Asked 2020-Aug-10 at 12:52

            I am attempting to batch edit metadata of some video files by piping the results from ls into a function that edits the video file's name in metadata. Example:

            Files:

            • My Movie 1 - 1080p DTS 5.1.mkv
            • My Movie 2 - 720p DTS 2.1.mkv
            • My Movie 3 - 480p AAC 1.0.mkv

            Desired title renames in metadata:

            • My Movie 1
            • My Movie 2
            • My Movie 3

            I am using the mkvpropedit function from MKVToolNix in PowerShell, which can be used to rename a single file's title in the following way:

            ...

            ANSWER

            Answered 2020-Aug-10 at 12:52

            It looks like you're trying to use delay-bind script blocks ({ ... } blocks that reference $_ as the current pipeline-input variable), which, however, are not supported in direct calls to external executables such as mkvpropedit.

            Instead, you must use a ForEach-Object call and use expressions based on $_ to formulate your arguments:

            Source https://stackoverflow.com/questions/63330998

            QUESTION

            Converting a line of cmd to powershell
            Asked 2020-Mar-26 at 20:14

            EDIT2: Final code below

            I need help on converting some codes as I am very new to mkvmerge, powershell and command prompt.

            The CMD code is from https://github.com/Serede/mkvtoolnix-batch/blob/master/mkvtoolnix-batch.bat for %%f in (*.mkv) do %mkvmerge% @options.json -o "mkvmerge_out/%%f" "%%f"

            What I've managed so far

            ...

            ANSWER

            Answered 2020-Mar-26 at 19:09
            $mkvmergeExe = 'F:\Desktop\@progs\mkvtoolnix\mkvmerge.exe'
            $optionsFile = "$SourceFolder\options.json" # alternatively, use Join-Path
            Get-ChildItem -LiteralPath $SourceFolder -File -Filter *.mkv | ForEach-Object {
              $f = $_.FullName
              $of = "$SourceFolder\mkvmerge_out\$($_.Name)"
              & $mkvmergeExe `@$optionsFile -o $of $f
            }
            

            Source https://stackoverflow.com/questions/60867866

            QUESTION

            How to use FINDSTR to find a string in value of a variable?
            Asked 2019-Oct-31 at 15:30

            Is it possible to use FINDSTR with a variable instead of a file?

            I've tried researching this but my knowledge on batch isn't good enough yet.

            I've made most of my batch file work flawlessly for what I need, but I'm having trouble extracting part of a string variable into a new variable.

            The original variable for example would be S02E12 - Charge!. I would like to extract 02 to ep_seas, 12 to ep_num, and Charge! to ep_name. I have it working right now if that's the exact pattern of names, but I've come across some files that are in this pattern: S02E124 - Charge #2!

            Is there a way I can dynamically get the values I need regardless of their length?

            My idea was to use FINDSTR to search between the S and the E, then between E and space   (or -), then between - and the end. I'm not sure how I would proceed with this though.

            Does anyone have a solution I can look into or can someone provide an example?

            ...

            ANSWER

            Answered 2019-Oct-31 at 15:30

            You could use this code for your task:

            Source https://stackoverflow.com/questions/46553570

            QUESTION

            Batch script to find, replace and output new file and sum one each time
            Asked 2019-Feb-15 at 17:45

            I`m editing a bunch of files with mkvmerge and I'm doing this:

            Video from original-001.mkv mux with audio from audio-001.mkv and add subtitle from sub-001.mkv.

            I'm creating a bunch of .bat scripts and using notapad++ find and replace function to do this:

            find 001 and replace for 002, save as 002.bat and move on.

            Basically, there will always be a base file named 001.bat

            What would be really great is this Notepad++ portion could be automated. Find all strings "001", replace with "002", save as 002.bat Find "002", replace with "003", save as 003.bat.

            Up to 300.

            And finally what I do is another script: Call 001.bat Call 002.bat and so on. If I file doesn't exist there's no problem.

            Is this possible using batch script on windows?

            EDIT to add code as the way I'm going now: Example of 001.bat

            ...

            ANSWER

            Answered 2019-Feb-14 at 17:03

            Here you go.

            Go down to "** and does stuff to it ** RIGHT HERE **".

            This is where you will search and replace on the new file.

            Source https://stackoverflow.com/questions/54694837

            QUESTION

            Batch attachment of multiple .ttf files to a .mkv
            Asked 2019-Feb-15 at 12:00

            Ok, I'm total new at this... Basically I'm using a tool call mkvmerge to attach multiple font files(.ttf) to .mkv files. I have separated the .mkv files into folders together with the respective fonts I would like to attach.

            My aim is to create a batch that creates a copy of all the .mkv files with all the added attachments and deposits them in a newly created a folder (i.e Revised) in the parent directory.

            Beginning with just a single folder:

            ...

            ANSWER

            Answered 2019-Feb-15 at 11:21

            I have decided to take a stab at this, it is intended to be run from the parent directory holding your directories, (I have assumed that those directories are all on the same level, this is not recursing through nested directories).

            Please be aware that I am unable to test this.

            Source https://stackoverflow.com/questions/54703298

            QUESTION

            Error: More than one file name has been given
            Asked 2018-Nov-17 at 15:09

            I want to change tags of my all mkv files. I installed MKVToolNix. My code is:

            ...

            ANSWER

            Answered 2018-Nov-17 at 15:09

            The issue is that one of your .mkv files contains a space in its filename. Thus when you split the bashCommand to create a list, you inadvertently split the filename into two pieces.

            The easiest thing would be to rename the file so that it doesn't contain a space. It may also be safer to build the list manually, rather than relying upon split(), and ensure you wrap the filename in quotes.

            Source https://stackoverflow.com/questions/53351372

            QUESTION

            Convert TS-Stream to MKV with ffmpeg
            Asked 2018-Sep-17 at 05:38

            I'm using ffmpeg 3.2.7 and I have a problem converting a ts-file lossless to mkv. The source file is a dumped IPTV-stream recorded with dumprtp (from dvbstream 0.5).

            ffmpeg -i Test.ts -map 0:0 -map 0:2 -vcodec copy -acodec copy -f matroska Test.mkv

            The convertion is successful, but the output file is pixelated every few seconds.

            When I'm converting it with MKVToolnix everything looks fine.

            Does anyone has a solution for that problem? Maybe some option to sync the stream correctly?

            Here's a sample output:

            ...

            ANSWER

            Answered 2017-Oct-28 at 20:47

            I cannot reproduce your input stream playing fine using multiple players. The .ts looks better than the mkv in all players tough, i guess due to error correction infos in the .ts but in the end it does not play 100% fine. Looking at the output of ffplay there are lots of mpeg related errors which means you just do not have all video data in your stream dump to decode it correctly.

            Unfortunately there is no way for you to go with direct stream copy from your fragmented .ts file into a frame accurate container without Decoding and re-encoding i fear.

            Source https://stackoverflow.com/questions/46969280

            QUESTION

            kubernetes time-out after re-installation on macOS
            Asked 2018-Aug-29 at 12:16

            I followed the instructions on https://kubernetes.io/docs/tasks/tools/install-kubectl/ on my Mac and installed Kubernetes CLI using brew.

            ...

            ANSWER

            Answered 2018-Aug-29 at 12:16

            You may have installed Minikube, but that doesn't necessarily mean it's actively running. You'd need to run minikube start to actually start the cluster on your machine. This also configures your kubeconfig file to point at the cluster it built.

            Source https://stackoverflow.com/questions/52071034

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install mkvtoolnix

            You can download it from GitHub.

            Support

            If you’re sure you’ve found a bug - e.g. if one of my programs crashes with an obscur error message, or if the resulting file is missing part of the original data, then by all means submit a bug report. I use Bugzilla (https://www.bunkus.org/bugzilla/) as my bug database. You can submit your bug reports there. Please be as verbose as possible - e.g. include the command line, if you use Windows or Linux etc.pp. If at all possible please include sample files as well so that I can reproduce the issue. If they are larger than 1M then please upload them somewhere and post a link in the Bugzilla bug report.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/nmaier/mkvtoolnix.git

          • CLI

            gh repo clone nmaier/mkvtoolnix

          • sshUrl

            git@github.com:nmaier/mkvtoolnix.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link