PeerTube icon indicating copy to clipboard operation
PeerTube copied to clipboard

peertube-cli uploaded image replaced by peertube

Open spirillen opened this issue 7 months ago • 13 comments

Describe the current behavior

As you can see here, https://mypdns.youtrack.cloud/articles/DMCA-A-4, I do add a image to the video on upload, however, this is getting replaced by the prunner

Image

Image

Also: is it possible to let the peertube-cli upload handle the Original publication date?? as it is easily extracted with yt-dlp

related topics

  • https://ideas.joinpeertube.org/posts/290/set-arguments-for-yt-dlp-from-within-the-web-interface
  • https://ideas.joinpeertube.org/posts/289/manage-new-content-before-release

Steps to reproduce

  1. download videos with https://github.com/if-you-want-peace-prepare-for-war/Peertube-tool
  2. Upload videos with https://github.com/if-you-want-peace-prepare-for-war/Peertube-tool
  3. Wait for the (p)runner to finish

Describe the expected behavior

Using the image I uploaded

Additional information

  • PeerTube instance:

    • URL: https://tube.matrix.rocks/videos/3tSJnsSgHqYB4QMc2yjWuM
    • Version: 7.1.1
    • NodeJS version: v20.19.2
    • Ffmpeg version: N-71064-gd5e603ddc0-static https://johnvansickle.com/ffmpeg/
  • Browser name, version and platforms on which you could reproduce the bug:

  • Link to browser console log if relevant: Not related

  • Link to server log if relevant (journalctl or /var/www/peertube/storage/logs/): nope

spirillen avatar May 18 '25 16:05 spirillen

Hello,

I can't access your links (for example: https://mypdns.youtrack.cloud/articles/DMCA-A-3)

Chocobozzz avatar May 20 '25 12:05 Chocobozzz

Hello,

I can't access your links (for example: https://mypdns.youtrack.cloud/articles/DMCA-A-3)

Ahh yeah, that was the one I moved do to the user limits....

New location, and OT updated, https://github.com/if-you-want-peace-prepare-for-war/Peertube-tool

spirillen avatar May 22 '25 01:05 spirillen

Do you reproduce with 7.2-rc.1?

Chocobozzz avatar May 26 '25 07:05 Chocobozzz

Do you reproduce with 7.2-rc.1?

Actually yes, 5 times in a row to day, and the original images is scaled to a very little thumb,

If you like any special, please let me know and I'll try to deliver next time I can see

spirillen avatar May 26 '25 16:05 spirillen

Could you please provide the URL of one of these videos? https://tube.matrix.rocks/videos/3tSJnsSgHqYB4QMc2yjWuM doesn't work anymore

Chocobozzz avatar May 27 '25 14:05 Chocobozzz

https://tube.matrix.rocks/w/3tSJnsSgHqYB4QMc2yjWuM check the addressm then I don't know if I forgot a return in Nginx conf, but this address is working

sed 's/video/w/'

Image

spirillen avatar May 27 '25 17:05 spirillen

Thanks, is the video preview replaced directly after the upload? Or after the transcoding step?

Chocobozzz avatar May 28 '25 06:05 Chocobozzz

I remember it as directly after the upload

But let me check this later today to be all certain, you can of course also just sign up and test ;)

spirillen avatar May 28 '25 09:05 spirillen

Yep, before encoding

Image

Before trans:

Image

After trans:

Image


Image

Image

spirillen avatar May 28 '25 18:05 spirillen

Please enable debug logs on your instance and send them to me (by email for example, in my github profile) starting from when you upload the video to the time you observe the thumbnail is replaced

Chocobozzz avatar May 30 '25 13:05 Chocobozzz

Hi @Chocobozzz the log is here https://framagit.org/spirillen/peertube-debug

But let me be honest.. your my eyes in this case :sob:

spirillen avatar May 30 '25 16:05 spirillen

I would need info logs :)

Chocobozzz avatar Jun 02 '25 06:06 Chocobozzz

Send me the complete command, and I'll parse it to night-ish as I've saved a queue of files for you.

spirillen avatar Jun 02 '25 10:06 spirillen

Fresh logs for 7.2.0, same stoty

https://framagit.org/spirillen/peertube-debug/-/tree/master/logs-2025-06-14?ref_type=heads

spirillen avatar Jun 14 '25 16:06 spirillen

Please configure your captions bucket: https://github.com/Chocobozzz/PeerTube/blob/develop/config/default.yaml#L266

Chocobozzz avatar Jun 16 '25 06:06 Chocobozzz

it is...

Image

Throwing the full config on framagit

spirillen avatar Jun 16 '25 13:06 spirillen