Replies
- Brajesh Singh on February 23, 2020 at 4:31 pm in reply to: [Resolved] Trans coder thumbnail quality #27872
You are welcome.
- Brajesh Singh on February 23, 2020 at 4:31 pm in reply to: Local Transcoder – Would like video in orginal resolution up to 1080 x 1920 #27871
Hi Tony,
1. We do not check the quality of video and currently let the defaults work. I believe, It can be checked using ffprobe
https://superuser.com/questions/841235/how-do-i-use-ffmpeg-to-get-the-video-resolutionWe do not have this currently.
The code to run FFMPEG for video conversions are on line 57 – 61.
You can most probably append-s {$width}x{$height}"e.g
-s 1080x1920But, It will error out for videos of lower resolution.
Also, we are not FFMPEG experts currently. Our goal with the plugin is to provide people a way to make videos playable over web and that’s all. There are limitations when we are calling the executable via php. We do hope to overcome limitation of this implementation by offering a microservice for conversion of videos in future.
We assume that people needing more sophisticated implementation will go for custom development. This is a bare minimal implementation.
Please feel free to look into FFMPEG docs and modify the plugin as you please
https://ffmpeg.org/documentation.htmlRegards
Brajesh - Brajesh Singh on February 22, 2020 at 9:12 pm in reply to: [Resolved] Trans coder thumbnail quality #27867
Thank you.
Sure.
1. For Thumbnail
mpp-local-transcoder/src/core/class-mpplt-encoder.php line number 1992. For video conversion:-
mpp-local-transcoder/src/core/class-mpplt-encoder.php line number 57-61Regards
Brajesh Marking it resolved in favour of https://buddydev.com/support/forums/topic/try-again-transcoder-set-up-help-with-purchased-support/
Regards
Brajesh- Brajesh Singh on February 22, 2020 at 8:59 pm in reply to: Try again Transcoder set up help – with purchased support #27863This reply has been marked as private.
- Brajesh Singh on February 22, 2020 at 8:58 pm in reply to: [Resolved] Trans coder thumbnail quality #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
- Brajesh Singh on February 22, 2020 at 6:10 pm in reply to: Try again Transcoder set up help – with purchased support #27856This reply has been marked as private.
- Brajesh Singh on February 22, 2020 at 5:41 pm in reply to: Try again Transcoder set up help – with purchased support #27854This reply has been marked as private.
- Brajesh Singh on February 22, 2020 at 5:26 pm in reply to: Try again Transcoder set up help – with purchased support #27853
Hi Tony,
Seems you have the cron tab configured as I can see some videos got converted.Since the cron jobs are user specific, you can check it by using the command
crontab -eto see if you added for the WordPress install or not.
PS:- Next private message will provide details on what needs to be done in future if you need to recreate it.
Regards
Brajesh - Brajesh Singh on February 22, 2020 at 5:14 pm in reply to: Try again Transcoder set up help – with purchased support #27851
OOps, I was incorrect.
The preview generation is supported in the current version. I thought, It was still a work in progress.
The current video is not showing that as I had re queued it from your errored out file.
Please try uploading a new file and see if it generates or not?
PS:- I did not check the cron job, do you have it setup?