Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (106)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (13171)

  • Errors while building customised ffmpeg4.1 with libavcodec.58 and opencv

    8 juillet 2019, par geo-freak

    I am trying to build my customised ffmpeg of version 4.1. As we know that ffmpeg4.1 needs libavcodec.so.58 and other related libraries(newest). I have some functions related to opencv in my code such as cvLoadImage and other. I updated the libopencv-highgui-dev, libopencv_core-dev and libopencv_imgproc-dev libraries. When I run the makefile I got the following errors,

    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `av_free_packet@LIBAVCODEC_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `av_write_frame@LIBAVFORMAT_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `av_frame_alloc@LIBAVUTIL_55'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avformat_free_context@LIBAVFORMAT_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avformat_write_header@LIBAVFORMAT_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `av_rescale_q@LIBAVUTIL_55'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `av_write_trailer@LIBAVFORMAT_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `sws_getCachedContext@LIBSWSCALE_4'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avcodec_find_encoder@LIBAVCODEC_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `av_free@LIBAVUTIL_55'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avcodec_encode_video2@LIBAVCODEC_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `av_seek_frame@LIBAVFORMAT_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `av_lockmgr_register@LIBAVCODEC_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avcodec_decode_video2@LIBAVCODEC_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avcodec_open2@LIBAVCODEC_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `av_malloc@LIBAVUTIL_55'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avio_close@LIBAVFORMAT_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `av_init_packet@LIBAVCODEC_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `av_log_set_level@LIBAVUTIL_55'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avpicture_get_size@LIBAVCODEC_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avformat_get_riff_video_tags@LIBAVFORMAT_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avformat_close_input@LIBAVFORMAT_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avpicture_fill@LIBAVCODEC_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avformat_network_init@LIBAVFORMAT_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avformat_find_stream_info@LIBAVFORMAT_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avcodec_close@LIBAVCODEC_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `av_guess_codec@LIBAVFORMAT_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avio_open@LIBAVFORMAT_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `av_guess_format@LIBAVFORMAT_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avformat_open_input@LIBAVFORMAT_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `av_register_all@LIBAVFORMAT_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `sws_getContext@LIBSWSCALE_4'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avformat_new_stream@LIBAVFORMAT_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `av_frame_free@LIBAVUTIL_55'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `av_sub_q@LIBAVUTIL_55'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `av_freep@LIBAVUTIL_55'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avcodec_find_decoder@LIBAVCODEC_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `sws_freeContext@LIBSWSCALE_4'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `sws_scale@LIBSWSCALE_4'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avformat_alloc_context@LIBAVFORMAT_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `av_read_frame@LIBAVFORMAT_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `av_codec_get_id@LIBAVFORMAT_57'
    /usr/lib/x86_64-linux-gnu/libopencv_highgui.so: undefined reference to `avcodec_flush_buffers@LIBAVCODEC_57'

    I have clearly linked the newest libraries and included them in my makefile. Errors list suggesting me that, libopencv-highgui.so is pointing to libavcodec.57 version api’s. Has opencv not upgraded to support libavXX.so.58 libs ? or I am doing anything wrong here.

    Please help me with this, or any suggestions would be helpful.

  • Building a CLI Batch for Windows upon usage of FFmpeg Video Conversor

    24 juillet 2020, par blueskuc

    Here what ive done for WINDOWS users :

    


    but getting an error if any can help !

    


    Check code :

    


    @echo off
set /P file="Say the FILE EXTENTION.: "

(for %i in (*.%file%) do (
    @echo ffmpeg.exe -i %i -vf scale=480:320 %i-.mp4 > %file%-em-lista.bat
    
    ))

echo Now wait Batch File Created Started Convert, make sure having ffmpeg installed at system32
start %file%-em-lista.bat


    


    Also I noticed i got stucked, it does works out in CMD typed dirrecly :

    


    Give a check, this command will enumerate all txt files at your folder :

    


    FOR %f in (dir /b *.txt) do (echo %f)


    


    Guess its a not know code declaration or concatenation, im already at the 3th day trying it out of sevaral ways.

    


    @echo off

set /P fext="SAY VIDEO FORMAT.: "
set /P xpath="SAY FOLDER OR VIDEO LOCATION FOR BATCH CREATION.: "
set current_dir=%xpath%

echo "Your Current Directory IS: %current_dir%"

FOR /f %i in (dir /b *.%fext%) do (
        
        @echo ffmpeg.exe -i %i -vf scale=480:320 -v error -hwaccel cuda -hwaccel_device 0 %i.mp4 > %xext%-em-lista.bat
        
        )
echo "Starting Conversions"
start %fext%-em-lista.bat 
echo Wait Conversions Finish
end


    


    Since yesterday : UPDATED code working Stable inside Videos Folder 24/07/20

    


    @echo off

echo ###Set the VideoExample.Ext you are going to converto to MP4####

set /P file="Say the FILE EXTENTION.: "


REM going to make a if later for not Nvidia GC cuz of CUDA Aceleration not found in any Freeware Software REM

(for %%i in (*.%file%) do @echo ffmpeg.exe -v error -hwaccel cuda -hwaccel_device 0  -i %%i -acodec copy -f mp4 -ac 2 -vf scale=480:320 %%i.mp4) > %file%-to-mp4-em-lista2.bat

echo Wait Process Finish *-*
start %file%-to-mp4-em-lista2.bat


    


    As far now, need improvements for

    


    Options :
[1] make a default folder for IN and OUT converted Videos
[2] make a inseted DIR-PATH workable IN and OUTPUT Videos

    


    Videos to Audio and sort of FFMPEG options as we like.

    


  • 'imported-lib - NOTFOUND' in building ffmpeg 3.2 for android studio 2.2

    17 février 2017, par mdang

    I am trying to build and use ffmpeg for Android. My Andoid Studio version is 2.2.2 and ffmpeg is 3.2. Following Android documentation on how to import rebuild library, I think I got the setting right but kept on getting this error

    ninja: error: 'avcodec-NOTFOUND', needed by '../../../../build/intermediates/cmake/debug/obj/armeabi-v7a/...

    This is the setting

    add_library( avcodec SHARED IMPORTED )
    add_library( avdevice SHARED IMPORTED )
    add_library( avfilter SHARED IMPORTED )
    add_library( avformat SHARED IMPORTED )
    add_library( avutil SHARED IMPORTED )
    add_library( swscale SHARED IMPORTED )

    set_target_properties( avcodec
                           PROPERTIES FFMPEG_LIB_IMPORTED_LOCATION
                           libs/ffmpeg/${ANDROID_ABI}/lib/libavcodec.so
                           )
    set_target_properties(  avdevice
                           PROPERTIES FFMPEG_LIB_IMPORTED_LOCATION
                           libs/ffmpeg/${ANDROID_ABI}/lib/libavdevice.so
                           )
    set_target_properties( avfilter
                           PROPERTIES FFMPEG_LIB_IMPORTED_LOCATION
                           libs/ffmpeg/${ANDROID_ABI}/lib/libavfilter.so
                           )
    set_target_properties( avformat
                           PROPERTIES FFMPEG_LIB_IMPORTED_LOCATION
                           libs/ffmpeg/${ANDROID_ABI}/lib/libavformat.so
                           )
    set_target_properties( avutil
                           PROPERTIES FFMPEG_LIB_IMPORTED_LOCATION
                           libs/ffmpeg/${ANDROID_ABI}/lib/libavutil.so
                           )
    set_target_properties( swscale
                           PROPERTIES FFMPEG_LIB_IMPORTED_LOCATION
                           libs/ffmpeg/${ANDROID_ABI}/lib/libswscale.so
                           )

    # Specifies a path to native header files.
    include_directories(
                       libs/ffmpeg/${ANDROID_ABI}/include
                       )

    target_link_libraries( # Specifies the target library.
                          native-lib

                          # Links the target library to the log library
                          # included in the NDK.
                          avcodec avdevice avfilter avformat avutil swscale
                          ${log-lib}
                           )

    If I specify the full library name, libavcodec.so..., the error would go away.

    target_link_libraries( # Specifies the target library.
                          native-lib

                          # Links the target library to the log library
                          # included in the NDK.
                          libavcodec.so libavdevice.so libavfilter.so libavformat.so libavutil.so libswscale.so
                          ${log-lib}
                           )

    I wonder if anyone encountered similar issue or know why the compilation behaves this way.