Skip to content

Videos: QuickTime files are ignored by the convert command #3525

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

Closed
mario-g98 opened this issue Jul 6, 2023 · 2 comments
Closed

Videos: QuickTime files are ignored by the convert command #3525

mario-g98 opened this issue Jul 6, 2023 · 2 comments
Assignees
Labels
bug Something isn't working released Available in the stable release video Video Formats, Transcoding, FFmpeg, Streaming & Co

Comments

@mario-g98
Copy link

mario-g98 commented Jul 6, 2023

1. What is not working as documented?

When trying to transcode video files using the CLI command photoprism convert QuickTime videos get skipped.

2. How can we reproduce it?

Steps to reproduce the behavior:

  1. Download this sample
  2. Place it in Originals folder
  3. Index it through the GUI
  4. Run photoprism convert in terminal

3. What behavior do you expect?

The video should get transcoded, but instead it is skipped.

4. What could be the cause of your problem?

Maybe the CLI command is not configured properly?

5. Can you provide us with example files for testing, error logs, or screenshots?

Screenshot from 2023-07-07 12-21-23

After the command is finished, I go to the gallery and open the video. It then starts transcoding.
Screenshot from 2023-07-07 12-21-57

6. Which software versions do you use?

(a) PhotoPrism Architecture & Build Number: 230625-17242fb07-Linux-AMD64-Plus

(b) Database Type & Version: MariaDB 11.0.2

(c) Operating System Types & Versions: Unraid OS 6.12.2

(d) Browser Types & Versions: Firefox 115.0

7. On what kind of device is PhotoPrism installed?

(a) Device / Processor Type: Intel Core i3-7100

(b) Physical Memory & Swap Space in GB: 16GB

(c) Storage Type: HDD

@mario-g98 mario-g98 added the bug Something isn't working label Jul 6, 2023
@graciousgrey graciousgrey moved this to Upcoming ⏳ in Roadmap 🚀✨ Jul 13, 2023
lastzero added a commit that referenced this issue Jul 18, 2023
Signed-off-by: Michael Mayer <michael@photoprism.app>
@lastzero lastzero changed the title QuickTime Videos get skipped by "photoprism convert" Videos: QuickTime files are skipped when running the convert command Jul 18, 2023
@lastzero lastzero changed the title Videos: QuickTime files are skipped when running the convert command Videos: QuickTime files are not transcoded by the convert command Jul 18, 2023
@lastzero lastzero changed the title Videos: QuickTime files are not transcoded by the convert command Videos: QuickTime files are ignored by the convert command Jul 18, 2023
@lastzero
Copy link
Member

@mario-g98 @theresagresch As it turned out, the photoprism convert command only checked if the video codec is AVC, without also checking if the container is MP4 or has another format like MOV (QuickTime).

Transcoding should not be skipped because some browsers cannot play certain QuickTime AVC videos. My changes improve format checking so that the conversion command no longer skips QuickTime files. An updated development preview will be available for testing soon!

@lastzero lastzero added please-test Ready for acceptance test video Video Formats, Transcoding, FFmpeg, Streaming & Co labels Jul 18, 2023
@lastzero lastzero moved this from Upcoming ⏳ to Preview 🐳 in Roadmap 🚀✨ Jul 18, 2023
@lastzero
Copy link
Member

Release Notes haven been updated: https://docs.photoprism.app/release-notes/#development-preview

@lastzero lastzero moved this from Preview 🐳 to Released 🌈 in Roadmap 🚀✨ Jul 19, 2023
@lastzero lastzero added released Available in the stable release and removed please-test Ready for acceptance test labels Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released Available in the stable release video Video Formats, Transcoding, FFmpeg, Streaming & Co
Projects
Status: Release 🌈
Development

No branches or pull requests

2 participants