Downloaded video with yt-dlp and get sound file separate. |They won't merge. Message "malformed aac bitstream install FFMpeg to fix this automatically." I have ffmpeg in the same folder as yt-dlp.What do they mean install fmmpeg?
Also is there a way to join the video and audio and have them in sync?
+ Reply to Thread
Results 1 to 3 of 3
-
-
What is the command you used for merging?
You can synchronize the audio and video with ffmpeg with the following command
You need to change the 3.84 with the corresponding delay. It might need negative number, it might need positive.Code:ffmpeg.exe -i "movie.mp4" -itsoffset 3.84 -i "movie.mp4" -map 0:v -map 1:a -c copy "movie-audio-delayed.mp4"
-
There's probably, in all likelihood nothing wrong with the downloaded aac file. It's the way fmpeg is interpreting it and baulking at it.
With ffmpeg and ffprobe in the same directory as yt-dlp - in this instance try to download both the video and audio with ffmpeg, therefore giving it less opportunity to complain, thus:
Substitute your selections where I have used bv+ba for testing.
or because the mp4 format is stricter than mkv for accepting audio formats, you could use mkv:Code:yt-dlp -f bv+ba --hls-prefer-ffmpeg "URL"
Code:yt-dlp -f bv+ba --hls-prefer-ffmpeg "URL" --merge-output-format mkv
Last edited by codehound; 15th Sep 2021 at 16:43.
Similar Threads
-
Difference between AAC (lav) and AAC (Fraunhofer) audio codec?
By pxstein in forum Newbie / General discussionsReplies: 3Last Post: 9th Feb 2022, 10:54 -
why converted subtitles language letters are malformed when encoding it
By jraju in forum Newbie / General discussionsReplies: 3Last Post: 15th Sep 2019, 19:12 -
Converting an AAC Mono file to AAC Stereo, higher audio bitrate?
By brightmademedia in forum AudioReplies: 2Last Post: 17th Jun 2017, 10:41 -
Handbrake without FDK-AAC, new FFMPEG AAC encoder viable alternative?
By jaggy in forum Video ConversionReplies: 15Last Post: 27th Apr 2017, 11:31 -
DTS to AAC using Nero AAC encoder command line.
By knightplex in forum AudioReplies: 25Last Post: 5th Nov 2016, 22:27



Quote