BuddyDev

Search

[Resolved] Trans coder thumbnail quality

  • Participant
    Level: Enlightened
    Posts: 57
    Tony on #27861

    Hello –

    I would like a higher resolution thumbnail from the local transcoder.
    Is it possible to adjust the ffmpeg script to produce a higher quality image?
    Thank you.

  • Keymaster
    (BuddyDev Team)
    Posts: 24636
    Brajesh Singh on #27862

    Hi Tony,
    Currently, we ar eusing following command to extract an image

    
    "ffmpeg -i {$file} -ss 1.5 -progress {$log_file} -vframes 1 $cover_file_path";
    

    It extracts 1 frame from your video at default resolution and uses that as cover.

    Currently, we are not aware of a better way to do it as a generalization, so there is not much we can offer with it.

    Sorry for the inconvenience.

    Brajesh

  • Participant
    Level: Enlightened
    Posts: 57
    Tony on #27866

    Thank you for everything. Can you tell me where the ffmpeg script code is that you use to pass parameters to FFMPEG?

  • Keymaster
    (BuddyDev Team)
    Posts: 24636
    Brajesh Singh on #27867

    Thank you.

    Sure.

    1. For Thumbnail
    mpp-local-transcoder/src/core/class-mpplt-encoder.php line number 199

    2. For video conversion:-
    mpp-local-transcoder/src/core/class-mpplt-encoder.php line number 57-61

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 57
    Tony on #27868

    thank you!

  • Keymaster
    (BuddyDev Team)
    Posts: 24636
    Brajesh Singh on #27872

    You are welcome.

You must be logged in to reply to this topic.

This topic is: resolved