Unable to extract audio with ffmpeg for youtube





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







1















I'm struggling to get youtube to accept an audio of a conference we have recorded. Youtube seems to ignore the audio of the recordings, which I can hear with VLC or Video (the Gnome player).
So my idea is to use the powerful ffmpeg to do some conversion of the video and the upload a working version on youtube.



This is the description of the file I get from ffmpeg



Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'BVAN.mp4':                                                                                                                                                                          
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: iso4avc1isom
creation_time : 2018-07-15T08:49:37.000000Z
Duration: 00:22:44.58, start: 0.000000, bitrate: 26200 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1280x720, 22836 kb/s, SAR 1:1 DAR 16:9, 59.94 fps, 59.94 tbr, 60k tbn, 120k tbc (default)
Metadata:
creation_time : 2018-07-15T08:49:37.000000Z
handler_name : ?Apple Alias Data Handler
encoder : H264/AVC
timecode : 00:00:00;00
Stream #0:1(eng): Audio: pcm_s24be (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
Metadata:
creation_time : 2018-07-15T08:49:37.000000Z
handler_name : ?Apple Alias Data Handler
timecode : 00:00:00;00
Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
creation_time : 2018-07-15T08:49:37.000000Z
handler_name : ?Apple Alias Data Handler
timecode : 00:00:00;00


I tried:
- FFmpeg `Guessed Channel Layout for Input Stream`
- https://askubuntu.com/questions/706584/vlc-does-not-play-pcm-s24-le-audio-in-mov-file
- FFmpeg command to convert MP3 to AAC
and many other questions, but without success.
And more concretely, none of these commands works.



ffmpeg -i BVA.mp4 -codec:audio aac -b:audio 128k -codec:video libx264 -crf 23  disagio.mp4
ffmpeg -i BVA.mp4 -c:v libx264 -c:a aac -strict experimental -b:a 192k out.mp4
ffmpeg -i BVA.mp4 -codec:video libvpx-vp9 -crf 30 -b:video 0 -codec:audio libopus -vbr on -threads 10 lungo.webm
ffmpeg -i BVA.mp4 -codec:video libvpx-vp9 -crf 16 -b:video 0 -codec:audio libopus -vbr on -threads 10 lungo.webm
ffmpeg -i BVA.mp4 -codec:video libvpx-vp9 -crf 50 -b:video 0 -codec:audio libopus -vbr on -threads 10 lungo.avi
ffmpeg -i BVA.mp4 -codec:video libvpx-vp9 -crf 50 -b:video 0 -codec:audio libopus -vbr on -threads 10 -c:a aac lungo.avi
ffmpeg -i BVA.mp4 -c:a flac -c:v copy merda.avi
ffmpeg -i BVA.mp4 -codec:audio aac -b:audio 128k -codec:video libx264 -crf 23 disagio.mp4
ffmpeg -i BVA.mp4 -c copy -map 0:a:0 maybebaby.mp4
ffmpeg -i BVA.mp4 -c copy -guess_layout_max 0 maybebaby.mp4
ffmpeg -guess_layout_max 0 -i BVA.mp4 -c copy -map 0:a:0 maybebaby.mp4
ffmpeg -guess_layout_max 0 -i BVA.mp4 -ac 1 -c copy -map 0:a:0 maybebaby.mp4
ffmpeg -guess_layout_max 0 -i BVA.mp4 -ac 1 -c copy -map 0 maybebaby.mp4
ffmpeg-i BVA.mp4 -c copy -map 0:1 maybebaby.mp4
ffmpeg -i BVA.mp4 -c copy -map 0:1 maybebaby.mp4
ffmpeg -i BVA.mp4 -c copy -map 0:0 maybebaby.mp4
ffmpeg -i BVA.mp4 -c copy -map 0:2 maybebaby.mp4









share|improve this question























  • See the guidelines: support.google.com/youtube/answer/4603579?hl=en

    – Biswapriyo
    Feb 4 at 21:28











  • Take the first command you tried. What happens when you play the result locally? And what happens on YT?

    – Gyan
    Feb 5 at 4:59











  • All of the commands does not extract the audio correctly, as the resulting file has a kind of white noise in the background even locally.

    – asdf
    Feb 5 at 8:53


















1















I'm struggling to get youtube to accept an audio of a conference we have recorded. Youtube seems to ignore the audio of the recordings, which I can hear with VLC or Video (the Gnome player).
So my idea is to use the powerful ffmpeg to do some conversion of the video and the upload a working version on youtube.



This is the description of the file I get from ffmpeg



Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'BVAN.mp4':                                                                                                                                                                          
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: iso4avc1isom
creation_time : 2018-07-15T08:49:37.000000Z
Duration: 00:22:44.58, start: 0.000000, bitrate: 26200 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1280x720, 22836 kb/s, SAR 1:1 DAR 16:9, 59.94 fps, 59.94 tbr, 60k tbn, 120k tbc (default)
Metadata:
creation_time : 2018-07-15T08:49:37.000000Z
handler_name : ?Apple Alias Data Handler
encoder : H264/AVC
timecode : 00:00:00;00
Stream #0:1(eng): Audio: pcm_s24be (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
Metadata:
creation_time : 2018-07-15T08:49:37.000000Z
handler_name : ?Apple Alias Data Handler
timecode : 00:00:00;00
Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
creation_time : 2018-07-15T08:49:37.000000Z
handler_name : ?Apple Alias Data Handler
timecode : 00:00:00;00


I tried:
- FFmpeg `Guessed Channel Layout for Input Stream`
- https://askubuntu.com/questions/706584/vlc-does-not-play-pcm-s24-le-audio-in-mov-file
- FFmpeg command to convert MP3 to AAC
and many other questions, but without success.
And more concretely, none of these commands works.



ffmpeg -i BVA.mp4 -codec:audio aac -b:audio 128k -codec:video libx264 -crf 23  disagio.mp4
ffmpeg -i BVA.mp4 -c:v libx264 -c:a aac -strict experimental -b:a 192k out.mp4
ffmpeg -i BVA.mp4 -codec:video libvpx-vp9 -crf 30 -b:video 0 -codec:audio libopus -vbr on -threads 10 lungo.webm
ffmpeg -i BVA.mp4 -codec:video libvpx-vp9 -crf 16 -b:video 0 -codec:audio libopus -vbr on -threads 10 lungo.webm
ffmpeg -i BVA.mp4 -codec:video libvpx-vp9 -crf 50 -b:video 0 -codec:audio libopus -vbr on -threads 10 lungo.avi
ffmpeg -i BVA.mp4 -codec:video libvpx-vp9 -crf 50 -b:video 0 -codec:audio libopus -vbr on -threads 10 -c:a aac lungo.avi
ffmpeg -i BVA.mp4 -c:a flac -c:v copy merda.avi
ffmpeg -i BVA.mp4 -codec:audio aac -b:audio 128k -codec:video libx264 -crf 23 disagio.mp4
ffmpeg -i BVA.mp4 -c copy -map 0:a:0 maybebaby.mp4
ffmpeg -i BVA.mp4 -c copy -guess_layout_max 0 maybebaby.mp4
ffmpeg -guess_layout_max 0 -i BVA.mp4 -c copy -map 0:a:0 maybebaby.mp4
ffmpeg -guess_layout_max 0 -i BVA.mp4 -ac 1 -c copy -map 0:a:0 maybebaby.mp4
ffmpeg -guess_layout_max 0 -i BVA.mp4 -ac 1 -c copy -map 0 maybebaby.mp4
ffmpeg-i BVA.mp4 -c copy -map 0:1 maybebaby.mp4
ffmpeg -i BVA.mp4 -c copy -map 0:1 maybebaby.mp4
ffmpeg -i BVA.mp4 -c copy -map 0:0 maybebaby.mp4
ffmpeg -i BVA.mp4 -c copy -map 0:2 maybebaby.mp4









share|improve this question























  • See the guidelines: support.google.com/youtube/answer/4603579?hl=en

    – Biswapriyo
    Feb 4 at 21:28











  • Take the first command you tried. What happens when you play the result locally? And what happens on YT?

    – Gyan
    Feb 5 at 4:59











  • All of the commands does not extract the audio correctly, as the resulting file has a kind of white noise in the background even locally.

    – asdf
    Feb 5 at 8:53














1












1








1








I'm struggling to get youtube to accept an audio of a conference we have recorded. Youtube seems to ignore the audio of the recordings, which I can hear with VLC or Video (the Gnome player).
So my idea is to use the powerful ffmpeg to do some conversion of the video and the upload a working version on youtube.



This is the description of the file I get from ffmpeg



Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'BVAN.mp4':                                                                                                                                                                          
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: iso4avc1isom
creation_time : 2018-07-15T08:49:37.000000Z
Duration: 00:22:44.58, start: 0.000000, bitrate: 26200 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1280x720, 22836 kb/s, SAR 1:1 DAR 16:9, 59.94 fps, 59.94 tbr, 60k tbn, 120k tbc (default)
Metadata:
creation_time : 2018-07-15T08:49:37.000000Z
handler_name : ?Apple Alias Data Handler
encoder : H264/AVC
timecode : 00:00:00;00
Stream #0:1(eng): Audio: pcm_s24be (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
Metadata:
creation_time : 2018-07-15T08:49:37.000000Z
handler_name : ?Apple Alias Data Handler
timecode : 00:00:00;00
Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
creation_time : 2018-07-15T08:49:37.000000Z
handler_name : ?Apple Alias Data Handler
timecode : 00:00:00;00


I tried:
- FFmpeg `Guessed Channel Layout for Input Stream`
- https://askubuntu.com/questions/706584/vlc-does-not-play-pcm-s24-le-audio-in-mov-file
- FFmpeg command to convert MP3 to AAC
and many other questions, but without success.
And more concretely, none of these commands works.



ffmpeg -i BVA.mp4 -codec:audio aac -b:audio 128k -codec:video libx264 -crf 23  disagio.mp4
ffmpeg -i BVA.mp4 -c:v libx264 -c:a aac -strict experimental -b:a 192k out.mp4
ffmpeg -i BVA.mp4 -codec:video libvpx-vp9 -crf 30 -b:video 0 -codec:audio libopus -vbr on -threads 10 lungo.webm
ffmpeg -i BVA.mp4 -codec:video libvpx-vp9 -crf 16 -b:video 0 -codec:audio libopus -vbr on -threads 10 lungo.webm
ffmpeg -i BVA.mp4 -codec:video libvpx-vp9 -crf 50 -b:video 0 -codec:audio libopus -vbr on -threads 10 lungo.avi
ffmpeg -i BVA.mp4 -codec:video libvpx-vp9 -crf 50 -b:video 0 -codec:audio libopus -vbr on -threads 10 -c:a aac lungo.avi
ffmpeg -i BVA.mp4 -c:a flac -c:v copy merda.avi
ffmpeg -i BVA.mp4 -codec:audio aac -b:audio 128k -codec:video libx264 -crf 23 disagio.mp4
ffmpeg -i BVA.mp4 -c copy -map 0:a:0 maybebaby.mp4
ffmpeg -i BVA.mp4 -c copy -guess_layout_max 0 maybebaby.mp4
ffmpeg -guess_layout_max 0 -i BVA.mp4 -c copy -map 0:a:0 maybebaby.mp4
ffmpeg -guess_layout_max 0 -i BVA.mp4 -ac 1 -c copy -map 0:a:0 maybebaby.mp4
ffmpeg -guess_layout_max 0 -i BVA.mp4 -ac 1 -c copy -map 0 maybebaby.mp4
ffmpeg-i BVA.mp4 -c copy -map 0:1 maybebaby.mp4
ffmpeg -i BVA.mp4 -c copy -map 0:1 maybebaby.mp4
ffmpeg -i BVA.mp4 -c copy -map 0:0 maybebaby.mp4
ffmpeg -i BVA.mp4 -c copy -map 0:2 maybebaby.mp4









share|improve this question














I'm struggling to get youtube to accept an audio of a conference we have recorded. Youtube seems to ignore the audio of the recordings, which I can hear with VLC or Video (the Gnome player).
So my idea is to use the powerful ffmpeg to do some conversion of the video and the upload a working version on youtube.



This is the description of the file I get from ffmpeg



Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'BVAN.mp4':                                                                                                                                                                          
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: iso4avc1isom
creation_time : 2018-07-15T08:49:37.000000Z
Duration: 00:22:44.58, start: 0.000000, bitrate: 26200 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1280x720, 22836 kb/s, SAR 1:1 DAR 16:9, 59.94 fps, 59.94 tbr, 60k tbn, 120k tbc (default)
Metadata:
creation_time : 2018-07-15T08:49:37.000000Z
handler_name : ?Apple Alias Data Handler
encoder : H264/AVC
timecode : 00:00:00;00
Stream #0:1(eng): Audio: pcm_s24be (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
Metadata:
creation_time : 2018-07-15T08:49:37.000000Z
handler_name : ?Apple Alias Data Handler
timecode : 00:00:00;00
Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
creation_time : 2018-07-15T08:49:37.000000Z
handler_name : ?Apple Alias Data Handler
timecode : 00:00:00;00


I tried:
- FFmpeg `Guessed Channel Layout for Input Stream`
- https://askubuntu.com/questions/706584/vlc-does-not-play-pcm-s24-le-audio-in-mov-file
- FFmpeg command to convert MP3 to AAC
and many other questions, but without success.
And more concretely, none of these commands works.



ffmpeg -i BVA.mp4 -codec:audio aac -b:audio 128k -codec:video libx264 -crf 23  disagio.mp4
ffmpeg -i BVA.mp4 -c:v libx264 -c:a aac -strict experimental -b:a 192k out.mp4
ffmpeg -i BVA.mp4 -codec:video libvpx-vp9 -crf 30 -b:video 0 -codec:audio libopus -vbr on -threads 10 lungo.webm
ffmpeg -i BVA.mp4 -codec:video libvpx-vp9 -crf 16 -b:video 0 -codec:audio libopus -vbr on -threads 10 lungo.webm
ffmpeg -i BVA.mp4 -codec:video libvpx-vp9 -crf 50 -b:video 0 -codec:audio libopus -vbr on -threads 10 lungo.avi
ffmpeg -i BVA.mp4 -codec:video libvpx-vp9 -crf 50 -b:video 0 -codec:audio libopus -vbr on -threads 10 -c:a aac lungo.avi
ffmpeg -i BVA.mp4 -c:a flac -c:v copy merda.avi
ffmpeg -i BVA.mp4 -codec:audio aac -b:audio 128k -codec:video libx264 -crf 23 disagio.mp4
ffmpeg -i BVA.mp4 -c copy -map 0:a:0 maybebaby.mp4
ffmpeg -i BVA.mp4 -c copy -guess_layout_max 0 maybebaby.mp4
ffmpeg -guess_layout_max 0 -i BVA.mp4 -c copy -map 0:a:0 maybebaby.mp4
ffmpeg -guess_layout_max 0 -i BVA.mp4 -ac 1 -c copy -map 0:a:0 maybebaby.mp4
ffmpeg -guess_layout_max 0 -i BVA.mp4 -ac 1 -c copy -map 0 maybebaby.mp4
ffmpeg-i BVA.mp4 -c copy -map 0:1 maybebaby.mp4
ffmpeg -i BVA.mp4 -c copy -map 0:1 maybebaby.mp4
ffmpeg -i BVA.mp4 -c copy -map 0:0 maybebaby.mp4
ffmpeg -i BVA.mp4 -c copy -map 0:2 maybebaby.mp4






ffmpeg youtube






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 4 at 21:18









asdfasdf

11816




11816













  • See the guidelines: support.google.com/youtube/answer/4603579?hl=en

    – Biswapriyo
    Feb 4 at 21:28











  • Take the first command you tried. What happens when you play the result locally? And what happens on YT?

    – Gyan
    Feb 5 at 4:59











  • All of the commands does not extract the audio correctly, as the resulting file has a kind of white noise in the background even locally.

    – asdf
    Feb 5 at 8:53



















  • See the guidelines: support.google.com/youtube/answer/4603579?hl=en

    – Biswapriyo
    Feb 4 at 21:28











  • Take the first command you tried. What happens when you play the result locally? And what happens on YT?

    – Gyan
    Feb 5 at 4:59











  • All of the commands does not extract the audio correctly, as the resulting file has a kind of white noise in the background even locally.

    – asdf
    Feb 5 at 8:53

















See the guidelines: support.google.com/youtube/answer/4603579?hl=en

– Biswapriyo
Feb 4 at 21:28





See the guidelines: support.google.com/youtube/answer/4603579?hl=en

– Biswapriyo
Feb 4 at 21:28













Take the first command you tried. What happens when you play the result locally? And what happens on YT?

– Gyan
Feb 5 at 4:59





Take the first command you tried. What happens when you play the result locally? And what happens on YT?

– Gyan
Feb 5 at 4:59













All of the commands does not extract the audio correctly, as the resulting file has a kind of white noise in the background even locally.

– asdf
Feb 5 at 8:53





All of the commands does not extract the audio correctly, as the resulting file has a kind of white noise in the background even locally.

– asdf
Feb 5 at 8:53










0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1402007%2funable-to-extract-audio-with-ffmpeg-for-youtube%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1402007%2funable-to-extract-audio-with-ffmpeg-for-youtube%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Plaza Victoria

In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...