Search by

converter-studio / typo3-converter-studio

tariksucu

Converter Studio: HEIC to JPEG, video to MP4, file conversion - Converts HEIC and camera RAW photos to JPEG on upload, iPhone videos to MP4 and Office documents to PDF, and converts any file in the file list to one of 67 formats, through the Converter Studio API.

Package info

github.com/tariksucu/typo3-converter-studio

Homepage

Issues

Documentation

Type:typo3-cms-extension

pkg:composer/converter-studio/typo3-converter-studio

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

1.0.2 2026-12-01 18:59 UTC

This package is auto-updated.

Last update: 2026-12-01 19:03:43 UTC


README

Converts the files browsers cannot show, as editors upload them, and any file in the file list to one of 67 formats, through the Converter Studio API.

  • HEIC and RAW photos become JPEGs on upload. iPhone photos (HEIC/HEIF) and camera RAW files (CR2, NEF, ARW, DNG) are converted while the upload runs, so TYPO3 stores a JPEG from the start (or PNG or WebP, as you choose): one file record, correct width and height, thumbnails and image processing that work. This also works on sites that do not accept HEIC or RAW uploads at all (TYPO3 13's file extension list).
  • Videos become MP4. MOV, AVI, MKV, WMV, FLV and 3GP uploads are converted in the background to an H.264 MP4 that plays in every browser (optional, at most 1080p by default). The MP4 takes the video's place: same file record, so every content element and record that uses the video shows the MP4. The original is kept next to it as a file of its own.
  • Documents get a PDF. Word, Excel, PowerPoint and OpenDocument uploads get a PDF next to them (optional).
  • Convert any file from the file list. Right-click a file, then Convert with Converter Studio…: pick one of the formats it converts to (521 conversions: images, video, audio, documents, e-books, spreadsheets, subtitles, fonts, archives). The result is added next to the original, or, for images, replaces it in place: same file record, so every content element and record using it shows the new file.
  • Convert what is already there. converterstudio:convert converts the HEIC photos (or any files) uploaded before the extension was installed.
  • See what happened. Media > Converter Studio shows the account and its credits, what happens to uploads, and every conversion with its result, price and, when one failed, the reason.

TYPO3 itself already makes WebP and AVIF versions of web images (with GraphicsMagick or ImageMagick), so this extension does not.

Requirements

  • TYPO3 13.4 LTS or 14.3 LTS, PHP 8.2 or newer.
  • A converter.studio account and its API key (free accounts get 25 credits a day; most files cost 1 credit; audio and video are priced by their length, and video also by its frame size). Make the key on your account page.
  • The web server must reach https://converter.studio over HTTPS.

Installation

composer require converter-studio/typo3-converter-studio
vendor/bin/typo3 extension:setup

Configuration

Settings > Extension Configuration > converter_studio (Admin Tools in TYPO3 13):

Setting Default What it does
API key – Your cvs_live_… key. Nothing is converted without one.
Convert photos on upload on HEIC/HEIF and RAW uploads are stored as the format below (1 credit each).
Format for converted photos JPEG JPEG, PNG or WebP.
Keep photo details off Keeps the date and camera (EXIF). The GPS location is always removed.
Convert uploaded videos to MP4 off MOV, AVI, MKV, WMV, FLV, 3GP. The MP4 takes the video's place; the original is kept next to it.
Largest video height 1080p 1080p, 720p, 480p or the video's own. Videos are never enlarged.
Make PDF copies of uploaded documents off DOC(X), XLS(X), PPT(X), ODT, ODS, ODP, RTF.
Also convert frontend uploads off Uploads through frontend forms (EXT:form) too. Off by default: every visitor's upload would use your credits.
Credit limit per file 20 A conversion that costs more waits for approval in the module.
Seconds to wait during an upload 40 How long an upload waits for its photo (within PHP's max_execution_time). A photo that takes longer is stored as it is and converted in place shortly after.

The API key can also come from the environment variable CONVERTER_STUDIO_API_KEY, which takes precedence and keeps the key out of config/system/settings.php. The key is never logged and never shown in full (the module shows its first characters).

Who may convert

Uploads are converted for every backend user (the site's rules). Converting from the context menu and the module need access to the Converter Studio module: grant it to the backend user groups that may spend the account's credits. Non-admins see and manage only their own conversions.

Videos and documents without anyone in the backend

Photos are converted while they upload. Videos and documents take longer: while the file list or the module is open they are worked on right there, and the editor is told when each is ready. For the rest of the time, add a scheduler task Execute console commands with converterstudio:work every minute, or run it from cron:

vendor/bin/typo3 converterstudio:work            # works up to 50 seconds, then stops

Each run goes on where the last one stopped (large files are sent in parts), and finished entries older than 30 days are removed.

Converting files already in a storage

# Every HEIC photo in user_upload becomes a JPEG in place (references keep working):
vendor/bin/typo3 converterstudio:convert 1:/user_upload/ --from=heic,heif --to=jpg --replace --recursive --wait

# A PDF next to every Word document, converted by the scheduler later:
vendor/bin/typo3 converterstudio:convert 1:/documents/ --from=docx --to=pdf

# Only list what would be converted:
vendor/bin/typo3 converterstudio:convert 1:/ --to=jpg --from=heic --recursive --dry-run

Good to know

  • Only uploads are converted when added, never files added by code (imports, copies), and never a file replaced through Replace.
  • TYPO3's own uploader also reports the new name of a converted photo as a renamed file ("sample.heic … renamed to sample.jpg"); that is the conversion.
  • New TYPO3 installations accept only listed file extensions (security.system.enforceAllowedFileExtensions): TYPO3 13 lists neither HEIC nor MOV, and neither version lists RAW, AVI, MKV, WMV or FLV. Photos still work, because they arrive as JPEGs; to accept those videos, add their extensions to $GLOBALS['TYPO3_CONF_VARS']['SYS']['mediafile_ext'].
  • A photo converted in place gets the new extension in its name; pages that linked to the old file name are refreshed (the page cache is cleared when the file is used somewhere).
  • A video's MP4 takes its place the same way: clip.mov becomes clip.mp4 (clip_01.mp4 when that name is taken), keeps its title, description and alternative text, and the original stays as clip.mov, a new file that nothing uses (delete it in the file list when you no longer need it). If a field that uses the video does not allow MP4 files (its allowed file extensions), TYPO3 would drop the video from that record the next time it is saved; then the MP4 is added next to the video instead and nothing that uses the video changes.
  • When converter.studio cannot be reached or the account has no credits left, the upload is stored as it is and the editor is told why. Queued conversions are retried with growing pauses.

Privacy

Files are sent to converter.studio only to convert them, over HTTPS, and are deleted there after six hours at the latest (privacy policy). Nothing else about the site or its visitors is sent. If editors upload personal data (photos of people, documents), mention converter.studio in your site's privacy policy as a processor.

Development

composer install                 # inside this folder; tools go to .Build/
composer test:unit
composer test:functional         # SQLite by default (typo3DatabaseDriver=pdo_sqlite)
composer ci:cgl                  # TYPO3 coding guidelines (php-cs-fixer)

License

GPL-2.0-or-later. Converter Studio's service has its own terms.