Ich mache dieses Batch-Skript zum Herunterladen eines Videos in MP4 von Youtube mit VLC mit der Befehlszeile. und es funktioniert gut für mich!Herunterladen von Video von Youtube mit VLC mit der Befehlszeile
@echo off
REM Downloading a video from youtube using VLC with the command line by (c) Hackoo 2017
Title Si Lemhaf - Kharrej Legrinta Elli Fik by (c) Hackoo 2017
mode con:cols=65 lines=3 & COLOR 0E
Taskkill /IM "vlc.exe" /F >nul 2>&1
echo.
echo Please wait a while ... The download is in progress ...
set Title=Si Lemhaf - Kharrej Legrinta Elli Fik by (c) Hackoo 2017
set "VLC_URL=http://www.videolan.org/vlc/download-windows.html"
set "URL=https://www.youtube.com/watch?v=KDI1C27zEC0"
set "File=SiLmehaf.mp4"
IF /I "%PROCESSOR_ARCHITECTURE%"=="x86" (
Set "vlc=%ProgramFiles%\VideoLAN\VLC\vlc.exe"
) else (
Set "vlc=%ProgramFiles(x86)%\VideoLAN\VLC\vlc.exe"
)
If Not Exist "%vlc%" (
Cls & COLOR 0C
echo.
Echo "The VLC program is not installed on your system"
TimeOut /T 5 /NoBreak>nul
Start "" %VLC_URL%
Exit
)
"%vlc%" -vvv "%URL%" --qt-start-minimized --qt-notification=0 --sout=#transcode{vcodec="h264",vb="512",fps="23.97",scale="1",acodec="mpga",ab="128","channels=2",samplerate="44100"}:standard{access="file",mux=mp4,dst=%File%} vlc://quit"
REM Starting the video in fullscreen with VLC
Start "" "%vlc%" -f --meta-title="%Title%" %File%
Aber mein Problem ist, warum einige URLs von Youtube nicht funktionieren? wie diese:
https://www.youtube.com/watch?v=TGtWWb9emYI
bekam ich diesen Fehler von VLC Programm
nicht das Format der Eingabemedien
Meine beste Vermutung ist, dass dieses bestimmte Video wurde entweder nicht als MP4 hochgeladen oder Vevo hat eine Art Kopie Schutz darauf. – SomethingDark