jeanslack / Videomass-presets

A collection of additional presets for the Videomass application
GNU General Public License v3.0
23 stars 4 forks source link

Adding presets #4

Closed robouden closed 1 year ago

robouden commented 1 year ago

Hi,

I like to add some presets for Davinci Resolve conversions for Linux. How to do that?

Regards, rob Oudendijk

jeanslack commented 1 year ago

Hi,

  1. The simplest is to attach here a *.prst file (in json code) that can be exported from the Videomass Presets Manager.

  2. Post them directly here in this issue, for example:

    Profile name: Basic vp9
    Description: Basic commands with default settings
    Pass 1: -pass 1 -an -sn -c:v libvpx-vp9 -b:v 0k -deadline good -cpu-used 1 -row-mt 1 -f webm
    Pass 2: -pass 2 -c:v libvpx-vp9 -b:v 0k -deadline good -cpu-used 1 -row-mt 1 -f webm
    Supported formats list:
    Output format: webm
    Profile name: From WMA 9 to WAV
    Description: Converts wma9 files to wav format
    Pass 1: -map_metadata 0
    Pass 2: 
    Supported formats list:
    Output format: wav
  3. Creating a pull request with adding your new presets, but that's a little more complicated if it's your first time doing it.

You can choose one of these three options.

robouden commented 1 year ago

Davinci Resolve Linux preset: [ { "Name": "Davinci resolve convert", "Description": "Davinci resolve convert", "First_pass": "-vcodec mjpeg -q:v 2 -acodec pcm_s16be -q:a 0 -f mov", "Second_pass": "", "Supported_list": "", "Output_extension": "mov" } ]

robouden commented 1 year ago

Hi,

Seems your repo is read only. Maybe you can pull from my repo at https://github.com/robouden/VideoMass_presets?

Regards, rob

On Tue, Jun 20, 2023 at 6:32 PM Gianluca Pernigotto < @.***> wrote:

Hi,

1.

The simplest is to attach here a *.prst file (in json code) that can be exported from the Videomass Presets Manager. 2.

Post them directly here in this issue, for example:

Profile name: Basic vp9 Description: Basic commands with default settings Pass 1: -pass 1 -an -sn -c:v libvpx-vp9 -b:v 0k -deadline good -cpu-used 1 -row-mt 1 -f webm Pass 2: -pass 2 -c:v libvpx-vp9 -b:v 0k -deadline good -cpu-used 1 -row-mt 1 -f webm Supported formats list: Output format: webm

Profile name: From WMA 9 to WAV Description: Converts wma9 files to wav format Pass 1: -map_metadata 0 Pass 2: Supported formats list: Output format: wav

  1. Creating a pull request with adding your new presets, but that's a little more complicated if it's your first time doing it.

You can choose one of these three options.

— Reply to this email directly, view it on GitHub https://github.com/jeanslack/Videomass-presets/issues/4#issuecomment-1598437813, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKSVNRQKPQMJMN7VVVEE4LXMFUW5ANCNFSM6AAAAAAZM4M3ZU . You are receiving this because you authored the thread.Message ID: @.***>

johannesdedoper commented 1 year ago

I also use DV Resolve on Linux. Nice. Normally you just have to encode the audio. See my presets to copy the video and convert audio only to PCM. Because of the audio in PCM most of the times the file gets bigger but I want to be sure none of the video/audio quality gets lost. This way video is NOT encoded and audio is encoded in the highest quality. Furthermore this is very fast, takes only a few seconds per file. Also you can use the MKV or MOV container, DVR will work with both.

-c:v copy -c:a pcm_s16le -c:s copy

cheers. J.

robouden commented 1 year ago

J,

As far as I have tested, in DR (you can not use (at least not in the free version), use MKV files. If that works for you, please tell me how to do that.

Regards, rob

On Tue, Jun 20, 2023 at 10:08 PM johannesdedoper @.***> wrote:

I also use DV Resolve on Linux. Nice. Normally you just have to encode the audio. That are my presets to copy the video and convert audio only to PCM. Because of the audio in PCM most of the times the file gets bigger but I want to be sure none of the video/audio quality gets lost. This way video is NOT encoded and audio is encoded in the highest quality. Furthermore this is very fast, takes only a few seconds per file. Also you can use the MKV or MOV container, DVR will work with both.

-c:v copy -c:a pcm_s16le -c:s copy

cheers. J.

— Reply to this email directly, view it on GitHub https://github.com/jeanslack/Videomass-presets/issues/4#issuecomment-1598739265, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKSVNVM2MMAXUHD2TL3DYDXMGOA5ANCNFSM6AAAAAAZM4M3ZU . You are receiving this because you authored the thread.Message ID: @.***>

johannesdedoper commented 1 year ago

@robouden : you are right, I have the Studio version. But you can also do the mentioned audio conversion in a MOV container. Both containers accept PCM audio.

So just use the preset -c:v copy -c:a pcm_s16le -c:s copy and set the container to MOV.

HOWEVER, when your file has 2 streams you should specify which one you want to keep as MOV does not support more than 1 stream as MKV does. Just use the preset settings below:

-c:v copy -c:a pcm_s16le -map 0:v:0 -c:s copy

The -map 0:v:0 indicates the first stream.

Cheers, J.

jeanslack commented 1 year ago

your repo is read only. Maybe you can pull from my repo at https://github.com/robouden/VideoMass_presets?

@robouden

It can't be read-only, if it was I wouldn't be able to push the changes.

If you only have the preset you posted here, don't pull request now please. As soon as I have some more time I will add it to the presets list and send you the link in this post.

Thank you for sharing your preset!

jeanslack commented 1 year ago

Hi, Sorry if I'm late,

@johannesdedoper I have made a selection of your NVidia accelerated video encoding presets and have posted them here, they may be useful for some users.

@robouden I've added a new folder containing your Davinci Resolve Linux preset. Feel free to add new profiles related to the Davinci Resolve Linux preset using the .prst file inside that folder. I've also created a new wiki page (work in progress) which will contain Guidelines for sharing Videomass presets.

Thanks a lot to both!

robouden commented 1 year ago

Jean,

Better late than not.

Warm regards, Rob Oudendijk

On Mon, Jul 3, 2023 at 10:12 PM Gianluca Pernigotto < @.***> wrote:

Hi, Sorry if I'm late,

@johannesdedoper https://github.com/johannesdedoper I have made a selection of your NVidia accelerated video encoding presets and have posted them here https://github.com/jeanslack/Videomass-presets/tree/master/NVidia%20accelerated%20video%20encoding, they may be useful for some users.

@robouden https://github.com/robouden I've added a new folder containing your Davinci Resolve Linux preset https://github.com/jeanslack/Videomass-presets/tree/master/Davinci%20Resolve%20Linux. Feel free to add new profiles related to the Davinci Resolve Linux preset using the .prst file inside that folder. I've also created a new wiki page (work in progress) which will contain Guidelines for sharing Videomass presets https://github.com/jeanslack/Videomass-presets/wiki/Guidelines-for-sharing-Videomass-presets .

Thanks a lot to both!

— Reply to this email directly, view it on GitHub https://github.com/jeanslack/Videomass-presets/issues/4#issuecomment-1618236225, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKSVNVYBRPY4RB2CUD5AR3XOLAI5ANCNFSM6AAAAAAZM4M3ZU . You are receiving this because you were mentioned.Message ID: @.***>