
Recherche avancée
Autres articles (48)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (7699)
-
Concatenate MOV files without re-encoding on iOS with ffmpeg libs
2 juillet 2013, par Developer82I would like to concatenate MOV files without re-encoding. I want to do it on iOS (iPhone). All the MOV files are recorded with the same settings, no difference in dimensions or encoding profiles.
I have succeeded to do it with the command line ffmpeg :
ffmpeg -re -f concat -i files.txt -c copy ...
But I have difficulties using the libraries.I think the demuxing part is ok, I have the h.264+AAC packets. After demuxing I shift the PTS and DTS info of each packet to have ascending values in the joined MOV file.
The hard part is the muxing.I have built the ffmpeg libs with x264 lib, so it can be used if necessary, but I am not sure whether I need the x264 codec since I don't want to re-encode the MOV files, I just want to join them.
Problems I have encountered :
-
In this case I do not use x264 codec. At muxing I create the stream with NULL codec parameter. I have successful writing of header, packets and trailer. All the function calls return with zero error code. However, the output can be opened, but black "screen" is displayed during playback. FFprobe report is attached. I have also examined the output with MediaInfo tool. I have attached that report as well (MediaInfo report - without x264 codec.txt). As you can see there is no h.264 profile or pixel info found that might be a problem.
-
In this case I use x264 codec with functions : avcodec_find_encoder, avformat_new_stream and avcodec_open2. Again : no decode-encode ! In this case I have much more metadata in the output file like h.264 profile and pixel info (YUV), but the av_interleaved_write_frame call simply does nothing but returns success code (0). No packet is written to the file. :( I don't know how this could happen. fwrite works, but results in un-openable file. I have also attached the MediaInfo report of this output (MediaInfo report - with x264 codec.txt).
Questions :
- How should I process the demuxed packets to feed the muxer ?
- What format context and codec context setting should be done including AVOption settings ?
- Should I use the x264 codec to do this ? I just vant to re-mux the chunks into a single joined file.
- The chunks have their own header/trailer. Should I somehow filter the demuxed packets to skip them ?
- The final goal is creating a network stream (RTP or RTMP) - also with re-muxing and without re-encoding. It works with command line ffmpeg :
ffmpeg -re -f concat -i files.txt -vcodec copy -an -f rtp rtp://127.0.0.1:20000 -vn -acodec copy -f rtp rtp://127.0.0.1:30000
Concatenating to MOV format is only an intermediate pilot. Is it recommended to work on the network format since it is so different task that there is no benefit of solving the MOV format muxing ?
Any help, advice, suggestion is greatly appreciated.
I can reveal code to make deeper investigation possible.Thanks !
-
-
how to run "3gp, FLV, avi" video format in AVPLAYER or MPMoviePlayerViewController in iOS ?
8 mai 2015, par JeniferI need to play 3gp, FLV, avi Video file format in my application.
I had searched lot about it.Got some library like "FFmpeg" Library. But could not find any sample code for it.
Any other ways for it are also appreciated.
Does any body have done it before ?
I am even not sure that if it is possible or not in iOS.
Please give me solution for it.
UPDATE :
I tried one 3gp Video in my
AVquePlaye
but it is not play in my code,While i use same Video in
WhatsApp
in myiPhone
, Surprisingly video is playing there. -
Need help transcoding Red5 RTMP stream to MPEG2-TS
5 février 2014, par reyniraronMe and my friend are going to make live shows and for that purpose I have set up a Red5 server on my old 2006 Intel Core Duo Mac mini running Mac OS X Snow Leopard Server 10.6.8.
I use Flash Media Live Encoder to broadcast to Red5's oflaDemo application and the stream works great, except for the fact that I want the stream to work with iOS.
I am developing an app for it, but I still need to convert my stream to Apple's HTTP Live Streaming protocol for it to work.
Can anybody help me convert the RTMP stream to MPEG2-TS, because that's the format that mediastreamsegmenter supports ? I already have Apple's HTTP Live Streaming Tools installed on the server, so the segmenter's not a problem.FFmpeg doesn't work, at least not with the code I found here. With it a always get an "Operation not permitted" error. Xuggler doesn't work, not even with a Linux box.
Can anybody please help me ? I'd really, really appreciate it.-Reynir Aron