Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (53)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (5071)

  • FFMpeg Unknown function in zoompan filter

    4 août 2022, par Luciano Salemme

    i'm using ffmpeg with zoompan filter in my local environment whit the following command and it works well :

    


    ffmpeg -y -i "https://my.domain/workspaces/1/a_render_dir/video_spotx.mp4" -i "https://my.domain/workspaces/1/Gallery/travel_6.jpeg" -i "https://my.domain/workspaces/1/Gallery/travel_6.jpeg" -i "https://my.domain/workspaces/1/Gallery/travel_6.jpeg" -i "/usr/app/src/output/video.mp4/text_0.png" -i "/usr/app/src/output/video.mp4/text_1.png"    -filter_complex "[0]drawbox=x=0:y=0:w=iw:h=ih:color=00FF00@1:t=fill[padded];[0]format=yuva420p,pad=iw*2:ih*2:color=black@0,zoompan=z='if(lt(it,0),2,if(lte(pzoom,1.0),2,max(1.56,pzoom-0.005789473684210526)))':x=0:y=0:d=1:s=950x540[zp],[padded][zp]overlay=x='if(lt(t,3.04),t*213/3.04,213)':y='if(lt(t,3.04),t*50/3.04,50)':eval=frame[zp_stream],[1:v]scale=237.5:-1 [image1],[2:v]scale=237.5:-1 [image2],[3:v]scale=237.5:-1 [image3],[4:v]scale=475:-1 [image4],[5:v]scale=237.5:-1 [image5],[zp_stream][image1] overlay=95:54:enable='between(t,3,8)' [overlay1],[overlay1][image2] overlay=380:216:enable='between(t,3,8)' [overlay2],[overlay2][image3] overlay=532:54:enable='between(t,5,10)' [overlay3],[overlay3][image4] overlay=475:270:enable='between(t,1,8)' [overlay4],[overlay4][image5] overlay=0:0:enable='between(t,1,8)' [overlay5]" -map "[overlay5]" -pix_fmt yuv420p -map 0:a -c:a copy "/usr/app/src/output/video.mp4/render_video.mp4"


    


    However when i build a docker container and run that command it is not working. The output error is the following :

    


    [Parsed_zoompan_3 @ 0x2a08ac0c5140] [Eval @ 0x3ec4ec4c9ad0] Unknown function in 'it,0),2,if(lte(pzoom,1.0),2,max(1.56,pzoom-0.005789473684210526)))'


    


    I tried to add a fixed z value to the zoompan filter, and the command works also inside the container, so the issue is on the zoompan syntax.

    


    Here is my docker file

    


    FROM node:16

ENV NODE_ENV=production

RUN apt-get -y update && \
    apt-get install -y  ffmpeg \
    build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev 

WORKDIR /usr/src/app
COPY . .
RUN npm ci --production --silent

CMD node src/index.js


    


    Problem starts when i switch on new Macbook pro with M1 processor, but i'm not sure it's related, i build the image with the following command :

    


    docker buildx build --platform linux/x86_64  -t render-job .


    


    On my macchine there is ffmpeg 5.0.1 installed, but on docker container the command apt-get install -y     ffmpeg installs just the follow wersion :

    


    ffmpeg version 4.1.9-0+deb10u1 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)


    


    I don't think is relate to the version, because before to build with M1 processor the zoompan filter was working also in the container.

    


    Any help is appreciated.
Thanks.

    


  • Terminal : How to extract image-based subtitles from mp4 ?

    4 août 2022, par DevonDahon

    How to extract image-based subtitles from mp4 video ?

    


    $ ffmpeg -i myvideo.mp4
ffmpeg version 5.0.1 Copyright (c) 2000-2022 the FFmpeg developers
  built with Apple clang version 13.1.6 (clang-1316.0.21.2.5)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/5.0.1_3 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox
  libavutil      57. 17.100 / 57. 17.100
  libavcodec     59. 18.100 / 59. 18.100
  libavformat    59. 16.100 / 59. 16.100
  libavdevice    59.  4.100 / 59.  4.100
  libavfilter     8. 24.100 /  8. 24.100
  libswscale      6.  4.100 /  6.  4.100
  libswresample   4.  3.100 /  4.  3.100
  libpostproc    56.  3.100 / 56.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'myvideo.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 512
    compatible_brands: mp42iso2avc1mp41
    creation_time   : 2022-08-03T21:58:07.000000Z
    encoder         : HandBrake 1.5.1 2022011000
  Duration: 00:11:05.40, start: 0.000000, bitrate: 1635 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt470bg/bt470bg, progressive), 712x576 [SAR 16:15 DAR 178:135], 1454 kb/s, 25 fps, 25 tbr, 90k tbn (default)
    Metadata:
      creation_time   : 2022-08-03T21:58:07.000000Z
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](bre): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 162 kb/s (default)
    Metadata:
      creation_time   : 2022-08-03T21:58:07.000000Z
      handler_name    : Stereo
      vendor_id       : [0][0][0][0]
  Stream #0:2[0x3](bre): Subtitle: dvd_subtitle (mp4s / 0x7334706D), 720x576, 6 kb/s (default)
    Metadata:
      creation_time   : 2022-08-03T21:58:07.000000Z
      handler_name    : Brezhoneg
  Stream #0:3[0x4](fra): Subtitle: dvd_subtitle (mp4s / 0x7334706D), 720x576, 6 kb/s
    Metadata:
      creation_time   : 2022-08-03T21:58:07.000000Z
      handler_name    : Français
At least one output file must be specified


    


  • looking for Settings for FFmpeg, xTeVe, Plex [closed]

    3 août 2022, par Chris

    I am not sure if I am in the right place. But maybe someone can help me.

    


    Sorry for my bad english.

    


    I have a Qnap NAS, on this is insalled FFmepg, xTeVe and Plex.
I try to see IPTV Streams on Plex.

    


    Here the log file from xTeVe :

    



    


    2022-02-28 21:57:42 [xTeVe] Buffer : true [ffmpeg]

    


    2022-02-28 21:57:42 [xTeVe] Buffer Size : 4096 KB

    


    2022-02-28 21:57:42 [xTeVe] Channel Name : VIP SW : SRF 1 FHD

    


    2022-02-28 21:57:42 [xTeVe] Client User-Agent : Lavf/58.65.101

    


    2022-02-28 21:57:43 [xTeVe] Streaming Status : Playlist : Schweiz Neu - Tuner : 1 / 1

    


    2022-02-28 21:57:43 [xTeVe] FFMPEG path : /usr/bin/ffmpeg

    


    2022-02-28 21:57:43 [xTeVe] Streaming URL : http://tunestream.me:8080/XXXXXXX
/XXXXXXXX/9165

    


    2022-02-28 21:57:43 [xTeVe] FFMPEG : Processing data

    


    2022-02-28 21:57:43 [xTeVe] Streaming Status : Receive data from FFMPEG

    


    2022-02-28 21:57:43 [xTeVe] FFMPEG log : [mpegts @ 0x55e0732fe560] dimensions
not set

    


    2022-02-28 21:57:43 [xTeVe] [ERROR] FFMPEG error (Streaming was stopped by third party
transcoder (FFmpeg / VLC)) - EC : 1204

    


    2022-02-28 21:57:43 [xTeVe] FFMPEG log : Could not write header for output file
#0 (incorrect codec parameters ?) : Invalid argument

    


    2022-02-28 21:57:43 [xTeVe] FFMPEG log :

    


    2022-02-28 21:57:43 [xTeVe] Streaming Status : Client has terminated the connection

    


    2022-02-28 21:57:43 [xTeVe] Streaming Status : Channel : VIP SW : SRF 1 FHD (Clients : 0)

    


    2022-02-28 21:57:44 [xTeVe] Streaming Status : Channel : VIP SW : SRF 1 FHD - No client
is using this channel anymore. Streaming Server connection has ended

    


    2022-02-28 21:57:44 [xTeVe] Streaming Status : Playlist : Schweiz Neu - Tuner : 0 / 1

    



    


    on xTeVe i set this settings :

    


    Buffer Size : 5 MB

    


    Timeout for new client connections : 500

    


    FFmpeg Options : -hide_banner -loglevel error -i [URL] -c copy -f mpegts pipe:1

    


    If i put the Streaming URL on VLC is working.
But not with FFmpeg, xTeVe and Plex.

    


    Thanks for your help.

    


    Greetings
Chris