LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-01-2015, 03:12 AM   #1
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
MP4 files on Slackware + role of some specific multimedia packages


Hi,

I'm currently pruning my multimedia packages, and I have a few questions.

1. What extra packages are needed to play MP4 files?

2. In which cases are FAAC/FAAD2 needed?

3. Same question for A52DEC and Xvidcore.

Cheers and happy new year to all the fellow Slackers,

Niki
 
Old 01-01-2015, 04:58 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,369

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
To answer your questions:

1. I use mplayer (& essential codecs) and vlc

2, 3. Don't have them installed here. Go to the appropriate webisite or google them to find out what they do. You might have to come back to find out how well they do it.
 
Old 01-01-2015, 06:22 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
AAC is a lossy audio format with better specs than the old MP3 and also, its playback is not encumbered by patents unlike MP3 for which you theoretially have to pay a license fee if you create a player device (hard- or software) for it. AAC is part of the MP4 specification and there are lots of MP4 files which combine H.264 video with AAC video.

The a52dec library is a decoder for AC3 (also called or Dolby Digital) It is similar to DTS, both are audio codecs that take input from digital SPDIF which transmit 5.1 or 7.1 surround sound and enable your audio player to demux the surround sound into separate audio signals for each speaker.

AC3 is part of the MP4 specification, just like AAC. Both audio streams are therefore possible in a MP4 video.

The faad2 library is used for decoding AAC streams whereas faac is an AAC encoder library.

XVid (the video format supported by xvidcore) is unrelated to the MP4 specification. Also, software like ffmpeg has its own implementation of an XVid codec and xvidcore library is no longer used there.

Summarizing: you can ditch faac and xvidcore if you want to be able to playback MP4 video streams, but you will also need the x264 video codec.
 
7 members found this post helpful.
Old 01-01-2015, 06:35 AM   #4
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by Alien Bob View Post
AAC is a lossy audio format with better specs than the old MP3 and also, its playback is not encumbered by patents unlike MP3 for which you theoretially have to pay a license fee if you create a player device (hard- or software) for it. AAC is part of the MP4 specification and there are lots of MP4 files which combine H.264 video with AAC video.

The a52dec library is a decoder for AC3 (also called or Dolby Digital) It is similar to DTS, both are audio codecs that take input from digital SPDIF which transmit 5.1 or 7.1 surround sound and enable your audio player to demux the surround sound into separate audio signals for each speaker.

AC3 is part of the MP4 specification, just like AAC. Both audio streams are therefore possible in a MP4 video.

The faad2 library is used for decoding AAC streams whereas faac is an AAC encoder library.

XVid (the video format supported by xvidcore) is unrelated to the MP4 specification. Also, software like ffmpeg has its own implementation of an XVid codec and xvidcore library is no longer used there.

Summarizing: you can ditch faac and xvidcore if you want to be able to playback MP4 video streams, but you will also need the x264 video codec.
Thank you very much for that five star explanation!
 
Old 01-15-2015, 07:56 PM   #5
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by Alien Bob View Post
Summarizing: you can ditch faac and xvidcore if you want to be able to playback MP4 video streams, but you will also need the x264 video codec.
It is a very pedantic nitpick but x264 is an encoder rather than a codec to enable playback, I suspect you actually meant 'but you will also need the H.264 video codec.' Libavcodec has had this covered for a while with variations on a native H.264 codec.

My apologies for being pedantic .
 
  


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
Fedora 11 and multimedia problem: mp3, mp4, xvid codecs and avermedia dvb-t mr_g Linux - Newbie 8 10-09-2012 05:16 PM
What's the main role of Slackware? towheedm Slackware 31 12-31-2011 09:19 PM
Ubuntu Netbook - remove all unnecessary packages to run a server role fantasygoat Linux - Server 5 11-25-2010 12:55 PM
Is it possible to convert 'run' files to slackware packages? j0rd4n Slackware 6 01-15-2007 06:50 PM
xine plays only (a part of) the sound of a wmv, some divx files and crushes mp4 files bezoomny Linux - Software 1 03-10-2004 07:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:33 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