Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mocp does not play ogg vorbis files
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
SarahS93
l33t
l33t


Joined: 21 Nov 2013
Posts: 693

PostPosted: Wed Jun 29, 2022 9:08 pm    Post subject: mocp does not play ogg vorbis files Reply with quote

with mocp i will play .ogg vorbis files.
mocp says "not a vorbis file".

moc is build with
curl vorbis wavpack ffmpeg tremor

no special config file for moc, the default one they comes with the installation

mplayer can play the .ogg file

what is the problem that mocp can not play the .ogg vorbis file?
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Wed Jun 29, 2022 9:27 pm    Post subject: Reply with quote

Plz try building it with minimum defaults
Code:

USE="aac alsa cache flac mad magic unicode vorbis

It works just fine playing .ogg with the above USE.
_________________
:)
Back to top
View user's profile Send private message
SarahS93
l33t
l33t


Joined: 21 Nov 2013
Posts: 693

PostPosted: Wed Jun 29, 2022 10:07 pm    Post subject: Reply with quote

i have try it

Code:
equery u moc
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-sound/moc-2.6_alpha3-r5:
 U I
 + + aac           : Enable support for MPEG-4 AAC Audio
 + + alsa          : Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
 + + cache         : Enable tags caching support
 - - curl          : Add support for client-side URL transfer library
 - - debug         : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
                     https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - ffmpeg        : Enable ffmpeg/libav-based audio/video codec support
 + + flac          : Add support for FLAC: Free Lossless Audio Codec
 - - jack          : Add support for the JACK Audio Connection Kit
 - - libsamplerate : Build with support for converting sample rates using libsamplerate
 + + mad           : Add support for mad (high-quality mp3 decoder library and cli frontend)
 + + magic         : Add support for file type detection via magic bytes (usually via libmagic from sys-apps/file)
 - - modplug       : Add libmodplug support for playing SoundTracker-style music files
 - - musepack      : Enable support for the musepack audio codec
 - - oss           : Add support for OSS (Open Sound System)
 - - sid           : Build with SID (Commodore 64 Audio) support
 - - sndfile       : Add support for libsndfile
 - - sndio         : Enable support for the media-sound/sndio backend
 - - speex         : Add support for the speex audio codec (used for speech)
 - - timidity      : Build with Timidity++ (MIDI sequencer) support
 - - tremor        : Build vorbis support using an integer implementation of the vorbis library (media-libs/tremor)
 + + unicode       : Add support for Unicode
 + + vorbis        : Add support for the OggVorbis audio codec
 - - wavpack       : Add support for wavpack audio compression tools


but it is still the same problem, mocp does not play any .ogg vorbis file....


edit
with these useflags setting, mocp does not show me and play and m4a file anymore....
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Wed Jun 29, 2022 10:13 pm    Post subject: Reply with quote

Maybe your file is problematic.
I tried with
Code:

wget https://upload.wikimedia.org/wikipedia/commons/c/c8/Example.ogg

from
https://commons.wikimedia.org/wiki/File:Example.ogg
_________________
:)
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2965
Location: Edge of marsh USA

PostPosted: Thu Jun 30, 2022 3:13 am    Post subject: Reply with quote

What is mocp and where does it come from?
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Jun 30, 2022 5:08 am    Post subject: Reply with quote

Here are the flags used to compile mine. I didn't set anything specifically for it, and I haven't had any issue listening to my mostly ogg music collection:
Code:
[ebuild   R    ] media-sound/moc-2.6_alpha3-r5::gentoo  USE="aac alsa cache flac mad magic unicode vorbis -curl -debug -ffmpeg -jack -libsamplerate -modplug -musepack -oss -sid -sndfile -sndio -speex -timidity -tremor -wavpack" 486 KiB

_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum