Re: [gentoo-user] xorg-session filled possibly with sddm errors about video files.

2023-12-01 Thread Dale
Dale wrote:
> Howdy,
>
> I was digging around the other day and noticed a large log file.  I just
> had to see why it was so large.  It's over 1GB.  This is a example of
> its content.  It just repeats, a LOT. 
>
>
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] Format
> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection
> possible!
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] moov atom not found
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] Format
> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection
> possible!
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] moov atom not found
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] Format
> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection
> possible!
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] moov atom not found
>
>
> As most know, I watch TV from this thing.  I'm almost certain it is
> being generated by smplayer because I tested to see if it does this with
> only smplayer running.  I use mpv for playing videos etc on my monitor
> itself but it doesn't do it when mpv is playing.  From the log file
> size, it has been doing this a while but there is no time stamps to go
> by.  However, using tail -f to monitor it, it repeats every second or so. 
>
> First, I'd like to fix whatever is causing this if I can.  It may be the
> video file itself or it may be smplayer.  If it is the video files, it's
> a lot of them.  It's been doing this for days or more.  I've played a
> lot of videos in that time frame.  I looked in smplayer and tried
> disabling logging there, no change.  It still adds to that log.  Anyone
> have a clue how to fix this??
>
> Second, if it is not fixable, since these errors aren't preventing
> videos from playing just fine, how do I stop the errors from going into
> the log file?  While I have a fairly large size /home that this file
> parks on, it would eventually start hogging up a lot of drive space. 
>
> I did some searches for the error.  It appears to be reported but I
> don't see a way to fix it.  It seems I would have to figure out what
> video files trigger it and then fix the files one at a time.  Given
> that, the second option may be the best way to deal with this. 
>
> Thoughts?  Ideas?  Large hammer???  lol 
>
> Dale
>
> :-)  :-) 
>


Ignore this.  I didn't realize I even sent this one.  Found out more
accurate info and created new thread.  Still don't recall hitting send.  :/

Dale

:-)  :-) 



Re: [gentoo-user] xorg-session filled possibly with sddm errors about video files.

2023-12-01 Thread Michael
On Friday, 1 December 2023 10:33:22 GMT Dale wrote:
> Howdy,
> 
> I was digging around the other day and noticed a large log file.  I just
> had to see why it was so large.  It's over 1GB.  This is a example of
> its content.  It just repeats, a LOT. 
> 
> 
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] Format
> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection
> possible!
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af3fb5c1c0] moov atom not found
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] Format
> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection
> possible!
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af4087ade0] moov atom not found
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] Format
> mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection
> possible!
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55af408794e0] moov atom not found
> 
> 
> As most know, I watch TV from this thing.  I'm almost certain it is
> being generated by smplayer because I tested to see if it does this with
> only smplayer running.  I use mpv for playing videos etc on my monitor
> itself but it doesn't do it when mpv is playing.  From the log file
> size, it has been doing this a while but there is no time stamps to go
> by.  However, using tail -f to monitor it, it repeats every second or so. 
> 
> First, I'd like to fix whatever is causing this if I can.  It may be the
> video file itself or it may be smplayer.  If it is the video files, it's
> a lot of them.  It's been doing this for days or more.  I've played a
> lot of videos in that time frame.  I looked in smplayer and tried
> disabling logging there, no change.  It still adds to that log.  Anyone
> have a clue how to fix this??
> 
> Second, if it is not fixable, since these errors aren't preventing
> videos from playing just fine, how do I stop the errors from going into
> the log file?  While I have a fairly large size /home that this file
> parks on, it would eventually start hogging up a lot of drive space. 
> 
> I did some searches for the error.  It appears to be reported but I
> don't see a way to fix it.  It seems I would have to figure out what
> video files trigger it and then fix the files one at a time.  Given
> that, the second option may be the best way to deal with this. 
> 
> Thoughts?  Ideas?  Large hammer???  lol 
> 
> Dale
> 
> :-)  :-) 

I recall seeing ffmpeg reporting similar output with some video files, when it 
doesn't like the particular file's adherence to a codec or mux wrapper.  
Sometimes it also prints warnings about fixing your video file or it may not 
work with ffmpeg in the future.

I haven't used smplayer/mplayer for the best part of 10 years, so I don't know 
how it could be tweaked.  You could try creating an alias for mplayer with the 
'--quiet' option, or whatever equivalent mplayer has to suppress console 
output, or find if you can specify this in smplayer's config.

Alternatively, if you don't want to approach this from the video player angle, 
you can look into controlling the log output of sddm:

/usr/share/sddm/sddm.conf.d/00default.conf

Search the above file to find "# Path to the user session log file" and after 
you copy it over to your /etc/ssdm/ comment out the path to the log file, or 
redirect it to /dev/null, or if neither of these work symlink the sddm log 
file from your /home to /dev/null.

signature.asc
Description: This is a digitally signed message part.