ffmpeg wav lossless to youtube mov?
Hello, what is the command to put a wav-Sound file lossless into a mov-File in order to upload it correctly to youtube? For example, this does *not* work for youtube ffmpeg.exe -i music.wav -acodec copy upload.mov Thx
Am 23.05.24 um 22:10 schrieb Zathras Yes:
Hello,
what is the command to put a wav-Sound file lossless into a mov-File in order to upload it correctly to youtube?
For example, this does *not* work for youtube
ffmpeg.exe -i music.wav -acodec copy upload.mov
what makes you think you can use any random format? wav has no place in mov/mpeg containers
Am 23.05.24 um 23:01 schrieb Reindl Harald:
Am 23.05.24 um 22:10 schrieb Zathras Yes:
Hello,
what is the command to put a wav-Sound file lossless into a mov-File in order to upload it correctly to youtube?
For example, this does *not* work for youtube
ffmpeg.exe -i music.wav -acodec copy upload.mov
what makes you think you can use any random format? wav has no place in mov/mpeg containers
that above is pure nonsense anyways you could also do "mv music.wav upload.mov" why? because you only have a audio-track, tell ffmpeg to not touch it and write it into a file with a different extension - a little bit overhead using ffmpeg for a simple file-rename you need a video too for youtube
Hello, I like to upload lossless sound to youtube. ok, i forgot to add a picture. so, we take this ffmpeg.exe -i picture.jpg -i music.wav -acodec copy upload.mov This gives a video with lossless audio, right? (It's playing perfectly on my computer) But youtube does not except his. If the wav-File is put into this online-converter, it's working https://www.freeconvert.com/wav-to-mov This, youtube accepts Why would I use ffmpeg then? Because the files are larger than 1 GB and I also prefer to do the conversion myself. So how to do it with ffmpeg? What is the command for it? Thx. On Thu, May 23, 2024 at 11:04 PM Reindl Harald <h.reindl@thelounge.net> wrote:
Am 23.05.24 um 23:01 schrieb Reindl Harald:
Am 23.05.24 um 22:10 schrieb Zathras Yes:
Hello,
what is the command to put a wav-Sound file lossless into a mov-File in order to upload it correctly to youtube?
For example, this does *not* work for youtube
ffmpeg.exe -i music.wav -acodec copy upload.mov
what makes you think you can use any random format? wav has no place in mov/mpeg containers
that above is pure nonsense anyways you could also do "mv music.wav upload.mov"
why? because you only have a audio-track, tell ffmpeg to not touch it and write it into a file with a different extension - a little bit overhead using ffmpeg for a simple file-rename
you need a video too for youtube _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Am 23.05.24 um 23:30 schrieb Zathras Yes:
Hello,
I like to upload lossless sound to youtube.
ok, i forgot to add a picture. so, we take this
ffmpeg.exe -i picture.jpg -i music.wav -acodec copy upload.mov
This gives a video with lossless audio, right? (It's playing perfectly on my computer) But youtube does not except his.
If the wav-File is put into this online-converter, it's working https://www.freeconvert.com/wav-to-mov This, youtube accepts
because the online-converter is smarter than you
Why would I use ffmpeg then? Because the files are larger than 1 GB and I also prefer to do the conversion myself.
you are *not* doing *any* conversion with "-acodec copy" you are doing a dumb copy of a unsupported audio track you can't have lossless audio in mov - period
Sorry, but what you are saying here is simply plain *wrong* ! There *is* lossless music in mov. The online converter does exactly that https://www.freeconvert.com/wav-to-mov You can try this for yourself, if you don't believe it. [image: image.png] And yes, a conversion of the soundfiles is not wanted, exactly. In a picky manner of speaking, it is a conversion of one file to another, but let''s not go into this nitpicking here. Sol how to make a lossless videofile (mov for instance) for youtube out of a 44,1 kHz 16 Bit wav-file? On Thu, May 23, 2024 at 11:35 PM Reindl Harald <h.reindl@thelounge.net> wrote:
Am 23.05.24 um 23:30 schrieb Zathras Yes:
Hello,
I like to upload lossless sound to youtube.
ok, i forgot to add a picture. so, we take this
ffmpeg.exe -i picture.jpg -i music.wav -acodec copy upload.mov
This gives a video with lossless audio, right? (It's playing perfectly on my computer) But youtube does not except his.
If the wav-File is put into this online-converter, it's working https://www.freeconvert.com/wav-to-mov This, youtube accepts
because the online-converter is smarter than you
Why would I use ffmpeg then? Because the files are larger than 1 GB and I also prefer to do the conversion myself.
you are *not* doing *any* conversion with "-acodec copy" you are doing a dumb copy of a unsupported audio track
you can't have lossless audio in mov - period _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Am 23.05.24 um 23:44 schrieb Zathras Yes:
Sorry, but what you are saying here is simply plain *wrong* !
There *is* lossless music in mov.
The online converter does exactly that https://www.freeconvert.com/wav-to-mov
You can try this for yourself, if you don't believe it.
i did and it IS NOT SUPPORTED ffmpeg letg you combine whatever container, audio-format and video-format but taht don't make the result a valid file - hence youtube don't accept it - mov is a CONTAINER and it is NOT SUPPOSED to contain WAV
Am 23.05.24 um 23:44 schrieb Zathras Yes:
And yes, a conversion of the soundfiles is not wanted, exactly.
In a picky manner of speaking, it is a conversion of one file to another, but let''s not go into this nitpicking here.
again: "-acodec copy" is NOT a conversion - you are pumping a unsupported audio-stream into a container with the result of an invalid file this is not a ffmpeg problem - it's PEBCAK
Ok, instead of repeating here over and over: First question: Is video with lossless sound possible for youtube? Yes or No answer please. Second question: How to create such a files with ffmpeg? (The mentioned online converter can do this) What's the ffmpeg command for it? Thx On Fri, May 24, 2024 at 12:00 AM Reindl Harald <h.reindl@thelounge.net> wrote:
Am 23.05.24 um 23:44 schrieb Zathras Yes:
And yes, a conversion of the soundfiles is not wanted, exactly.
In a picky manner of speaking, it is a conversion of one file to another, but let''s not go into this nitpicking here.
again: "-acodec copy" is NOT a conversion - you are pumping a unsupported audio-stream into a container with the result of an invalid file
this is not a ffmpeg problem - it's PEBCAK
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Am 24.05.24 um 00:12 schrieb Zathras Yes:
Ok, instead of repeating here over and over:
First question: Is video with lossless sound possible for youtube? Yes or No answer please.
no - and whatever you upload to youtube will be finally re-encoded anyways - you won't find any WAV audio on the whole youtube world
Am 24.05.24 um 00:17 schrieb Reindl Harald:
Am 24.05.24 um 00:12 schrieb Zathras Yes:
Ok, instead of repeating here over and over:
First question: Is video with lossless sound possible for youtube? Yes or No answer please.
no - and whatever you upload to youtube will be finally re-encoded anyways - you won't find any WAV audio on the whole youtube world
https://support.google.com/youtube/answer/4603579?hl=en Audio file guidelines The following guidelines are for audio tracks that you provide to YouTube. These guidelines describe the formatting specifications that yield the highest quality for playing audio on YouTube and for matching your audio tracks to the audio tracks of user-uploaded videos. Note that an audio track would only be played back on YouTube if you have opted to include that track in YouTube's AudioSwap program. Generally, we recommend that you upload the highest quality audio possible. Supported file formats: MP3 audio in MP3/WAV container PCM audio in WAV container AAC audio in MOV container FLAC audio ------------------ "wav lossless to youtube mov" is bullshit - period
Well, why being so rude? Than would you be so kind to explain, why the online converter does the trick? I would expect, that ffmpeg could do the same, right? On Fri, May 24, 2024 at 12:22 AM Reindl Harald <h.reindl@thelounge.net> wrote:
Am 24.05.24 um 00:17 schrieb Reindl Harald:
Am 24.05.24 um 00:12 schrieb Zathras Yes:
Ok, instead of repeating here over and over:
First question: Is video with lossless sound possible for youtube? Yes
or
No answer please.
no - and whatever you upload to youtube will be finally re-encoded anyways - you won't find any WAV audio on the whole youtube world
https://support.google.com/youtube/answer/4603579?hl=en
Audio file guidelines
The following guidelines are for audio tracks that you provide to YouTube. These guidelines describe the formatting specifications that yield the highest quality for playing audio on YouTube and for matching your audio tracks to the audio tracks of user-uploaded videos. Note that an audio track would only be played back on YouTube if you have opted to include that track in YouTube's AudioSwap program. Generally, we recommend that you upload the highest quality audio possible.
Supported file formats: MP3 audio in MP3/WAV container PCM audio in WAV container AAC audio in MOV container FLAC audio
------------------
"wav lossless to youtube mov" is bullshit - period _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Am 24.05.24 um 00:25 schrieb Zathras Yes:
Well, why being so rude?
because you are ignorant
Than would you be so kind to explain, why the online converter does the trick?
it don't
I would expect, that ffmpeg could do the same, right?
a MOV-CONTAINER can't contain WAV/PCM youtube says: AAC audio in MOV container
Well, I am not ignorant, just stating the facts, especially about the online-converter. What you are writing contradicts with the facts here: It's not a matter of liking or not, it's a fact. ************************* Now, I tell you what: 1. make a wav-files (16 Bit, 44.1 kHz) "sound.wav" 2. use the mentioned online converter from "sound.wav" to "upload.mov" 3. Upload this "upload.mov" to youtube. 4. Go to the youtube-link and download the file "download.mov" 5. extract the sound file out of "download.mov" --> "extracted.wav" 6. Compare the original file "sound.wav" with "extracted.wav" with its spectrogramms. (Audacity or Spectral Layers for instance) --> et voila the files are exactly the same! Now what? On Fri, May 24, 2024 at 12:29 AM Reindl Harald <h.reindl@thelounge.net> wrote:
Am 24.05.24 um 00:25 schrieb Zathras Yes:
Well, why being so rude?
because you are ignorant
Than would you be so kind to explain, why the online converter does the trick?
it don't
I would expect, that ffmpeg could do the same, right?
a MOV-CONTAINER can't contain WAV/PCM youtube says: AAC audio in MOV container
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Am 24.05.24 um 00:31 schrieb Zathras Yes:
Well, I am not ignorant, just stating the facts, especially about the online-converter.
What you are writing contradicts with the facts here: It's not a matter of liking or not, it's a fact.
************************* Now, I tell you what:
1. make a wav-files (16 Bit, 44.1 kHz) "sound.wav" 2. use the mentioned online converter from "sound.wav" to "upload.mov" 3. Upload this "upload.mov" to youtube. 4. Go to the youtube-link and download the file "download.mov" 5. extract the sound file out of "download.mov" --> "extracted.wav" 6. Compare the original file "sound.wav" with "extracted.wav" with its spectrogramms. (Audacity or Spectral Layers for instance) --> et voila the files are exactly the same!
Now what?
now it's bullshit and not a valid MOV file * AAC audio in MOV container * Note: Audio files, like MP3, WAV, or PCM files, can’t be uploaded to create a YouTube video. You can use video editing software to convert your audio file to a video. Audio files can only be uploaded as extra languages for your video. a f**ng WAV audio-track donÄrt belong into a MOV-CONTAINER
Now, I tell you what: 1. make a wav-files (16 Bit, 44.1 kHz) "sound.wav" 2. use the mentioned online converter from "sound.wav" to "upload.mov" 3. Upload this "upload.mov" to youtube. 4. Go to the youtube-link and download the file "download.mov" 5. extract the sound file out of "download.mov" --> "extracted.wav" 6. Compare the original file "sound.wav" with "extracted.wav" with its spectrogramms. (Audacity or Spectral Layers for instance) --> et voila the files are exactly the same! Now what? On Fri, May 24, 2024 at 12:18 AM Reindl Harald <h.reindl@thelounge.net> wrote:
Am 24.05.24 um 00:12 schrieb Zathras Yes:
Ok, instead of repeating here over and over:
First question: Is video with lossless sound possible for youtube? Yes or No answer please.
no - and whatever you upload to youtube will be finally re-encoded anyways - you won't find any WAV audio on the whole youtube world _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Am 24.05.24 um 00:22 schrieb Zathras Yes:
Now, I tell you what:
1. make a wav-files (16 Bit, 44.1 kHz) "sound.wav"
i did
2. use the mentioned online converter from "sound.wav" to "upload.mov"
i did and i posted you the error screen
3. Upload this "upload.mov" to youtube
impossible because it won't output anything
Now what?
now understand that a MOV-CONTAINER must not contain WAV/PCM audio and since this isn't wikipedia educate yourself what a container is https://support.google.com/youtube/answer/4603579?hl=en GOD DAMNED: AAC audio in MOV container
Supported file formats: - - PCM audio in WAV container So, it seems possible to put a wav into a youtube-video, right? How to do it? On Fri, May 24, 2024 at 12:26 AM Reindl Harald <h.reindl@thelounge.net> wrote:
Am 24.05.24 um 00:22 schrieb Zathras Yes:
Now, I tell you what:
1. make a wav-files (16 Bit, 44.1 kHz) "sound.wav"
i did
2. use the mentioned online converter from "sound.wav" to "upload.mov"
i did and i posted you the error screen
3. Upload this "upload.mov" to youtube
impossible because it won't output anything
Now what?
now understand that a MOV-CONTAINER must not contain WAV/PCM audio and since this isn't wikipedia educate yourself what a container is
https://support.google.com/youtube/answer/4603579?hl=en
GOD DAMNED: AAC audio in MOV container
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Am 24.05.24 um 00:29 schrieb Zathras Yes:
Supported file formats:
- - PCM audio in WAV container
So, it seems possible to put a wav into a youtube-video, right?
How to do it?
https://support.google.com/youtube/troubleshooter/2888402?hl=en Note: Audio files, like MP3, WAV, or PCM files, can’t be uploaded to create a YouTube video. You can use video editing software to convert your audio file to a video. Audio files can only be uploaded as extra languages for your video.
Yes, I know that. Just add a picture and it's fine. Please don't repeat all this over and over, because it is tiresome. For this now, I will not further answer to you! Thx. On Fri, May 24, 2024 at 12:32 AM Reindl Harald <h.reindl@thelounge.net> wrote:
Am 24.05.24 um 00:29 schrieb Zathras Yes:
Supported file formats:
- - PCM audio in WAV container
So, it seems possible to put a wav into a youtube-video, right?
How to do it?
https://support.google.com/youtube/troubleshooter/2888402?hl=en
Note: Audio files, like MP3, WAV, or PCM files, can’t be uploaded to create a YouTube video. You can use video editing software to convert your audio file to a video. Audio files can only be uploaded as extra languages for your video.
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Am 24.05.24 um 00:34 schrieb Zathras Yes:
Yes, I know that. Just add a picture and it's fine.
MOV with PCM/WAV is never fine
Please don't repeat all this over and over, because it is tiresome.
if you won't be an idiot you would understand it by telling once
For this now, I will not further answer to you!
i hope so
On Fri, May 24, 2024 at 12:32 AM Reindl Harald <h.reindl@thelounge.net> wrote:
Am 24.05.24 um 00:29 schrieb Zathras Yes:
Supported file formats:
- - PCM audio in WAV container
So, it seems possible to put a wav into a youtube-video, right?
How to do it?
https://support.google.com/youtube/troubleshooter/2888402?hl=en
Note: Audio files, like MP3, WAV, or PCM files, can’t be uploaded to create a YouTube video. You can use video editing software to convert your audio file to a video. Audio files can only be uploaded as extra languages for your video.
пт, 24 мая 2024 г., 01:37 Reindl Harald <h.reindl@thelounge.net>:
Am 24.05.24 um 00:34 schrieb Zathras Yes:
Yes, I know that. Just add a picture and it's fine.
MOV with PCM/WAV is never fine
from compatibility with older software? yes. Youtube probably does not want to serve relatively huge lossless uncompressed audio files, even if that was perfectly possible. but for experimenting you can use ffbrobe on wav file and try to put -c:a pcm_s32le for example if ffprobe indicated this format for your wav.
Please don't repeat all this over and over, because it is tiresome.
if you won't be an idiot you would understand it by telling once
For this now, I will not further answer to you!
i hope so
On Fri, May 24, 2024 at 12:32 AM Reindl Harald <h.reindl@thelounge.net> wrote:
Am 24.05.24 um 00:29 schrieb Zathras Yes:
Supported file formats:
- - PCM audio in WAV container
So, it seems possible to put a wav into a youtube-video, right?
How to do it?
https://support.google.com/youtube/troubleshooter/2888402?hl=en
Note: Audio files, like MP3, WAV, or PCM files, can’t be uploaded to create a YouTube video. You can use video editing software to convert your audio file to a video. Audio files can only be uploaded as extra languages for your video.
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Hi, as i have mentioned to Mr. Reindl, the online-converter https://www.freeconvert.com/wav-to-mov does the trick. ffmpeg should be able to do the same, I suppose. May be, I am in error, may be not... 1. make a wav-files (16 Bit, 44.1 kHz) "sound.wav" 2. use the mentioned online converter from "sound.wav" to "upload.mov" 3. Upload this "upload.mov" to youtube. 4. Go to the youtube-link and download the file "download.mov" 5. extract the sound file out of "download.mov" --> "extracted.wav" 6. Compare the original file "sound.wav" with "extracted.wav" with its spectrogramms. (Audacity or Spectral Layers for instance) --> et voila the files are exactly the same! So, it does work somehow. For this, I do not understand the length of the discussion (especially with Mr. Reindl), that it does not work, because it is not supposed to work? But it does - so I wonder why it is such a big deal here. On Fri, May 24, 2024 at 1:02 AM Andrew Randrianasulu < randrianasulu@gmail.com> wrote:
пт, 24 мая 2024 г., 01:37 Reindl Harald <h.reindl@thelounge.net>:
Am 24.05.24 um 00:34 schrieb Zathras Yes:
Yes, I know that. Just add a picture and it's fine.
MOV with PCM/WAV is never fine
from compatibility with older software? yes. Youtube probably does not want to serve relatively huge lossless uncompressed audio files, even if that was perfectly possible.
but for experimenting you can use ffbrobe on wav file and try to put -c:a pcm_s32le for example if ffprobe indicated this format for your wav.
Please don't repeat all this over and over, because it is tiresome.
if you won't be an idiot you would understand it by telling once
For this now, I will not further answer to you!
i hope so
On Fri, May 24, 2024 at 12:32 AM Reindl Harald <h.reindl@thelounge.net
wrote:
Am 24.05.24 um 00:29 schrieb Zathras Yes:
Supported file formats:
- - PCM audio in WAV container
So, it seems possible to put a wav into a youtube-video, right?
How to do it?
https://support.google.com/youtube/troubleshooter/2888402?hl=en
Note: Audio files, like MP3, WAV, or PCM files, can’t be uploaded to create a YouTube video. You can use video editing software to convert your audio file to a video. Audio files can only be uploaded as extra languages for your video.
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Zathras: It appears your assumption (6) that the files are "exactly the same" because the spectrograms are the same is not correct. I downloaded https://www2.cs.uic.edu/~i101/SoundFiles/BabyElephantWalk60.wav as a test file and converted it with the freeoconvert.com online converter, and ffprobe reports the following: % ffprobe BabyElephantWalk60.mov ... Stream #0:1[0x2]: Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 72 kb/s (default) Metadata: handler_name : SoundHandler vendor_id : [0][0][0][0] That is, the online converter you specify has converted the audio to AAC. That is, you should be able to use simply ffmpeg -i picture.jpg -i music.wav upload.mov and accept the results. Alternatively, discussion in this thread suggests you can use the FLAC encoding, which is lossless. I agree that the responses you received to your inquiry were rude and unprofessional and have no place on this mailing list and I am sorry you had to deal with them, and I do not understand who administers this list or how to resolve those issues. -- jhawk@alum.mit.edu John Hawkinson On Thu, May 23, 2024 at 7:12 PM Zathras Yes <zathras.the.first@gmail.com> wrote:
Hi,
as i have mentioned to Mr. Reindl, the online-converter https://www.freeconvert.com/wav-to-mov does the trick.
ffmpeg should be able to do the same, I suppose. May be, I am in error, may be not...
1. make a wav-files (16 Bit, 44.1 kHz) "sound.wav" 2. use the mentioned online converter from "sound.wav" to "upload.mov" 3. Upload this "upload.mov" to youtube. 4. Go to the youtube-link and download the file "download.mov" 5. extract the sound file out of "download.mov" --> "extracted.wav" 6. Compare the original file "sound.wav" with "extracted.wav" with its spectrogramms. (Audacity or Spectral Layers for instance) --> et voila the files are exactly the same!
So, it does work somehow. For this, I do not understand the length of the discussion (especially with Mr. Reindl), that it does not work, because it is not supposed to work? But it does - so I wonder why it is such a big deal here.
Am 24.05.24 um 01:23 schrieb John Hawkinson:
Zathras: It appears your assumption (6) that the files are "exactly the same" because the spectrograms are the same is not correct.
I downloaded https://www2.cs.uic.edu/~i101/SoundFiles/BabyElephantWalk60.wav as a test file and converted it with the freeoconvert.com online converter, and ffprobe reports the following:
% ffprobe BabyElephantWalk60.mov ... Stream #0:1[0x2]: Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 72 kb/s (default) Metadata: handler_name : SoundHandler vendor_id : [0][0][0][0]
That is, the online converter you specify has converted the audio to AAC. That is, you should be able to use simply
so you tell me the moron pretends all the time his downlaod has a wav stream and it hasn't? jesus....
On Fri, May 24, 2024 at 1:12 AM Zathras Yes <zathras.the.first@gmail.com> wrote:
Hi,
as i have mentioned to Mr. Reindl, the online-converter https://www.freeconvert.com/wav-to-mov does the trick.
ffmpeg should be able to do the same, I suppose. May be, I am in error, may be not...
1. make a wav-files (16 Bit, 44.1 kHz) "sound.wav" 2. use the mentioned online converter from "sound.wav" to "upload.mov" 3. Upload this "upload.mov" to youtube. 4. Go to the youtube-link and download the file "download.mov" 5. extract the sound file out of "download.mov" --> "extracted.wav" 6. Compare the original file "sound.wav" with "extracted.wav" with its spectrogramms. (Audacity or Spectral Layers for instance) --> et voila the files are exactly the same!
"Audacity or Spectral Layers" spectrograms does not mean much, at least half of data, the phase, is not shown in typical spectrograms. Two .wav files are exactly the same if cmp UNIX tool returns empty output when given paths to two .wav files as argmunt to cmp tool. The AAC SLS (The lossless variant of AAC) is completely different sub-codec for AAC, and very marginally supported.
So, it does work somehow. For this, I do not understand the length of the discussion (especially with Mr. Reindl), that it does not work, because it is not supposed to work? But it does - so I wonder why it is such a big deal here.
On Fri, May 24, 2024 at 1:02 AM Andrew Randrianasulu < randrianasulu@gmail.com> wrote:
пт, 24 мая 2024 г., 01:37 Reindl Harald <h.reindl@thelounge.net>:
Am 24.05.24 um 00:34 schrieb Zathras Yes:
Yes, I know that. Just add a picture and it's fine.
MOV with PCM/WAV is never fine
from compatibility with older software? yes. Youtube probably does not want to serve relatively huge lossless uncompressed audio files, even if that was perfectly possible.
but for experimenting you can use ffbrobe on wav file and try to put -c:a pcm_s32le for example if ffprobe indicated this format for your wav.
Please don't repeat all this over and over, because it is tiresome.
if you won't be an idiot you would understand it by telling once
For this now, I will not further answer to you!
i hope so
On Fri, May 24, 2024 at 12:32 AM Reindl Harald < h.reindl@thelounge.net
wrote:
Am 24.05.24 um 00:29 schrieb Zathras Yes:
Supported file formats:
- - PCM audio in WAV container
So, it seems possible to put a wav into a youtube-video, right?
How to do it?
https://support.google.com/youtube/troubleshooter/2888402?hl=en
Note: Audio files, like MP3, WAV, or PCM files, can’t be uploaded to create a YouTube video. You can use video editing software to
convert
your audio file to a video. Audio files can only be uploaded as extra languages for your video.
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
пт, 24 мая 2024 г., 01:00 Reindl Harald <h.reindl@thelounge.net>:
Am 23.05.24 um 23:44 schrieb Zathras Yes:
And yes, a conversion of the soundfiles is not wanted, exactly.
In a picky manner of speaking, it is a conversion of one file to another, but let''s not go into this nitpicking here.
again: "-acodec copy" is NOT a conversion - you are pumping a unsupported audio-stream into a container with the result of an invalid file
this is not a ffmpeg problem - it's PEBCAK
/* ISO/IEC 23003-5 integer formats */ { AV_CODEC_ID_PCM_S16BE, MOV_MP4_IPCM_TAG }, { AV_CODEC_ID_PCM_S16LE, MOV_MP4_IPCM_TAG }, { AV_CODEC_ID_PCM_S24BE, MOV_MP4_IPCM_TAG }, { AV_CODEC_ID_PCM_S24LE, MOV_MP4_IPCM_TAG }, { AV_CODEC_ID_PCM_S32BE, MOV_MP4_IPCM_TAG }, { AV_CODEC_ID_PCM_S32LE, MOV_MP4_IPCM_TAG }, /* ISO/IEC 23003-5 floating-point formats */ { AV_CODEC_ID_PCM_F32BE, MOV_MP4_FPCM_TAG }, { AV_CODEC_ID_PCM_F32LE, MOV_MP4_FPCM_TAG }, { AV_CODEC_ID_PCM_F64BE, MOV_MP4_FPCM_TAG }, { AV_CODEC_ID_PCM_F64LE, MOV_MP4_FPCM_TAG }, from libavformat/movenc.c so I guess it should be muxable, but may be yt not really likes increased total bitrate in this case, and whole thing (vid + aud) served now as many little pieces mostly ...? I think ALAC also exist as experimental (strict -2) codec in ffmpeg.
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Hi, what is this supposed to be? 16 Bit with 44,1 kHz (CD) are sufficient. So, we have PCM_S16BE and PCM_S16LE. Whats the exact command to get it done? Thx On Fri, May 24, 2024 at 12:14 AM Andrew Randrianasulu < randrianasulu@gmail.com> wrote:
пт, 24 мая 2024 г., 01:00 Reindl Harald <h.reindl@thelounge.net>:
Am 23.05.24 um 23:44 schrieb Zathras Yes:
And yes, a conversion of the soundfiles is not wanted, exactly.
In a picky manner of speaking, it is a conversion of one file to
another,
but let''s not go into this nitpicking here.
again: "-acodec copy" is NOT a conversion - you are pumping a unsupported audio-stream into a container with the result of an invalid file
this is not a ffmpeg problem - it's PEBCAK
/* ISO/IEC 23003-5 integer formats */ { AV_CODEC_ID_PCM_S16BE, MOV_MP4_IPCM_TAG }, { AV_CODEC_ID_PCM_S16LE, MOV_MP4_IPCM_TAG }, { AV_CODEC_ID_PCM_S24BE, MOV_MP4_IPCM_TAG }, { AV_CODEC_ID_PCM_S24LE, MOV_MP4_IPCM_TAG }, { AV_CODEC_ID_PCM_S32BE, MOV_MP4_IPCM_TAG }, { AV_CODEC_ID_PCM_S32LE, MOV_MP4_IPCM_TAG }, /* ISO/IEC 23003-5 floating-point formats */ { AV_CODEC_ID_PCM_F32BE, MOV_MP4_FPCM_TAG }, { AV_CODEC_ID_PCM_F32LE, MOV_MP4_FPCM_TAG }, { AV_CODEC_ID_PCM_F64BE, MOV_MP4_FPCM_TAG }, { AV_CODEC_ID_PCM_F64LE, MOV_MP4_FPCM_TAG },
from libavformat/movenc.c
so I guess it should be muxable, but may be yt not really likes increased total bitrate in this case, and whole thing (vid + aud) served now as many little pieces mostly ...? I think ALAC also exist as experimental (strict -2) codec in ffmpeg.
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Hi,
what is this supposed to be? 16 Bit with 44,1 kHz (CD) are sufficient. So, we have PCM_S16BE and PCM_S16LE.
Whats the exact command to get it done?
Thx
Youtube simply does not accept lossless audio in a video (at all). You have to encode according to their specifications. They explicitly say to use AAC in .mov containers, so do not use anything else as it will be not be accepted. You can only upload lossless audio (as .wav or .flac) as extra language for an existing uploaded video, this lossless audio will be converted to a lossy format by Youtube that will fit the videostream (usually AAC or Opus).
On Fri, May 24, 2024 at 02:23:16 +0200, Ferdi Scholten wrote:
what is this supposed to be? 16 Bit with 44,1 kHz (CD) are sufficient. So, we have PCM_S16BE and PCM_S16LE.
Whats the exact command to get it done?
Youtube simply does not accept lossless audio in a video (at all). You have to encode according to their specifications. They explicitly say to use AAC in .mov containers, so do not use anything else as it will be not be accepted.
As far as I understand these help pages, this is a recommendation. Indeed, YouTube also uses ffmpeg (so they say) for processing their files, and accepts quite a lot. They may reject some formats and codecs by filter - e.g. to avoid uncompressed input - but it's a matter of trial and error and experience. (Streaming to YouTube "live" is even more tricky.)
You can only upload lossless audio (as .wav or .flac) as extra language for an existing uploaded video
Is that so? BTW, the pages saying that PCM in WAV is accepted may either be enormously outdated, or referring to YouTube Music. You really need to be careful with trusting search results.
this lossless audio will be converted to a lossy format by Youtube that will fit the videostream (usually AAC or Opus).
THIS is the important point. While providing lossless input in order to not lose quality even before submission is nice idea (if it works), you will never get lossless formats back when playing the media from YouTube. And lossless video is not really bandwidth-friendly anyway, but that wasn't the question obviously. Cheers, Moritz
On 2024-05-24T02:23:16+0200, Ferdi Scholten <ferdi@sttc-nlp.nl> wrote:
Youtube simply does not accept lossless audio in a video (at all). You have to encode according to their specifications. They explicitly say to use AAC in .mov containers, so do not use anything else as it will be not be accepted. Sorry for the late reply. Found this old e-mail while cleaning my inbox.
I haven't uploaded a video to Youtube in years, so you may be right about Youtube today. I don't know. What I do know is that 7 years ago Youtube accepted a mkv[h264(gbrp)+wavpack] file I uploaded and is still up today. Obviously Youtube converted the completely lossless mkv-file to lossy H.264 video and lossy AAC audio and so, contrary to what OP thinks, doesn't preserve the original lossless file. You would have to try if Youtube still accepts such a lossless file. This was the Avisynth-script I used for it: ~~~~~~ FFAudioSource("input.tak") AudioTrim(59900148/44100, 0) AudioTrim((59900148%44100)/44100.0, 0) Audio=AudioTrim(0, -13374648/44100) + AudioTrim(13374648/44100, -(13374648%44100)/44100.0) Video=ImageSource("input.png",end=AudioLength(Audio)*25/AudioRate(Audio),fps=25).Spline36Resize(360,360) AudioDub(Video,Audio) ~~~~~~ And the FFmpeg-command: ffmpeg.exe -i "input.avs" -c:v libx264rgb -preset slower -tune stillimage -qp 0 -c:a wavpack -compression_level 4 "output.mkv" -- Reino
participants (8)
-
Andrew Randrianasulu -
Ferdi Scholten -
John Hawkinson -
Moritz Barsnick -
Paul B Mahol -
Reindl Harald -
Reino Wijnsma -
Zathras Yes