ozmartian / vidcutter

A modern yet simple multi-platform video cutter and joiner.
GNU General Public License v3.0
1.77k stars 137 forks source link

Flatpack version 6.0.5.3 - opening a 1080p h264 file, nothing is displayed. #392

Open jason-a69 opened 8 months ago

jason-a69 commented 8 months ago

No thumbnails are generated

ffprobe returns this on the problematic file


  Stream #0:1[0x65]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
  Stream #0:2[0x66](eng): Audio: aac_latm (LC) ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
  Stream #0:3[0x6a](eng): Unknown: none ([17][0][0][0] / 0x0011) (visual impaired) (descriptions) (dependent)
  Stream #0:4[0x69](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
  No Program
  Stream #0:0[0x12]: Data: epg

Log file contains this

Nov  5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]:     self.loadMedia(filename)
Nov  5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]:   File "/app/lib/python3.10/site-packages/vidcutter/videocutter.py"
, line 989, in loadMedia
Nov  5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]:     self.videoService.setMedia(self.currentMedia)
Nov  5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]:   File "/app/lib/python3.10/site-packages/vidcutter/libs/videoservi
ce.py", line 94, in setMedia
Nov  5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]:     [stream for stream in self.media.streams if stream.codec_type =
= codec_type.lower()])
Nov  5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]:   File "/app/lib/python3.10/site-packages/vidcutter/libs/videoservi
ce.py", line 94, in <listcomp>
Nov  5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]:     [stream for stream in self.media.streams if stream.codec_type =
= codec_type.lower()])
Nov  5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]:   File "/app/lib/python3.10/site-packages/vidcutter/libs/munch.py",
 line 104, in __getattr__
Nov  5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]:     raise AttributeError(k)
Nov  5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]: 2023-11-05 21:56 - root - CRITICAL - <class 'AttributeError'>: code
c_type

I do not mind downloading and installing from the source code to get this working...including ffmpeg if that is causing the problem.

Any feedback is welcome.

Thanks

Jason

ozmartian commented 8 months ago

Could you install mpv video player on your system and let me know if you can open and view the file with it. Trying to isolate the issue. And can you confirm that this issue only occurs with the one video file or if its happening with all videos.

Thanks

---- On Mon, 06 Nov 2023 01:05:30 +1100 jason-a69 @.***> wrote ---

No thumbnails are generated

ffprobe returns this on the problematic file

Stream #0:1[0x65]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:20x66: Audio: aac_latm (LC) ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp Stream #0:30x6a: Unknown: none ([17][0][0][0] / 0x0011) (visual impaired) (descriptions) (dependent) Stream #0:40x69: Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) No Program Stream #0:0[0x12]: Data: epg

Log file contains this

Nov 5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]: self.loadMedia(filename) Nov 5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]: File "/app/lib/python3.10/site-packages/vidcutter/videocutter.py" , line 989, in loadMedia Nov 5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]: self.videoService.setMedia(self.currentMedia) Nov 5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]: File "/app/lib/python3.10/site-packages/vidcutter/libs/videoservi ce.py", line 94, in setMedia Nov 5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]: [stream for stream in self.media.streams if stream.codec_type = = codec_type.lower()]) Nov 5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]: File "/app/lib/python3.10/site-packages/vidcutter/libs/videoservi ce.py", line 94, in Nov 5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]: [stream for stream in self.media.streams if stream.codec_type = = codec_type.lower()]) Nov 5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]: File "/app/lib/python3.10/site-packages/vidcutter/libs/munch.py", line 104, in getattr Nov 5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]: raise AttributeError(k) Nov 5 21:56:57 zolly com.ozmartians.VidCutter.desktop[40893]: 2023-11-05 21:56 - root - CRITICAL - <class 'AttributeError'>: code c_type

I do not mind downloading and installing from the source code to get this working...including ffmpeg if that is causing the problem.

Any feedback is welcome.

Thanks

Jason

— Reply to this email directly, https://github.com/ozmartian/vidcutter/issues/392, or https://github.com/notifications/unsubscribe-auth/ABALOS2C3JERO3XADUOECR3YC6MKVAVCNFSM6AAAAAA66LPWYWVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3TOOBQGM4TSNI. You are receiving this because you are subscribed to this thread.

jason-a69 commented 8 months ago

I just installed mpv and the video plays fine.

It only fails on HD files, SD ones are fine. Would you like me to send you an example?

ozmartian commented 8 months ago

Yep, thanks. Just file share a small example file and post a link.

Thanks!

---- On Tue, 14 Nov 2023 16:46:07 +1100 jason-a69 @.***> wrote ---

I just installed mpv and the video plays fine.

It only fails on HD files, SD ones are fine. Would you like me to send you an example?

— Reply to this email directly, https://github.com/ozmartian/vidcutter/issues/392#issuecomment-1809584352, or https://github.com/notifications/unsubscribe-auth/ABALOS6JQL7WHU2RG4XSY43YEMAR7AVCNFSM6AAAAAA66LPWYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBZGU4DIMZVGI. You are receiving this because you commented.

jason-a69 commented 8 months ago

Hi again,

Give this a go

https://jjactn.mooo.com/nextcloud/s/az2cZm35Rgxkdkb

ozmartian commented 8 months ago

Heya,

Link ain't working. ERR_CONNECTION_REFUSED

---- On Tue, 14 Nov 2023 17:13:04 +1100 jason-a69 @.***> wrote ---

Hi again,

Give this a go

https://jjactn.mooo.com/nextcloud/s/az2cZm35Rgxkdkb

— Reply to this email directly, https://github.com/ozmartian/vidcutter/issues/392#issuecomment-1809604550, or https://github.com/notifications/unsubscribe-auth/ABALOS4WIEHNET7UF67T2ILYEMDXBAVCNFSM6AAAAAA66LPWYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBZGYYDINJVGA. You are receiving this because you commented.

jason-a69 commented 8 months ago

Sorry, can you try again, I have been bouncing that machine trying to fix ALSA problems.

It's up now, can you please grab the file, I won't restart it until you have.

ozmartian commented 8 months ago

Great. Working now and got the file. Will take a look when able soon.

Cheers

---- On Tue, 14 Nov 2023 19:20:04 +1100 jason-a69 @.***> wrote ---

Sorry, can you try again, I have been bouncing that machine trying to fix ALSA problems.

It's up now, can you please grab the file, I won't restart it until you have.

— Reply to this email directly, https://github.com/ozmartian/vidcutter/issues/392#issuecomment-1809730736, or https://github.com/notifications/unsubscribe-auth/ABALOS5Z22TQRTQUQ6J4DQ3YEMSTJAVCNFSM6AAAAAA66LPWYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBZG4ZTANZTGY. You are receiving this because you commented.

ozmartian commented 8 months ago

Tested and all is working on my end. Only two thumbnails generated in the timeline due to the video length. This must be a Flatpak specific issue so will need to do more testing with flatpak later.

What Linux distro are you using by the way?

Thanks

---- On Tue, 14 Nov 2023 19:20:04 +1100 jason-a69 @.***> wrote ---

Sorry, can you try again, I have been bouncing that machine trying to fix ALSA problems.

It's up now, can you please grab the file, I won't restart it until you have.

— Reply to this email directly, https://github.com/ozmartian/vidcutter/issues/392#issuecomment-1809730736, or https://github.com/notifications/unsubscribe-auth/ABALOS5Z22TQRTQUQ6J4DQ3YEMSTJAVCNFSM6AAAAAA66LPWYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBZG4ZTANZTGY. You are receiving this because you commented.

ozmartian commented 8 months ago

One more thing. The flatpak was updated a day or so ago so make sure to try upgrading it as the latest update includes a newer FFMpeg 6.1 plus many other updates.

Thanks

---- On Tue, 14 Nov 2023 19:20:04 +1100 jason-a69 @.***> wrote ---

Sorry, can you try again, I have been bouncing that machine trying to fix ALSA problems.

It's up now, can you please grab the file, I won't restart it until you have.

— Reply to this email directly, https://github.com/ozmartian/vidcutter/issues/392#issuecomment-1809730736, or https://github.com/notifications/unsubscribe-auth/ABALOS5Z22TQRTQUQ6J4DQ3YEMSTJAVCNFSM6AAAAAA66LPWYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBZG4ZTANZTGY. You are receiving this because you commented.

jason-a69 commented 8 months ago

Just download flatpak v6.5.0.3 on Pop OS (which looks to be about a month old) from the Pop OS shop and that did not work.

I tried

flatpak install flathub com.ozmartians.VidCutter
flatpak run com.ozmartians.VidCutter

And that installed v6.5.0.1

I am still getting errors with both versions but I am guessing that I do not have the latest version?