Search found 8 matches

by PieCaptain
Tue Feb 26, 2019 1:10 pm
Forum: Usage
Topic: help required with hevc_nvenc
Replies: 1
Views: 635

help required with hevc_nvenc

Hi! I recently bought an Nvideo 1060Ti and switched from using libx265 to hevc_nvenc the only thing in my command that has changed is the videocodec which i set using a variable (in powershell) &$ffmpeg -i $Inputfile -c:v $VideoCodec -c:a aac - map 0:v:0 -map 0:a:$BAT -sn $Output ($BAT is the audio ...
by PieCaptain
Tue Jun 27, 2017 9:22 am
Forum: Usage
Topic: *Workaround found* Parsing variables to FFMPEG using powershell
Replies: 2
Views: 1850

Re: Parsing variables to FFMPEG using powershell

In the meantime, I've cheated by parsing it through "CMD /C" cmd.exe /c "$ffmpegcmd $InputFiles $InputStreams -metadata title=$VideoName $OutputCodecs $VideoOutput" Where: $VideoFileInputMap = " -i " + '"'+ $BestVideo.VideoPath + '"' $AudioFileInputMap = " -i " + '"'+ $BestAudio.VideoPath + '"' $Sub...
by PieCaptain
Sun Jun 25, 2017 12:15 pm
Forum: Usage
Topic: Set the English audio stream on output provided that it exists on video
Replies: 1
Views: 1269

Re: Set the English audio stream on output provided that it exists on video

Not sure about in one command, but you could use mkvpropedit.exe (part of mkvtoolnix https://mkvtoolnix.download/ ) and Media Info ( https://mediaarea.net/en/MediaInfo ) Something like this in powershell: $AudioCount = &mediainfo.exe --Language=raw --Full input.mkv --Inform="General;%AudioCount%" fo...
by PieCaptain
Sun Jun 25, 2017 10:54 am
Forum: Usage
Topic: *Workaround found* Parsing variables to FFMPEG using powershell
Replies: 2
Views: 1850

*Workaround found* Parsing variables to FFMPEG using powershell

:?: Hi! I'm trying to construct an input string using Powershell, however, it doesn't seem to parse correctly If I use: &$ffmpeg -i $VideoInputMap -i $AudioInputMap $VideoOutput Everything works fine, however, if I use: $VideoInputMap = " -i " +$VideoInputMap $AudioInputMap = " -i " +$AudioInputMap ...
by PieCaptain
Tue Oct 18, 2016 12:44 pm
Forum: Usage
Topic: Specifying a track to extract by metadata
Replies: 1
Views: 1018

Specifying a track to extract by metadata

as an extension to my question in https://ffmpeg.zeranoe.com/forum/viewtopic.php?f=7&t=4749 Could someone point me in the right direction for specifying tracks using other metadata? ultimately i want to only extract english audio with 5.1 surround. I can select english audio using -map 0:m:language:...
by PieCaptain
Tue Oct 18, 2016 10:13 am
Forum: Usage
Topic: Specifying a track to extract by language exluding subtitles
Replies: 2
Views: 1403

Re: Specifying a track to extract by language

Thank you that worked perfectly!
by PieCaptain
Sat Oct 15, 2016 11:33 am
Forum: Usage
Topic: Specifying a track to extract by language exluding subtitles
Replies: 2
Views: 1403

Specifying a track to extract by language exluding subtitles

Hi! I'm hoping someone can help I'm trying to bulk extract english audio from multiple files using powershell. Using the following from the documentation works: &$ffmpeg -i $input -c copy -map 0:m:language:eng $Output However, this also extracts any english subtitle tracks. (i'm guessing it will ext...