Audio-Video Sync Issues with PeerTube Downloads

Hi everyone,

We have found that the video and audio tracks are often out of sync when we download videos from PeerTube and import them into Adobe Premiere. We have also observed that Premiere displays different lengths depending on the resolution. For example, a video is 3:38 minutes long according to the player in PeerTube; but after downloading, the 1080p and 720p versions are shown in Adobe Premiere as only 2:56 minutes long, while the 480p and 360p versions are shown as exactly 3 minutes.

According to Premiere, all of these downloaded videos have 30 fps. A check with ffmpeg also showed that none of the videos have a variable frame rate.

We now have the following questions:

  • Are videos encoded with a variable frame rate in PeerTube by default?

  • Are issues with audio-video synchronization known when working with videos downloaded from PeerTube, possibly specifically in Adobe Premiere?

  • Is there a workaround?

We are using PeerTube 7.3 largely out of the box, but with the “transcoding-custom-quality” plugin (version 0.1.0) using the “perfect” setting. On a test system, we are now installing version 0.2.0.

Thank you
Oliver

Hello,

No, we use a constant framerate

Yes, we are.

Is your video a regular upload or a save replay from a live?

Thank you for your reply!

All videos are regular uploads. The video I used was a screencast. The upload was an mp4 file created with one of Handbrake’s default settings.

I think that all or most videos are affected. A colleague is still investigating whether the input file might make a difference.

Can you paste the video URL and the input file so I try to reproduce?

I’d rather not share the URL of the (unlisted) video I mentioned earlier, but here are two short examples. In both videos, audio and video are out of sync in Premiere.

  1. Endgeräte in der beruflichen Bildung: KMK-Kompetenzbereich in der digitalen Welt: Suchen, Verarbeiten und Aufbewahren - video.hoou.de
  • 24 fps

  • duration (PeerTube): 1:04

  • duration (Premiere): 0:56

  1. Erklärvideo: So konditionieren uns Apps - video.hoou.de
  • 24 fps

  • duration (PeerTube): 0:59

  • duration (Premiere): 0:48

Can you try in Premiere using Lufi ?

Thank you very much! My colleague tells me that your file doesn’t cause any problems in Premiere.

Now I’m unsure what that means: Can you give us a workflow for preparing the videos exported from PeerTube for Premiere? Or can we adjust the encoding settings in PeerTube?

The latter would be ideal for us. Most of our videos are freely licensed. They can (and should) be used to create new educational materials.

Try to enable « Web videos Â» transcoding in « Settings Â» → « Configuration Â» → « VOD Â». It will multiply storage by 2, but also produce files compatible with Adobe Premiere.

To generate « web video Â» version of old videos, just run « Run Web Video transcoding Â» in « Overview Â» → « Videos Â» → ... button.

1 Like

Thank you again. Our instance now generates web videos, and their processing in Premiere works without any issues.

However, we are now facing a different problem: When clicking the download button, the “Video” view opens and only offers HLS variants for download. The web videos are only available in the separate “Video files” view. The HLS variants are not explicitly labeled as such, whereas the web videos can be identified from the URL.

Would it be possible to simplify this and make only the web videos available for download?

Thank you for your feedback.

Please see Add an option to disable the new Download panel · Issue #6690 · Chocobozzz/PeerTube · GitHub

1 Like