Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
04-29-2017, 07:11 PM
|
#1
|
Senior Member
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,037
Rep: 
|
Great video but no audio on .mp4 files
The video is great but there is absolutely no sound in the .mp4 files I'm downloading. I'm running Xubuntu 16.04LTS and have played them in VLC, Parole, and Videos. All have perfect video but no audio. I've checked that the sound is at 100% and that the mute button isn't clicked.
Any ideas? Thanks.
|
|
|
04-29-2017, 07:35 PM
|
#2
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
How are you downloading them? Can you give an example mp4 on the net that you're having problems with?
Are you getting sound out of your machine otherwise?
|
|
1 members found this post helpful.
|
04-29-2017, 07:40 PM
|
#3
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Got handbrake ? you could try re-sampling one of them and change the audio defaults add one and change its out put to a different encoder.
|
|
1 members found this post helpful.
|
04-30-2017, 01:22 AM
|
#4
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
i will venture a guess that they have sound, but it doesn't playback.
do you have sound at all?
how are the videos encoded?
open them with mplayer or mpv, and post the terminal output.
btw, you've been here long enough to know that you should have provided more info in your OP.
|
|
1 members found this post helpful.
|
04-30-2017, 09:25 AM
|
#5
|
LQ Veteran
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,301
|
Default sound chip setting probably. In VLC settings. Or Pulse Audio. Google should take it from there.
|
|
1 members found this post helpful.
|
04-30-2017, 11:38 AM
|
#6
|
Senior Member
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,037
Original Poster
Rep: 
|
Quote:
Originally Posted by hydrurga
How are you downloading them? Can you give an example mp4 on the net that you're having problems with?
Are you getting sound out of your machine otherwise?
|
Thanks hydrurga. I got the .mp4 (I'm having problems with all .mp4s though) from Pexels. Here's the link:
https://08-lvl3-pdl.vimeocdn.com/01/...18187fe692276e
And sound works fine on all other files (Youtube, browser-stuff, .wmv files, .mp3 files etc).
Btw Installed the 'unrestricted extras' too. That made no difference.
|
|
|
04-30-2017, 11:40 AM
|
#7
|
Senior Member
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,037
Original Poster
Rep: 
|
Quote:
Originally Posted by BW-userx
Got handbrake ? you could try re-sampling one of them and change the audio defaults add one and change its out put to a different encoder.
|
Thanks BW. I do have Handbrake but that sounds like a pretty complicated solution. I'll keep it in mind if nothing simpler turns up.
|
|
|
04-30-2017, 11:49 AM
|
#8
|
Senior Member
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,037
Original Poster
Rep: 
|
Quote:
Originally Posted by ondoho
i will venture a guess that they have sound, but it doesn't playback.
do you have sound at all?
how are the videos encoded?
open them with mplayer or mpv, and post the terminal output.
btw, you've been here long enough to know that you should have provided more info in your OP.
|
Thanks ondoho. Yes, have sound. It plays on movies, browser videos, .mp3 files etc.
I don't know how they are encoded. I tried to track that down and got as far as the screenshot, then didn't know which to download.
I don't know how to open them with mplayer or mpv. I checked in the terminal and neither program is installed, but I wouldn't know how to open them there anyway.
Yep, will provide more info. next time.
|
|
|
04-30-2017, 11:56 AM
|
#9
|
Senior Member
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,037
Original Poster
Rep: 
|
Quote:
Originally Posted by rokytnji
Default sound chip setting probably. In VLC settings. Or Pulse Audio. Google should take it from there.
|
Thanks rokytnji. I had issues with PulseAudio using a webcam, so when you mentioned it I checked PulseAudio but couldn't see anything wrong there.
And I checked the audio settings in VLC. Some of the .mp4s have 'stereo/left/right/reverse stereo' settings but changing them makes no difference.
And I don't know what a 'chip setting' is or where to look for it. (Couldn't find anything for 'chip setting' in Google.)
|
|
|
04-30-2017, 12:20 PM
|
#10
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
Use avprobe or ffprobe to verify that the video has audio.
$ avprobe file.mp4
$ ffprobe file.mp4
I had an issue like this recently, I needed something for mp3 audio to be installed. mpg321, libmpg123-0, it's been a while.
|
|
1 members found this post helpful.
|
04-30-2017, 12:39 PM
|
#11
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
Hey Gregg_Bell ... I believe you need the proper AAC codec which is part of the gst-plugins-bad package. Could you check if that is installed on your system ? In many distros it is not by default.
Cheers,
|
|
1 members found this post helpful.
|
04-30-2017, 01:20 PM
|
#12
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by Gregg Bell
|
i'm not getting audio on this either.
not in the browser, and not when playing it with mpv.
and i NEVER have problems witht mp4s.
mediainfo says there is an audio track, and it's it's AAC encoded.
My system is definitely capable of playing that.
therefore i surmise that this video has an audio track which is SILENT.
|
|
1 members found this post helpful.
|
04-30-2017, 01:43 PM
|
#13
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
Quote:
Originally Posted by Gregg Bell
|
Of the sample I tried, none of those Pexels videos have audio (well they do have an AAC audio track but there appears to be nothing on it).
I think that may be how they are supposed to be, being stock video clips.
|
|
1 members found this post helpful.
|
04-30-2017, 08:19 PM
|
#14
|
Senior Member
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,037
Original Poster
Rep: 
|
Quote:
Originally Posted by Shadow_7
Use avprobe or ffprobe to verify that the video has audio.
$ avprobe file.mp4
$ ffprobe file.mp4
I had an issue like this recently, I needed something for mp3 audio to be installed. mpg321, libmpg123-0, it's been a while.
|
Thanks Shadow. I'm not sure I did this right. The .mp4 file is on the Desktop. Anyway here's the avprobe file.mp4 results:
Code:
gregory@gregory-OptiPlex-GX520:~/Desktop$ avprobe file.mp4
ffprobe version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2007-2017 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
WARNING: library configuration mismatch
avcodec configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv --enable-version3 --disable-doc --disable-programs --disable-avdevice --disable-avfilter --disable-avformat --disable-avresample --disable-postproc --disable-swscale --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libvo_aacenc --enable-libvo_amrwbenc
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
file.mp4: No such file or directory
|
|
|
04-30-2017, 08:30 PM
|
#15
|
Senior Member
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,037
Original Poster
Rep: 
|
Quote:
Originally Posted by Rickkkk
Hey Gregg_Bell ... I believe you need the proper AAC codec which is part of the gst-plugins-bad package. Could you check if that is installed on your system ? In many distros it is not by default.
Cheers,
|
Thanks Rick. I checked Synaptic. I don't have it but it's there. I was a little hesitant installing something called "bad" though. (LOL) I read the description in Synaptic and part of it went: 'GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared to the rest.' Are you sure I'm not going to screw anything up by installing it?
|
|
|
All times are GMT -5. The time now is 03:48 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|