Hi, I'm a ***
and however
if possible I would create a batch that in drag & drop mode test if the video part and the audio part of a single file exist or not.
At the moment I have do this rudimental
but it generate alwais a test.txt file. Is there a way to insert the value in a "virtual" enviroment variable and not in a .txt file? or another procedure thanks?Code:@Echo Off if exist test.txt del test.txt FFProbe64bit2014.exe -loglevel error -show_entries stream=codec_type -of default=nw=1 %1>test.txt set "testVideoPart=0" set "testAudioPart=0" findstr /c:"codec_type=video" "test.txt" IF NOT ERRORLEVEL 1 (set "testVideoPart=1") if "%testVideoPart%"=="1" echo Video Exist if NOT "%testVideoPart%"=="1" echo Video does not exist findstr /c:"codec_type=audio" "test.txt" IF NOT ERRORLEVEL 1 (set "testAudioPart=1") if "%testAudioPart%"=="1" echo Audio Exist if NOT "%testAudioPart%"=="1" echo Audio does not exist cat if exist test.txt del test.txt
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 1 of 1
Thread
Similar Threads
-
How to mute a small part of audio at the beginning
By UserName351 in forum EditingReplies: 5Last Post: 26th Jan 2022, 18:55 -
MP4 file has video speed up part of the way through but audio does not
By the_steve_randolph in forum Newbie / General discussionsReplies: 37Last Post: 6th Sep 2021, 14:25 -
Mute part of the audio in a video without re-encoding
By 90sTV in forum MacReplies: 16Last Post: 21st Jul 2020, 03:49 -
Audio drops out part with through HDMI capture
By nick1977 in forum CapturingReplies: 10Last Post: 10th Apr 2020, 07:52 -
ToolNix / Avidemux merging mp4, 2nd part grey video correct audio
By jfjfjf in forum EditingReplies: 5Last Post: 18th Nov 2017, 15:56