Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (37)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (7992)

  • Compiled file for ffmpeg - iphone audio

    3 avril 2012, par Sreekumar Kalarikkal

    I would like to build an iPhone application which streams internet radio stations which includes .wma files also. So I found that in-order to play wma files, we need FFMPEG compiled files. I tried to build FFMPEG for iPhone, but having errors. I followed the guide here,

    I can able to build ffmpeg, but when I run the project using that library, I am getting the following error.

    Ld /Users/sreekumar/Library/Developer/Xcode/DerivedData/WunderRadio-akpvnvqfzqleafaxhbibliqszxbp/Build/Intermediates/WunderRadio.build/Release-iphoneos/WunderRadio.build/Objects-normal/armv6/WunderRadio normal armv6
    cd "/Volumes/DISC/Radio App/Running copy/WR1.9/WunderRadio"
    setenv IPHONEOS_DEPLOYMENT_TARGET 3.0
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -L/Users/sreekumar/Library/Developer/Xcode/DerivedData/WunderRadio-akpvnvqfzqleafaxhbibliqszxbp/Build/Products/Release-iphoneos -L/Volumes/TUNEAGE/Projects/Debug-iphoneos -L/Volumes/TUNEAGE/Projects/Debug-iphonesimulator "-L/Volumes/DISC/Radio App/Running copy/WR1.9/WunderRadio/../Common/build/Release-iphonesimulator" "-L/Users/sreekumar/Downloads/WR1.9 4/Common/build/Release-iphoneos" "-L/Volumes/DISC/Radio App/Running copy/WR1.9/WunderRadio/MMS/build/MMS.build/Release-iphoneos/libmms.build/Objects-normal/armv6" "-L/Volumes/DISC/Radio App/Running copy/WR1.9/WunderRadio/MMS/build/MMS.build/Release-iphoneos/libmms.build/Objects-normal/armv7" "-L/Volumes/DISC/Radio App/Running copy/WR1.9/WunderRadio/MMS/build/Release-iphoneos" "-L/Volumes/DISC/Radio App/Running copy/WR1.9/WunderRadio/../../../Compiled frameworks MMS and ffmpeg/WR1.9/MMS/build/Release-iphoneos" "-L/Volumes/DISC/Radio App/Running copy/WR1.9/WunderRadio/../../.." "-L/Volumes/DISC/Radio App/Running copy/WR1.9/WunderRadio" -F/Users/sreekumar/Library/Developer/Xcode/DerivedData/WunderRadio-akpvnvqfzqleafaxhbibliqszxbp/Build/Products/Release-iphoneos -filelist /Users/sreekumar/Library/Developer/Xcode/DerivedData/WunderRadio-akpvnvqfzqleafaxhbibliqszxbp/Build/Intermediates/WunderRadio.build/Release-iphoneos/WunderRadio.build/Objects-normal/armv6/WunderRadio.LinkFileList -dead_strip -ObjC -Wl --allow-multiple-definition -all_load -miphoneos-version-min=3.0 -framework MessageUI -framework Foundation -framework UIKit -framework CoreGraphics -framework SystemConfiguration -framework AudioToolbox -framework QuartzCore -framework MediaPlayer -weak_framework AVFoundation -framework CoreLocation -framework CFNetwork -lffmpegLib -llibmms -lCommon -lz -o /Users/sreekumar/Library/Developer/Xcode/DerivedData/WunderRadio-akpvnvqfzqleafaxhbibliqszxbp/Build/Intermediates/WunderRadio.build/Release-iphoneos/WunderRadio.build/Objects-normal/armv6/WunderRadio

    ld: warning: directory not found for option '-L/Volumes/TUNEAGE/Projects/Debug-iphoneos'
    ld: warning: directory not found for option '-L/Volumes/TUNEAGE/Projects/Debug-iphonesimulator'
    ld: warning: ignoring file /Volumes/DISC/Radio App/Running copy/WR1.9/Common/build/Release-iphonesimulator/libCommon.a, file was built for archive which is not the architecture being linked (armv6)
    ld: duplicate symbol _fourxm_decoder in /Volumes/DISC/Radio App/libffmpegLib.a(4xm.o) and /Volumes/DISC/Radio App/libffmpegLib.a(4xm.o) for architecture armv6
    collect2: ld returned 1 exit status
    Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1    

    So I think anybody of you may be successfully compiled and used this. If yes please give me some instructions to do this.

    Or if you can find the solution for the error. please let me know.

  • How to execute this ffmpeg command for multiple videos in a folder and rename them on Linux terminal [duplicate]

    3 février 2023, par average_grad_student

    I'm trying to change the framerate of my video to 15fps and I need to do that for 100+ videos that are in the same folder

    


    For processing a single video I use the following command-
ffmpeg -i input.mp4 -filter:v fps=fps=15 processed/input_15fpst.mp4

    


    How do I do this for multiple videos in the folder and add a suffix _15fps to them ? I'm not very familiar with Linux programming

    


    Thank you so much !

    


    I tried doing this-
    
for f in *.MP4; do ffmpeg -i "$f" -filter:v fps=fps=15 process/"$f"; done

    


    But I want to rename the file as well, how do I change my loop ?

    


  • C++ Boost launching FFMPEG doesnt work, working ok via terminal

    21 juin 2023, par Pit Digger

    I am launching an FFMPEG process from C++ , the command is workign fine from terminal command line, but gives error when laucnhed from code. What could cause this ?

    


    Error

    


    [AVFilterGraph @ 0x3cfadc0] Error parsing filterchain "[0:v]split=3[v1][v2][v3];[v1]copy[v1out];[v2]scale=w=1280:h=720[v2out];[v3]scale=w=640:h=360[v3out]"
    
[AVFilterGraph @ 0x2f9fb00] Error parsing filterchain 
    
[AVFilterGraph @ 0x3cfadc0] Trailing garbage after a filter: split=3[v1][v2][v3];[v1]copy[v1out];[v2]scale=w=1280:h=720[v2out];[v3]scale=w=640:h=360[v3out]


    


    Code

    


    std::vector args;
args.push_back("-i"); args.push_back("input.mp4");
args.push_back("-filter_complex");
args.push_back("\"[0:v]split=3[v1][v2][v3];[v1]copy[v1out];[v2]scale=w=1280:h=720[v2out];[v3]scale=w=640:h=360[v3out]\"");

args.push_back("-map");  args.push_back("[v1out]");
args.push_back("-c:v:0");  args.push_back("libx264");
args.push_back("-x264-params");  args.push_back("\"nal-hrd=cbr:force-cfr=1\"");
args.push_back("-b:v:0");  args.push_back("1M");
args.push_back("-maxrate:v:0");  args.push_back("2M");
args.push_back("-minrate:v:0");  args.push_back("2M");
args.push_back("-bufsize:v:0");  args.push_back("2M");
args.push_back("-preset");  args.push_back("fast");
args.push_back("-g");  args.push_back("48");
args.push_back("-sc_threshold");  args.push_back("0");
args.push_back("-keyint_min");  args.push_back("48");

args.push_back("-map");  args.push_back("[v2out]");
args.push_back("-c:v:1");  args.push_back("libx264");
args.push_back("-x264-params");  args.push_back("\"nal-hrd=cbr:force-cfr=1\"");
args.push_back("-b:v:1");  args.push_back("1M");
args.push_back("-maxrate:v:1");  args.push_back("1M");
args.push_back("-minrate:v:1");  args.push_back("1M");
args.push_back("-bufsize:v:1");  args.push_back("1M");
args.push_back("-preset");  args.push_back("fast");
args.push_back("-g");  args.push_back("48");
args.push_back("-sc_threshold");  args.push_back("0");
args.push_back("-keyint_min");  args.push_back("48");

args.push_back("-map");  args.push_back("[v3out]");
args.push_back("-c:v:2");  args.push_back("libx264");
args.push_back("-x264-params");  args.push_back("\"nal-hrd=cbr:force-cfr=1\"");
args.push_back("-b:v:2");  args.push_back("500K");
args.push_back("-maxrate:v:2");  args.push_back("500K");
args.push_back("-minrate:v:2");  args.push_back("500K");
args.push_back("-bufsize:v:2");  args.push_back("500K");
args.push_back("-preset");  args.push_back("fast");
args.push_back("-g");  args.push_back("48");
args.push_back("-sc_threshold");  args.push_back("0");
args.push_back("-keyint_min");  args.push_back("48");

args.push_back("-map");  args.push_back("a:0");
args.push_back("-c:a:0");  args.push_back("aac");
args.push_back("-b:a:0");  args.push_back("96k");
args.push_back("-ac");  args.push_back("2");
args.push_back("-map");  args.push_back("a:0");
args.push_back("-c:a:1");  args.push_back("aac");
args.push_back("-b:a:1");  args.push_back("96k");
args.push_back("-ac");  args.push_back("2");
args.push_back("-map");  args.push_back("a:0");
args.push_back("-c:a:2");  args.push_back("aac");
args.push_back("-b:a:2");  args.push_back("48k");
args.push_back("-ac");  args.push_back("2");

args.push_back("-avoid_negative_ts");  args.push_back("1");
args.push_back("-f");  args.push_back("hls");
args.push_back("-hls_time");  args.push_back("6");
args.push_back("-hls_list_size");  args.push_back("15");
args.push_back("-hls_flags");  args.push_back("independent_segments");
args.push_back("-hls_segment_type");  args.push_back("mpegts");
args.push_back("-hls_segment_filename");  args.push_back("/output/stream_%v_data%02d.ts");
args.push_back("-master_pl_name");  args.push_back("index.m3u8");
args.push_back("-var_stream_map");  args.push_back("\"v:0,a:0 v:1,a:1 v:2,a:2\"");
args.push_back("/output/stream_%v.m3u8");


m_childProcess = std::make_unique(
            bp::exe = ffmpegPath,
            bp::args = args);


    


    Command that above code builds (indented for visibility) :

    


     ffmpeg -i input.mp4 -c copy -filter_complex "[0:v]split=3[v1][v2][v3];[v1]copy[v1out];[v2]scale=w=1280:h=720[v2out];[v3]scale=w=640:h=360[v3out]" 
-map [v1out] -c:v:0 libx264 -x264-params "nal-hrd=cbr:force-cfr=1" -b:v:0 1M -maxrate:v:0 2M -minrate:v:0 2M -bufsize:v:0 2M -preset fast -g 48 -sc_threshold 0 -keyint_min 48 
-map [v2out] -c:v:1 libx264 -x264-params "nal-hrd=cbr:force-cfr=1" -b:v:1 1M -maxrate:v:1 1M -minrate:v:1 1M -bufsize:v:1 1M -preset fast -g 48 -sc_threshold 0 -keyint_min 48  
-map [v3out] -c:v:2 libx264 -x264-params "nal-hrd=cbr:force-cfr=1" -b:v:2 500K -maxrate:v:2 500K -minrate:v:2 500K -bufsize:v:2 500K -preset fast -g 48 -sc_threshold 0 -keyint_min 48 -map a:0 -c:a:0 aac -b:a:0 96k -ac 2 
-map a:0 -c:a:1 aac -b:a:1 96k -ac 2 -map a:0 -c:a:2 aac -b:a:2 48k -ac 2 
-avoid_negative_ts 1 -f hls -hls_time 6 -hls_list_size 15 -hls_flags independent_segments -hls_segment_type mpegts -hls_segment_filename /output/stream_%v_data%02d.ts -master_pl_name index.m3u8 -var_stream_map "v:0,a:0 v:1,a:1 v:2,a:2" /output/stream_%v.m3u8