Hi all,
This is my first time posting on the forums, and I do apologise if the question has been asked several times, however I did not find an answer related to my problem.
Short question:
I want to convert the audio only (DTS 5.1 / Ac3 5.1 to AAC 5.1) of a video to a codec that is supported to most if not all my devices (incl. Roku, Samsung TV, android/IOS phones, Apple TV, Xbox one and PS4, Chrome web browser). How can I do that without re-encoding the whole video?
Explanation:
Most of my media (including itunes music / home video records / gameplay recordings / movies & tv shows) were all encoded with handbrake (for movies & tv shows then used mkvtoolnix for the mkv container to add srt subtitles) and itunes conversion (to convert to .mp3 songs)
After that long process I found out that most of them required transcoding on all my clients (excluding Samsung tv which apparently can play anything on direct play, including HEVC codecs).
After further investigating and some search, I found out the optimal way of direct playing all my media to most of the common devices was that I should change some of the media input.
i.e. Profile High@ level 4.0 with h.264 codec and audio with AAC lc (also web optimized for chrome browser perhaps?)
Now my problem is with the audio, as most of my media is already H.264 through handbrake at rcf 23 slider.
while Handbrake can not re-encode audio only, I found out I can do it with ffmpeg, and here’s where I got stuck.
I am very limited with the use of ffmpeg, and limited as in I only know what the website here “https://trac.ffmpeg.org/wiki/Encode/AAC” teaches me only :D.
by using the command line in cmd console and changing directory to the folder of the media, i can write:
ffmpeg -i nameOFmediaINPUT.mp4 -c:v copy -c:a aac 448k OUTPUT.mp4 (if i use aac without adding the bitrate, it would default to 340k as its too low from my source file, and heard that 480k is optimum for AAC, while highest is 640k)
I realised with ffmpeg on cmd its not using all my cpu cores (a total cpu usage of 6% only) and takes a really long time (with my cpu core i7 5960x @stock speeds) its taking around ~15mins for a 1.5hr length media, almost same as handbrake with video and audio encodes.
Can Anyone lend me a hand here on what’s the proper way to change my media’s audio only to AAC stereo or AAC 5.1 depending on the media itself? Feels like i’m doing it wrong here, and also would like to get them web optimized of some files.
and if theres a better program suited for my needs. Would like to retain the quality of the video, and dont want to tamper much with the audio’s quality but only try to get it as close as to its original as possible.
Thank you all in advance.