
Recherche avancée
Médias (1)
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (100)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (12445)
-
How to generating waveform from video & show it with video
25 novembre 2016, par SalilWe 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.
-
android:video watermark show error
27 avril 2016, par Sakibmohammad SyedI 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. -
Convert a Video that it can show with preview in telegram via bot api
7 avril 2016, par siavashgI 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 ?