VOD checklist #5

Open
opened 2023-08-10 19:18:35 +00:00 by CJ_Clippy · 0 comments
Owner

This is a manual process. Will likely be codified into js at some point for improved speed.

  • Create new VOD entry at https://portal.futureporn.net/admin

  • Enter announceUrl

  • Enter announceTitle

  • Enter date (Strapi uses your system's local time)

  • Enter vtuber

  • (if multiple segments) Verify vod segments are same resolution

    ffmpeg -i ./file1.mp4
    ffmpeg -i ./file2.mp4

  • (if multiple segments) combine .ts segments into .mp4

ffmpeg -f concat -safe 0 -i ./files.txt -c copy ./projektmelody-chaturbate-2023-07-18.mp4
  • Verify vod is a valid mp4 file

file ./projektmelody-chaturbate-2023-07-18.mp4

  • Upload .mp4 to b2
$ b2-linux upload-file --profile futureporn futureporn ./projektmelody-chaturbate-2023-08-02.mp4 projektmelody-chaturbate-2023-08-02.mp4
$ sudo -u ipfs ipfs add --cid-version=1 ./projektmelody-chaturbate-2023-08-02.mp4
POST https://cluster.sbtp.xyz:9094/pins/bafybeiber5sekkvgpg3mc4y7tzwisid72myamoondnum6zez65fgb66jtu
  • Enter CID into VOD entry as videoSrcHash

  • Use Bruno to generate MuxAsset

  • Use @futureporn/factory to generate thumbnail

    pn mocha -g getStoryboard

  • publish the VOD entry

This is a manual process. Will likely be codified into js at some point for improved speed. * Create new VOD entry at https://portal.futureporn.net/admin * Enter announceUrl * Enter announceTitle * Enter date (Strapi uses your system's local time) * Enter vtuber * (if multiple segments) Verify vod segments are same resolution ffmpeg -i ./file1.mp4 ffmpeg -i ./file2.mp4 * (if multiple segments) combine .ts segments into .mp4 ```text ffmpeg -f concat -safe 0 -i ./files.txt -c copy ./projektmelody-chaturbate-2023-07-18.mp4 ``` * Verify vod is a valid mp4 file `file ./projektmelody-chaturbate-2023-07-18.mp4` * Upload .mp4 to b2 ```text $ b2-linux upload-file --profile futureporn futureporn ./projektmelody-chaturbate-2023-08-02.mp4 projektmelody-chaturbate-2023-08-02.mp4 ``` * Create new B2 File entry at https://portal.futureporn.net/admin * Enter url, key, and entryId * Relate B2 File with VOD (foreign key videoSrcB2) * Add to IPFS ```text $ sudo -u ipfs ipfs add --cid-version=1 ./projektmelody-chaturbate-2023-08-02.mp4 POST https://cluster.sbtp.xyz:9094/pins/bafybeiber5sekkvgpg3mc4y7tzwisid72myamoondnum6zez65fgb66jtu ``` * Enter CID into VOD entry as videoSrcHash * Use Bruno to generate MuxAsset * Use `@futureporn/factory` to generate thumbnail pn mocha -g getStoryboard * publish the VOD entry
CJ_Clippy added this to the test projekt project 2023-12-05 03:18:07 +00:00
CJ_Clippy added the
process
label 2024-03-18 06:17:14 +00:00
Sign in to join this conversation.
No description provided.