
Recherche avancée
Autres articles (23)
-
Publier sur MédiaSpip
13 juin 2013Puis-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 -
Supporting all media types
13 avril 2011, parUnlike 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 (...)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)
Sur d’autres sites (6696)
-
Encode video for streaming in Android using FFmpeg
16 décembre 2013, par TimofeyUPD : I guess I found the problem. For some reason, 1800x1080 video aren't playing while same vid resized to 800x480 with same set of encoding settings is working just fine.
So the question is : why I couldn't play video with res. bigger than the size of my screen ?I'm trying to build a simple video-streaming app for android.
For the purpose of testing, I used this video http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4, and it worked fine.
However I miserably failed trying to prepare my own video for streaming.
I'm using FFmpeg & libx264 with the following line (last attempt) :ffmpeg -i <input /> -c:v libx264 -profile:v baseline -c:a aac -strict experimental <output>
</output>Then I passed the output to
qt-faststart
, as some people suggested... No effect.Here is the output of
ffmpeg -i
for my video :Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'bbb_audio_h264.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 2008-05-27 18:40:35
encoder : Lavf53.32.100
Duration: 00:00:10.04, start: 0.000000, bitrate: 5048 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080, 4605 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc
Metadata:
creation_time : 2008-05-27 18:40:35
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, s16, 440 kb/s
Metadata:
creation_time : 2008-05-27 18:40:35
handler_name :And for the working one :
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'big_buck_bunny.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp42avc1
creation_time : 2010-02-09 01:55:39
Duration: 00:01:00.09, start: 0.000000, bitrate: 733 kb/s
Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 22050 Hz, stereo, s16, 65 kb/s
Metadata:
creation_time : 2010-02-09 01:55:39
handler_name : Apple Sound Media Handler
Stream #0:1(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x360, 612 kb/s, 23.96 fps, 24 tbr, 600 tbn, 1200 tbc
Metadata:
creation_time : 2010-02-09 01:55:39
handler_name : Apple Video Media Handler
Stream #0:2(eng): Data: none (rtp / 0x20707472)
Metadata:
creation_time : 2010-02-09 01:55:39
handler_name : hint media handler
Stream #0:3(eng): Data: none (rtp / 0x20707472)
Metadata:
creation_time : 2010-02-09 01:55:39
handler_name : hint media handler -
"An attempt was made to load a program with an incorrect format"
31 janvier 2014, par user2922938I work in visual studio 2008, when run the program this error is shown :
$exception "Could not load file or assembly 'AForge.Video.FFMPEG,
Version=2.2.5.0, Culture=neutral, PublicKeyToken=03563089b1be05dd' or one of its dependencies. An attempt was made to load a program with an incorrect format."using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using AForge.Video.FFMPEG;
namespace WindowsFormsApplication9
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
VideoFileReader video = new VideoFileReader();
}
}
}What is wrong with my program ?
-
The file upload on server side using multipart file upload
6 février 2014, par user3217695I am trying to upload a file using file upload in java and writing the file to directory in the server side, so the file upload is completed once it's completed the uploaded file is converted to mp4 format so that file can be played in video tag of html5.
Issue is with the svn file, the new ffmpeg support file are in server side and conversion code is executed it gives me following error.
What does this error mean ??Please help me thanks in advance.
FFmpeg version SVN-r15137, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration:
libavutil 49.10. 0 / 49.10. 0
libavcodec 51.70. 0 / 51.70. 0
libavformat 52.21. 0 / 52.21. 0
libavdevice 52. 1. 0 / 52. 1. 0
built on Aug 31 2008 21:44:56, gcc: 4.1.2 20070626 (Red Hat 4.1.2-14)
Input #0, avi, from ' from//170_lesson.avi':
Duration: 00:02:15.68, start: 0.000000, bitrate: 1353 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 788x480 [PAR 1:1 DAR 197:120], 24.00 tb(r)
Stream #0.1: Audio: mp2, 44100 Hz, stereo, s16, 192 kb/s
WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
Output #0, mp4, to '170_lesson1.mp4':
Stream #0.0: Video: mpeg4, yuv420p, 514x362 [PAR 37:32 DAR 9509:5792], q=2-31, 200 kb/s, 24.00 tb(c)
Stream #0.1: Audio: 0x0000, 22050 Hz, stereo, s16, 0 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Unsupported codec for output stream #0.1