AnsweredAssumed Answered

Video Transformation using FFMPEG

Question asked by amit976 on Jan 13, 2017

Hi 

I am new to the Alfresco. I  need to transform high resolution videos(MOV,etc) to low resolution videos(320X240 mp4) and at the same time generate a thumbnail as well as preview for that. I have done all the steps for configuring FFMPEG. I am using a static binary file for that. When i upload a video, i am able to see the thumbnail but not the transformed videos. Also i don't see any error in the allfresco.log. Can somebody help me understand where the thumbnail image is actually stored and where can i see that and the transformed videos. When i call http://localhost:8080/alfresco/service/mimetypes?mimetype=video/quicktime#video/quicktime, I get the below result in which mp4 is also present.

 

Registered Mimetypes

video/quicktime - mov

Extractors: org.alfresco.repo.content.metadata.TikaAudioMetadataExtracter
Transformable To:
  • application/eps = Complex via: image/jpeg
  • image/bmp = Complex via: image/jpeg
  • image/cgm = Complex via: image/jpeg
  • image/gif = Complex via: image/jpeg
  • image/ief = Complex via: image/jpeg
  • image/jp2 = Complex via: image/jpeg
  • image/jpeg = Proxy via: org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker (ffmpeg version N-83049-ge71b811 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 72.100 / 57. 72.100 libavformat 57. 62.100 / 57. 62.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100)
  • image/png = Complex via: image/jpeg
  • image/tiff = Complex via: image/jpeg
  • image/vnd.adobe.photoshop = Complex via: image/jpeg
  • image/vnd.adobe.premiere = Complex via: image/jpeg
  • image/x-cmu-raster = Complex via: image/jpeg
  • image/x-portable-anymap = Complex via: image/jpeg
  • image/x-portable-bitmap = Complex via: image/jpeg
  • image/x-portable-graymap = Complex via: image/jpeg
  • image/x-portable-pixmap = Complex via: image/jpeg
  • image/x-raw-adobe = Complex via: image/jpeg
  • image/x-raw-canon = Complex via: image/jpeg
  • image/x-raw-fuji = Complex via: image/jpeg
  • image/x-raw-hasselblad = Complex via: image/jpeg
  • image/x-raw-kodak = Complex via: image/jpeg
  • image/x-raw-leica = Complex via: image/jpeg
  • image/x-raw-minolta = Complex via: image/jpeg
  • image/x-raw-nikon = Complex via: image/jpeg
  • image/x-raw-olympus = Complex via: image/jpeg
  • image/x-raw-panasonic = Complex via: image/jpeg
  • image/x-raw-pentax = Complex via: image/jpeg
  • image/x-raw-red = Complex via: image/jpeg
  • image/x-raw-sigma = Complex via: image/jpeg
  • image/x-raw-sony = Complex via: image/jpeg
  • image/x-xbitmap = Complex via: image/jpeg
  • image/x-xpixmap = Complex via: image/jpeg
  • image/x-xwindowdump = Complex via: image/jpeg
  • video/mp4 = Proxy via: org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker (ffmpeg version N-83049-ge71b811 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 72.100 / 57. 72.100 libavformat 57. 62.100 / 57. 62.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100)
  • video/x-flv = Proxy via: org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker (ffmpeg version N-83049-ge71b811 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 72.100 / 57. 72.100 libavformat 57. 62.100 / 57. 62.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100)

Outcomes