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 08-03-2015, 04:48 PM   #16
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656

Videos with hevc encoding work fine on system, but I self-compiled mplayer back in November (and I have ffmpeg 2.1.5 from SBo compiled in March). Granted, I only have 720p encodings, but they play perfectly fine (no noticeable stuttering) on my super old system (7 year old dual core with an HD3870). I'm not sure how bad 1080p would play, because on super high quality bitrates, even h264 will crap out on my system without vdpau.

But this is using smplayer, which handles most, if not all, of the mplayer options. Here's the command line that it used when I played an h265 file (if it helps at all).

Code:
/usr/bin/mplayer -noquiet -slave -identify -nofs -lavdopts threads=2 -sub-fuzziness 1 -vo xv -ao alsa -nodr -double -stop-xscreensaver -nomouseinput -input nodefault-bindings:conf=/dev/null -nokeepaspect -wid 140509276 -monitorpixelaspect 1 -subfont-osd-scale 3 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -noflip-hebrew -ass-styles /home/jbhansen/.config/smplayer/styles.ass -subcp ISO-8859-1 -subpos 100 -volume 6 -cache 2048 -osdlevel 0 -vf-add screenshot -noslices -channels 2 -af-add scaletempo -af-add equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 110 /share/TV/ongoing/TV Shows/Unbreakable Kimmy Schmidt/Unbreakable Kimmy Schmidt - Season 1/Unbreakable Kimmy Schmidt - S01E01 - Kimmy Goes Outside!.mkv
 
Old 08-03-2015, 06:53 PM   #17
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by schmatzler View Post
SMPlayer is my player of choice at this time.
Since it was suggested by bassmadrigal, I decided to try it out. For video playback, it is much easier to control, and I especially like the fact that it remembers where I left off on watching videos. For music playback, though, I am less satisfied; I much prefer VLC's interface, and will continue to use that. It's kind of a split strategy, but it's part of the beauty of open source software; since I don't have to pay for it, all I have to pay is time (to compile), and that I have plenty of.

Regards,

Matt
 
Old 08-03-2015, 07:03 PM   #18
mancha
Member
 
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled
Hi.

The world of POSIX/UNIX conformance is not as black & white as the VLC maintainers seem to think.

First, POSIX.1-2008 only requires the provision of c99, lex, and yacc for systems claiming conformance to the C-Language Development
Utilities option (POSIX2_C_DEV) . Otherwise-conformant systems that don't claim conformance to that specific option have discretion
as to the provision of those three utilities.

The more important point, however, is that most *nix systems (including Linux), and I use the term informally, find themselves at varying
levels of POSIX and/or UNIX spec compliance.

That's the boring part. Now, on to the good stuff...

I've put together a c99 utility (wrapper to gcc) that'll help users who come across finicky programs that require it. To set it up on your
system:
  1. Get c99

    # wget http://sf.net/projects/mancha/files/misc/c99

  2. Move and set proper perms

    # mv c99 /usr/bin
    # chmod 755 /usr/bin/c99
--mancha

SHA384 (c99) = 2d191f93dd1a4f7dcad8001540408b4709f99cd2bf36a1a2ca61a4469a7e30266446866881825825e77a51668a7abf79

Last edited by mancha; 08-03-2015 at 07:16 PM. Reason: add hash
 
4 members found this post helpful.
Old 08-03-2015, 07:44 PM   #19
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by mancha View Post
Hi.

The world of POSIX/UNIX conformance is not as black & white as the VLC maintainers seem to think.

First, POSIX.1-2008 only requires the provision of c99, lex, and yacc for systems claiming conformance to the C-Language Development
Utilities option (POSIX2_C_DEV) . Otherwise-conformant systems that don't claim conformance to that specific option have discretion
as to the provision of those three utilities.

The more important point, however, is that most *nix systems (including Linux), and I use the term informally, find themselves at varying
levels of POSIX and/or UNIX spec compliance.

That's the boring part. Now, on to the good stuff...

I've put together a c99 utility (wrapper to gcc) that'll help users who come across finicky programs that require it. To set it up on your
system:
  1. Get c99

    # wget http://sf.net/projects/mancha/files/misc/c99

  2. Move and set proper perms

    # mv c99 /usr/bin
    # chmod 755 /usr/bin/c99
--mancha

SHA384 (c99) = 2d191f93dd1a4f7dcad8001540408b4709f99cd2bf36a1a2ca61a4469a7e30266446866881825825e77a51668a7abf79
Thanks for the info, mancha. I've done as you've posted; I personally haven't come across this particular problem, but it's better to have it and not need it, than the other way around.
 
Old 08-04-2015, 12:36 AM   #20
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 30
chris.willing -> Yep, that did the trick, thanks! I tried something like this but probably fumbled somewhere with the syntax.
55020 -> Thanks for the bother. I didn't give the trac ticket, well, because there wasn't much to get from there, apart starting a discussion about the way it was handled by the VLC devs. The later worked well apparently. :-)
 
Old 08-04-2015, 04:16 AM   #21
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
Quote:
Originally Posted by mattallmill View Post
Thanks for the info, mancha. I've done as you've posted; I personally haven't come across this particular problem, but it's better to have it and not need it, than the other way around.
I checked with Pat when I returned from holiday yesterday, and discussed this thread. He took immediate action. The scheduled gcc update for Slackware-current includes c99 and c89 wrapper scripts. Pat's packages are already built and I am compiling the gcc-multilib packages at the moment.
 
2 members found this post helpful.
Old 08-04-2015, 04:30 AM   #22
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 30
Cool! I'll update as soon as the packages are available and let you know how it goes on that particular problem.
Thanks!

Last edited by rvdboom; 08-04-2015 at 04:31 AM.
 
Old 08-04-2015, 10:50 AM   #23
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by Alien Bob View Post
I checked with Pat when I returned from holiday yesterday, and discussed this thread. He took immediate action. The scheduled gcc update for Slackware-current includes c99 and c89 wrapper scripts. Pat's packages are already built and I am compiling the gcc-multilib packages at the moment.
Thanks, Eric. This should alleviate the problem, at least that can be fixed technically.
 
Old 08-04-2015, 03:05 PM   #24
mancha
Member
 
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled
OK.

I performed a quick check and it turns out other Linux distribs ship a c89 wrapper (ISO/IEC 9899:1990 standard) in addition to a
c99 wrapper. So, I developed two more gcc wrappers to accompany my earlier c99: c89 and c11.

Note: I've also posted a new c99 wrapper that includes two changes: a) now recognizes the deprecated c9x and iso9899:199x
standard labels, and b) uses -pedantic rather than -pedantic-errors. As before, download whichever you need/want, move
them to /usr/bin, and change their perms to 755.

Hashes are:

Code:
SHA384 (c89) = 6874db290fa5dccd6401d49f5e906cca64e6d6209478a58c36be6f00083a92bfd0d27b1ce96970163f510f378d9880ba
SHA384 (c99) = 326f0eb95b26e9a93925f9f0ff7ca03667a91ada8349397e26ff367b831bbb4fc71507c0f8c6a2a3c253d3a7325e864c
SHA384 (c11) = 5dce0a198b0d257cea85cfd12f4f0e4c1a2dcd3e0010d12ad8dfa21ea015ead16c9d8f674b0077b5075706c4d1b0a599
Enjoy.

--mancha
 
1 members found this post helpful.
Old 08-09-2015, 07:01 AM   #25
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 30
Just to report that the latest gcc packages that contain the c99 script indeed allow for proper VLC compilation.

Quote:
It's simple: courmisch (Remi Denis-Courmont) is the most arrogant person I have ever encountered online, even Lennart Poettering does not come close. Also being a Ubuntu fanboi he always acts hostile if the name Slackware is mentioned in the #videolan IRC channel. So his response in the Trac ticket is completely in line which his character.
He's of the rigid type indeed :-). But his information is very often on target though, and he answers many threads on the VLC forums.
So I guess he keeps his answers short.
 
Old 08-09-2015, 02:40 PM   #26
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Quote:
Originally Posted by mattallmill View Post
(re: smplayer ) For music playback, though, I am less satisfied; I much prefer VLC's interface, and will continue to use that. It's kind of a split strategy, but it's part of the beauty of open source software; since I don't have to pay for it, all I have to pay is time (to compile), and that I have plenty of.

Regards, Matt
I'm curious as to your preferences in UI, if it is just the locations of menuitems or missing/unfamiliar options. Are collections a concern? Does sound tweaking enter into it at all?

I'm asking this because to me performance and configurability are the high order bits. Amarok looks slick and does pickup content and organize nicely but does too much I don't care much about and not enough of my major concerns. For music playback in Linux I have been using Aqualung for several years even though it's menu style isn't my favorite but it is ultra simple (though by no means slick or modern looking) and has superb controls and most importantly to me can employ LADSPA (and I'm hoping VST plugns before long) and works exceptionally well with Jack.

LADSPA is hugely important to me because I require more than a Bass and Treble control and prefer a serious Graphic Equalizer, specifically a parametric so I can dial in exact frequency ranges to suit the room, speakers, and even the recorded environment itself. I want to always hear each instrument as clearly as possible as was intended by the recording engineer and my ears. The "Tube Warmth" plugin is nice for harsh sounding CDs/DVDs or nasty mp3s . Granted I am an audio fanatic and also use an Alsa addon for a persistent, system-wide 10 band graqphic EQ.

Anyway if sonic performance is near the top for you a well, you may seriously enjoy playing with plugins with Aqualung. You can get an idea of UI from the skins page which shows the UI and some of the configuration layouts, here at

Aqualung Skins . As I said more of a sow's ear than a silk purse in form but the function is superb and conducive to eargasms. :P
 
Old 08-09-2015, 04:20 PM   #27
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by enorbet View Post
I'm curious as to your preferences in UI, if it is just the locations of menuitems or missing/unfamiliar options. Are collections a concern? Does sound tweaking enter into it at all?

I'm asking this because to me performance and configurability are the high order bits. Amarok looks slick and does pickup content and organize nicely but does too much I don't care much about and not enough of my major concerns. For music playback in Linux I have been using Aqualung for several years even though it's menu style isn't my favorite but it is ultra simple (though by no means slick or modern looking) and has superb controls and most importantly to me can employ LADSPA (and I'm hoping VST plugns before long) and works exceptionally well with Jack.

LADSPA is hugely important to me because I require more than a Bass and Treble control and prefer a serious Graphic Equalizer, specifically a parametric so I can dial in exact frequency ranges to suit the room, speakers, and even the recorded environment itself. I want to always hear each instrument as clearly as possible as was intended by the recording engineer and my ears. The "Tube Warmth" plugin is nice for harsh sounding CDs/DVDs or nasty mp3s . Granted I am an audio fanatic and also use an Alsa addon for a persistent, system-wide 10 band graqphic EQ.

Anyway if sonic performance is near the top for you a well, you may seriously enjoy playing with plugins with Aqualung. You can get an idea of UI from the skins page which shows the UI and some of the configuration layouts, here at

Aqualung Skins . As I said more of a sow's ear than a silk purse in form but the function is superb and conducive to eargasms. :P
My reasons for using VLC are: I much prefer all of my playlist to be listed in a scroll-able window, and the search bar at the top allows me to get at any song just by typing in song name, artist name, or even genre.

I'm not much of an audiophile, so using LADSPA isn't imperative (other than using USB Audio, which, I've heard, is much superior to sound from a sound card; I could be wrong on this point, but I am satisfied with the sound coming out of the headset, so I'm not complaining).

You're right that Aqualung isn't slick-looking, and its apparent inability to import entire directories is a dealbreaker for me. I found an old SlackBuild for aqualung, and edited it to exclude the patch. It appeared to compile successfully, but without LADSPA plugin support. Is there a configure option I need to add to make this happen?

As for Jack, I'm reluctant to make invasive changes to my sound system without good reason to do so. I'm aware of AlienBOB's post about enabling Jack audio in Slackware, BTW.

If you can give me solutions for the importing of entire directories and the inclusion of LADSPA plugin support, I'm more than willing to give Aqualung another go. Cheers!

Regards,

Matt
 
Old 08-09-2015, 04:33 PM   #28
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
Quote:
Originally Posted by rvdboom View Post
Just to report that the latest gcc packages that contain the c99 script indeed allow for proper VLC compilation.

He's of the rigid type indeed :-). But his information is very often on target though, and he answers many threads on the VLC forums.
So I guess he keeps his answers short.
Oh I agree he is a smart guy, and without him VLC would not be where it is today. But smart persons can still be social imbeciles.
 
Old 08-10-2015, 03:04 PM   #29
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Yes there is a config option for "--enable LADSPA". I don't think you would find Jack invasive but only helpful at taking disparate devices and/or applications and connecting them in desirable, managed ways. It's basically a switchboard, entirely configurable for any job or user since it does very little on it's own and behind your back. It hands the power to the user.

Regarding Playlists perhaps it is due to an older version but from the most recent Aqualung User Manual

Quote:
Originally Posted by Aqualung_Manual

4.2. Playlist

The Playlist normally receives its contents from the Music Store. However, you can put any file in the Playlist regardless of the contents of your Music Store, using the Add files button at the bottom of the window. Adding a directory or a URL are also supported, by right-clicking on the button and selecting the appropriate menu item, Add directory or Add URL.
While in general SlackPacks have made me lazy, Aqualung is one of those apps both important enough and easy enough for me to install the latest from raw source. I've done this several times (on several machines) and found it to be rather effortless... apparently well-written with extremely few hard dependencies not already present in Slack.
 
Old 01-07-2020, 02:49 AM   #30
shevegen
Member
 
Registered: May 2004
Distribution: Slackware / GoboLinux / LFS / VoidLinux
Posts: 145

Rep: Reputation: 26
I found this thread first by noticing the trac issue tracker where the VLC developers
treat rvdboom like garbage - which makes me wonder about VLC in general.

Anyway - I am currently on a non-slackware system and VLC refused to compile.

The error was the same as rvdboom reported.

I believe I removed some old GCC components at /usr/bin; my real GCC was
at /home/Programs/Gcc/9.2.0 and is symlinked into the correct locations.

Do note that, just like rvdboom, I can compile everything fine - just the
VLC script being broken. The VLC should fix their crap code rather than
insult people who report bugs onto that broken trac interface (MS github,
although owned and controlled by Microsoft, has a MUCH better, simpler
interface than this awful crap that is trac).

For my situation, setting the environment variable

BUILDCC: /usr/bin/gcc

worked. Yes, exactly one (!) export setting. So the VLC devs screaming
about how broken slackware is should stop whining like crybabies and
fix their broken GNU configure macros. Because I only had to explicitely
tell GNU configure where GCC is. I have no idea why VLC fails and other
programs work, but in my case I think it is somewhat related to my
current toolchain not being totally correct; it is probably a mix of
old and new gcc/binutils stuff. But even with that in mind, a single
export, and VLC compiles fine ... hmmmmmmmm. I guess we now know where
the noobs are - and the noobs are NOT rvdboom, me, or anyone else
running into that problem. The VLC folks really noobed it up.

I write the above down in particular because it was a solution that
worked for me - hopefully if others are in a similar situation they
may be able to solve this. In the long run I recommend to the VLC
devs to become better - and perhaps consider moving to cmake or
meson/ninja. The latter two are not perfect, I know that too, but
they seem to be better than the GNU configure stack, and have more
momentum as well. I mean GNU configure still tends to use libtool ...
do we have to say anything more about the quality of a shell script
(mostly) like libtool?
 
  


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
LXer: Intel ships high-powered C++ compiler for native Android apps LXer Syndicated Linux News 0 08-28-2013 05:50 AM
Unwatchable DVD playback in 13.1 with VLC and native players damgar Slackware 2 04-03-2011 04:35 AM
[SOLVED] How to compile C programs with solaris ultrasparc native compiler... trist007 Solaris / OpenSolaris 2 01-11-2011 02:19 PM
Compiler issue c99 sgriffiths Linux - Software 9 11-29-2006 03:23 AM
To build native compiler(gcc) for mips kuru Linux - Software 2 10-18-2004 06:41 AM

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

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