Discussion:
Gwenview: No sound from 'Quicktime' .mov files
(too old to reply)
Maurice Batey
2011-08-03 17:05:19 UTC
Permalink
Anyone know why Gwenview should fail to produce sound from a Quicktime
(.mov) video file?

On 2 other PC's here - also running 2010.2, using the same .mov file -
with Gwenview, when it encounters a .mov file among the .jpg files it
shows it with sound as well as video, whereas on mine it is silent.

(However, if I ask my system to run the video with Movie Player or VLC,
it does show with sound.)
--
/\/\aurice
Linux Mandriva 2010.2 32-bit PowerPack (i686 kernel)
KDE 4.5.2 Virtualbox 4.0.6 Firefox 4.0 Kmail 1.13.5
(Replace "nomail.afraid" by "bcs" to reply by email)
David W. Hodgins
2011-08-03 18:13:25 UTC
Permalink
Post by Maurice Batey
Anyone know why Gwenview should fail to produce sound from a Quicktime
(.mov) video file?
On 2 other PC's here - also running 2010.2, using the same .mov file -
with Gwenview, when it encounters a .mov file among the .jpg files it
shows it with sound as well as video, whereas on mine it is silent.
Most likely, a missing rpm, such as gstreamer0.10-plugins-good.

Since you have a system where it works, it should be easy to confirm.

On a system where it works, run
strace -f -o/tmp/strace.txt gwenview file.mov", until it just starts
to play, then close gwenview.
wget http://www.ody.ca/~dwhodgins/strace2urpmi
chmod a+x ./strace2urpmi
strace2urpmi /tmp/strace.txt>urpmi.txt

Copy the urpmi.txt to the computer where it doesn't work, edit the
file to remove the comment at the end, and the trailing slash on
the last rpm package line, and run that urpmi command.

The strace2urpmi script extracts all of the file names from the
strace text, excludes all of those that can't belong to an rpm
file, such as /proc/..., /home/..., /dev/..., etc., and then
uses "rpm -q -f" to find out which package owns those files.

Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
Maurice Batey
2011-08-04 12:00:05 UTC
Permalink
Post by David W. Hodgins
and run that urpmi command.
Many thanks, Dave!

OK, done all that, but sadly the problem persists. :-((

To see the strace and the result of running the urpmi, see:

(all in one file): http://dl.dropbox.com/u/10969499/strace-sound-problem

Here are two attempts to show the video. Gwenview's is silent, VLC has
sound:

-----------------------------------
gwenview /media/photos/mypictures/normandy-july-2011/P1020160.mov
gwenview(12843)/kdeui (kdelibs): Attempt to use QAction "edit_redo" with
KXMLGUIFactory!
gwenview(12843)/kdeui (kdelibs): Attempt to use QAction "edit_undo" with
KXMLGUIFactory!

(<unknown>:12843): GLib-GObject-WARNING **: invalid uninstantiatable
type `<invalid>' in cast to `GstElement'

(<unknown>:12843): GLib-GObject-WARNING **: invalid uninstantiatable
type `<invalid>' in cast to `GObject'

etc, etc,.....

------------------------------------

vlc /media/photos/mypictures/normandy-july-2011/P1020160.mov
VLC media player 1.0.6 Goldeneye
[0x83cd8c8] main libvlc: Running vlc with the default interface. Use
'cvlc' to use vlc without interface.
[0xb0714c28] pulse audio output: No. of Audio Channels: 1
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::begin: Paint device returned engine == 0, type: 1
picture size invalid (65535x57311)
picture size invalid (65527x57339)

---------------------------------------------------

N.B. PuluseAudio is *not* enabled in MCC.
--
/\/\aurice
(Replace "nomail.afraid" by "bcs" to reply by email)
David W. Hodgins
2011-08-05 03:44:28 UTC
Permalink
Post by Maurice Batey
(all in one file): http://dl.dropbox.com/u/10969499/strace-sound-problem
From that file ...

Some requested packages cannot be installed:
gwenview-4.4.5-0.2mdv2010.2.i586 (in order to keep
gwenview-4.5.2-1mdv2010.1.i586)

with similar messages for a number of kde packages.

I'd try "urpmi --auto-select --allow-force", and select yes, when
asked if force should be used.

Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
Maurice Batey
2011-08-05 16:02:15 UTC
Permalink
Post by David W. Hodgins
I'd try "urpmi --auto-select --allow-force", and select yes, when
asked if force should be used.
Do you mean replace 'urpmi' by the above in the urpmi.txt file?
--
/\/\aurice
(Replace "nomail.afraid" by "bcs" to reply by email)
David W. Hodgins
2011-08-05 16:25:36 UTC
Permalink
Post by Maurice Batey
Post by David W. Hodgins
I'd try "urpmi --auto-select --allow-force", and select yes, when
asked if force should be used.
Do you mean replace 'urpmi' by the above in the urpmi.txt file?
No, just run the above in a konsole. All of the updates shown in
that update are cases where newer versions of the package are being
rejected, in order to keep the older versions, which should not be
happening.

Actually, it might be better to try and figure out why it's happening.

Run "urpmi --auto-update", and let it install any updates that it can.

Then run
urpmi --auto-select --debug 2>&1 | tee /tmp/urpmi-log.txt

and upload the file /tmp/urpmi-log.txt somewhere, and post the link
here, and I'll try and figure out what is causing the updates to be
blocked.

Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
Maurice Batey
2011-08-05 16:44:34 UTC
Permalink
Post by David W. Hodgins
Then run
urpmi --auto-select --debug 2>&1 | tee /tmp/urpmi-log.txt
OK, did all that instead of the "urpmi --auto-select --allow-force"...

The result is at: http://dl.dropbox.com/u/10969499/urpmi-log.txt
--
/\/\aurice
(Replace "nomail.afraid" by "bcs" to reply by email)
David W. Hodgins
2011-08-05 18:44:52 UTC
Permalink
Post by Maurice Batey
Post by David W. Hodgins
Then run
urpmi --auto-select --debug 2>&1 | tee /tmp/urpmi-log.txt
OK, did all that instead of the "urpmi --auto-select --allow-force"...
The result is at: http://dl.dropbox.com/u/10969499/urpmi-log.txt
You have firefox in the skip list. While the skips put in for the cdrtools
are pretty much independent, many other packages rely on xulrunner, from
firefox. That's probably what's blocking many other updates.

I think you should let firefox update, but if you prefer to keep it,
you can use the allow-force option to install the latest gwenview,
keeping in mind that it may not work if it really does need features
from the latest xulrunner.

Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
Maurice Batey
2011-08-06 12:42:26 UTC
Permalink
Post by David W. Hodgins
you should let firefox update,
OK - did that, but no 'xulrunner' seemed to be involved, and Gwenview
is still mute on video.
(There are many xulrunner files in /usr/lib, the latest of which is
1.9.2.18.)
Post by David W. Hodgins
you can use the allow-force option to install the latest gwenview,
keeping in mind that it may not work if it really does need features
from the latest xulrunner.
But this is what then happened:

----------------------------------------------------------------
[***@newpc ~]# urpmi --auto-select --allow-force
Packages are up to date
----------------------------------------------------------------
--
/\/\aurice
(Replace "nomail.afraid" by "bcs" to reply by email)
Maurice Batey
2011-08-06 13:36:31 UTC
Permalink
Post by David W. Hodgins
gwenview-4.4.5-0.2mdv2010.2.i586 (in order to keep
gwenview-4.5.2-1mdv2010.1.i586)
It looks as though the Gwenview I have is from the KDE 4.5.2 update I
did on Oct.31 last year.
Perhaps it has a bug that affects Quicktime audio.

I thought about removing this version and going for the 4.4.5 version,
but this is what happened when I did the urpme:

------------------------------------
urpme gwenview
To satisfy dependencies, the following 3 packages will be removed
(1.9MB):
gwenview-4.5.2-1mdv2010.1.i586
task-kde4-4.4.3-1mdv2010.1.noarch
(due to missing task-kde4-minimal)
task-kde4-minimal-4.4.3-1mdv2010.1.noarch
(due to missing gwenview)
Remove 3 packages? (y/N) N
[***@newpc ~]#
----------------------------------------

So I abandoned that idea, pro tem.
Is there a safe way of doing that replace?

Here is info on the current Gwenview:

rpm -qif /usr/bin/gwenview
Name : gwenview Relocations: (not
relocatable)
Version : 4.5.2 Vendor: Mandriva
Release : 1mdv2010.1 Build Date: Thu 07 Oct 2010
04:18:22 BST
Install Date: Sun 31 Oct 2010 20:51:12 GMT Build Host:
hatmehyt.lan.littleboboy.net
Group : Graphical desktop/KDE Source RPM:
kdegraphics4-4.5.2-1mdv2010.1.src.rpm
Size : 2045388 License: GPL
--
/\/\aurice
(Replace "nomail.afraid" by "bcs" to reply by email)
Jim Beard
2011-08-06 14:43:15 UTC
Permalink
Post by Maurice Batey
Post by David W. Hodgins
gwenview-4.4.5-0.2mdv2010.2.i586 (in order to keep
gwenview-4.5.2-1mdv2010.1.i586)
It looks as though the Gwenview I have is from the KDE 4.5.2 update I
did on Oct.31 last year.
Perhaps it has a bug that affects Quicktime audio.
I thought about removing this version and going for the 4.4.5 version,
------------------------------------
urpme gwenview
To satisfy dependencies, the following 3 packages will be removed
gwenview-4.5.2-1mdv2010.1.i586
task-kde4-4.4.3-1mdv2010.1.noarch
(due to missing task-kde4-minimal)
task-kde4-minimal-4.4.3-1mdv2010.1.noarch
(due to missing gwenview)
Remove 3 packages? (y/N) N
----------------------------------------
So I abandoned that idea, pro tem.
Is there a safe way of doing that replace?
rpm -qif /usr/bin/gwenview
Name : gwenview Relocations: (not
relocatable)
Version : 4.5.2 Vendor: Mandriva
Release : 1mdv2010.1 Build Date: Thu 07 Oct 2010
04:18:22 BST
hatmehyt.lan.littleboboy.net
kdegraphics4-4.5.2-1mdv2010.1.src.rpm
Size : 2045388 License: GPL
rpm -e --nodeps gwenview
should remove the existing gwenview without taking out kde and
everything associated.

Then, you could install the version desired.

Cheers!

jim b.
--
UNIX is not user unfriendly; it merely
expects users to be computer-friendly.
Maurice Batey
2011-08-06 17:52:10 UTC
Permalink
Post by Jim Beard
rpm -e --nodeps gwenview
should remove the existing gwenview without taking out kde and
everything associated.
Yes - it did indeed!
Post by Jim Beard
Then, you could install the version desired.
Well, no, actually. Urpmi refused, because the earlier version of
gwenview depended on earlier versions of various KDE files.
(I have KDE 4.5.2 installed, which is where this gwenview came from.)

Mmm. Perhaps I should have forced it somehow
Would that have been a reasonable thing to try?

So I had to retrieve gwenview 4.5.2 from rpbone to revert to the
status quo!
--
/\/\aurice
(Replace "nomail.afraid" by "bcs" to reply by email)
Maurice Batey
2011-08-06 18:50:12 UTC
Permalink
Post by Maurice Batey
Perhaps I should have forced it somehow
Well, I've now tried --allow-force, but it insisted on installing a
different KDE graphics package, and that started to upset other
relationships, so I aborted and reverted to gwenview 4.5.2 again.

Anyway, it may not be a bug in gwenview 4.5.2 itself, but in one of
the KDE 4.5.2 packages.

Apart from silent Quicktime videos, this gwenview works fine, and I can
always get Movie Player or VLC to play the few Quicktime videos I have.

But it would have been good to clean this up!
(Perhaps it will be if Mandriva 2010.2 updates to e.g. KDE 4.6!).

Many thanks for all help. Much appreciated...
--
/\/\aurice
(Replace "nomail.afraid" by "bcs" to reply by email)
Jim Beard
2011-08-07 01:26:54 UTC
Permalink
Post by Maurice Batey
Post by Maurice Batey
Perhaps I should have forced it somehow
Well, I've now tried --allow-force, but it insisted on installing a
different KDE graphics package, and that started to upset other
relationships, so I aborted and reverted to gwenview 4.5.2 again.
--allow-force coupled to --nodeps might have done the trick. You
are getting into murky waters, though. Good backups (that
you know will work if needed) are a real good idea when you start
playing with --allow-force and --nodeps, as well as some of the
other possibilities that rpm allows (--oldpackage,
--replacefiles, --replacepkgs, --nosuggest, --force, etc)

Cheers!

jim b.
--
UNIX is not user unfriendly; it merely
expects users to be computer-friendly.
Maurice Batey
2011-08-07 13:19:18 UTC
Permalink
You are getting into murky waters, though.
My feeling exactly, which is why I've backed off the idea!
Good backups (that
you know will work if needed) are a real good idea when you start
playing with --allow-force and --nodeps,
Ys, indeed - I did make a backup.
(Always do that before any software update)
--
/\/\aurice
(Replace "nomail.afraid" by "bcs" to reply by email)
Maurice Batey
2011-08-07 12:37:04 UTC
Permalink
Post by Maurice Batey
(Perhaps it will be if Mandriva 2010.2 updates to e.g. KDE 4.6!).
Just checked the .MOV video clip on Mageia (KDE 4.6.3):

Gwenview (2.6.0) Played neither video nor audio
Movie Player " " " " "
VLC Played video but no audio

Mmm.
--
/\/\aurice
(Replace "nomail.afraid" by "bcs" to reply by email)
Maurice Batey
2011-08-07 18:07:24 UTC
Permalink
And in PCLinuxOS 2010:

Gwenview (2.6.0) Played video, also audio at first - but then choked
Dragon Player: -ditto- - ditto- -ditto-
VLC Played video & audio perfectly
SMPLayer -ditto- --ditto-

I.e. a lot better than Mageia, but not quite as good as MDV 2010.2.
--
/\/\aurice
(Replace "nomail.afraid" by "bcs" to reply by email)
Loading...