Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 20th May 2023, 13:05   #1  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,885
How to force flac audio codec in ffmpeg when output extension is not .flac?

Following attempts do not work

Code:
"ffmpeg.exe" -i "C:\Temp\AUDIO1.avs" -ac 8 -f wav - | "ffmpeg.exe" -y -i - -acodec flac "C:\Temp\Encoded_Audio_1.dtsma"
Code:
"ffmpeg.exe" -i "C:\Temp\AUDIO1.avs" -ac 8 -f wav - | "ffmpeg.exe" -y -i - -c:a flac "C:\Temp\Encoded_Audio_1.dtsma"
Atak_Snajpera is offline   Reply With Quote
Old 20th May 2023, 19:28   #2  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,424
adding '-f flac' seems to work here.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 21st May 2023, 11:55   #3  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,885
Thanks Selur for help!
Atak_Snajpera is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:34.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.