LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 04-30-2017, 08:32 PM   #16
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176

Quote:
Originally Posted by ondoho View Post
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.
Thanks ondoho. That may well be the case (that they're silent). But maybe there's something to Rick's 'gst-plugins-bad' suggestion?
 
Old 04-30-2017, 08:36 PM   #17
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by hydrurga View Post
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.
Thanks hydrurga. Hmm. That's probably the case (they're silent). I guess it just seemed like the roller coaster one would have yelling and screaming. But if they're silent, they're silent. Which is kind of weird though. I mean, not all .mp4 files are silent, are they?

And I'm wondering about Rick's suggestion of the gst-plugins-bad.

It's all kind of confusing.
 
Old 04-30-2017, 09:19 PM   #18
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by Gregg Bell View Post
Thanks hydrurga. Hmm. That's probably the case (they're silent). I guess it just seemed like the roller coaster one would have yelling and screaming. But if they're silent, they're silent. Which is kind of weird though. I mean, not all .mp4 files are silent, are they?

And I'm wondering about Rick's suggestion of the gst-plugins-bad.

It's all kind of confusing.
No, most mp4's have an audible audio track. These stock videos don't though. The idea is that you add your own audio, and additional graphics if desired, to create your final video. Or, alternatively, you just use them as silent "moving wallpaper".

Here's a sample mp4 video: http://techslides.com/demos/sample-videos/small.mp4

Play it in your browser. Then right-click on it, save it to your computer and double-click on it to play it. In both cases you should hear audio, although not very loud for this particular video. If so, then you have an AAC codec on your computer and do not need to install any other packages.
 
1 members found this post helpful.
Old 04-30-2017, 09:38 PM   #19
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by hydrurga View Post
No, most mp4's have an audible audio track. These stock videos don't though. The idea is that you add your own audio, and additional graphics if desired, to create your final video. Or, alternatively, you just use them as silent "moving wallpaper".

Here's a sample mp4 video: http://techslides.com/demos/sample-videos/small.mp4

Play it in your browser. Then right-click on it, save it to your computer and double-click on it to play it. In both cases you should hear audio, although not very loud for this particular video. If so, then you have an AAC codec on your computer and do not need to install any other packages.
Great, hydrurga. Thanks! I downloaded your .mp4 and it worked fine. Yeah, I've seen a lot of those videos with like musical or sound-effect backgrounds, and that's what I'll do too.

And it's good to know the computer is working properly.

It's weird though, some of the .mp4s play back properly in VLC and Openshot video editor, and some are hurky-jurky. Hmm.

Last edited by Gregg Bell; 04-30-2017 at 10:14 PM. Reason: added something
 
Old 05-01-2017, 10:19 AM   #20
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Quote:
Originally Posted by Gregg Bell View Post
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?
Hi Gregg ... I can understand your trepidation ... But I can assure you that there is nothing dangerous about installing the gst-plugins-bad package ... Believe it or not, some of the other codecs are included in packages called gst-plugins-good and even gst-plugins-ugly ! I think someone has a sense of humour ...

Anyway, some applications expect one or several of these packages to be installed. So I would try it and if it doesn't improve the situation, you can either leave it there or remove it. I know I require both "bad" and "ugly" for various functionalities on my system.

Hope this helps - let us know - Cheers !
 
1 members found this post helpful.
Old 05-01-2017, 10:28 AM   #21
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by Rickkkk View Post
Hi Gregg ... I can understand your trepidation ... But I can assure you that there is nothing dangerous about installing the gst-plugins-bad package ... Believe it or not, some of the other codecs are included in packages called gst-plugins-good and even gst-plugins-ugly ! I think someone has a sense of humour ...

Anyway, some applications expect one or several of these packages to be installed. So I would try it and if it doesn't improve the situation, you can either leave it there or remove it. I know I require both "bad" and "ugly" for various functionalities on my system.

Hope this helps - let us know - Cheers !
Thanks Rick. I thought everything was working good on that computer, but although the .mp4s played well on the website, they were jerky on VLC and Openshot video. (I just tested the same .mp4 on this computer--the newer one--and it works fine on VLC and Openshot.) So that other computer needs some help still. I'll install the gst-plugins-bad package when I get home tonight and report back. Appreciate it!
 
Old 05-01-2017, 10:31 AM   #22
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Quote:
Originally Posted by Gregg Bell View Post
Thanks Rick. I thought everything was working good on that computer, but although the .mp4s played well on the website, they were jerky on VLC and Openshot video. (I just tested the same .mp4 on this computer--the newer one--and it works fine on VLC and Openshot.) So that other computer needs some help still. I'll install the gst-plugins-bad package when I get home tonight and report back. Appreciate it!
No problem - hope it solves the issue - let us know !

Cheers,
 
1 members found this post helpful.
Old 05-01-2017, 11:25 PM   #23
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by Rickkkk View Post
No problem - hope it solves the issue - let us know !

Cheers,
Rick, I went to install the gst-plugins-bad package but this time I couldn't find it in Synaptic. (screenshot) Which is weird because I found it there yesterday.

I ran an update/ugrade/autoremove on 4/29/17 but yesterday was 4/30/17. <scratching head>
Attached Thumbnails
Click image for larger version

Name:	Selection_122.png
Views:	15
Size:	29.0 KB
ID:	24903  
 
Old 05-02-2017, 01:41 AM   #24
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Gregg Bell View Post
I went to install the gst-plugins-bad package but this time I couldn't find it in Synaptic. (screenshot)
for $DEITY's sake learn to search.
first of all, synaptic's proper search function is accessed through the magnifying glass, there make sure yiou choose "name and description".
then, remove the hyphens and make it search for 3 words instead of 1: "gst plugin bad" should give more results.
i suspect versions 0.10 and/or 1.0 are available.
 
1 members found this post helpful.
Old 05-02-2017, 07:20 AM   #25
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Quote:
Originally Posted by Gregg Bell View Post
Rick, I went to install the gst-plugins-bad package but this time I couldn't find it in Synaptic. (screenshot) Which is weird because I found it there yesterday.

I ran an update/ugrade/autoremove on 4/29/17 but yesterday was 4/30/17. <scratching head>
Hey Gregg,

I admit to being unfamiliar with Synaptic or GUI tools in general for package management. Even the odd time I do use a Debian derivative, I usually just use apt from the command line.

I did a quick search online and, if you have the 1.0 version of gstreamer installed, the "bad" plugin package is called gstreamer1.0-plugins-bad-videoparsers. Depending on what you already have installed, don't be surprised if it installs some dependencies.


Hope that helps.

Cheers :-)
 
1 members found this post helpful.
Old 05-02-2017, 08:39 AM   #26
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
There's older ways that still kind of apply for debian based things. Although probably phased out someday.

$ sudo apt-get install dselect
$ sudo dselect update

$ dpkg-query --load-avail -l '*gst*plug*bad*'

Oddly more useful IMO than the modern approach.

$ apt-cache search --names-only gst | grep -i plug | grep -i bad

The dselect stuff is to populate the old school available so --load-avail has stuff to work with. Which used to just be:

$ dpkg -l '*gst*plug*bad*'

But not nearly as functional these days in a near miss kind of way. At least ubuntu 16.04 finally added apt-file.
 
2 members found this post helpful.
Old 05-02-2017, 11:06 AM   #27
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by ondoho View Post
for $DEITY's sake learn to search.
first of all, synaptic's proper search function is accessed through the magnifying glass, there make sure yiou choose "name and description".
then, remove the hyphens and make it search for 3 words instead of 1: "gst plugin bad" should give more results.
i suspect versions 0.10 and/or 1.0 are available.
Okay, ondoho. I just thought it was odd that the gst-plugins-bad would be there (with the regular search) one day and be gone the next.

I have to wait till I get home (the problem is on my home computer) but I'll search with the magnifying glass then. Thanks.
 
Old 05-02-2017, 11:08 AM   #28
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by Rickkkk View Post
Hey Gregg,

I admit to being unfamiliar with Synaptic or GUI tools in general for package management. Even the odd time I do use a Debian derivative, I usually just use apt from the command line.

I did a quick search online and, if you have the 1.0 version of gstreamer installed, the "bad" plugin package is called gstreamer1.0-plugins-bad-videoparsers. Depending on what you already have installed, don't be surprised if it installs some dependencies.


Hope that helps.

Cheers :-)
Thanks Rick. I don't remember seeing anything with 'videoparsers' but I'll check into it when I get home. (I think the gstreamer is installed.)
 
Old 05-02-2017, 11:11 AM   #29
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by Shadow_7 View Post
There's older ways that still kind of apply for debian based things. Although probably phased out someday.

$ sudo apt-get install dselect
$ sudo dselect update

$ dpkg-query --load-avail -l '*gst*plug*bad*'

Oddly more useful IMO than the modern approach.

$ apt-cache search --names-only gst | grep -i plug | grep -i bad

The dselect stuff is to populate the old school available so --load-avail has stuff to work with. Which used to just be:

$ dpkg -l '*gst*plug*bad*'

But not nearly as functional these days in a near miss kind of way. At least ubuntu 16.04 finally added apt-file.
Thanks shadow. Interesting. (The old school vs modern approach. I didn't know there was such a difference.) I'll check things out when I get on that problematic computer.
 
Old 05-02-2017, 11:15 AM   #30
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Gregg, there are loads of gstreamer-related packages.

If you're worried about it then paste the results of dpkg -l '*gst*' | grep "^ii" and I'll compare what you've got against what I've got.
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
.mp4 files made in VLC PLAYER were working great in Windows Media Player but now no audio Gregg Bell Linux - Newbie 6 01-03-2017 07:19 PM
mp4 files - video but no audio Cammigirl Linux - Software 9 05-25-2016 01:42 AM
[SOLVED] Recorded stream in mp4 - Audio and video are out of sync glupa4e Slackware 2 10-03-2015 01:47 PM
Audio not coming for mp4 video in Mandriva 2008 (free) SMukhuti Linux - Desktop 14 06-03-2008 01:32 PM
MP4 with Xine.. I have video but no audio darkone66669 Linux - Software 1 03-04-2008 05:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration