Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (104)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (13049)

  • How many "Ruby on Rails" sites can be hosted using sub url in apache configuration file on apache4 with passenger4 on Ubuntu server ?

    17 octobre 2013, par user1731249

    Server's Hardware config :
    Ubuntu server 12.04, CPU : dual code (64-bit), RAM : 8GB, Disk : 200GB.

    Server's Software config :
    Apache2, Passenger4, Rails4, ruby2, MySQL.

    I'm developing a Ruby on Rails website which performs following tasks.

    1. Upload a series of images as zip.
    2. Extract zip images to temp directory.
    3. Convert series of images to video using FFMPEG.
    4. updating video info in MySQL db
    5. Viewing the video in HTML5 video tag.

    Maximum length of single video being 1min and on an average there may be 50 videos to be converted per day. I created three copies (Don't ask me why !) of same website and hosting three sites as sub-URLs like "example.com" being the domain and example.com/site1, example.com/site2, example.com/site3. Below is the Apache configuration :
    RailsAutoDetect off

    ServerName 127.0.0.1

       DocumentRoot /home/ubuntuuser/work/public
       ErrorDocument 404 /404.html

    RailsBaseURI /site1

       <directory></directory>home/ubuntuuser/work/site1/advisor/public>
               Allow from all
       Options -MultiViews
               RailsEnv production
       

    RailsBaseURI /site2

    <directory></directory>home/ubuntuuser/work/site2/advisor/public>
               Allow from all
       Options -MultiViews
               RailsEnv production
       

       RailsBaseURI /site3

    <directory></directory>home/ubuntuuser/work/site3/advisor/public>
               Allow from all
       Options -MultiViews
               RailsEnv production
       

    How many such sites can I host with sub-URLs without big performance drag ?
    Also please help to do a performance test for all the sub-URLs.

  • How to fix ffmpeg complex filters "Invalid stream specifier" [duplicate]

    15 mai 2019, par Chase

    I’m attempting to scale and blur (sections of) a video with ffmpeg complex filters. This has actually been working in production for years.

    I’m now running a newer build of ffmpeg on Ubuntu 18.04 and getting an error relating to the filters where the same command works fine on Ubuntu 16.04’s ffmpeg against the same video.


    Specifically, I’m seeing the following error :

    mov,mp4,m4a,3gp,3g2,mj2 @ 0x56055a5902c0] Invalid stream specifier: vs0.
       Last message repeated 1 times
    Stream specifier 'vs0' in filtergraph description ... matches no streams.

    Has something about the complex filter API changed that would make this same input invalid in a newer version of ffmpeg ?


    The command in question is just running the following in a Bash terminal.

    ffmpeg -ss 60 -i ~/test.mp4 -y -filter_complex "[0:v]scale=-2:'min(320,ih)'[vs0];[vs0]crop=in_w/9:in_h/2:0:0,boxblur=5:1:cr=3:ar=3[b0];[vs0]crop=in_w/9:in_h/2:in_w-out_w:0,boxblur=5:1:cr=3:ar=3[b1];[vs0]crop=(in_w-2*in_w/9):in_h/20:in_w/9:0,boxblur=5:1:cr=3:ar=3[b2];[vs0][b0]overlay=0:0[ovr0];[ovr0][b1]overlay=main_w-overlay_w:0[ovr1];[ovr1][b2]overlay=main_w/9:0[vs1]" -map [vs1] -an -ac 2 -b:a 128k -acodec aac -b:v 1024k -r 30 -vcodec libx264 -t 300 -y -preset slow -movflags faststart -pix_fmt yuv420p -f mp4 ~/out.mp4

    If we break up the complex filter statement, it looks like :

    [0:v]scale=-2:'min(320,ih)'[vs0];
    [vs0]crop=in_w/9:in_h/2:0:0,boxblur=5:1:cr=3:ar=3[b0];
    [vs0]crop=in_w/9:in_h/2:in_w-out_w:0,boxblur=5:1:cr=3:ar=3[b1];
    [vs0]crop=(in_w-2*in_w/9):in_h/20:in_w/9:0,boxblur=5:1:cr=3:ar=3[b2];
    [vs0][b0]overlay=0:0[ovr0];[ovr0][b1]overlay=main_w-overlay_w:0[ovr1];
    [ovr1][b2]overlay=main_w/9:0[vs1]

    On ffmpeg version N-86980-g62b7553 (Ubuntu 16.04), everything works great as it has done for years.

    $ ffmpeg -ss 60 -i ~/test.mp4 -y -filter_complex "[0:v]scale=-2:'min(320,ih)'[vs0];[vs0]crop=in_w/9:in_h/2:0:0,boxblur=5:1:cr=3:ar=3[b0];[vs0]crop=in_w/9:in_h/2:in_w-out_w:0,boxblur=5:1:cr=3:ar=3[b1];[vs0]crop=(in_w-2*in_w/9):in_h/20:in_w/9:0,boxblur=5:1:cr=3:ar=3[b2];[vs0][b0]overlay=0:0[ovr0];[ovr0][b1]overlay=main_w-overlay_w:0[ovr1];[ovr1][b2]overlay=main_w/9:0[vs1]" -map [vs1] -an -ac 2 -b:a 128k -acodec aac -b:v 1024k -r 30 -vcodec libx264 -t 300 -y -preset slow -movflags faststart -pix_fmt yuv420p -f mp4 ~/out.mp4
    ffmpeg version N-86980-g62b7553 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
     configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-openssl --enable-nonfree
     libavutil      55. 73.100 / 55. 73.100
     libavcodec     57.102.100 / 57.102.100
     libavformat    57. 76.100 / 57. 76.100
     libavdevice    57.  7.100 / 57.  7.100
     libavfilter     6. 98.100 /  6. 98.100
     libswscale      4.  7.102 /  4.  7.102
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/cmaier/test.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.76.100
     Duration: 00:10:00.00, start: 0.000000, bitrate: 1036 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 768x480, 1033 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    Stream mapping:
     Stream #0:0 (h264) -> scale
     Stream #0:0 (h264) -> crop
     Stream #0:0 (h264) -> crop
     Stream #0:0 (h264) -> overlay:main
     overlay -> Stream #0:0 (libx264)
    Press [q] to stop, [?] for help
    [libx264 @ 0x27b2ca0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0x27b2ca0] profile High, level 3.1
    [libx264 @ 0x27b2ca0] 264 - core 148 r2643 5c65704 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=abr mbtree=1 bitrate=1024 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to '/home/cmaier/out.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.76.100
       Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 768x480, q=-1--1, 1024 kb/s, 30 fps, 15360 tbn, 30 tbc (default)
       Metadata:
         encoder         : Lavc57.102.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/1024000 buffer size: 0 vbv_delay: -1
    [mp4 @ 0x27b5a60] Starting second pass: moving the moov atom to the beginning of the file3.9x    
    frame= 9000 fps=117 q=-1.0 Lsize=   37827kB time=00:04:59.90 bitrate=1033.3kbits/s speed= 3.9x    
    video:37721kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.282333%
    [libx264 @ 0x27b2ca0] frame I:36    Avg QP:15.21  size: 50944
    [libx264 @ 0x27b2ca0] frame P:2723  Avg QP:20.12  size:  9593
    [libx264 @ 0x27b2ca0] frame B:6241  Avg QP:24.23  size:  1710
    [libx264 @ 0x27b2ca0] consecutive B-frames:  3.6%  6.9% 14.5% 75.0%
    [libx264 @ 0x27b2ca0] mb I  I16..4: 17.3% 58.5% 24.2%
    [libx264 @ 0x27b2ca0] mb P  I16..4:  0.5%  4.4%  0.9%  P16..4: 31.1% 20.7% 12.1%  0.0%  0.0%    skip:30.3%
    [libx264 @ 0x27b2ca0] mb B  I16..4:  0.0%  0.3%  0.1%  B16..8: 28.9%  5.5%  1.1%  direct: 1.1%  skip:63.1%  L0:37.5% L1:52.6% BI: 9.9%
    [libx264 @ 0x27b2ca0] final ratefactor: 19.69
    [libx264 @ 0x27b2ca0] 8x8 transform intra:72.8% inter:68.3%
    [libx264 @ 0x27b2ca0] direct mvs  spatial:99.9% temporal:0.1%
    [libx264 @ 0x27b2ca0] coded y,uvDC,uvAC intra: 74.5% 73.0% 30.4% inter: 13.0% 10.7% 0.2%
    [libx264 @ 0x27b2ca0] i16 v,h,dc,p: 49% 30%  3% 17%
    [libx264 @ 0x27b2ca0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  7% 14% 11%  7% 11%  8% 19%  8% 15%
    [libx264 @ 0x27b2ca0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  9% 13%  5%  8% 14% 10% 17%  9% 16%
    [libx264 @ 0x27b2ca0] i8c dc,h,v,p: 42% 29% 15% 15%
    [libx264 @ 0x27b2ca0] Weighted P-Frames: Y:7.4% UV:2.9%
    [libx264 @ 0x27b2ca0] ref P L0: 59.2% 20.2% 11.5%  3.7%  4.3%  1.0%  0.1%
    [libx264 @ 0x27b2ca0] ref B L0: 87.5%  8.8%  2.7%  1.0%
    [libx264 @ 0x27b2ca0] ref B L1: 96.5%  3.5%
    [libx264 @ 0x27b2ca0] kb/s:1030.01

    On ffmpeg version N-93862-gf49cec2 (Ubuntu 18.04), the command fails immediately.

    # ffmpeg -ss 60 -i ~/test.mp4 -y -filter_complex "[0:v]scale=-2:'min(320,ih)'[vs0];[vs0]crop=in_w/9:in_h/2:0:0,boxblur=5:1:cr=3:ar=3[b0];[vs0]crop=in_w/9:in_h/2:in_w-out_w:0,boxblur=5:1:cr=3:ar=3[b1];[vs0]crop=(in_w-2*in_w/9):in_h/20:in_w/9:0,boxblur=5:1:cr=3:ar=3[b2];[vs0][b0]overlay=0:0[ovr0];[ovr0][b1]overlay=main_w-overlay_w:0[ovr1];[ovr1][b2]overlay=main_w/9:0[vs1]" -map [vs1] -an -ac 2 -b:a 128k -acodec aac -b:v 1024k -r 30 -vcodec libx264 -t 300 -y -preset slow -movflags faststart -pix_fmt yuv420p -f mp4 ~/out.mp4
    ffmpeg version N-93862-gf49cec2 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04)
     configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-openssl --enable-nonfree
     libavutil      56. 27.100 / 56. 27.100
     libavcodec     58. 52.101 / 58. 52.101
     libavformat    58. 27.103 / 58. 27.103
     libavdevice    58.  7.100 / 58.  7.100
     libavfilter     7. 53.100 /  7. 53.100
     libswscale      5.  4.101 /  5.  4.101
     libswresample   3.  4.100 /  3.  4.100
     libpostproc    55.  4.100 / 55.  4.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/root/test.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.76.100
     Duration: 00:10:00.00, start: 0.000000, bitrate: 1036 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 768x480, 1033 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x56055a5902c0] Invalid stream specifier: vs0.
       Last message repeated 1 times
    Stream specifier 'vs0' in filtergraph description [0:v]scale=-2:'min(320,ih)'[vs0];[vs0]crop=in_w/9:in_h/2:0:0,boxblur=5:1:cr=3:ar=3[b0];[vs0]crop=in_w/9:in_h/2:in_w-out_w:0,boxblur=5:1:cr=3:ar=3[b1];[vs0]crop=(in_w-2*in_w/9):in_h/20:in_w/9:0,boxblur=5:1:cr=3:ar=3[b2];[vs0][b0]overlay=0:0[ovr0];[ovr0][b1]overlay=main_w-overlay_w:0[ovr1];[ovr1][b2]overlay=main_w/9:0[vs1] matches no streams.
  • Error : ffmpeg : Failed to download resource "sqlite"

    22 février 2023, par nour

    i am trying to download ffmpeg but I am getting this error ! could anyone help ? I am using paperclip gem to add images and videos. I am getting this error on heroku when i try to add a new video Av::UnableToDetect (Unable to detect any supported library so that's why im trying to download ffmpeg. could someone help please ! thanks in advance

    &#xA;

    brew install ffmpeg

    &#xA;

    curl: (60) SSL certificate problem: certificate has expired&#xA;More details here: https://curl.haxx.se/docs/sslcerts.html&#xA;&#xA;curl performs SSL certificate verification by default, using a "bundle"&#xA; of Certificate Authority (CA) public keys (CA certs). If the default&#xA; bundle file isn&#x27;t adequate, you can specify an alternate file&#xA; using the --cacert option.&#xA;If this HTTPS server uses a certificate signed by a CA represented in&#xA; the bundle, the certificate verification probably failed due to a&#xA; problem with the certificate (it might be expired, or the name might&#xA; not match the domain name in the URL).&#xA;If you&#x27;d like to turn off curl&#x27;s verification of the certificate, use&#xA; the -k (or --insecure) option.&#xA;HTTPS-proxy has similar options --proxy-cacert and --proxy-insecure.&#xA;Error: ffmpeg: Failed to download resource "sqlite"&#xA;Download failed: https://sqlite.org/2022/sqlite-autoconf-3400100.tar.gz&#xA;

    &#xA;

    when i add a new video to my website on heroku I got this error

    &#xA;

    2023-02-22T06:23:03.207072&#x2B;00:00 app[web.1]: User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1  ORDER BY "users"."id" ASC LIMIT 1  [["id", 1]]&#xA;2023-02-22T06:23:03.208471&#x2B;00:00 app[web.1]: Steptation Load (0.7ms)  SELECT  "steptations".* FROM "steptations" WHERE "steptations"."id" = $1 LIMIT 1  [["id", 1802]]&#xA;2023-02-22T06:23:03.210118&#x2B;00:00 app[web.1]: [paperclip] Trying to link /tmp/RackMultipart20230222-2-1i28xon.mp4 to /tmp/847606d3771b12aa2d91db7647fe3a4920230222-2-165fycl.mp4&#xA;2023-02-22T06:23:03.210923&#x2B;00:00 app[web.1]: [paperclip] Trying to link /tmp/847606d3771b12aa2d91db7647fe3a4920230222-2-165fycl.mp4 to /tmp/847606d3771b12aa2d91db7647fe3a4920230222-2-p6icfm.mp4&#xA;2023-02-22T06:23:03.211217&#x2B;00:00 app[web.1]: Command :: file -b --mime &#x27;/tmp/847606d3771b12aa2d91db7647fe3a4920230222-2-p6icfm.mp4&#x27;&#xA;2023-02-22T06:23:03.218799&#x2B;00:00 app[web.1]: [AV] Running command: if command -v avprobe 2>/dev/null; then echo "true"; else echo "false"; fi&#xA;2023-02-22T06:23:03.221000&#x2B;00:00 app[web.1]: [AV] Running command: if command -v ffmpeg 2>/dev/null; then echo "true"; else echo "false"; fi&#xA;2023-02-22T06:23:03.222208&#x2B;00:00 heroku[router]: at=info method=POST path= "/step_images?id=1802" host=www.mobileimplantlab.ca request_id=39f2b001-ab36-4a59-ae94-1f300d386a40 fwd="207.216.102.221" dyno=web.1 connect=0ms service=900ms status=500 bytes=234 protocol=https&#xA;2023-02-22T06:23:03.222987&#x2B;00:00 app[web.1]: Completed 500 Internal Server Error in 18ms (ActiveRecord: 1.6ms)&#xA;2023-02-22T06:23:03.223510&#x2B;00:00 app[web.1]: &#xA;2023-02-22T06:23:03.223511&#x2B;00:00 app[web.1]: Av::UnableToDetect (Unable to detect any supported library):&#xA;2023-02-22T06:23:03.223511&#x2B;00:00 app[web.1]: app/controllers/step_images_controller.rb:15:in `create&#x27;&#xA;2023-02-22T06:23:03.223512&#x2B;00:00 app[web.1]: &#xA;2023-02-22T06:23:03.223512&#x2B;00:00 app[web.1]: &#xA;2023-02-22T06:23:14.356278&#x2B;00:00 app[web.1]: Started POST "/step_images?id=1802" for 207.216.102.221 at 2023-02-22 06:23:14 &#x2B;0000&#xA;2023-02-22T06:23:14.357993&#x2B;00:00 app[web.1]: Processing by StepImagesController#create as HTML&#xA;2023-02-22T06:23:14.358067&#x2B;00:00 app[web.1]: Parameters: {"utf8"=>"✓", "authenticity_token"=>"PgRtPGgyOSPP8lQlbf9fAgOSZre/XlYcKBKJhe81oOz9Ge81GZZzEfc4Xcnz0zzZ35S7PpsfKOse3Q73mxhjEA==", "step_image"=>{"product_id"=>"4", "text"=>"", "text2"=>"", "text3"=>"", "text4"=>"", "text5"=>"", "video"=>#, @original_filename="IMG_2826.mp4", @content_type="video/mp4", @headers="Content-Disposition: form-data; name=\"step_image[video]\"; filename=\"IMG_2826.mp4\"\r\nContent-Type: video/mp4\r\n">, "text6"=>"test", "user_id"=>"73", "case_id"=>"311", "step_id"=>"3"}, "commit"=>"Submit", "id"=>"1802"}&#xA;2023-02-22T06:23:14.359735&#x2B;00:00 app[web.1]: User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1  ORDER BY "users"."id" ASC LIMIT 1  [["id", 1]]&#xA;2023-02-22T06:23:14.360954&#x2B;00:00 app[web.1]: Steptation Load (0.7ms)  SELECT  "steptations".* FROM "steptations" WHERE "steptations"."id" = $1 LIMIT 1  [["id", 1802]]&#xA;2023-02-22T06:23:14.362132&#x2B;00:00 app[web.1]: [paperclip] Trying to link /tmp/RackMultipart20230222-2-1stq4d4.mp4 to /tmp/847606d3771b12aa2d91db7647fe3a4920230222-2-1jq0dqp.mp4&#xA;2023-02-22T06:23:14.362719&#x2B;00:00 app[web.1]: [paperclip] Trying to link /tmp/847606d3771b12aa2d91db7647fe3a4920230222-2-1jq0dqp.mp4 to /tmp/847606d3771b12aa2d91db7647fe3a4920230222-2-9hfi7z.mp4&#xA;2023-02-22T06:23:14.362932&#x2B;00:00 app[web.1]: Command :: file -b --mime &#x27;/tmp/847606d3771b12aa2d91db7647fe3a4920230222-2-9hfi7z.mp4&#x27;&#xA;2023-02-22T06:23:14.370045&#x2B;00:00 app[web.1]: [AV] Running command: if command -v avprobe 2>/dev/null; then echo "true"; else echo "false"; fi&#xA;2023-02-22T06:23:14.372073&#x2B;00:00 app[web.1]: [AV] Running command: if command -v ffmpeg 2>/dev/null; then echo "true"; else echo "false"; fi&#xA;2023-02-22T06:23:14.374070&#x2B;00:00 app[web.1]: Completed 500 Internal Server Error in 16ms (ActiveRecord: 1.5ms)&#xA;2023-02-22T06:23:14.374254&#x2B;00:00 heroku[router]: at=info method=POST path= "/step_images?id=1802" host=www.mobileimplantlab.ca request_id=4a0702a2-8d14-454a-9f1f-edf154e140fc fwd="207.216.102.221" dyno=web.1 connect=0ms service=267ms status=500 bytes=234 protocol=https&#xA;2023-02-22T06:23:14.374720&#x2B;00:00 app[web.1]: &#xA;2023-02-22T06:23:14.374721&#x2B;00:00 app[web.1]: Av::UnableToDetect (Unable to detect any supported library):&#xA;

    &#xA;

    in my gem file

    &#xA;

    source &#x27;https://rubygems.org&#x27;&#xA;&#xA;&#xA;# Bundle edge Rails instead: gem &#x27;rails&#x27;, github: &#x27;rails/rails&#x27;&#xA;gem &#x27;rails&#x27;, &#x27;4.2.11.1&#x27;&#xA;# Use postgresql as the database for Active Record&#xA;gem &#x27;pg&#x27;, &#x27;~> 0.20.0&#x27;&#xA;# Use SCSS for stylesheets&#xA;gem &#x27;sass-rails&#x27;, &#x27;~> 5.0&#x27;&#xA;# Use Uglifier as compressor for JavaScript assets&#xA;gem &#x27;uglifier&#x27;, &#x27;>= 1.3.0&#x27;&#xA;# Use CoffeeScript for .coffee assets and views&#xA;gem &#x27;coffee-rails&#x27;, &#x27;~> 4.1.0&#x27;&#xA;# See https://github.com/rails/execjs#readme for more supported runtimes&#xA;# gem &#x27;therubyracer&#x27;, platforms: :ruby&#xA;gem &#x27;pry&#x27;, &#x27;~> 0.13.1&#x27;&#xA;# Use jquery as the JavaScript library&#xA;gem &#x27;jquery-rails&#x27;&#xA;# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks&#xA;gem &#x27;turbolinks&#x27;&#xA;# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder&#xA;gem &#x27;jbuilder&#x27;, &#x27;~> 2.0&#x27;&#xA;# bundle exec rake doc:rails generates the API under doc/api.&#xA;gem &#x27;sdoc&#x27;, &#x27;~> 0.4.0&#x27;, group: :doc&#xA;&#xA;# Use ActiveModel has_secure_password&#xA;# gem &#x27;bcrypt&#x27;, &#x27;~> 3.1.7&#x27;&#xA;&#xA;# Use Unicorn as the app server&#xA;# gem &#x27;unicorn&#x27;&#xA;&#xA;# Use Capistrano for deployment&#xA;# gem &#x27;capistrano-rails&#x27;, group: :development&#xA;&#xA;&#xA;group :development do&#xA;  # Access an IRB console on exception pages or by using &lt;%= console %> in views&#xA;  gem &#x27;web-console&#x27;, &#x27;~> 2.0&#x27;&#xA;&#xA;  # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring&#xA;  gem &#x27;spring&#x27;&#xA;end&#xA;&#xA;gem &#x27;devise&#x27;&#xA;group :development, :test do&#xA;  gem "interactive_editor"&#xA;  gem "hirb"&#xA;  gem "awesome_print"&#xA;  gem &#x27;byebug&#x27;&#xA;end&#xA;group :production do&#xA;  gem &#x27;rails_12factor&#x27;&#xA;  gem &#x27;puma&#x27;&#xA;end&#xA;gem &#x27;mail_form&#x27;&#xA;gem &#x27;font-awesome-sass&#x27;, &#x27;~> 5.12.0&#x27;&#xA;&#xA;gem &#x27;bootsnap&#x27;, &#x27;>= 1.1.0&#x27;, require: false&#xA;gem &#x27;bootstrap-sass&#x27;, &#x27;~>3.2.0&#x27;&#xA;&#xA;gem &#x27;paperclip&#x27;&#xA;&#xA;gem &#x27;aws-sdk-s3&#x27;&#xA;gem &#x27;aws-sdk&#x27;, &#x27;&lt; 2.0&#x27;&#xA;&#xA;gem &#x27;thor&#x27;, &#x27;0.19.1&#x27;&#xA;gem &#x27;omniauth-google-oauth2&#x27;&#xA;gem "recaptcha", require: "recaptcha/rails"&#xA;gem &#x27;friendly_id&#x27;, &#x27;~> 5.4.0&#x27;&#xA;&#xA;gem &#x27;activeadmin&#x27;&#xA;&#xA;gem &#x27;cocoon&#x27;&#xA;gem &#x27;bigdecimal&#x27;, &#x27;1.3.5&#x27;&#xA;gem &#x27;bundler&#x27;, &#x27;1.17.3&#x27;&#xA;gem &#x27;paperclip-av-transcoder&#x27;&#xA;gem "paperclip-ffmpeg", "~> 1.2.0"&#xA;gem "will_paginate", "~> 3.0.4" &#xA;gem &#x27;rails-erd&#x27;&#xA;gem &#x27;rails_autolink&#x27;&#xA;&#xA;gem &#x27;rails-erd&#x27;, group: :development&#xA;

    &#xA;

    in the model

    &#xA;

      has_attached_file :video, :styles => {&#xA;     :medium => { :geometry => "500x500", :format => &#x27;jpg&#x27; },&#xA;     :thumb => { :geometry => "100x100", :format => &#x27;jpg&#x27; }&#xA;  }, :processors => [:transcoder]&#xA;&#xA;  validates_attachment_content_type :video,&#xA;    :content_type => [&#xA;      "video/mp4", &#xA;      "video/quicktime",&#xA;      "video/3gpp",&#xA;      "video/x-ms-wmv",&#xA;      "video/mov",&#xA;      "video/flv",&#xA;      &#xA;      ]&#xA;

    &#xA;