Recherche avancée

Médias (1)

Mot : - Tags -/stallman

Autres articles (84)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (11038)

  • Convert a Video that it can show with preview in telegram via bot api

    7 avril 2016, par siavashg

    I Have a video and i want to send it with telegram bot api by pytelegrambotapi library so i write this code for send video by bot :

    import telebot

    bot = telebot.TeleBot("TOKEN")

    @bot.message_handler(commands=['start'])
    def send_welcome(message):
       video = open('1.mp4', 'rb')
       bot.send_video(message.chat.id,video, duration=)

    bot.polling(none_stop=True)

    but I send a video and it has been sent successfully but telegram show black screen for my video like this picture
    Telegram With Black Scrreen preview of video.
    I think this is about the encoding . I found this site for encoding and it said the videos in telegram have specific format.

    Conditions to trim a video

    • Audio codec = mp4a
    • Video codec = supported by the device
    • Any side of the video more than 640px
    • Or if a side is less than 640px but video codec is h264

    Conditions to compress a video

    • Any side of the video over 640px
    • Audio codec = mp4a
    • A video encoder different than :
    • OMX.google.h264.encoder
    • OMX.ST.VFM.H264Enc
    • OMX.Exynos.avc.enc
    • OMX.MARVELL.VIDEO.HW.CODA7542ENCODER
    • OMX.MARVELL.VIDEO.H264ENCODER

    How can I send Video with blur image preview of that in telegram with telegram bot api ?

  • android:video watermark show error

    27 avril 2016, par Sakibmohammad Syed

    I want to watermark video and below is my code but when I try to run then it show error like Failed to validate license file, existing!.

       public class MainActivity extends AppCompatActivity {
       private String strAudioFolderPath;
       @Override
       protected void onCreate(Bundle savedInstanceState) {
           super.onCreate(savedInstanceState);
           setContentView(R.layout.activity_main);

           // here my ffmpeg command to watermark video.
           String s = "ffmpeg -i /sdcard/Download/testing.mp4 -i /sdcard/temp1.jpg -filter_complex 'overlay=10:main_h-overlay_h-10' /sdcard/Download/out.mp4";

           GeneralUtils.deleteFileUtil(strAudioFolderPath + "vk.log");
           PowerManager powerManager = (PowerManager) this.getSystemService(Activity.POWER_SERVICE);
           PowerManager.WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "VK_LOCK");
           wakeLock.acquire();
           LoadJNI vk = new LoadJNI();
           try {
               try {
                   vk.run(GeneralUtils.utilConvertToComplex(s), strAudioFolderPath, MainActivity.this);
                   Log.e("Checking water marker", ">>>>>>>>>>>>>>>");

               } catch (Throwable e) {
               } finally {
                   if (wakeLock.isHeld())
                       wakeLock.release();
                   else {
                   }
               }
           } catch (Exception e)
           {
               e.printStackTrace();
           }        
       }
    }

    and error show in logcat like below.

       04-26 17:13:18.211 20492-20492/com.example.android.watermarkvideo I/Videokit: license file not found...
    04-26 17:13:18.211 20492-20492/com.example.android.watermarkvideo I/Videokit: license file /sdcard/Download/testing.mp4/ffmpeglicense.lic not created.
    04-26 17:13:18.211 20492-20492/com.example.android.watermarkvideo D/Videokit: license check rc: -3
    04-26 17:13:18.211 20492-20492/com.example.android.watermarkvideo E/Videokit: Failed to validate license file, existing!

    Actually I have used ffmpeg library to watermak on video file but it is not woking as well as I have not find any proper solution so please help.
    Thanks in advance.

  • How to generating waveform from video & show it with video

    25 novembre 2016, par Salil

    We are using Rails as a backend & AngularJS on Front End side in my App where we need to show Video & audio waveform of that video.

    We are using ’wavesurfer.js’ to show the waveform on Front End side & ’node-pcm’ to generate pcm from video file on BackEnd side.

    This is working as expected but in some of the videos while creating waveform from pcm data instead of showing small sine waves we get flat line.
    Also it takes too much time to show the waveform for every page reload.

    To overcome this issue we are planning to create waveform image using ffmpeg

    ffmpeg -i 'https://s3.amazonaws.com/aadasdsadsadasdas/xyz.mp4' -filter_complex showwavespic -frames:v 1 output.png

    This is working fine but it also takes too much time (Ofcourse only once ) to generate the image for remote video (i.e. We are saving videos on S3)

    Problem with this i don’t get any library to integrate the waveform image with the Video.

    Can someone suggest any better approach related to this.