Unusable audio after conversion

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Unusable audio after conversion

racer
Hi, I hope you're all well

 

I have a problem converting audio from PCM (s24be) stereo to AAC (or
anything youtube can use) in an mp4 container.

 

input.mp4

* Is from a blackmagic hyperdeck studio mini
* Plays flawlessly in VLC
* When uploaded to youtube, only noise is audible

 

converted_by_vlc.mp4

* Plays flawlessly in VLC
* Plays flawlessly on Youtube
* Not as handy to convert, as opposed to ffmpeg

 

converted_by_ffmpeg.mp4 [ffmpeg -i input.mp4 -c:v copy -c:a aac -b:a 384k
-ac 2 output.mp4]

* Only noise in VLC
* Only noise on Youtube

 

Judging from the ffmpeg readout, I don't see a difference with the audio
stream except for the bitrate.

 

Thank you for any help with this.

 

Best regards,

Urs


_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

input.txt (2K) Download Attachment
converted_by_ffmpeg.txt (2K) Download Attachment
converted_by_vlc.txt (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Unusable audio after conversion

Gyan Doshi
On 07-09-2018 12:07 AM, [hidden email] wrote:
> Hi, I hope you're all well
>
>  
>
> I have a problem converting audio from PCM (s24be) stereo to AAC (or
> anything youtube can use) in an mp4 container.

> converted_by_ffmpeg.mp4 [ffmpeg -i input.mp4 -c:v copy -c:a aac -b:a 384k
> -ac 2 output.mp4]

Perhaps related to https://trac.ffmpeg.org/ticket/1881

Try

     ffmpeg -acodec pcm_s24le -i input.mp4 -c:v copy -c:a aac -b:a 384k
-ac 2 output.mp4


Gyan
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Unusable audio after conversion

Carl Eugen Hoyos-2
In reply to this post by racer
2018-09-06 20:37 GMT+02:00, [hidden email] <[hidden email]>:

> I have a problem converting audio from PCM (s24be) stereo
> to AAC (or anything youtube can use) in an mp4 container.

(How is it possible that you are the third one in a little over a
week to report a regression that's nearly twelve years old and
nobody noticed?)

Either wait a few days until today's fix for your issue gets
committed or use the following syntax:
$ ffmpeg -acodec pcm_s24le -i input output.mp4

For future questions, please remember that only current
FFmpeg git head is supported here.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Unusable audio after conversion

racer
In reply to this post by Gyan Doshi
Hi Gyan and Carl Eugen
Wow, I didn't expect that quick of an answer, that actually solves the problem. I love you guys. Seriously, you have no idea, how much time I spent googling and trial and erroring the sh** out of this one. Who would have thought.
Thank you thank you thank you. Have a good one.

-----Urspr√ľngliche Nachricht-----
Von: ffmpeg-user <[hidden email]> Im Auftrag von Gyan Doshi
Gesendet: Donnerstag, 6. September 2018 20:50
An: [hidden email]
Betreff: Re: [FFmpeg-user] Unusable audio after conversion

On 07-09-2018 12:07 AM, [hidden email] wrote:
> Hi, I hope you're all well
>
>  
>
> I have a problem converting audio from PCM (s24be) stereo to AAC (or
> anything youtube can use) in an mp4 container.

> converted_by_ffmpeg.mp4 [ffmpeg -i input.mp4 -c:v copy -c:a aac -b:a
> 384k -ac 2 output.mp4]

Perhaps related to https://trac.ffmpeg.org/ticket/1881

Try

     ffmpeg -acodec pcm_s24le -i input.mp4 -c:v copy -c:a aac -b:a 384k -ac 2 output.mp4


Gyan
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".