Bug#834439: clementine: depend on gstreamer1.0-plugins-bad

2016-09-29 Thread Adrian Bunk
Control: severity 834439 normal
Control: retitle 834439 clementine should suggest gstreamer1.0-plugins-bad
Control: tags 834439 -moreinfo

On Thu, Sep 29, 2016 at 07:30:00PM +0200, Salvo Tomaselli wrote:
> At first I was offended at how could you think I would do such a
> stupid thing, but turns out you were correct :)
> 
> I attach the log. Now without the bad plugins I was able to play some sound.


So your output problem was due to:

Versions of packages clementine recommends:
pn  gstreamer1.0-alsa | gstreamer1.0-pulseaudio  

By default Recommends are installed, so for the average user this 
ensures that he gets audio.

I understand the reasons why some people do not want to have the ALSA or 
PulseAudio GStreamer plugins installed, and this allows them to opt out
of installing them.

Not installing recommended packages is for "you know what you are doing" 
situations, and I do not see a bug here.


On the input side gstreamer1.0-plugins-bad is beneficial for clementine 
for some formats, but this is not a strict dependency.

I would strongly object to making this a dependency:

Installing GStreamer plugins can affect all applications using GStreamer,
and the "bad" in the name is for "bad code quality".

One example:
Recently my web browser started crashing frequently on some specific
web pages.
Looking at the backtrace, it turned out that this was caused by one of 
these "bad" GStreamer plugins - which were a dependency of a completely
unrelated package (the Farstream library).


cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#834439: clementine: depend on gstreamer1.0-plugins-bad

2016-09-29 Thread Salvo Tomaselli
At first I was offended at how could you think I would do such a
stupid thing, but turns out you were correct :)

I attach the log. Now without the bad plugins I was able to play some sound.

2016-09-29 18:24 GMT+02:00 Adrian Bunk :
> On Thu, Aug 25, 2016 at 12:05:53AM +0200, Salvo Tomaselli wrote:
>> I tried with all 4 files, it doesn't play any of them without plugins-bad.
>
> I think you did "Save As" downloads, and you are trying to play
> HTML documents.
>
> If you run "less" or "file" on these files, are they HTML or audio?
>
> cu
> Adrian
>
> --
>
>"Is there not promise of rain?" Ling Tan asked suddenly out
> of the darkness. There had been need of rain for many days.
>"Only a promise," Lao Er said.
>Pearl S. Buck - Dragon Seed
>


log.txt.gz
Description: GNU Zip compressed data


Bug#834439: clementine: depend on gstreamer1.0-plugins-bad

2016-09-29 Thread Adrian Bunk
On Thu, Aug 25, 2016 at 12:05:53AM +0200, Salvo Tomaselli wrote:
> I tried with all 4 files, it doesn't play any of them without plugins-bad.

I think you did "Save As" downloads, and you are trying to play
HTML documents.

If you run "less" or "file" on these files, are they HTML or audio?

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#834439: clementine: depend on gstreamer1.0-plugins-bad

2016-08-24 Thread Salvo Tomaselli
2016-08-23 23:33 GMT+02:00 Thomas Pierson :
After installing gstreamer1.0-alsa and manually selecting ALSA output
(it just showed ALSA, I couldn't select the specific card).


out.txt.gz
Description: GNU Zip compressed data


Bug#834439: clementine: depend on gstreamer1.0-plugins-bad

2016-08-24 Thread Salvo Tomaselli
I tried with all 4 files, it doesn't play any of them without plugins-bad.

2016-08-23 23:33 GMT+02:00 Thomas Pierson :
> On 23/08/2016 22:33, Salvo Tomaselli wrote:
>> I tried playing 2 files
>> Ogg data, Vorbis audio, stereo, 44100 Hz, ~0 bps, created by:
>> Xiphophorus libVorbis I (1.0 RC3)
>> ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]
>>
>> And 1 BBC podcast. The podcast gives an endless stream on the terminal
>> so I terminated clementine.
>>
>> I use the normal ALSA without pulseaudio, mostly because of that bug
>> that tries to make me deaf.
>>
>
> Thanks for your tests and feedback.
>
> I can see 2 problems in your logs:
>
> 1. a missing codec issue: "Missing decoder: MPEG-4 AAC"
> 2. a output sink issue: " error:
> Jack server not found"
>
> The first issue is maybe just due to the lack off mpeg-4 aac codec in
> gstreamer-good and ugly plugins packages.
> Could you try to play other files type like mp3, flac, wav normally
> playable only with gst good and ugly plugins packages and show me the
> result?
> You can get test files here:
> * https://github.com/ArtskydJ/test-audio/tree/master/audio
>
> The second issue seems like clementine try to use the jackaudio server
> output instead of alsa.
> Could you try to install gstreamer1.0-alsa and eventually manually
> select the alsa output in 'Tools -> Preferences -> Playback -> Output
> device' in case of the auto-detection fail.
>
> Thanks,
>
> Thomas Pierson
>
>


out.txt.gz
Description: GNU Zip compressed data


Bug#834439: clementine: depend on gstreamer1.0-plugins-bad

2016-08-23 Thread Thomas Pierson
On 23/08/2016 22:33, Salvo Tomaselli wrote:
> I tried playing 2 files
> Ogg data, Vorbis audio, stereo, 44100 Hz, ~0 bps, created by:
> Xiphophorus libVorbis I (1.0 RC3)
> ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]
> 
> And 1 BBC podcast. The podcast gives an endless stream on the terminal
> so I terminated clementine.
> 
> I use the normal ALSA without pulseaudio, mostly because of that bug
> that tries to make me deaf.
> 

Thanks for your tests and feedback.

I can see 2 problems in your logs:

1. a missing codec issue: "Missing decoder: MPEG-4 AAC"
2. a output sink issue: " error:
Jack server not found"

The first issue is maybe just due to the lack off mpeg-4 aac codec in
gstreamer-good and ugly plugins packages.
Could you try to play other files type like mp3, flac, wav normally
playable only with gst good and ugly plugins packages and show me the
result?
You can get test files here:
* https://github.com/ArtskydJ/test-audio/tree/master/audio

The second issue seems like clementine try to use the jackaudio server
output instead of alsa.
Could you try to install gstreamer1.0-alsa and eventually manually
select the alsa output in 'Tools -> Preferences -> Playback -> Output
device' in case of the auto-detection fail.

Thanks,

Thomas Pierson




signature.asc
Description: OpenPGP digital signature


Bug#834439: clementine: depend on gstreamer1.0-plugins-bad

2016-08-23 Thread Salvo Tomaselli
2016-08-23 20:40 GMT+02:00 Thomas Pierson :
> GST_DEBUG=3 clementine --log-levels 3

I tried playing 2 files
Ogg data, Vorbis audio, stereo, 44100 Hz, ~0 bps, created by:
Xiphophorus libVorbis I (1.0 RC3)
ISO Media, MP4 Base Media v1 [IS0 14496-12:2003]

And 1 BBC podcast. The podcast gives an endless stream on the terminal
so I terminated clementine.

I use the normal ALSA without pulseaudio, mostly because of that bug
that tries to make me deaf.
$ GST_DEBUG=3 clementine --log-levels 3
22:26:44.075 WARN  unknown  libpng warning: iCCP: known 
incorrect sRGB profile 
0:00:01.431462602 10748 0x7f1448002f00 WARN basesrc 
gstbasesrc.c:3489:gst_base_src_start_complete: pad not activated yet
0:00:01.434268318 10748 0x7f1448002f00 WARN basesrc 
gstbasesrc.c:3489:gst_base_src_start_complete: pad not activated yet
0:00:01.469652874 10748 0x7f143c030ca0 WARN qtdemux 
qtdemux.c:2651:qtdemux_parse_trex: failed to find fragment defaults 
for stream 1
0:00:01.470139794 10748 0x7f143c030ca0 WARN qtdemux 
qtdemux.c:11528:qtdemux_tag_add_revdns: This tag 
com.apple.iTunes:FMPS_Playcount type:1 is not mapped, file a bug at 
bugzilla.gnome.org
0:00:01.470229100 10748 0x7f143c030ca0 WARN qtdemux 
qtdemux.c:11528:qtdemux_tag_add_revdns: This tag 
com.apple.iTunes:FMPS_Rating_Amarok_Score type:1 is not mapped, file a bug at 
bugzilla.gnome.org
0:00:01.470325845 10748 0x7f143c030ca0 WARN basesrc 
gstbasesrc.c:2396:gst_base_src_update_length: processing at or past EOS
0:00:01.474511143 10748 0x7f143c028ef0 ERROR jackclient 
gstjackaudioclient.c:35:jack_log_error: Cannot connect to server socket err = 
File o directory non esistente
0:00:01.474624687 10748 0x7f143c028ef0 ERROR jackclient 
gstjackaudioclient.c:35:jack_log_error: Cannot connect to server request channel
0:00:01.476735985 10748 0x7f143c028ef0 ERROR jackclient 
gstjackaudioclient.c:35:jack_log_error: jack server is not running or cannot be 
started
0:00:01.477118739 10748 0x7f143c028ef0 ERROR jackclient 
gstjackaudioclient.c:35:jack_log_error: 
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, 
skipping unlock
0:00:01.477144294 10748 0x7f143c028ef0 ERROR jackclient 
gstjackaudioclient.c:35:jack_log_error: 
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, 
skipping unlock
0:00:01.477166083 10748 0x7f143c028ef0 WARN  jackclient 
gstjackaudioclient.c:379:gst_jack_audio_get_connection: could not create 
connection
0:00:01.477303842 10748 0x7f143c028ef0 WARNjacksink 
gstjackaudiosink.c:357:gst_jack_ring_buffer_open_device:
 error: Jack server not found
0:00:01.477328089 10748 0x7f143c028ef0 WARNjacksink 
gstjackaudiosink.c:357:gst_jack_ring_buffer_open_device:
 error: Cannot connect to the Jack server (status 17)
0:00:01.477580080 10748 0x7f143800ac00 WARNuridecodebin 
gsturidecodebin.c:939:unknown_type_cb: warning: Nessun decoder 
disponibile per il tipo «audio/mpeg, mpegversion=(int)4, framed=(boolean)true, 
stream-format=(string)raw, level=(string)2, base-profile=(string)lc, 
profile=(string)lc, codec_data=(buffer)1210, rate=(int)44100, channels=(int)2».
0:00:01.477742264 10748 0x7f143800ac00 WARN   decodebin 
gstdecodebin2.c:4565:gst_decode_bin_expose: error: no suitable 
plugins found:
Missing decoder: MPEG-4 AAC (audio/mpeg, mpegversion=(int)4, 
framed=(boolean)true, stream-format=(string)raw, level=(string)2, 
base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)1210, 
rate=(int)44100, channels=(int)2)

0:00:01.477854341 10748 0x7f143800ac00 WARNuridecodebin 
gsturidecodebin.c:1006:no_more_pads_full: error: no suitable 
plugins found:
gstdecodebin2.c(4565): gst_decode_bin_expose (): 
/GstPipeline:moodbar-pipeline/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0:
no suitable plugins found:
Missing decoder: MPEG-4 AAC (audio/mpeg, mpegversion=(int)4, 
framed=(boolean)true, stream-format=(string)raw, level=(string)2, 
base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)1210, 
rate=(int)44100, channels=(int)2)

0:00:01.478997302 10748 0x7f143c030ca0 WARN qtdemux 
qtdemux.c:5520:gst_qtdemux_loop: error: streaming stopped, reason 
not-linked
0:00:01.479178799 10748 0x7f143c028ef0 WARN default 
oss4-property-probe.c:303:gst_oss4_property_probe_get_values:
 Can't open file descriptor to probe available devices: File o directory non 
esistente
0:00:01.479284584 10748 0x7f143c028ef0 WARNoss4sink 
oss4-sink.c:514:gst_oss4_sink_open: error: 
Impossibile aprire il dispositivo audio per la riproduzione.
0:00:01.479307412 10748 0x7f143c028ef0 WARNoss4sink 
oss4-sink.c:514:gst_oss4_sink_open: error: 
system error: File o directory non esistente
0:00:01.480539819 

Bug#834439: clementine: depend on gstreamer1.0-plugins-bad

2016-08-23 Thread Thomas Pierson
tag 834439 moreinfo
thanks

Hello Salvo,

I'm working on this issue.

For now, I'm doing some tests in a minimal sid environment but the
results are not clear enough and I need more info.

So, could you please run clementine using this command (without
gstreamer1.0-plugins-bad):
---8<---
GST_DEBUG=3 clementine --log-levels 3
--->8---
And send back the result.

Additionally can you make some tests using multiple file type like mp3,
ogg, wav, flac and tell me if you get the same error with all of them.
(ex: using these files
https://github.com/ArtskydJ/test-audio/tree/master/audio)

If you could tell me more about the audio stack (alsa?) and the
environment you are using it can be helpful too.

Thanks,

Thomas Pierson



signature.asc
Description: OpenPGP digital signature


Bug#834439: clementine: depend on gstreamer1.0-plugins-bad

2016-08-15 Thread Salvo Tomaselli
Package: clementine
Version: 1.3~rc1-1+b1
Severity: grave
Justification: renders package unusable

Dear Maintainer,
I tried to play some podcasts with clementine and it didn't play anything.

I don't use pulseaudio.

Eventually, I downloaded an audio file and tried to play that, and I got a 
message
saying that there was some gstreamer plugin missing.

Then I installde gstreamer1.0-plugins-bad (since good and ugly were already 
installed)
and after restarting clementine, the audio file would play, and the silent 
podcasts would
play as well.

So basically, by default clementine remains completely silent unless one 
manually installs
that package.

I guess this makes it unusable for most users, since the warning about the 
missing plugin
only appeared when I tried to play a local file, but not for a podcast.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0d (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages clementine depends on:
ii  gstreamer1.0-plugins-base   1.8.2-1
ii  gstreamer1.0-plugins-good   1.8.2-1
ii  gstreamer1.0-plugins-ugly   1.8.2-1
ii  libc6   2.23-4
ii  libcdio13   0.83-4.2+b1
ii  libchromaprint0 1.3-1+b1
ii  libcrypto++65.6.3-7
ii  libechonest2.3  2.3.1-0.3
ii  libfftw3-double33.3.4-2+b1
ii  libgcc1 1:6.1.1-11
ii  libgdk-pixbuf2.0-0  2.34.0-1
ii  libglib2.0-02.48.1-2
ii  libgpod40.8.3-8
ii  libgstreamer-plugins-base1.0-0  1.8.2-1
ii  libgstreamer1.0-0   1.8.2-1
ii  libimobiledevice6   1.2.0+dfsg-3
ii  liblastfm1  1.0.9-1
ii  libmtp9 1.1.11-1
ii  libmygpo-qt11.0.9~git20151122-1
ii  libplist3   1.12-3.1
ii  libprojectm2v5  2.1.0+dfsg-4
ii  libprotobuf9v5  2.6.1-2
ii  libpulse0   9.0-2
ii  libqjson0   0.8.1-3
ii  libqt4-dbus 4:4.8.7+dfsg-8
ii  libqt4-network  4:4.8.7+dfsg-8
ii  libqt4-opengl   4:4.8.7+dfsg-8
ii  libqt4-sql  4:4.8.7+dfsg-8
ii  libqt4-sql-sqlite   4:4.8.7+dfsg-8
ii  libqt4-xml  4:4.8.7+dfsg-8
ii  libqtcore4  4:4.8.7+dfsg-8
ii  libqtgui4   4:4.8.7+dfsg-8
ii  libqxt-gui0 0.6.2-3
ii  libsqlite3-03.14.0-1
ii  libstdc++6  6.1.1-11
ii  libtag1v5   1.9.1-2.4
ii  libx11-62:1.6.3-1
ii  projectm-data   2.1.0+dfsg-4
ii  zlib1g  1:1.2.8.dfsg-2+b1

Versions of packages clementine recommends:
pn  gstreamer1.0-alsa | gstreamer1.0-pulseaudio  

clementine suggests no packages.

-- no debconf information