
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (70)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Publier sur MédiaSpip
13 juin 2013Puis-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 -
Changer son thème graphique
22 février 2011, parLe thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
Modifier le thème graphique utilisé
Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
Il suffit ensuite de se rendre dans l’espace de configuration du (...)
Sur d’autres sites (12893)
-
FFMpeg Unknown function in zoompan filter
4 août 2022, par Luciano Salemmei'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 DevonDahonHow 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 ChrisI 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