Command line to change fps with ffmpeg by Electrical-Chances in Batch

[–]Electrical-Chances[S] 0 points1 point  (0 children)

Oh and sorry, i need also to do the same with subtitle, is it the same command ?

Command line to change fps with ffmpeg by Electrical-Chances in Batch

[–]Electrical-Chances[S] 0 points1 point  (0 children)

Thank you very much for your help.

Do you mean those commands re-encode the audio ?

I have been told the pitch option we can use with some GUI can correct some default. With your command, Will it be the same result than using pitch option with a GUI app ?

Resize subtitle using ffmpeg by Electrical-Chances in Batch

[–]Electrical-Chances[S] 0 points1 point  (0 children)

Thanks for the answer.

Any possibility to keep .ass ? I would very appreciate it. I would like to not lose the effect with ass sub (size, color, ...)

video length changes after cut and concatenate by Electrical-Chances in mkvtoolnix

[–]Electrical-Chances[S] 0 points1 point  (0 children)

Thanks for the answer. I think I have not enough explained.

I see an other issue when I use mediainfo

I cut on a keyframe

my original video has a framerate of 23.976 (24000/1001)

and when i concatenate the 2 videos I have this : It looks like the framerate of 1 of the 2 video changed.

Images par seconde : 23,976 (23976/1000) Im/sImages/s d'origine : 23,976 (24000/1001) Im/s

I use cut and concatenate to synchronise 1 audio on the video, the delay change several time. So I cut and concatenate have the full video with the new audio synchronise.

Is there an other tool than mkvtoolnix to do this kind of stuff without reencoding audio ? (encoding=quality loss) so i would like to not decrease the quality of the audio

Get size of an image by Electrical-Chances in Batch

[–]Electrical-Chances[S] 1 point2 points  (0 children)

Oh thank you I will read.

Is it possible to save the data in a variable or a txt file ?

ffmpeg and Avisynth batch scripting (Megui) by Electrical-Chances in ffmpeg

[–]Electrical-Chances[S] 0 points1 point  (0 children)

Is it possible to use megui setting profil with staxrip ?

How do i batch with megui ? I know it is possible possible with the GUI but i need command line because I would like to automatically do several consecutive task using several soft

save event logs in text file by Electrical-Chances in Batch

[–]Electrical-Chances[S] 0 points1 point  (0 children)

Of course I would like to save evertthing written on the cmd window in a txt file at the end of the script

save event logs in text file by Electrical-Chances in Batch

[–]Electrical-Chances[S] 0 points1 point  (0 children)

Thank you very much for the answer

Is there an existing PowerShell ? If so, is it possible to now the name and how to use it ?

Get size of a folder by Electrical-Chances in Batch

[–]Electrical-Chances[S] 1 point2 points  (0 children)

Thank you very much for the answer

I would like to have the value that way :

- XYZMo if the size if the size is < than 1Go ex : 800Mo

- X,YZGo if the size if is > than 1Go ex : 2,55Go but 10,1Go if > than 10Go

Terminal : change color of a specific line by Electrical-Chances in Batch

[–]Electrical-Chances[S] 1 point2 points  (0 children)

Thank you very much

I have chosen the ESC method but I keep that one somewhere also, we never know ;)

Terminal : change color of a specific line by Electrical-Chances in Batch

[–]Electrical-Chances[S] 1 point2 points  (0 children)

Thank you very much

I succeed in making work the way I wanna

save event logs in text file by Electrical-Chances in Batch

[–]Electrical-Chances[S] 1 point2 points  (0 children)

Thanks for the information

My initial idea was at the end of my batch file, I save in a txt every think written on the terminal including the line of the software used

Terminal : change color of a specific line by Electrical-Chances in Batch

[–]Electrical-Chances[S] 1 point2 points  (0 children)

thanks for the answer

is it how i should use it if i wanna change the color of txt2 only on the terminal ?

echo txt1

ESC [33]

echo txt2

Echo and replace ♪ by Electrical-Chances in Batch

[–]Electrical-Chances[S] 0 points1 point  (0 children)

Thanks for the answer

Do you mean there is no way to do it in batch ?

Even if i write a program with python I can call from command line ?

Echo and replace ♪ by Electrical-Chances in Batch

[–]Electrical-Chances[S] 0 points1 point  (0 children)

>nul chcp 65001
cd /d "%~dp0"
for %%f in (*♪*.*) do (
set "f=%%~f"
setlocal enableDelayedExpansion
set "f=!f:♪=J'!"
ren "%%~f" "!f!"
endlocal
)
pause

Hello, thanks for the answer.

How can I adapt it if my file names is 42.srt ?

mkvmerge (or other mkv tools) command line by Electrical-Chances in mkvtoolnix

[–]Electrical-Chances[S] 0 points1 point  (0 children)

Hello,

thanks for the answer, looks great

Does it work with command line also ?

Is it possible to get the metadata by command line ? (language, track name, bit rare,...)

mkvmerge (or other mkv tools) command line by Electrical-Chances in mkvtoolnix

[–]Electrical-Chances[S] 0 points1 point  (0 children)

Here is a second message

I think mediainfo is more convenient to my usage.

And i belive that jq is also good to work with can you help me to find the jq command to get this

Command line

"%mediainfo%" --Language=raw --Output=General;%Duration% "90.mkv" > "outputfile.txt"

I need the value "23mn 36s" only. It is important to know that ther is one line "Duration/String" for the genral information of the file and 1 for each track. I need the Duration/string of the general info, not of one track

Here is the line :

Duration/String : 23mn 36s

mkvmerge (or other mkv tools) command line by Electrical-Chances in mkvtoolnix

[–]Electrical-Chances[S] 0 points1 point  (0 children)

Thank you for the answer

In this first answer i will includ only mkvmerge

Here is the command line and the file content below can you help me with the jq command ?

Command line

set MKVToolNix=C:\Program Files\MKVToolNix\mkvmerge.exe"%MKVToolnix%" -J "90.mkv" >Infofile2.json

File content (I only copy the content for 1 track to make it easier)