GithubHelp home page GithubHelp logo

rtcamp / transcoder Goto Github PK

View Code? Open in Web Editor NEW
10.0 45.0 17.0 8.39 MB

This WordPress plugin, useful to transcode audio and video file from any format to mp3 and mp4 respectively. Also it will generate thumbnails of videos.

Home Page: https://rtmedia.io/transcoder/

License: GNU General Public License v2.0

JavaScript 25.22% CSS 1.35% PHP 58.40% Shell 0.22% TypeScript 14.80%

transcoder's Introduction

Transcoder

Transcoding services for ANY WordPress website. Convert audio/video files of any format to a web-friendly format (mp3/mp4).

Handcrafted Enterprise WordPress Solutions by rtCamp

Transcoder Banner

Description

Transcoder easily converts all audio and video files uploaded to your website to a web-friendly format.

Transcoder eliminates the need for a dedicated media node- no fiddling with installation, managing dependancies or renting servers! Transcoder also works on shared hosting- just install, subscribe and go!

All transcoding services are available via a subscription plan through this plugin. Subscribe to our free plan from the plugin's settings or from our product page. Note that Transcoder will not provide any services without a subscription plan.

Supported input media types:

  • Audio: mp3, m4a, wav, ogg, wma
  • Video: 3g2, 3gp, avi, flv, m4v, mp4, mpg, ogv, webm, wmv

Supported output media types:

  • Audio: mp3
  • Video: mp4

Create the ultimate niche community by combining Transcoder with our rtMedia plugin. Transcoder works perfectly with rtMedia to create a social experience that is accessible across all desktop and mobile devices.

Transcoder Features

  1. Works with ANY WordPress website - Transcoder plugs into your current website seamlessly, instantly improving user audio/video experience.
  2. rtMedia integration - Works perfectly with our own rtMedia, for a complete social media platform.
  3. Thumbnail generation - Automatically generate up to 10 thumbnails for every video, from which your users can choose one.
  4. [rt_media] shortcode - Use our shortcode to display transcoded audio/video file on any post or page. For example, [rt_media attachment_id=xx] the attachment_id parameter specifies the file to be displayed.

Privacy Warning

In order for us to transcode your media files, we need to copy it over to our server. After transcoding is completed, the media can reside on our server for a maximum of 24 hours, before it is permanently and irreversibly removed by a Cron job.

Future Roadmap

  • Additional output formats for video- ogg, webm
  • Downsampling capabilities for output video resolution
  • RESTful API

Important Links

Installation

  • Install the plugin from the 'Plugins' section in your dashboard (Go to Plugins > Add New > Search and search for "Transcoder").
  • Alternatively, you can download the plugin from this plugin directory. After downloading, unzip and upload it to the plugins folder of your WordPress installation (wp-content/plugins/ directory of your WordPress installation).
  • Activate it through the 'Plugins' section.

Frequently Asked Questions

Please visit FAQ page. Read Documentation

Screenshots

  1. Transcoder Settings

Changelog

1.3.6 [February 27, 2024]

  • FIXED

  • Enhance security checks.

1.3.5 [October 20, 2023]

  • FIXED

  • Compatible with PHP8.1

  • Enhance security checks and fixed deprecation errors.

  • Fixed rtMedia attachment shortcode issue.

  • Fixed cancelled the subscription message issue.

  • Add support for custom API endpoint to transcode media.

1.3.4 [August 17, 2021]

  • FIXED

  • Transcoder plugin preventing read more from expanding

  • Compatibility with WordPress 5.8 and PHP 8.0

1.3.3 [April 13, 2021]

  • FIXED

  • License cannot be saved if the WordPress installation is in the sub-directory

1.3.2 [January 12, 2021]

  • FIXED

  • The conflict with temp_filename filter and modified the filter

  • Compatibility issues with WordPress 5.6

  • Conflicts with WP Job Manager plugin

  • PHP Notices and Warnings

1.3.1 [August 14, 2020]

  • ENHANCEMENTS

  • Update thumbnails after video is transcoded on BuddyPress’ activity and rtMedia’s media page.

  • FIXED

  • Compatibility issues with WordPress 5.5

  • PHP Notices and Warnings

  • PHPCS issues

1.3 [October 8, 2019]

  • NEW FEATURES

  • Extend Video mime types, to facilitate selection and transcoding of Videos in AMP Stories.

1.2.2 [July 12, 2018]

  • FIXED

  • Issue with Transcoding service on load balancing server

1.2.1 [June 26, 2018]

  • ENHANCEMENTS

  • Updated usage of existing filter 'rtt_transcoder_status_message' Documentation

  • FIXED

  • Issue with Transcoding service usage update

  • Issue with Transcoding process callback

1.2 [April 24, 2018]

  • NEW FEATURES

  • Added feature to track real-time transcoding process status on BuddyPress activity, media library page and media single page for administrators

  • Added option in transcoder settings page to enable/disable tracking of real-time transcoding process status feature

  • Added filter to change text of check status button Documentation

  • Added filter to manage transcoding process status messages Documentation

  • ENHANCEMENTS

  • Improved security of callback handler for transcoded media

  • FIXED

  • PHP notices generated while activating product license key

  • Transcoding issue for MOV file formats

  • Transcoding issue for the files having QuickTime MIME type

  • Issue with transcoded video files getting swapped in BuddyPress activity

1.1.2 [July 21, 2017]

  • ENHANCEMENTS

  • Added: Filter to allow adding a custom filename for the transcoded files Documentation

  • Replaced file_get_contents() with wp_remote_get() to have better server compatibility

1.1.1 [Jan 10, 2017]

  • FIXED

  • False positive result of localhost checking

1.1 [Dec 27, 2016]

  • NEW FEATURES

  • Retranscoding service to regenerate media thumbnails and retranscode media

  • Added option in settings to override the current video thumbnail after retranscoding

  • ENHANCEMENTS

  • Added filters to disable the emails getting sent to users and administrators Documentation

  • Added action before the transcoded thumbnails are stored

  • Added action before transcoded media is stored

  • Added action after callback response is processed

  • FIXED

  • Improved the condition checking and fixed several bugs

  • Fixed transcoded media not getting deleted bug

1.0.8 [Oct 05, 2016]

  • Update the notice messages
  • Fix broken media URL on multisite

1.0.7 [Sep 27, 2016]

  • Fix language directory path
  • Fix localhost check bug
  • Update URLs of multiple media present in single activity
  • Fix waiting message for files sent to the transcoder
  • Remove all the actions from function file and moved them to the actions file
  • Add new action when video thumbnail is set for video
  • Add thumbnail automatically for the videos uploaded from the rtmedia shortcode

1.0.6 [Sep 12, 2016]

  • Fix usage bar style issue
  • Display notice message when user trie to activate the transcoding service on local host
  • Add filters for transcoded media URLs
  • Transcoded thumbnails for videos uploaded from rtMedia plugin will get stored in respective members upload folder

1.0.5 [Sep 01, 2016]

  • Fix backward compatibility for PHP v5.3
  • Delete transcoded files when attachment is deleted
  • Display notice message to subscribe the transcoding service

1.0.4 [Aug 31, 2016]

  • Add rtt_wp_parse_url function to parse URL to add backward compatibility
  • Fix media is transcoding message bug

1.0.3 [Aug 30, 2016]

  • Remove warnings and notices related to the activity and media related pages
  • Show default media thumbnail when poster attribute is empty

1.0.2 [Aug 25, 2016]

  • Show message in rtMedia buddypress activity when media is sent to the transcoder
  • Remove notices and warnings
  • Update transcoded audio file URL in rtMedia activity

1.0.1 [Aug 24, 2016]

  • Add backward compatibility

1.0.0

Initial release

Transcoder 1.3.2, with WordPress 5.6 compatibility and some minor fixes and modification of transcoded_temp_filename filter.

transcoder's People

Contributors

alvitazwar avatar bhargavbhandari90 avatar chandra-patel avatar chandrapatel avatar dependabot-preview[bot] avatar devikvekariya avatar dharmin avatar dhaval-parekh avatar dhsathiya avatar hrithikdalal avatar kapilpaul avatar kiranpotphode avatar kirtangajjar avatar mangesh avatar manishsongirkar avatar mohdsayed avatar mrrobot47 avatar pathan-amaankhan avatar pavanpatil1 avatar pooja-muchandikar avatar rtbot avatar sagarnasit avatar sid177 avatar sohampatel46 avatar sourovroy avatar sudhir-yadav avatar thrijith avatar tremidkhar avatar utsav-ladani avatar vaishaliagola27 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

transcoder's Issues

Issue with re-transcoding the audio file

While re-transcoding the audio file the error message is displayed. Below error message is displayed.

The error message was: Unknown failure reason.

Steps to reproduce:

  1. activate the transcoder plugin and upload the audio file.
  2. Click on re-transcode media
Upload.New.Media.Pavan.WordPress.mp4

After changing the laravel server api url, retranscoding of the file(s) which were not transcoded should be transcoded

Please check the below steps:

  1. Assume that your site points to some api.xyz.com api server and is not working properly.
  2. Now, Upload the file from the front end (Activity Page / Media Page)
  3. It will send the file to api server but because of some technical issue file is not getting transcoded.
  4. Now, Change the api server url to correct one
  5. Try Retranscoding the same media file.
  6. Observe that the file is not getting transcoded and it will show the message - Looks like the server is taking too long to respond, Please try again in some time.

Please check visual - https://drive.google.com/file/d/1-llEWFj-STGGGTkgj85Ft5j8CYgvNTTH/view

Thumbnail is not changing from the WordPress media

While changing the thumbnail from the media, it shows the thumbnail saved but while viewing the media the default thumbnail is visible.

Steps to reproduce:

  1. Upload the media and edit it.
  2. Change the thumbnail video thumbnail and save.
  3. Observe the thumbnail is shown selected but while viewing the media the default thumbnail is visible.

Actual Result: After selecting the thumbnail is not changed.

Expected Result: The user should be able to select and change the thumbnail while editing the media and the thumbnail should be changed as per the selected thumbnail image.

thumnbail.issue.mp4

UPDATE:

Current Behavior
Transcoder with WordPress Media Uploads
Video thumbnail is set based on the featured image uploaded and doesn't depend on the thumbnails generated from transcoding
Ideally, if we are showing the thumbnails after transcoding then those should be shown as featured image

Transcoder with rtMedia Uploads
By default after transcoding featured image is set for the video(which is thumbnail)
Now if we change the thumbnail then the thumbnail is getting updated as expected even if featured image is removed
For rtMedia uploads if featured image is uploaded that doesn't get set as thumbnail as the thumbnails are set from frontend..

Expected Behavior
Transcoder with WordPress Media Uploads
Irrespective of the featured image, the thumbnail should get updated

PHP conflict with other plugin

Hi there,

This is a great plugin and working just fine, but I am having an issue when I have both this plugin and wp job manager plugin active.

The class in question is RT_Transcoder_Handler , there is a method in it named handle_callback which is fired in the init hook.

Now, I'm hoping you are familiar with the wp job manager plugin. Anyway, it has [submit_job_form] and [job_dashboard] shortcodes. These shortcodes renders job sumbit and edit forms.

When I submit these forms, your plugin method handle_callback gets $job_id from the form submission in line number 985 and dies in line number 1116. Also you have an undefined variable $mail in line number 1098.

I tried by myself, but could not fix it. I tried to remove the action conditionally like:

if($jobmnager) {
     remove_action( 'init', array( $rt_transcoder_admin->transcoder_handler, 'handle_callback' ), 20 );
}

But I failed because the transcoder_handler property is private.

So maybe renaming the variable job_id in the filter_input function (line number 985) can fix the issue.

Really appreciate your help.

Thanks
Razor

Transcoding Failing for 3gp video

@Souptik2001

As we discussed just now, on our internal development site, transcoding failed when we tried to transcode a 3gp video.

Please check if the issue is reproducing on other sites and if something needs fixing.

Please find some work around for License key when user downloads plugin from wp org repo on wp site itself

Scenario: As per current implementation, free Transcoder plugin can be downloaded from wordpress.org or from rtmedia.io site.

  1. If the user downloads it from rtmedia.io then no issue with that as we are generating the invoice and sending the key along with it

  2. If the user downloads it from wp.org then to get the transcoder license key, s/he has to download it again from rtmedia.io site!

Please find some work around to avoid duplicate download process. We need to find some solution so that users who are downloading it from wp org also gets the transcoder key.

Please ref to this visual where I have to follow the things mentioned in point 2. https://drive.google.com/file/d/1Qqdnb_gNOuLQ2h2fqhzESuZm4hY-pqO-/view

[.convert_status.column-convert_status] class is missing for audio and some video file type

Steps:

  1. Upload audio file with any supported format from media.php file (Or from any other location)
  2. Once the file is transcoded, it should display File is transcoded status.
  3. Observe, that in case of Audio file it is not showing up.

Please refer this screenshot 👇

unnamed image 3


Test Environment : 

1. WP - V5.0.3
2. Transcoder plugin V1.2.2
3. Test Url - https://dev.transcoder.dev2.rt.gw

Meetings and General Activities

This task is to be used to track the following activities

  • Client calls/support
  • Internal syncs
  • Project Management
  • Miscellaneous tasks - not directly related to any particular issue on GH

Audio file with ogg format is not working.

Test Environment
WordPress - 5.0.2
rtMedia - 4.5.4
BuddyPress - 4.1.0
Transcoder - 1.2.2

Steps to Reproduce

  1. Go to the activity page ( or media tab )
  2. Upload an audio file with .ogg format
  3. Audio file gets uploaded but, the file is not sent at server side for transcoding.

Refer link for issue reference - https://drive.google.com/file/d/1nxq1w_rmBhJmlNDkLal9vknfg3ZMQuZK/view?usp=sharing

Audio file with .ogg format - https://drive.google.com/open?id=1axGb8D5PWg3pCsNKGthgb5vsQ0fHGNqY

While retranscoding the old thumbnail should get removed

During the retranscode, there could the the media files which were already transcoded. That means there will be a thumbnail as well for each file.

Now, for the better user experience, we should remove the previously generated thumbnail.

Media_Library_‹thumbnail-demo_dev3_rt_gw—_WordPress

Uncaught TypeError shown in console

Using Transcoder version 1.3, when a /wp-admin page is loaded, the following error is shown in the browser console:

Uncaught TypeError: a(...).live is not a function
at HTMLDocument. (rt-transcoder.min.js?ver=5.5.1:6)
at i (load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:2)
at Object.fireWith [as resolveWith] (load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:2)
at Function.ready (load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:2)
at HTMLDocument.J (load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:2)

Refer: https://drive.google.com/file/d/1LonyhvBncdusElyqADNpX71-arQbmQg3/view

Wrong file types under file browser while uploading media.

When we activate Transcoder plugin and we browse for the file while uploading media, the file browser shows all the files types ( including which are not allowed to upload via plugin).

For example:

Here is the screenshot of file browser without transcoder plugin:

file-browser-without-transcoder

Here is the screenshot of file browser with transcoder plugin:

file-browser-with-transcoder

Please, look into it.

Thank you,
Pranali

Issues after testing plugin with WP 5.7 RC release

Following errors are shown on activating plugin

  • 1. The following error is shown in /wp-admin backend on activating plugin

The plugin generated 252 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

  • 2. PHP deprecated error is shown in debug.log once plugin is activated

[08-Mar-2021 15:54:30 UTC] PHP Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /var/www/htdocs/wp-content/plugins/transcoder/admin/rt-transcoder-handler.php on line 154

  • 3.

Suggestions

Love the plugin. Would like to suggest some things for future versions. Direct upload to amazon or your servers, avoids server load.

Thanks!

[Customer Query] Files wont play on iPhone after transcoding

I am able to reproduce the issue what the customer had mentioned with his test data file for i-devices.

@SID177 Please look into this. I have asked for debug log to the customer. Will share that here once I will get the reply on the ticket.

Files wont play on iPhone

Please check this visual.

  1. https://goo.gl/fJtq2f
  2. https://goo.gl/CokhJQ

Note :

I also checked the same thing on the demo site mov file and that works fine for me for i-devices. But could not play the file on iphone x the customer shared.

[VIP] Issue List with VIP transcoder plugin

@dhaval-parekh Please check the below list of issues.

  • 1. Shows the PHP Warning on https://thumbnail-demo.dev3.rt.gw/wp-admin/admin.php?page=rt-transcoder page when I enable the below settings on that page for the first time.

  • Over-write video thumbnails after retranscoding

  • Allow admin to track real-time transcoding status on user profile

Transcoder_‹thumbnail-demo_dev3_rt_gw—_WordPress


  • 2. .flv file type is not allowed.

Upload_New_Media_‹thumbnail-demo_dev3_rt_gw—_WordPress


  • 3. Getting the timeout notice with HTTP API Calls on transcoder settings page.

https://thumbnail-demo.dev3.rt.gw/wp-admin/admin.php?page=rt-transcoder

Transcoder_‹thumbnail-demo_dev3_rt_gw—_WordPress


  • 4. Retransode functionality is completely broken.

  • Single media retranscoding ❌

  • multiple media retranscoding ❌

  • Bulk retranscoding ❌

  • Dashboard > Transcoder > Retranscde Media

It always takes me to this page where I see this static information is placed. Also, the progress bar is missing.

Retranscode_Media_‹thumbnail-demo_dev3_rt_gw—_WordPress


  • 5. Number of video thumbnails generated - It always generates double number of thumbnails then given value.

E.g Here I have set the value to 3 then after transcoding it shows 6 thumbnails

Edit_Media_‹thumbnail-demo_dev3_rt_gw—_WordPress

NOTE: It seems it is generating duplicate thumbnails. Please check the highlighted part of the screenshot above.

Wrong message issue when the user has canceled the subscription

Upon canceling the subscription, the user is getting the mail notification for cancel subscription which tell the user that You have canceled the subscription which is ✅

But the Dashboard shows this message(screenshot) which is completely misleading.
We are conveying different information in mail and dashboard. This should be fixed.

The users are clueless about what action needs to be performed in this scenario as he himself is not aware that it is cause of cancel subscription event.

Transcoder_‹krupa_dev5_rt_gw—_WordPress

Support for PDF automated preview.

WordPress has a default feature to generate a preview image of PDF when the user uploads PDF in the media library. However, that only work if the server has "Imagick" and "Ghostscript" extensions are loaded. But on the VIP-GO platform doesn't have those extensions.

For those platforms, We are providing API in Laravel transcoder to generate preview thumbnail. So we here we need to develop a feature to utilize that API.

Things to DO.

  • Send a request to the transcoder server, When any PDF is uploaded in the media library.
  • Handle postback request from the transcoder server.
    • Download preview images.
    • Generate various sizes of the thumbnail.
    • Update attachment metadata.

Related

[Video - .wmv file type] is rendered as Audio file type on server side

Steps:

  1. Upload video file with .wmv supported format from media.php file (Or from any other location)
  2. Wait for the file to be transcoded.
  3. Observe on the server side where it renders this file type as audio file type and hence it does not show up the status as File is transcoded under the status column once transcoding is done.

for point#3 the separate issue has been created. Refer - #79


Test Environment : 

1. WP - V5.0.3
2. Transcoder plugin V1.2.2
3. Test Url - https://dev.transcoder.dev2.rt.gw

Issue with transcoding the previously uploaded .m4a files

Description
When you try to retranscode an old .m4a file, which was uploaded/added to media before Transcoder activated, it'll show a message like below:
"NAME" (ID 44) is MP3 file already. No need to send for transcoding

Screenshot 2022-02-22 at 11 32 04 AM

How to reproduce

  • Keep the Transcoder plugin inactive
  • Upload a .m4a file
  • Activate the Transcoder plugin
  • Now, try to retranscode the uploaded .m4a file

How it should be
As we accept retranscoding other file formats, even though uploaded before Transcoder activated, we need to do the same for .m4a file format as well.

Create custom button to insert `[rt_media]` shortcode

Create a custom button Insert transcoder media shortcode into post (name of the button need to be decide) besides to the Insert into post button which will insert the [rt_media] shortcode into the post for non supported media types.

Investigate Retranscode Media functionality

Transcoder offers a way to retranscode media:
Screenshot_2022-11-28_at_5_13_31_PM

However, the functionality seems to fail when re-retranscoding, useful in cases where media files are replaced or if a job fails:
Unfortunately, Transcoder failed to transcode this file (see above)

The status page confirms the failure:
Screenshot_2022-11-28_at_5_12_50_PM

To do:
Investigate why Transcoder fails in this case, perhaps related to the verification logic checking the presence of an immutable variable that's set the first time a file is transcoded.
Ideally, Transcoder should push through all retranscode requests, no questions asked.

A good place to start might be the logic behind the Check Status button:
Screenshot 2022-11-28 at 5 13 24 PM

Make plugin VIP-GO compatible.

Things to DO.

  • Make WordPress transcoder plugin VIP Compatible. PHPCS issues.
  • Update phpcs.xml file

To check phpcs issues on local.

phpcs --standard=WordPressVIPMinimum,WordPress-VIP-Go ./

Issue list with Check status button

  • 1. Check status button should be visible if the relevant setting is kept enable from settings.

It should be reflected at below places regardless of any active BuddyPress template.

  1. On the activity page
  2. When the media is posted as the BuddyPress comment
  3. When the media is posted as a comment from a lightbox.

As per the current scenario, the Check Status button is only visible in case only when the Buddypress Nouveau template is active and the only on the activity page.

Please fix it for point 2 and 3 mentioned above.

Please check this visual for more information - https://drive.google.com/file/d/1qAHqZ5JBwlrPwQXcSHrbhsNF_MV0gFOo/view


  • 2. Throws PHP errors in AJAx response while clicking on check status button from upload.php page.

Steps:

  1. Upload audio/video media file anywhere in your site
  2. upload.php page would show up the Check Status button in the dashobard
  3. Click on Check status button trigger the errors in the console while transcoding is in progress
  4. Once the file is transcoded the errors will be gone.

Please refer this error log file.
krupa-transcoder.dev2.rt.gw-1561380051631.log

Test Environment 

1. Wordpress 5.2.1
2. Bussypress 4.3.0 - Legacy template
3. rtMedia 4.5.6
4. Theme - all wordpress default theme 

Page reload after the media's are transcoded

When a media is uploaded after the media gets transcoded, user needs to explicitly reload the page. Where as page should reload once the media gets transcoded.

Need to find a way to fix this issue.

Showing notice some times

Sometimes getting the following notice
Undefined offset: 0 : wp-content/plugins/transcoder/admin/rt-transcoder-functions.php:460

Checked with query-monitor plugin

Mail format and data missing issue when user canceled the subscription

When the user cancels the subscription, we are sending the mail notification.

There are a few things that need to be addressed asap to make the mail format readable and user-friendly way.

Please check the below points w.r.t the screenshot attached.

rtMedia__Subscription_Cancelled__We_re_sad_to_see_you_go__—_rtCamp

1. Cosmetic issue - There should be a comma after the first name
2. The string is not readable here. Everything should be in the same line. Needs some changes.
3. License key is missing 
4. The invoice should be attached here which is also missing. or we should add the link to that my-account page of the customer

Transcoder issues with latest WP update

  • 1. With the latest WP version that is 5.5 when transcoder plugin is active the following PHP error is shown.
 PHP Deprecated:  array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /var/www/htdocs/wp-content/plugins/transcoder/admin/rt-transcoder-handler.php on line 154

Also, refer issue: With the new update to WordPress, this plugin appears to be creating conflicts on the backend of the WordPress. With this plugin activated, I cannot select all plugins and within Users, I cannot change any user attributes either. I get an error message that that the User ID does not exist and clicking on any of the buttons (such as Generate Password) does nothing.

  • 3.
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''wp_rt_rtm_media' WHERE id = 303' at line 1 for query SELECT media_id FROM 'wp_rt_rtm_media' WHERE id = 303 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/twentynineteen/page.php'), get_template_part, locate_template, load_template, require('/themes/twentynineteen/template-parts/content/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, RTMediaRouter->rt_replace_the_content, load_template, require_once('/plugins/rtMedia/templates/main.php'), rtmedia_load_template, include_once('/plugins/rtMedia/templates/media/media-single.php'), do_action('rtmedia_actions_before_description'), WP_Hook->do_action, WP_Hook->apply_filters, rtt_add_transcoding_process_status_button_single_media_page

PHP Notice:  Undefined offset: 0 in /var/www/htdocs/wp-content/plugins/transcoder/admin/rt-transcoder-functions.php on line 897

PHP Notice:  Trying to get property 'media_id' of non-object in /var/www/htdocs/wp-content/plugins/transcoder/admin/rt-transcoder-functions.php on line 897

VIP blocker issues.

transcoded_temp_filename filter modification to remove the random numbers from the media file

We already have a filter transcoded_temp_filename to remove the random numbers from media file once the media file is transcoded.

But this filter currently, removes random number only from the transcoded media file thumbnails. And we need filter to remove random numbers generated from the media files.

Just need modification in the existing filter with an extra optional parameter.

So that for old all users, it should work as it is. If any customer adds a second param to force change the name of file then only it should change the file name.

Slack Archive: https://rtcamp.slack.com/archives/C25QZJ50B/p1603182552002100?thread_ts=1602761128.001200&cid=C25QZJ50B

Audio/Video file formats after transcoding are not getting changed.

Test Environment
WordPress - 5.0.2
rtMedia - 4.5.4
BuddyPress - 4.1.0
Transcoder - 1.2.2

Steps to Reproduce

  1. Go to the media tab
  2. View media in lightbox and add a comment with media, comment by uploading a video/audio file with any format other than mp4/mp3
  3. Now, check comment with uploaded media, the format of media doesn't get changed.
  4. Commenting on media, activity for same generates in the activity feed, wherein for the same uploaded media, the format is not been changed.

Refer link for issue - https://drive.google.com/open?id=1mtrVSPb-X_2jfZxsCwfNVGppVsgP3bBI

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.