• Resolved momkin

    (@momkin)


    Hello , first of all i wanna thank you very much for this good plugin ,
    and i really need your help with original file name ,

    after the FFMPEG encode finished i got 3 files
    test.mp4 ( original )
    test-360.mp4
    test-custom.mp4

    what i need is adding 720 to the original file name like test.mp4 to something like test-720.mp4

    is it possible ? if yes can you please tell me what i change ?

    • This topic was modified 8 years, 8 months ago by momkin.
Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter momkin

    (@momkin)

    HI Kyle
    is it ok if you want me to test them
    the website still new , so nothing to be lost really

    Plugin Author Kyle Gilman

    (@kylegilman)

    Ok, I think this will work better.

    In order to circumvent some file cleanup routines, instead of keeping -fullres we’ll change it to -highest, which I’ve chosen arbitrarily and you can change to anything you want.

    At line 7854 instead of my earlier idea

    $new_filename = str_replace('-fullres.mp4', '-highest.mp4', $encoded_filename);
    $new_url = str_replace('.mp4', '-highest.mp4', $video_encode_queue[$video_key]['movieurl']);

    To change the order of encoding, let’s try just moving fullres to the bottom of the list by unsetting and re-setting it.

    Before line 521 instead of my earlier idea with $new_video_format_keys_order try this

    $fullres_format = $video_formats['fullres'];
    unset($video_formats['fullres']);
    $video_formats['fullres'] = $fullres_format;
    Thread Starter momkin

    (@momkin)

    IT worked !!

    thank you man you are the best !!!

Viewing 3 replies - 16 through 18 (of 18 total)

The topic ‘request Please !’ is closed to new replies.