LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-30-2018, 07:34 AM   #1
Quo Vadis
Member
 
Registered: Mar 2014
Posts: 42

Rep: Reputation: Disabled
MP4 media player for ArchBang


Hello,

I have installed the latest ArchBang on hard disk (https://sourceforge.net/projects/archbang/)
It has a built-in media player DeaDBeef but it cannot render MP4 files.
I tried to install VLC media player like this (https://www.videolan.org/vlc/download-archlinux.html)

sudo pacman -Sy vlc
Synchronizing package databases
error: failed to update core / extra / community (no server configured for repository)

I also downloaded the file vlc-3.0.4-6-x86_64.pkg.tar but I don't know what to do with it (https://www.archlinux.org/packages/extra/x86_64/vlc/)

How can I install VLC or other solution for playing MP4? Thank you
 
Old 10-30-2018, 07:39 AM   #2
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
DeaDBeef is audio only - VLC is your answer but no need to download it from the VLC site - use pacman. For Linux, there should rarely be a need to download anything from a software "vendor's" site, unless that software is not in a specific distro's repositories.

Sounds like your repository(s) are not configured. I assume Archbang has documentation? Did you follow the install documentation and configure repositories? I don't use ArchBang and haven't used Arch in a while so perhaps some Arch user can chime in as to how to do this.

FYI, don't ask this question on the Arch forums or you will get a lot of flack - they are for pure arch only...
 
1 members found this post helpful.
Old 10-30-2018, 07:48 AM   #3
Quo Vadis
Member
 
Registered: Mar 2014
Posts: 42

Original Poster
Rep: Reputation: Disabled
DeadBeeF also cannot play MP4a (audio) files so maybe some codecs would be required ... installation of ArchBang was very plain, it's just a lightweight distribution for old computers with low resources ... so repositories must be configured
 
Old 10-30-2018, 07:51 AM   #4
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Quote:
Originally Posted by Quo Vadis View Post
DeadBeeF also cannot play MP4a (audio) files so maybe some codecs would be required ... installation of ArchBang was very plain, it's just a lightweight distribution for old computers with low resources ... so repositories must be configured
So, this error message clearly states there is no repository configured:
Code:
Synchronizing package databases
error: failed to update core / extra / community (no server configured for repository)
Have you uncommented an appropriate repository in
Code:
/etc/pacman.d/mirrorlist
?
 
1 members found this post helpful.
Old 10-30-2018, 08:29 AM   #5
Quo Vadis
Member
 
Registered: Mar 2014
Posts: 42

Original Poster
Rep: Reputation: Disabled
The problem with repositories was solved by uncommenting the "Worldwide" Section of mirrorlist file ... installation started and at the end of it

(4/4) Updating the vlc plugin ...
/usr/lib/vlc/vlc-cahe/gen: error while loading shared libraries: libidn.so.12: cannot open shared object file: No such file or directory
error: command failed to execute correctly

now when I right-click a video mp4 file and choose VLC from the menu to play it application doesn't start ... instead DeadBeeF can now play audio MP4a
 
Old 10-30-2018, 08:33 AM   #6
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
The mirrorlist is intended to use a specific server based on your physical location. Worldwide is probably fine but you may get better performance from a mirror that is local to wherever you are.

After uncommenting a mirror, did you run
Code:
pacman -Syyu
to ensure everything is synced up? This is essential before installing anything.

From the Arch Wiki:
Quote:
Force pacman to refresh the package lists

Mirrors can be out of sync and the package list from the old mirror may not correspond to the package list of the new mirror, even though the dates of the lists may suggest that they do.

After creating/editing /etc/pacman.d/mirrorlist, issue the following command:

# pacman -Syyu

Last edited by sevendogsbsd; 10-30-2018 at 08:37 AM.
 
1 members found this post helpful.
Old 10-30-2018, 09:13 AM   #7
Quo Vadis
Member
 
Registered: Mar 2014
Posts: 42

Original Poster
Rep: Reputation: Disabled
pacman -Syyu solved the issue of VLC installation ... now right after any file is open and start playing application is instantly closing

Thank you very much for your help ... I give up playing MP4 in ArchBang
 
Old 10-30-2018, 09:18 AM   #8
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Try running vlc from the command line, then opening up a video file with it. You will be able to see what the error messages are in the command line and perhaps a fix can be found.

I might suggest using Arch linux instead of Archbang - Arch is very well supported and works very well. The documentation is second to none as well.
 
1 members found this post helpful.
Old 10-30-2018, 09:23 AM   #9
Quo Vadis
Member
 
Registered: Mar 2014
Posts: 42

Original Poster
Rep: Reputation: Disabled
I tried that too and it shows some error messages but it's really WAY too much for a newbie .. I will close the thread ... thanks again
 
Old 10-30-2018, 09:36 AM   #10
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
You are welcome, glad I could help.
 
  


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
10d6:1101 Actions Semiconductor Co., Ltd D-Wave 2GB MP4 Player / AK1025 MP3/MP4 Player T RandomTroll General 5 07-19-2018 10:42 PM
.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
how to install media plugins like wmv mp4 in centos5.5 basheer Red Hat 2 10-26-2010 07:57 AM
LXer: Hack Your Media Player - Neuros OSD Open Source Media Player LXer Syndicated Linux News 0 01-21-2008 05:40 AM
Default Media Player Not Playing Windows Media Player Files kenlitting SUSE / openSUSE 2 11-29-2006 11:05 AM

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

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