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

2021-09-01 Thread antlists

On 25/08/2021 19:08, 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.



I have this with my in-car mp3 player. Every so often it has a 
brain-fart, gets thoroughly confused, and displays one song while 
playing another. This is invariably accompanied by it either playing the 
tune for the length of the song it thinks it is, or the display gets 
stuck as the song overruns the length it thinks it is.


I usually end up pulling the chip out and putting it back, which resets 
it, but it's then a nightmare because the player has to re-read the 
chip, during which it plays random tracks from 32GB of music and any 
attempt to tell it what you want it to play is blocked. Surely it should 
let you drill down the directory structure? Even worse, all this effort 
is to build up a db of tracks by genre, artist etc, which I never use! 
(It takes about 10 minutes which, I believe, is the national average 
journey length in the UK...)


Cheers,
Wol



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

:-)  :-)