Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 908  / 2 Years ago, thu, june 9, 2022, 10:09:40

I downloaded a 3.9MB song (.mp3) and converted it to (.ogg) with this command



ffmpeg -i desktop-login.mp3 desktop-login.ogg


The file size of the converted file was 23.1MB then I copied it to /usr/share/sounds/ubuntu/stereoand i opened it to check if it got copied (replaced with the original) properly, and it was.
But when i start the computer the login sound doesn't play.
now what?


More From » sound

 Answers
3

I would check if the file actually plays in vlc, smplayer, banshee or what ever you use. With smplayer it would be...



smplayer desktop-login.ogg


A 3.9 Mb mp3 converted to ogg should be a little bit smaller than the mp3 if it is the same bitrate so it might not be a sound file.



And I would also expect to see the bitrate in the command. Example:



ffmpeg -i desktop-login.mp3 -ab 6400 desktop-login.ogg


But the main problem will probably be the size: the original filesize is 100 kB. I would expect your filesize to have to be around that size. You can use audacity to quickly cut a smaller piece and try that!



Also make sure if the owner is root that the permissions need to be 644 (sudo chmod 644 /usr/share/sounds/ubuntu/stereo/*)


[#38281] Thursday, June 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
hamostic

Total Points: 403
Total Questions: 142
Total Answers: 112

Location: Iceland
Member since Sat, Sep 17, 2022
2 Years ago
;