
Recherche avancée
Autres articles (44)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Prérequis à l’installation
31 janvier 2010, parPréambule
Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
Il (...)
Sur d’autres sites (4050)
-
FFmpeg - filter_complex error,Too many inputs specified for the "scale" filter
20 septembre 2018, par wensefuI’m trying to
concat
some video into one single video usingffmpeg
. here’s my ffmpeg cmd :ffmpeg -i input1.avi -i input2.mkv -filter_complex [0:v]scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2[v0];[v0][0:a][1:v]scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2[v1];[v1][1:a]concat=n=2:v=1:a=1[outv][outa] -map [outv] -map [outa] -vcodec libx264 -crf 27 -preset ultrafast out.mp4
but got error :
[AVFilterGraph @ 0xd177f500] Too many inputs specified for the "scale" filter.
E AVLOG : Error initializing complex filters.
E AVLOG : Invalid argument
E AVLOG : At least one output file must be specified
I AVLOG : Stream mapping:
I AVLOG : Press [q] to stop, [?] for help
I AVLOG : No more output streams to write to, finishing.
E AVLOG :
F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 17256 (IntentService[v)Any ideas anyone ?
Many thanks in advance.
-
How to fix the error "duplicate symbol _LOG_BUFFER_LENGTH"
25 mai 2019, par Florentin LupascuI have a Unity project embedded into Swift 4 and when I build the project I get an error from a plugin named FFmpeg (used to record the screen) and the error is next :
duplicate symbol _LOG_BUFFER_LENGTH in:
/Users/developers/Library/Developer/Xcode/DerivedData/DemoApp-bszfgmzljpyourbdjoxkdabtilki/Build/Intermediates.noindex/DemoApp.build/Debug-iphoneos/DemoApp.build/Objects-normal/arm64/cmdutils.o
/Users/developers/Library/Developer/Xcode/DerivedData/DemoApp-bszfgmzljpyourbdjoxkdabtilki/Build/Intermediates.noindex/DemoApp.build/Debug-iphoneos/DemoApp.build/Objects-normal/arm64/ffmpeg.o
duplicate symbol _LOG_BUFFER_LENGTH in:
/Users/developers/Library/Developer/Xcode/DerivedData/DemoApp-bszfgmzljpyourbdjoxkdabtilki/Build/Intermediates.noindex/DemoApp.build/Debug-iphoneos/DemoApp.build/Objects-normal/arm64/cmdutils.o
/Users/developers/Library/Developer/Xcode/DerivedData/DemoApp-bszfgmzljpyourbdjoxkdabtilki/Build/Intermediates.noindex/DemoApp.build/Debug-iphoneos/DemoApp.build/Objects-normal/arm64/ffmpeg_wrapper.o
duplicate symbol _LOG_BUFFER_LENGTH in:
/Users/developers/Library/Developer/Xcode/DerivedData/DemoApp-bszfgmzljpyourbdjoxkdabtilki/Build/Intermediates.noindex/DemoApp.build/Debug-iphoneos/DemoApp.build/Objects-normal/arm64/cmdutils.o
/Users/developers/Library/Developer/Xcode/DerivedData/DemoApp-bszfgmzljpyourbdjoxkdabtilki/Build/Intermediates.noindex/DemoApp.build/Debug-iphoneos/DemoApp.build/Objects-normal/arm64/intercept.o
ld: 3 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)I want to specify that if I export the project from Unity to Xcode without to embed it is working perfectly with this Plugin.
What can be the problem with this error ?Until now I tried next thing to remove the error but none helped me :
- I checked if I have "-ObjC" in Xcode in "Other Linker Flags" and I don’t have.
- I removed a duplicate library (“libil2cpp.a”) from "Link Binary With Libraries" (XCODE)
- I changed ’No Common Blocks’ from Yes to No (under Targets->Build Settings->Apple LLVM - Code Generation )
At the end I have the same error.
Here is a print screen :Thank you so much if you spend your time to read this and any idea will be helpful.
-
Syntax error : "(" unexpected — with !(*.sh) in bash script [duplicate]
25 janvier 2023, par Jmv JmvI want to run a sh file :



#!/bin/bash
for f in !(*.sh); do
 ffmpeg -i "$f" -vf yadif=0:-1 -threads 0 -c:v libx264 -pix_fmt yuv420p \
 -r 29.97 -b:v 3000k -s 1280x720 -preset:v slow -profile:v Main \
 -level 3.1 -bf 2 -movflags faststart /mnt/media/out-mp4/"${f%.mxf}.mp4"
 rm $f
done




However, I get the following error :



2: task1.sh: Syntax error: "(" unexpected




If I try directly on the command line it works perfectly.





the path and permissions are already reviewed





Any idea what might be happening ?