
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (41)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (9912)
-
Xuggle IMediaWriter error
10 décembre 2013, par prinsenIm testing xuggle and ran into a strange error. I have looked at the example in the documentation, and the xuggle-related code is identical. (http://www.xuggle.com/public/documentation/java/api/com/xuggle/mediatool/IMediaWriter.html)
public class StorageServer {
private final static String storage = "storage.mp4";
private final static IMediaWriter writer = ToolFactory.makeWriter(storage);
private final static Dimension dimension = new Dimension(320, 240);
protected final static Logger logger = LoggerFactory.getLogger(StorageServer.class);
public static void main(String[] args) {
writer.addVideoStream(0, 0, ICodec.ID.CODEC_ID_MPEG4,
320, 240);
//setup the connection
StreamServerAgent serverAgent = new StreamServerAgent(new StreamFrameListenerIMPL(), dimension);
serverAgent.start(new InetSocketAddress("localhost", 1337));
}
protected static class StreamFrameListenerIMPL implements StreamFrameListener {
private volatile long count = 0;
@Override
public void onFrameReceived(IVideoPicture image) {
logger.info("frame received :{}", count++);
if (count < 100) {
logger.info("Writing frame");
writer.encodeVideo(0, image);
} else if (count > 220) {
// writer.flush(); // doesn't matter
writer.close();
}
}
}When writer.close is called I get a runtime exception :
Error: cannot write packet to read only container
Which seems really strange..
-
Android - 360 video metadata
11 mai 2017, par XysSo with ffmpeg I’ve concatenated two 360 videos into one. The problem is that I lost all the 360 video metadata in the final video (so it’s not recognized as a 360 video anymore). If I use exiftool on the final video, I lack those metadatas :
- Spherical : true
- Stitched : true
- Stitching Software : Spherical Metadata Tool
- Projection Type : equirectangular
I’ve tried to inject those metadatas with ffmpeg, like this for example :
ffmpeg -i -metadata Spherical="true" -codec copy
I don’t get any errors doing that, but exiftool still doesn’t show the metadatas.
I know Google has a Python script that does this well, here .
But I would like to inject metadatas in my app as well, any help would be much appreciated,
thanks !
-
Flutter : Running FFmpeg.execute to generate thumbnails in a different isolate doesn't work ?
12 novembre 2024, par VasudevThis is the current code to generate thumbnails for Video and Audio files.. It is working fine in most cases.


@override
Future<imageprovider> thumbnail(String path,
{required double width, required double height}) async {


 final FFmpegSession session = await FFmpegKit.executeAsync(
 "-loglevel quiet -i '$filePath' -y -ss 00:00:00.000 -vframes 1 '$thumbnailPath'");


 final returnCode = await session.getReturnCode();
 if (returnCode == null || returnCode.isValueError()) {
 throw Exception("Thumbnail generation failed");
 }

/* Returns ImageProvider */
}
</imageprovider>


Now in iOS, for large files, the thumbnail generation doesn't really fail. But takes a long time and doesn't complete at all.


This causes performance issues. I would like to run this FFmpeg.execute() in a different isolate, but it doesn't work at all.


final FFmpegSession session = await Isolate.run(
 () async {
 return await FFmpegKit.executeAsync(
 "-loglevel quiet -i '$filePath' -y -ss 00:00:00.000 -vframes 1 '$thumbnailPath'");
 },
 );