Re: [gentoo-user] How to cmake?

2021-08-25 Thread Jack

On 8/25/21 22:49, Peter Humphrey wrote:

Hello list,

I wanted to try KDFM, which I read about in Linux Format. It's a file manager
with some interesting features. So I went to sourceforge.net/projects/kdfm,
downloaded the source and extracted it to /usr/local/src/kdfm-code.

What do I do next? I tried 'cmake ./src' and similar and got Unknown CMake
command "qt5_wrap_ui". Googling for that found a few helpful pages, but I
think I'd need to be a Qt5 developer to understand them.

Can anyone point me in the direction to find out what to do?

Minor point, I would recommend creating a build subid, cc into it and 
the "cmake path-to-source-dir".  I think most KDE stuff doesn't like 
building in-tree.  Equery doesn't identify any package for qt5_wrap_ui.  
If it's part of the source, then you might need some parameter for 
cmake, or else there's another dependency not packaged in Gentoo.


Jack




[gentoo-user] How to cmake?

2021-08-25 Thread Peter Humphrey
Hello list,

I wanted to try KDFM, which I read about in Linux Format. It's a file manager 
with some interesting features. So I went to sourceforge.net/projects/kdfm, 
downloaded the source and extracted it to /usr/local/src/kdfm-code.

What do I do next? I tried 'cmake ./src' and similar and got Unknown CMake 
command "qt5_wrap_ui". Googling for that found a few helpful pages, but I 
think I'd need to be a Qt5 developer to understand them.

Can anyone point me in the direction to find out what to do?

-- 
Regards,
Peter.






Re: [gentoo-user] Re: SOLVED Video plays past end of time it shows

2021-08-25 Thread Dale
Grant Edwards wrote:
> On 2021-08-25, Dale  wrote:
>> Grant Edwards wrote:
>>> On 2021-08-25, Andrew Udvare  wrote:
>>>
 You can try to re-encode or maybe remux with ffmpeg.
>>> That's what I'd do. Try remuxing first (it can be done losslessly).
>>> To remux losslessly, use the "copy" codecs for both audio and video.
>> I looked at the man page.
> Yea, that's abit overwhelming.  Usually it's easier to google ffmeg
> and the task you want to do (e.g. google "ffmpeg remux avi to
> mp4"). The first hit explains it nicely:
>
> https://ottverse.com/ffmpeg-convert-avi-to-mp4-lossless/
>
> FWIW, the command is
>
>   ffmpeg -i input.avi -c:v copy -c:a copy output.mp4
>
> --
> Grant
>

So the method does exist.  ROFL  I wasn't worried about converting it at
first but since doing so might fix it, I gave it a shot. 

Thanks.

Dale

:-)  :-) 



[gentoo-user] Re: SOLVED Video plays past end of time it shows

2021-08-25 Thread Grant Edwards
On 2021-08-25, Dale  wrote:
> Grant Edwards wrote:
>> On 2021-08-25, Andrew Udvare  wrote:
>>
>>> You can try to re-encode or maybe remux with ffmpeg.
>> That's what I'd do. Try remuxing first (it can be done losslessly).
>> To remux losslessly, use the "copy" codecs for both audio and video.
>
> I looked at the man page.

Yea, that's abit overwhelming.  Usually it's easier to google ffmeg
and the task you want to do (e.g. google "ffmpeg remux avi to
mp4"). The first hit explains it nicely:

https://ottverse.com/ffmpeg-convert-avi-to-mp4-lossless/

FWIW, the command is

  ffmpeg -i input.avi -c:v copy -c:a copy output.mp4

--
Grant




[gentoo-user] SOLVED Video plays past end of time it shows

2021-08-25 Thread Dale
Grant Edwards wrote:
> On 2021-08-25, Andrew Udvare  wrote:
>
>> You can try to re-encode or maybe remux with ffmpeg.
> That's what I'd do. Try remuxing first (it can be done losslessly).
> To remux losslessly, use the "copy" codecs for both audio and video.
>
> --
> Grant
>

I looked at the man page.  I felt like I was trying to become a brain
surgeon.  Then I had a thought that this suggestion made me think of. 
I'd prefer a .mp4 file anyway so I used the video download helper tool
in Firefox to convert the video from .avi to .mp4.  When it was
completed, the video shows the right play time and it works as it
should, plus I have my preferred .mp4 file. 

While it may be a odd workaround, it did work.  I wouldn't have thought
about that if it wasn't suggested to re-encode the file. 

Thanks to all.  Took a strange path but got what I wanted.  ;-)

Dale

:-)  :-) 



[gentoo-user] Re: Video plays past end of time it shows

2021-08-25 Thread Grant Edwards
On 2021-08-25, Andrew Udvare  wrote:

> You can try to re-encode or maybe remux with ffmpeg.

That's what I'd do. Try remuxing first (it can be done losslessly).
To remux losslessly, use the "copy" codecs for both audio and video.

--
Grant






Re: [gentoo-user] Video plays past end of time it shows

2021-08-25 Thread Dale
Andrew Lowe wrote:
> On 26/8/21 1:45 am, Dale wrote:
>> Hi,
>>
>> I have a video that does something weird.  The video plays about 6
>> minutes or so past the length it should.  During that extended time, you
>> can't fast forward, pause or anything either.  I've ran into this a
>> couple times with my deer camera and thought it odd but didn't worry
>> about it.  My question is, can this be fixed somehow?  Can I get mplayer
>> or something to process the file and adjust the time it thinks the video
>> is to what it actually is?
>>
>> Bonus, how in the world did it get that way?
>>
>> Thanks.
>>
>> Dale
>>
>> :-)  :-)
>>
> Seen the same sort of behaviour in vid's "liberated" from youtube
> using youtube-dl. I can't remember if I found the problem. What format
> are you using? For example mkv has mkvalidator which will check the
> integrity and I thing mkvclean to fix errors etc.
>
> Andrew
>
>


It started with .rar files.  See reply to other Andrew.  ;-)  I figured
out, with googles help, how to unpack them and got a nice .avi file.  It
just gets weird at the end. 

Dale

:-)  :-) 



Re: [gentoo-user] Video plays past end of time it shows

2021-08-25 Thread Dale
Andrew Udvare wrote:
>
>
> On Wed, Aug 25, 2021, 13:44 Dale  > wrote:
>
> Hi,
>
> I have a video that does something weird.  The video plays about 6
> minutes or so past the length it should.  During that extended
> time, you
> can't fast forward, pause or anything either.  I've ran into this a
> couple times with my deer camera and thought it odd but didn't worry
> about it.  My question is, can this be fixed somehow?  Can I get
> mplayer
> or something to process the file and adjust the time it thinks the
> video
> is to what it actually is? 
>
>
> You can try to re-encode or maybe remux with ffmpeg.
>
>
> Bonus, how in the world did it get that way? 
>
>
> More than likely the metadata in the file is off.
>
> This playback issue can happen with VBR MP3s and also Oggs as the
> length of the file can be spoofed in the header.
>
>


It started out with a bunch of .rar files.  I've never ran into those
before.  Anyway, figured out how to deal with it and got the video but
there was a error about "unexpected end of data" in the last .rar file. 
The others were fine.  I suspect that is what lead to the video playing
longer than it shows.  The end result was a .avi file.  It plays fine
until the last bit, where it goes past the expected end. 

I've never dealt with this before so it could be a one time thing or it
could be expected behaviour that needs fixing.  Just in case, I'd like
to know how to fix it for this one and any others I run into. 

Thanks.

Dale

:-)  :-) 



Re: [gentoo-user] Video plays past end of time it shows

2021-08-25 Thread Andrew Lowe

On 26/8/21 1:45 am, Dale wrote:

Hi,

I have a video that does something weird.  The video plays about 6
minutes or so past the length it should.  During that extended time, you
can't fast forward, pause or anything either.  I've ran into this a
couple times with my deer camera and thought it odd but didn't worry
about it.  My question is, can this be fixed somehow?  Can I get mplayer
or something to process the file and adjust the time it thinks the video
is to what it actually is?

Bonus, how in the world did it get that way?

Thanks.

Dale

:-)  :-)

	Seen the same sort of behaviour in vid's "liberated" from youtube using 
youtube-dl. I can't remember if I found the problem. What format are you 
using? For example mkv has mkvalidator which will check the integrity 
and I thing mkvclean to fix errors etc.


Andrew



Re: [gentoo-user] Video plays past end of time it shows

2021-08-25 Thread Andrew Udvare
On Wed, Aug 25, 2021, 13:44 Dale  wrote:

> Hi,
>
> I have a video that does something weird.  The video plays about 6
> minutes or so past the length it should.  During that extended time, you
> can't fast forward, pause or anything either.  I've ran into this a
> couple times with my deer camera and thought it odd but didn't worry
> about it.  My question is, can this be fixed somehow?  Can I get mplayer
> or something to process the file and adjust the time it thinks the video
> is to what it actually is?
>

You can try to re-encode or maybe remux with ffmpeg.


> Bonus, how in the world did it get that way?
>

More than likely the metadata in the file is off.

This playback issue can happen with VBR MP3s and also Oggs as the length of
the file can be spoofed in the header.


>


[gentoo-user] Video plays past end of time it shows

2021-08-25 Thread Dale
Hi,

I have a video that does something weird.  The video plays about 6
minutes or so past the length it should.  During that extended time, you
can't fast forward, pause or anything either.  I've ran into this a
couple times with my deer camera and thought it odd but didn't worry
about it.  My question is, can this be fixed somehow?  Can I get mplayer
or something to process the file and adjust the time it thinks the video
is to what it actually is? 

Bonus, how in the world did it get that way? 

Thanks.

Dale

:-)  :-) 



Re: [gentoo-user] Vanishing tab bar in Firefox

2021-08-25 Thread Peter Humphrey
On Wednesday, 25 August 2021 12:27:08 BST Neil Bothwick wrote:
> On Wed, 25 Aug 2021 11:35:26 +0100, Peter Humphrey wrote:
> > > > As the Firefox dir is all text files, I think, when you
> > > > 
> > > > blow it away and rebuild and get the correct behaviour, grab a
> > > > copy. When the dodgy behaviour returns diff the copy, with the 
good
> > > > behaviour, against the current dir, with the dodgy behaviour, and
> > > > see what's changed. That may lead to an indication of what's being
> > > > naughty.
> > > 
> > > Good idea. Thanks Andrew.
> > 
> > Just a small matter of 308 files to check.  :)
> 
> diff -r old/ new/ >lotsofstuff/txt :)

:)

-- 
Regards,
Peter.






Re: [gentoo-user] Vanishing tab bar in Firefox

2021-08-25 Thread Neil Bothwick
On Wed, 25 Aug 2021 11:35:26 +0100, Peter Humphrey wrote:

> > >   As the Firefox dir is all text files, I think, when you
> > > blow it away and rebuild and get the correct behaviour, grab a
> > > copy. When the dodgy behaviour returns diff the copy, with the good
> > > behaviour, against the current dir, with the dodgy behaviour, and
> > > see what's changed. That may lead to an indication of what's being
> > > naughty.  
> 
> > Good idea. Thanks Andrew.  
> 
> Just a small matter of 308 files to check.  :)

diff -r old/ new/ >lotsofstuff/txt :)


-- 
Neil Bothwick

WinErr 004: Erroneous error - Nothing is wrong


pgpJfQTm9Kjcn.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Vanishing tab bar in Firefox

2021-08-25 Thread Peter Humphrey
On Wednesday, 25 August 2021 10:26:31 BST Peter Humphrey wrote:
> On Wednesday, 25 August 2021 04:05:12 BST Andrew Lowe wrote:

> > As the Firefox dir is all text files, I think, when you blow it away
> > and rebuild and get the correct behaviour, grab a copy. When the dodgy
> > behaviour returns diff the copy, with the good behaviour, against the
> > current dir, with the dodgy behaviour, and see what's changed. That
> > may lead to an indication of what's being naughty.

> Good idea. Thanks Andrew.

Just a small matter of 308 files to check.  :)

-- 
Regards,
Peter.






Re: [gentoo-user] Vanishing tab bar in Firefox

2021-08-25 Thread Peter Humphrey
On Wednesday, 25 August 2021 04:05:12 BST Andrew Lowe wrote:
> On 24/8/21 10:59 pm, Peter Humphrey wrote:
> > On Friday, 20 August 2021 17:26:15 BST Peter Humphrey wrote:
> >> On Saturday, 7 August 2021 10:45:26 BST Peter Humphrey wrote:
> >>> Hello list,
> 
> [snip]
> 
> > Spoke too soon. It's back again, and it's more stubborn this time. I
> > really
> > don't want to keep zapping my Firefox directory and setting it up all 
over
> > again, especially as I don't understand what's going wrong. Any crumbs 
of
> > advice or experience, anyone?
> 
>   As the Firefox dir is all text files, I think, when you blow it away
> and rebuild and get the correct behaviour, grab a copy. When the dodgy
> behaviour returns diff the copy, with the good behaviour, against the
> current dir, with the dodgy behaviour, and see what's changed. That may
> lead to an indication of what's being naughty.
> 
>   I have a recollection of doing this in the past to track down a 
problem.

Good idea. Thanks Andrew.

-- 
Regards,
Peter.