Need advice on how to convert PCM audio.

Discussion about AudioCoder
Post Reply
Mozts
Beginner
Beginner
Posts: 2
Joined: Mon Apr 20, 2015 4:25 am

Need advice on how to convert PCM audio.

Post by Mozts » Mon Apr 20, 2015 7:44 am

Hi guys, I'm newbie here, but I've been using AudioCoder for some time. I know the basic 101 about the subject, but that's it. Mainly I've done FLAC to MP3 conversion. Unfortunately now I need some advice.

I got my hands at a file with PCM áudio. I'm trying to extract it with the best possible quality, attach it to .MKV container and the result .MKV must be playable in a Samsung F6400 smartTV, which plays most common formats such as MPEG3, WMA, WAV, AC3, AAC and DTS. It doesn't work with FLAC, Apple codecs, MPEG4, Dolby TrueHD or DTS HD MA.

Here's the MediaInfo about the file. It's the BvS trailer if you're curious.

Code: Select all

Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt  
File size                                : 843 MiB
Duration                                 : 2mn 14s
Overall bit rate                         : 52.7 Mbps
Encoded date                             : UTC 2015-04-17 20:50:21
Tagged date                              : UTC 2015-04-17 20:50:30
Writing library                          : Apple QuickTime
Media/UUID                               : CA58D135-D1EF-49BD-A8BA-84B0FED998EE

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L5.0
Format settings, CABAC                   : No
Format settings, ReFrames                : 2 frames
Format settings, GOP                     : M=2, N=24
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 2mn 14s
Source duration                          : 2mn 14s
Bit rate                                 : 50.4 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 1.013
Stream size                              : 806 MiB (96%)
Source stream size                       : 806 MiB (96%)
Language                                 : English
Encoded date                             : UTC 2015-04-17 20:50:21
Tagged date                              : UTC 2015-04-17 20:50:30
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : PCM
Format settings, Endianness              : Little
Format settings, Sign                    : Unsigned
Codec ID                                 : in24
Duration                                 : 2mn 14s
Bit rate mode                            : Constant
Bit rate                                 : 2 304 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Stream size                              : 36.9 MiB (4%)
Language                                 : English
Encoded date                             : UTC 2015-04-17 20:50:21
Tagged date                              : UTC 2015-04-17 20:50:30

Other
ID                                       : 3
Type                                     : Time code
Format                                   : QuickTime TC
Duration                                 : 2mn 14s
Time code of first frame                 : 01:00:00:00
Time code, striped                       : Yes
Language                                 : English
Encoded date                             : UTC 2015-04-17 20:50:30
Tagged date                              : UTC 2015-04-17 20:50:30

What codec and settings should I use? I tried AC3 but the lossy nature is bothering me. Thanks in advance.
Last edited by Mozts on Sat Apr 25, 2015 9:17 am, edited 1 time in total.

User avatar
HuggiL
Modest
Modest
Posts: 233
Joined: Tue Oct 18, 2011 3:44 am
Location: Perth, Australia

Re: Need advice on how to convert PCM audio.

Post by HuggiL » Thu Apr 23, 2015 2:37 pm

I think WAV is the closest to uncompressed audio quality you'll get out of the formats you listed. Although I find AAC isn't too bad and I'm unsure about DTS quality.
So, in terms of settings, container is MKV, audio format should be Wavpack (play around with advanced settings to balance size vs quality), then your video is whatever you need the video to be.
In theory, theory and practice are the same. In practice, they are not.

Tips & Guides: http://forum.mediacoderhq.com/viewtopic.php?f=17&t=8061
Older versions: http://www.videohelp.com/tools/MediaCoder/old-versions#download

flagpole
Modest
Modest
Posts: 259
Joined: Tue Jan 26, 2010 10:12 pm
Contact:

Re: Need advice on how to convert PCM audio.

Post by flagpole » Thu Apr 23, 2015 7:03 pm

wouldn't mediacoder rather than audio coder be better for this? you can just set it to copy the video, transcode the audio, and mux in to mkv.
my quant puzzles http://puzzles.nigelcoldwell.co.uk go look :)

Mozts
Beginner
Beginner
Posts: 2
Joined: Mon Apr 20, 2015 4:25 am

Re: Need advice on how to convert PCM audio.

Post by Mozts » Fri Apr 24, 2015 12:41 am

flagpole wrote:wouldn't mediacoder rather than audio coder be better for this? you can just set it to copy the video, transcode the audio, and mux in to mkv.
You're mostly right, I was experimenting and found it was easier to keep track if I kept audio and video as separate issues.
HuggiL wrote:I think WAV is the closest to uncompressed audio quality you'll get out of the formats you listed. Although I find AAC isn't too bad and I'm unsure about DTS quality.
So, in terms of settings, container is MKV, audio format should be Wavpack (play around with advanced settings to balance size vs quality), then your video is whatever you need the video to be.
Trying that right now. Thank you.

Post Reply