Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Previews for some video files are working and for some are not #488

Open
FromRightToLeft opened this issue Jul 23, 2023 · 4 comments
Open

Comments

@FromRightToLeft
Copy link

Distribution

Linux Mint 21.2 Cinnamon

Package version

nemo 5.8.4

Frequency

Always

Bug description

I tested all video formats I have ( MPEG, MPG, DIVIX, WMV, WEBM, AVI ) and they all show the preview. Only MP4 and some MKV files have this issue. I wasn’t able to pinpoint what is the common thing with MKV (some contain MP4 and some don’t and it’s a coin toss if they work or not, all MKVs with HAVC seem to have this problem with the preview function).

Steps to reproduce

When an MP4 file is selected and space bar pressed a window shows up showing no video, but progress bar indicates the appropriate video length as if the file was read.

Expected behavior

When an MP4 file is selected and space bar pressed a window shows up showing a preview of the video in question.

Additional information

Changing between intel, nvidia and hybrid graphics makes no difference. This problem coincided with a lot of dropped frames in Celluloid and my laptop used to play all the videos flawlessly.

Copy pasted from: https://forums.linuxmint.com/viewtopic.php?t=394550

@leigh123linux leigh123linux transferred this issue from linuxmint/nemo Jul 23, 2023
@rammjet
Copy link

rammjet commented Sep 10, 2023

I have the same problem. AVI plays fine. MP4 and MKV do not play. I get the following when trying an MKV:

Mint 21.2, Graphics: Intel Iris Xe

Sep 10 15:33:58 rammjet-TH50 nemo-preview-st[15048]: Object Gtk.Label (0x55eca2a23330), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Sep 10 15:33:58 rammjet-TH50 org.nemo.Preview[15048]: == Stack trace for context 0x55eca1ff78e0 ==
Sep 10 15:33:58 rammjet-TH50 org.nemo.Preview[15048]: #0   7ffc3a82d250 b   /usr/share/nemo-preview/js/viewers/gst.js:114 (2bec8c07d290 @ 124)
Sep 10 15:33:58 rammjet-TH50 org.nemo.Preview[15048]: #1   7ffc3a82d300 b   /usr/share/nemo-preview/js/viewers/gst.js:127 (2bec8c07d330 @ 17)
Sep 10 15:33:58 rammjet-TH50 org.nemo.Preview[15048]: #2   7ffc3a82d3f0 b   self-hosted:1121 (2bec8c073f60 @ 463)
Sep 10 15:33:58 rammjet-TH50 org.nemo.Preview[15048]: #3   55eca27f5b60 i   /usr/share/nemo-preview/js/ui/main.js:57 (2bec8c0baa60 @ 287)
Sep 10 15:33:58 rammjet-TH50 org.nemo.Preview[15048]: #4   55eca27f5ac8 i   ../src/main.c:2 (2bec8c0baa10 @ 38)
Sep 10 15:33:58 rammjet-TH50 org.nemo.Preview[15048]: == Stack trace for context 0x55eca1ff78e0 ==
Sep 10 15:33:58 rammjet-TH50 org.nemo.Preview[15048]: #0   7ffc3a82d250 b   /usr/share/nemo-preview/js/viewers/gst.js:103 (2bec8c07d240 @ 77)
Sep 10 15:33:58 rammjet-TH50 org.nemo.Preview[15048]: #1   7ffc3a82d300 b   /usr/share/nemo-preview/js/viewers/gst.js:128 (2bec8c07d330 @ 32)
Sep 10 15:33:58 rammjet-TH50 org.nemo.Preview[15048]: #2   7ffc3a82d3f0 b   self-hosted:1121 (2bec8c073f60 @ 463)
Sep 10 15:33:58 rammjet-TH50 org.nemo.Preview[15048]: #3   55eca27f5b60 i   /usr/share/nemo-preview/js/ui/main.js:57 (2bec8c0baa60 @ 287)
Sep 10 15:33:58 rammjet-TH50 org.nemo.Preview[15048]: #4   55eca27f5ac8 i   ../src/main.c:2 (2bec8c0baa10 @ 38)
Sep 10 15:33:58 rammjet-TH50 nemo-preview-st[15048]: Object Gtk.Scale (0x55eca28ce320), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Sep 10 15:33:58 rammjet-TH50 nemo-preview-st[15048]: gtk_adjustment_get_lower: assertion 'GTK_IS_ADJUSTMENT (adjustment)' failed
Sep 10 15:33:58 rammjet-TH50 nemo-preview-st[15048]: gtk_adjustment_set_value: assertion 'GTK_IS_ADJUSTMENT (adjustment)' failed

@FromRightToLeft
Copy link
Author

FromRightToLeft commented Sep 14, 2023

Hi rammjet, I have done some reading and found out it's an old problem.

#459

deleting mint-meta-codecs and gstreamer1.0 vaapi fixes it for me

@FromRightToLeft
Copy link
Author

sorry wrong button 😞

@rammjet
Copy link

rammjet commented Sep 14, 2023

Thank you. I had found the previous issue but did not think it to be the same. However, just removed mint-meta-codecs and gstreamer1.0-vaapi and the video preview problem is solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants