https://bugs.kde.org/show_bug.cgi?id=474883

            Bug ID: 474883
           Summary: Videos exported from Kdenlive cannot be pulled into
                    iPhone Photos App due to the Codec ID. (hev1 vs hvc1)
    Classification: Applications
           Product: kdenlive
           Version: 23.08.1
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Video Display & Export
          Assignee: j...@kdenlive.org
          Reporter: chrisver...@gmail.com
  Target Milestone: ---

SUMMARY

I was having a hard time figuring out why I was not able to pull any video
rendered from KdenLive from Telegram right into my iPhone camera roll. This is
a workflow thing I use to upload shorts to YouTube because they only let you
choose the thumbnail for the video if it is uploaded from your mobile device. 

I made sure first the problem was coming from Kdenlive, and I did detailed
comparisons and analysis using mediainfo. I determined that KdenLive exports
H265 videos with the hev1 Codec ID and I noticed that my other video editor
exported H265 with the hvc1 Codec ID. 

Any and all videos I exported so far with Kdenlive are not able to be
downloaded from Telegram into iPhone Photos App. They do however play in
Telegram and the videos themselves are fine, this is just a compatibility
problem that might be specific to iOS (QuickTime). 

After running this FFMPEG command on a H265 video exported in KdenLive:
 ffmpeg -i <inputfile>.mov -c:v copy -tag:v hvc1 -c:a copy <output-hvc1>.mov

Then uploaded the new file to Telegram, I can now pull it into the iPhone
camera roll like usual. 

STEPS TO REPRODUCE

1. Export a H265 video from Kdenlive (the issue is not specific to H265 I also
experienced the same with H264 but my preferred render codec is hevc_nvenc).
2. Upload it to Telegram Saved Messages in order to pull the video into iPhone
camera roll 
3. Save the video into your iPhone camera roll. 

OBSERVED RESULT
If the video does not appear in camera roll, this is the problem I was
experiencing. 

EXPECTED RESULT

After changing the Codec ID using the ffmpeg command, it now works to grab the
file from Telegram into the iPhone Photos app. 

SOFTWARE/OS VERSIONS
Not specific to the OS but I am on Windows 11. 

ADDITIONAL INFORMATION

Stack overflow article that helped me solve it:
https://stackoverflow.com/questions/32152090/encode-h265-to-hvc1-codec

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to