Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
no sound in youtube video unless the audio .webm gets ffmpeg-ed into .ogg with "-c copy" first #7048
Comments
|
Looks like for extracting audio only, the sound works fine(in vlc player) because it gets transformed from Command I used: And if I pass the
|
|
Post the full output of youtube-dl when run with |
|
|
Works fine for me with vlc 2.2.0 and mplayer. So it's probably something wrong with either your ffmpeg or vlc. |
|
Can you look in vlc Tools->Messages(Ctrl+M) in the Looks like for .opus is |
|
Amazing! I didn't have If any gentoo users stumble upon this no audio (no sound) issue on (some of) the .webm and .mkv files, just remember to USE=matroska when emerging vlc. Thanks a lot for the help @dstftw ! Much appreciated! EDIT: for consistency, I'm posting the emerge --info of the working setup:
|

youtube-dl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0" -k https://www.youtube.com/watch?v=DYGc-31mEecThat pulls a
*.f136.mp4video, a*.f251.webmaudio , and they get converted into a.mkvbut with vlc there's no sound (either on the .webm or the .mkv files, in fact the sound card goes to sleep, even though statistics say that audio gets decoded just fine).If I run
opusinfo *.webmI get some errors which say that's not a valid ogg. Then if I convert the webm into ogg via ffmpeg(this shaves 453,728 bytes) then there's audio on the resulting .ogg; this ffmpeg command:ffmpeg -i "file: ASMR Ear (Cleaning) Groomers & Spa Roleplay (unisex)-DYGc-31mEec.f251.webm" -c copy "file:stuff.ogg"I tried renaming webm to ogg but there's still no audio, so that ffmpeg conversion is needed apparently. Maybe's my vlc acting out? (latest git, but config options may matter)
EDIT: forgot to mention youtube-dl version, since it's not latest git:
$ youtube-dl --version
2015.09.28-gentoo_no_offensive_sites