Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

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

Autres articles (101)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Contribute to documentation

    13 avril 2011

    Documentation 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 (...)

Sur d’autres sites (7946)

  • sh : -c : line 0 : syntax error near unexpected token `('

    26 février 2017, par asad

    Hi iam using following c++ code to create ffmpeg command. When i run this command in bash using linux popen, following error occurs. If i put the command directly in bash, it works fine and doesn’t give any other. Please help me figure out the cause of it.

    C++ code to generate command :

    const string VideoCreator::GetFFMPEG_Silent_Audio_Merge_command()
    {
       stringstream command;
       command << FFMPEG_BINARY  << " -nostdin -loglevel error -y -threads 0 -f concat -safe 0 -i <(echo file /home/ec2-user/videoData/DnXptC4ld8/FADING_OUT_VOLUP_Blrt_Decrypt_1ed5c4d569d8a1f23428b65217f65eaf_audio.m4a; echo file /home/ec2-user/videocreation/temp/silence.m4a) -c copy " << _outputAudioWithSilence;// << " 2> " << _ffmpeg_log_file;
       std::cout << "\n Command = " << command.str() << "\n";
       return command.str();
    }

    Bash error :

    sh: -c: line 0: syntax error near unexpected token `('
    sh: -c: line 0: `/opt/ffmpeg/ffmpeg -nostdin -loglevel error -y -threads 0 -f concat -safe 0 -i <(echo file /home/ec2-user/videoData/DnXptC4ld8/FADING_OUT_VOLUP_Blrt_Decrypt_1ed5c4d569d8a1f23428b65217f65eaf_audio.m4a; echo file /home/ec2-user/videocreation/temp/silence.m4a) -c copy /home/ec2-user/videoData/DnXptC4ld8/WITH_SILENCE_FADING_OUT_VOLUP_Blrt_Decrypt_1ed5c4d569d8a1f23428b65217f65eaf_audio.m4a'
  • Execution failed for task ':extension-ffmpeg:externalNativeBuildRelease'

    21 septembre 2021, par Feroz Khan

    I'm trying to build ExoPlayer with ffmpeg extension upon running the ./gradlew extension-ffmpeg:assembleRelease command, getting the following error.

    


    Build command failed.
Error while executing process /root/Android/Sdk/cmake/3.18.1/bin/ninja with arguments {-C 
/home/ferozkhandev/ExoPlayer/extensions/ffmpeg/.cxx/cmake/release/armeabi-v7a ffmpegJNI}
  ninja: Entering directory 
`/home/ferozkhandev/ExoPlayer/extensions/ffmpeg/.cxx/cmake/release/armeabi-v7a'
 
ninja: error: '/home/ferozkhandev/ExoPlayer/extensions/ffmpeg/src/main/jni/ffmpeg/android- 
libs/armeabi-v7a/libswresample.a', needed by 
'/home/ferozkhandev/ExoPlayer/extensions/ffmpeg/buildout/intermediates/cmake/release/obj/armeabi- 
v7a/libffmpegJNI.so', missing and no known rule to make it


    


  • Error in building opencv with ffmpeg

    15 avril 2020, par batuman

    I installed ffmpeg according to this article. ffmpeg installation was ok.
Now I build opencv with ffmpeg support and I have some errors.
The errors are

    



    /home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp:1484:21: error: ‘CODEC_FLAG_GLOBAL_HEADER’ was not declared in this scope
         c->flags |= CODEC_FLAG_GLOBAL_HEADER;
                     ^
/home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp: In function ‘int icv_av_write_frame_FFMPEG(AVFormatContext*, AVStream*, uint8_t*, uint32_t, AVFrame*)’:
/home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp:1512:30: error: ‘AVFMT_RAWPICTURE’ was not declared in this scope
     if (oc->oformat->flags & AVFMT_RAWPICTURE) {
                              ^
/home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function ‘void CvVideoWriter_FFMPEG::close()’:
/home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp:1686:35: error: ‘AVFMT_RAWPICTURE’ was not declared in this scope
         if( (oc->oformat->flags & AVFMT_RAWPICTURE) == 0 )
                                   ^
/home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvVideoWriter_FFMPEG::open(const char*, int, double, int, int, bool)’:
/home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp:1920:32: error: ‘AVFMT_RAWPICTURE’ was not declared in this scope
     if (!(oc->oformat->flags & AVFMT_RAWPICTURE)) {
                                ^
In file included from /home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg.cpp:45:0:
/home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp: In static member function ‘static AVStream* OutputMediaStream_FFMPEG::addVideoStream(AVFormatContext*, AVCodecID, int, int, int, double, AVPixelFormat)’:
/home/coie/Softwares/Libraries/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp:2214:25: error: ‘CODEC_FLAG_GLOBAL_HEADER’ was not declared in this scope
             c->flags |= CODEC_FLAG_GLOBAL_HEADER;
                         ^
modules/highgui/CMakeFiles/opencv_highgui.dir/build.make:230: recipe for target 'modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o' failed
make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o] Error 1
CMakeFiles/Makefile2:2349: recipe for target 'modules/highgui/CMakeFiles/opencv_highgui.dir/all' failed


    



    What could be wrong ?