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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th January 2019, 19:33   #1  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
Does ffmpeg actually support TrueHD or/and MLP encoding?

According to ffmpeg -codecs, yes:

Code:
DEA..S truehd     TrueHD
DEA..S mlp        MLP (Meridian Lossless Packing)
but whenever I try to encode a "normal" stereo & 16-bit & 44.1 kHz .WAV file to MLP or TrueHD,
all I get is a useless "Conversion failed!"

¿Am I missing something?
filler56789 is offline   Reply With Quote
Old 13th January 2019, 19:47   #2  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
did you set -strict -2 ?
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 13th January 2019, 20:32   #3  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
Quote:
Originally Posted by froggy1 View Post
did you set -strict -2 ?
Nope, I hadn't included that switch

Now the program works as expected.

Too bad the ffmpeg team loves to complicate everything :-/
filler56789 is offline   Reply With Quote
Old 13th January 2019, 20:33   #4  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
that's because these are still considered experimental...
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 15th January 2019, 14:33   #5  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
Yes, regarding the final filesize, the experimental lossless audio encoders haven't been optimized (yet - ?)

Just as an example, a 4-minute Audio-CD track was converted to a 31-megabyte MLP stream through the certified commercial encoder, but resulted in a 38-megabyte file when I used ffmpeg.
filler56789 is offline   Reply With Quote
Old 15th January 2019, 15:10   #6  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
did you set the bitrate for TrueHD/MLP encoding?

-b:a <value>
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 15th January 2019, 15:50   #7  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Quote:
Originally Posted by froggy1 View Post
did you set the bitrate for TrueHD/MLP encoding?

-b:a <value>
Bitrate for lossless codecs makes no sense. It has to use as many bits as it needs to for the full lossless signal.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 15th January 2019, 17:21   #8  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
Quote:
Originally Posted by nevcairiel View Post
Bitrate for lossless codecs makes no sense. It has to use as many bits as it needs to for the full lossless signal.
Thanks! brain fart
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Reply


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 22:28.


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