Einige Sender schicken mehrere Audio-Spuren mit. Wenn man nur eine braucht, kann man den Rest weglassen. Auch wenn man die Audio-Spuren anders sortiert haben will (Spur 1: Englisch, Spur 2: Deutsch, z.B. bei
PERL-Skript dazu gebastelt, was dann aus der Log-Datei entweder die
NB Das fuinktioniert leider nicht automatisch bei Poirot, aber das ist nur einmal die Woche.
Josef
Didn't find your answer? Ask the community — no account required.
T
Tilmann Reh
Josef Moellers schrieb:
Beim Export aus dvbcut bekommt man ebenfalls die verschiedenen Tonspuren
extrem unhandlich. Das geht mit dvbcut um Welten einfacher und schneller.
Tilmann
V
Volker Bartheld
Naja, toll ist was anderes, da hast Du schon recht.
Ballast mitkommt? Also EVG-Info, Videotext, usw. und erlaubt in
verlustfreies, schlankes MPEG aus aufgezeichnetem SD-Material. Falls ich
ideal.
ein RasPI mit LibreElec und Kodi, schon etwas angejahrt. Hab da sicher seit
2015 keine Updates reingespielt.
Ciao, Volker
V
Volker Bartheld
(d. h. 9 Jahre alte) Windows-Version unter
formatting link
herumtreibt.
Binaryverzeichnis tun. mplayer, der "beliebte Linux-Mediaplayer". *LOL*
Davon sollte man sich aber nicht bange machen lassen, funktioniert bussifein auch ohne dieses Tool - zumindest in meiner etwas anachronistischen Windows XP VM.
navigieren kann, mit dem Scrollrad der Maus (60s), SHIFT-Scroll (1s) und STRG-Scroll (1 Frame) geht es deutlich entspannter. In- und Out-Marken lassen sich wesentlich effizienter verarbeiten als in Project-X, da habe ich nie so recht verstanden, wie man falsch gesetzte Schnittpunkte korrigiert.
Ich habe als "MPEG Program Stream (DVBCUT Multiplexer)" exportiert, damit scheinen VLC, Virtual Dub und auch der RasPI zufrieden zu sein. DVBcut ist portabel, d. h. einfach die 11MB an Binaries irgendwo abkippen und gut. Das ist in Summe ein ganz klarer Daumen hoch.
war, den ich da aufgezeichnet habe. Mein Edision/Digiquest baut da nur Verzeichniss im Sinne von "2019-03-09.11.43.28-N24 Doku-45", das nutzt
Ciao, Volker
T
Tilmann Reh
Hallo Volker,
in der Tat ist das Programm alt - aber es funktioniert. :-)
wieder funktioniert. :-)
Funktioniert auch unter W8.1 noch einwandfrei.
Richtig, Mausrad und Tasten sind das Optimum.
Noch ein Tip: Fast alle Funktionen haben 1-Tasten-Shortcuts. A = Startmarke, N = Stopmarke, S = Speichern, E = Export, B = Bookmark, C = Chapter etc.
Wenn ich mit einem Dateibetrachter (Total Commander, F3) einfach die
Dateinamen, die aus dem EPG-Namen der Sendung gebildet werden...)
Tilmann
T
Tilmann Reh
Volker Bartheld schrieb:
dem Mausrad ja auch eben im Vorspann bis zum eingeblendeten Titel rollen. :-)
Tilmann
G
Gregor Szaktilla
Such mal nach Gleta.
SCNR
Gregor
V
Volker Bartheld
Leider kann es nicht an der 4GB-Grenze gesplittete Dateien als Gruppe
:: Create File List for %%i in (*.ts) do echo file '%%i'>> mylist.txt
Unter Win32 geht das auch so, zumindest Cutpoints setzen und das reicht mir.
Das kann aber VLC. Also auch nicht schlimm.
Ich jage das - doch oft etwas fette Resultat - dann noch durch eine
@ECHO off
SET VERSION=1.0.5 :: Change history: :: 1.0.0: Initial release :: 1.0.1: Skip existing target files :: 1.0.2: Add '?' to 2nd audio channel to suppress errors on mono material :: 1.0.3: Changed to CRF 24 :: 1.0.4: Added YouTube flags and unsharp mask filter after scaling, set audio quality to AAC@192kBit/s :: 1.0.5: Add possibility to switch scaling on or off
:: SET FFBASEPAR=-loglevel error -stats SET FFBASEPAR=-loglevel error -stats -movflags faststart -g 30 -bf 2 -flags +cgop
SET _VIDEOQUALITY=-crf 24 :: SET VIDEOQUALITY=-c:v libx264 -preset medium -tune film %_VIDEOQUALITY% -pix_fmt yuv420p -profile:v high SET VIDEOQUALITY=-c:v libx264 -preset medium -tune film %_VIDEOQUALITY% -pix_fmt yuv420p -profile:v high
SET MAPPING=-map 0:0 -map 0:1 -map 0:2?
:: SET _AUDIOQUALITY=256k SET _AUDIOQUALITY=192k SET AUDIOQUALITY=-c:a aac -b:a %_AUDIOQUALITY%
:: 768px width :: SET _SCALE=768 :: SET SCALE=-filter:v scale=-2:%_SCALE% :: 720p+sharpening :: SET _SCALE=720 :: SET SCALE=-vf "scale=-2:%_SCALE%,unsharp=luma_msize_x=3:luma_msize_y=3:luma_amount=1.5,format=yuv420p"
:: Check, if command extensions are available SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION IF ERRORLEVEL 1 GOTO :EXT_ERR
:: If called directly (no command line arguments) or help requested: Display some usage hints IF "%~1" EQU "" GOTO :PRINT_HELP IF "%~1" EQU "--help" GOTO :PRINT_HELP IF "%~1" EQU "/?" GOTO :PRINT_HELP
:: Try to locate ffmpeg.exe "%ffmpeg%" -version >NUL 2>&1 IF %ERRORLEVEL% NEQ 0 GOTO :FFMPEG_ERR
:: Delayed expansion interferes with exclamation marks in paths/filenames: Check and complain ENDLOCAL ECHO.%*| FIND /I "!">Nul && ( goto :EXCLAMATION_ERR ) SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
:: Check if command line argument is a folder (by trying to cd into it) PUSHD "%~1" 2>nul POPD IF NOT ERRORLEVEL 1 GOTO :IsDir
:: Apparently these are files: ECHO Batch processing %*... SET argCount=1 FOR %%I IN (%*) DO ( SET allowed=0 SET str=%%~I
:: Strip off extension and look for allowed video files SET str=!str:~-4! CALL :LCase str str IF "!str!" EQU ".avi" SET allowed=1 IF "!str!" EQU ".mkv" SET allowed=1 IF "!str!" EQU ".mp4" SET allowed=1 IF "!str!" EQU ".mpg" SET allowed=1 IF "!str!" EQU ".mxf" SET allowed=1
:: Process them... IF !allowed! EQU 1 ( ECHO !argcount!: %%~I :: Generate command string for ffmepeg to accomodate if scaling is required IF "%_SCALE%"=="" ( SET ffmpeg_output=%%~dI%%~pI%%~nI [H264%_VIDEOQUALITY%.AAC %_AUDIOQUALITY%].mp4 ) ELSE ( SET ffmpeg_output=%%~dI%%~pI%%~nI [H264%_VIDEOQUALITY%.AAC %_AUDIOQUALITY%.%_SCALE%p].mp4 ) IF NOT EXIST !ffmpeg_output! ( %ffmpeg% -i "%%~I" %SCALE% %VIDEOQUALITY% %MAPPING% %AUDIOQUALITY% %FFBASEPAR% "!ffmpeg_output!" ECHO -^> !ffmpeg_output! ) ELSE ECHO !ffmpeg_output! exists. Skipping... ) SET /A argCount+=1 )
:: We have a folder... :IsDir ECHO Batch processing directory: %~1\
:: Loop over all allowed video files files in the respective folder SET argCount=1 FOR %%I IN ("%~1\*.avi" "%~1\*.mp4" "%~1\*.mkv" "%~1\*.mpg" "%~1\*.mxf") DO (
:: Process them... ECHO !argCount!: %%~I :: Generate command string for ffmepeg to accomodate if scaling is required IF "%_SCALE%"=="" ( SET ffmpeg_output=%%~dI%%~pI%%~nI [H264%_VIDEOQUALITY%.AAC %_AUDIOQUALITY%].mp4 ) ELSE ( SET ffmpeg_output=%%~dI%%~pI%%~nI [H264%_VIDEOQUALITY%.AAC %_AUDIOQUALITY%.%_SCALE%p].mp4 ) IF NOT EXIST !ffmpeg_output! ( %ffmpeg% -i "%%~I" %SCALE% %VIDEOQUALITY% %MAPPING% %AUDIOQUALITY% %FFBASEPAR% "!ffmpeg_output!" ECHO -^> !ffmpeg_output! ) ELSE ECHO !ffmpeg_output! exists. Skipping... SET /A argCount+=1 )
:EXT_ERR ECHO Error: Unable to enable command extensions. ECHO Either you have a very old command interpreter ECHO or you use a too old windows version. ECHO Sorry, this won't work on your machine... GOTO :DONE
:FFMPEG_ERR ECHO Error: Unable to find %ffmpeg%. ECHO Make sure this batch file is in the same folder as %~n0%~x0 ECHO or set your PATH environment variable correctly. GOTO :DONE
:PRINT_HELP ECHO Usage: %~n0 [directory] [video] [video] ... [video^] ECHO Transcodes video files with %ffmpeg% to H264 files. ECHO Video quality: %VIDEOQUALITY% ECHO Audio quality: %AUDIOQUALITY% ECHO Mapping: %MAPPING% ECHO Scaling: %SCALE% ECHO No framerate conversion, no aspect ratio change. ECHO. ECHO There are three ways to use this droplet: ECHO. ECHO 1. Start %~n0%~x0 from the console with a directory or a list ECHO of video files as argument(s). All matching ECHO files in the directory or list will be processed. ECHO. ECHO Create a shortcut for %~n0%~x0 on the desktop or in any folder. ECHO. ECHO 2. Drag and drop a list of video files onto the droplet ECHO to have them batch processed. ECHO 3. Drag and drop a folder containing video files onto the droplet. ECHO All video files in that folder will be batch processed. ECHO. GOTO :DONE
:LCase :UCase :: Converts to upper/lower case variable contents :: Syntax: CALL :UCase _VAR1 _VAR2 :: Syntax: CALL :LCase _VAR1 _VAR2 :: _VAR1 = Variable NAME whose VALUE is to be converted to upper/lower case :: _VAR2 = NAME of variable to hold the converted value :: Note: Use variable NAMES in the CALL, not values (pass "by reference")
SET _UCase=A B C D E F G H I J K L M N O P Q R S T U V W X Y Z SET _LCase=a b c d e f g h i j k l m n o p q r s t u v w x y z SET _Lib_UCase_Tmp=!%1! IF /I "%0"==":UCase" SET _Abet=%_UCase% IF /I "%0"==":LCase" SET _Abet=%_LCase% FOR %%Z IN (%_Abet%) DO SET _Lib_UCase_Tmp=!_Lib_UCase_Tmp:%%Z=%%Z! SET %2=%_Lib_UCase_Tmp% GOTO :EOF
Gutes Gelingen!
Volker
T
Tilmann Reh
Hallo Volker,
mein PVR liefert nur einteilige Dateien, auch oberhalb 4 GB - deswegen
Wie gesagt, den braucht es nur zum /Abspielen/ des Videos innerhalb von
vor/nach aktueller Position). Alles andere geht auch ohne - daher ist das in der Tat verzichtbar.
Danke, sehe ich mir bei Gelegenheit mal an.
Tilmann
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.