
Recherche avancée
Autres articles (54)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (4044)
-
avcodec/cbs_av1 : abort when written inferred values don't match
11 juin 2020, par James Almeravcodec/cbs_av1 : abort when written inferred values don't match
If this happens, it's a sign of parsing issues earlier in the process, or
misuse by the calling module.Prevents writing invalid bitstreams.
Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by : James Almer <jamrial@gmail.com> -
FFmpeg freezes during trim, concat and add watermark
14 juin 2020, par Nguyễn TrọngI'm trying to cut each video and change the speed of each, then I join them and finally add watermark. I calculated the percentage of the process and found it was working fine but it did not run to the onFinished function but stood still.I do not have a lot of clues why it happens. Anybody experienced something similar ?



cmd = [-y, -i, /storage/emulated/0/Story Saver/test.mp4, -i, /storage/emulated/0/.FXMotion/.LOGO/logo_watermark.png, -filter_complex_script, /storage/emulated/0/.FXMotion/.Script/script.txt, -map, [vw], -c:v, libx264, -pix_fmt, yuv420p, -crf, 18, -preset, veryfast, /storage/emulated/0/FXMotion/output.mp4, -hide_banner]




onProgress: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Story Saver/test.mp4':
onProgress: Metadata:onProgress: major_brand : isomonProgress: minor_version : 512:
onProgress: compatible_brands: isomiso2avc1mp41
onProgress: encoder : Lavf58.20.100onProgress: Duration: 00:00:10.40, start: 0.000000, bitrate: 1877 kb/s
onProgress: 
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709), 540x960, 1804 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
onProgress: Metadata:onProgress: handler_name : VideoHandleronProgress: Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 64 kb/s (default)
onProgress: Metadata:
onProgress: handler_name : SoundHandler
onProgress: Input #1, png_pipe, from '/storage/emulated/0/.FXMotion/.LOGO/logo_watermark.png':
onProgress: Duration: N/A, bitrate: N/A
onProgress: Stream #1:0: Video: png, rgba(pc), 335x51, 25 tbr, 25 tbn, 25 tbc
onProgress: Stream mapping:
onProgress: Stream #0:0 (h264) -> trim
onProgress: Stream #0:0 (h264) -> trim
onProgress: Stream #0:0 (h264) -> trim
onProgress: Stream #0:0 (h264) -> trim
onProgress: Stream #0:1 (aac) -> atrim
onProgress: Stream #0:1 (aac) -> atrim
onProgress: Stream #0:1 (aac) -> atrim
onProgress: Stream #0:1 (aac) -> atrim
onProgress: Stream #0:1 (aac) -> atrim
onProgress: Stream #0:1 (aac) -> atrim
onProgress: Stream #0:1 (aac) -> atrim
 onProgress: Stream #0:1 (aac) -> atrim
onProgress: Stream #0:1 (aac) -> atrim
 onProgress: Stream #0:1 (aac) -> atrim
 onProgress: Stream #0:1 (aac) -> atrim
 onProgress: Stream #0:1 (aac) -> atrim
onProgress: Stream #0:1 (aac) -> atrim
 onProgress: Stream #1:0 (png) -> scale
 onProgress: concat:out:a0 -> Stream #0:0 (aac)
 onProgress: overlay -> Stream #0:1 (libx264)
onProgress: Press [q] to stop, [?] for help
onProgress: [libx264 @ 0xf1cba100] using cpu capabilities: ARMv6 NEON
onProgress: [libx264 @ 0xf1cba100] profile High, level 3.1
onProgress: [libx264 @ 0xf1cba100] 264 - core 152 r2851M ba24899 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
onProgress: Output #0, mp4, to '/storage/emulated/0/FXMotion/Motion_441753_07_09.mp4':
onProgress: Metadata:
onProgress: major_brand : isom
onProgress: minor_version : 512
onProgress: compatible_brands: isomiso2avc1mp41
onProgress: encoder : Lavf58.12.100
onProgress: Stream #0:0: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
onProgress: Metadata:
onProgress: encoder : Lavc58.18.100 aac
onProgress: Stream #0:1: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 540x960, q=-1--1, 30 fps, 15360 tbn, 30 tbc (default)
onProgress: Metadata:
onProgress: encoder : Lavc58.18.100 libx264
onProgress: Side data:
onProgress: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
onProgress: frame= 3 fps=0.0 q=0.0 size= 0kB time=00:00:00.06 bitrate= 5.5kbits/s speed=0.138x 
onProgress: frame= 22 fps= 22 q=0.0 size= 0kB time=00:00:00.71 bitrate= 0.5kbits/s dup=2 drop=0 speed=0.712x 
onProgress: frame= 47 fps= 31 q=24.0 size= 256kB time=00:00:01.50 bitrate=1389.8kbits/s dup=7 drop=0 speed=0.998x 
onProgress: frame= 64 fps= 32 q=24.0 size= 512kB time=00:00:02.08 bitrate=2007.2kbits/s dup=12 drop=0 speed=1.03x 
onProgress: frame= 86 fps= 34 q=24.0 size= 768kB time=00:00:02.83 bitrate=2221.1kbits/s dup=21 drop=0 speed=1.12x 
onProgress: frame= 104 fps= 34 q=24.0 size= 768kB time=00:00:03.41 bitrate=1843.3kbits/s dup=29 drop=0 speed=1.12x 
onProgress: frame= 121 fps= 34 q=24.0 size= 1024kB time=00:00:03.99 bitrate=2100.5kbits/s dup=37 drop=0 speed=1.13x 
onProgress: frame= 138 fps= 34 q=24.0 size= 1280kB time=00:00:04.57 bitrate=2292.4kbits/s dup=46 drop=0 speed=1.13x 
onProgress: frame= 157 fps= 34 q=24.0 size= 1280kB time=00:00:05.24 bitrate=1998.2kbits/s dup=56 drop=0 speed=1.15x 
onProgress: frame= 179 fps= 35 q=24.0 size= 1536kB time=00:00:05.92 bitrate=2125.2kbits/s dup=67 drop=0 speed=1.16x 
onProgress: frame= 196 fps= 35 q=24.0 size= 1792kB time=00:00:06.45 bitrate=2274.2kbits/s dup=76 drop=0 speed=1.15x 
onProgress: frame= 212 fps= 35 q=24.0 size= 2048kB time=00:00:06.98 bitrate=2400.5kbits/s dup=84 drop=0 speed=1.15x 
onProgress: frame= 228 fps= 34 q=24.0 size= 2048kB time=00:00:07.56 bitrate=2216.4kbits/s dup=91 drop=0 speed=1.14x 
onProgress: frame= 248 fps= 35 q=24.0 size= 2304kB time=00:00:08.19 bitrate=2302.8kbits/s dup=97 drop=0 speed=1.15x 
onProgress: Past duration 0.690956 too large
onProgress: Past duration 0.882378 too large
onProgress: Past duration 0.682365 too large
onProgress: Past duration 0.973366 too large
onProgress: frame= 269 fps= 35 q=24.0 size= 2304kB time=00:00:08.82 bitrate=2139.1kbits/s dup=99 drop=1 speed=1.16x 
onProgress: frame= 284 fps= 35 q=24.0 size= 2560kB time=00:00:09.35 bitrate=2241.2kbits/s dup=99 drop=9 speed=1.15x 
onProgress: frame= 300 fps= 35 q=24.0 size= 2816kB time=00:00:09.86 bitrate=2337.7kbits/s dup=99 drop=18 speed=1.14x 
onProgress: frame= 315 fps= 34 q=24.0 size= 2816kB time=00:00:10.40 bitrate=2217.7kbits/s dup=99 drop=26 speed=1.14x 
onProgress: Past duration 0.878990 too large
onProgress: frame= 332 fps= 34 q=24.0 size= 3072kB time=00:00:10.95 bitrate=2296.2kbits/s dup=99 drop=31 speed=1.13x 
onProgress: frame= 351 fps= 35 q=24.0 size= 3328kB time=00:00:11.63 bitrate=2343.6kbits/s dup=99 drop=31 speed=1.14x 
onProgress: Past duration 0.931847 too large
onProgress: Past duration 0.982628 too large
onProgress: frame= 371 fps= 35 q=24.0 size= 3328kB time=00:00:12.30 bitrate=2215.4kbits/s dup=99 drop=31 speed=1.15x 






EDIT-update content of script






Edit 2(reduce inputs)





-
How to prevent App sandoxing from blocking a plugin usage after codesigning ?
27 mai 2020, par CyhzaultI'm struggling to codesign my Unity application in order to push it to the Mac App Store. I followed the unity recommended process but some issues appeared after the codesign command. I've been able to fix some of them by adding new keys in my entitlement file but i'm still stuck due to the App Sandboxing mecanism.



In my application I use an external plugin named FFmpeg to manage video encoding. After codesigning with the mandatory app sandboxing entitlement set to true, the plugin stopped working and i have no log explaining why.



I tried multiple solutions detailed in other posts like defining an AppSandbox inheritance or adding more keys to my entiltement file but none of them worked.



I'm new to codesigning and here is my process and entitlements file :



- 

chmod -R a+xr ./MY_APP.app
codesign --force --sign '3rd Party Mac Developer Application: My Company (id)' --entitlements ./FFmpeg.entitlements ./MY_APP.app/Contents/Resources/Data/StreamingAssets/FFmpegOut/macOS/ffmpeg
codesign -f --deep -s '3rd Party Mac Developer Application: My Company (id)' --entitlements ./MY_APP.entitlements ./MY_APP.app
- Verify codesign & Product build - both successful











The main entitlement file for the app (MY_APP.entitlements) :



<?xml version="1.0" encoding="UTF-8"?>

<plist version="1.0">
 <dict>
 <key>com.apple.security.app-sandbox</key>
 <true></true>
 <key>com.apple.security.files.user-selected.read-write</key>
 <true></true>
 <key>com.apple.security.network.client</key>
 <true></true>
 <key>com.apple.security.files.user-selected.executable</key>
 <true></true>
 <key>com.apple.security.cs.allow-unsigned-executable-memory</key>
 <true></true>
 <key>com.apple.security.cs.disable-library-validation</key>
 <true></true>
 <key>com.apple.security.cs.allow-dyld-environment-variables</key>
 <true></true>
 <key>com.apple.security.get-task-allow</key>
 <true></true>
 </dict>
</plist>




Here is the second entitlement file (FFmpeg.entiltlement) for the plugin with inheritance :



<?xml version="1.0" encoding="UTF-8"?>

<plist version="1.0">
 <dict>
 <key>com.apple.security.app-sandbox</key>
 <true></true>
 <key>com.apple.security.inherit</key>
 <true></true>
 </dict>
</plist>




The plugin i used can be found on github, i'll cross post my issue there as well.



I will gladfully take any idea or solution, 
Thanks for your help,



Regards,
Alexis