
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (65)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, 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 (...) -
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 (...) -
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications 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 (...)
Sur d’autres sites (9609)
-
Revision f01c769dc6 : Dynamic resize for real-time : reference scaling. Avoid scaling the references i
10 juillet 2015, par MarcoChanged Paths :
Modify /vp9/encoder/vp9_encoder.c
Dynamic resize for real-time : reference scaling.Avoid scaling the references if they have already been scaled.
Change only affects 1 pass non-svc mode for now.Change-Id : I204f4079c026cba7adce7a7f855d072f6139ccec
-
vp9 : drop support for real (non-emulated) edges
20 décembre 2013, par Anton Khirnov -
How to decode and display real-time H264 stream using ffmpeg in Python ?
25 mars 2022, par yiiiiiiiranI would like to port the live stream to ffmpeg and display it in real time using Python.


Anyone knows how to port the stream to PIPE ? And in the mean time to display it after decoding ?


I managed to get real-time stream from my Raspberry Pi3 to Windows PC, using RS232 connection with Baud Rate 2M.


The format of the stream is in H264. The data package I get for each frame is in .
In order for the program to know when does each package ends, I've add


bytes([0xcc,0xdd,0xee,0xff])



to the end of package. So that my serial port will read for a package until it sees those bytes.


Lets assume the stream WIDTH, HEIGHT, NUM_FRAMES, FPS = 320, 240, 90, 30


I have the command for decode the h264 stream :


cmd = ["C:/XXXXXX/ffmpeg.exe",
 "-probesize", "32",
 "-flags", "low_delay",
 "-f", "h264",
 "-i", "pipe:",
 "-f", "rawvideo", "-pix_fmt", "rgb24", "-s", "384x216",
 "pipe:"]

decode_process = sp.Popen(cmd, stdin=sp.PIPE, stdout=sp.PIPE)



The stream package I got is


while datetime.now() < end_time:
 pkg = ser.read_until(expected=bytes([0xcc,0xdd,0xee,0xff])) #output <class>
 frame_len = len(pkg)-4
 frame_inBytes = pkg[0:frame_len]
 decode_process.stdin.write(frame_inBytes)
</class>


I want to write the real time stream to PIPE however it shows error :


[h264 @ 0000017322a3e980] missing picture in access unit with size 48
[h264 @ 0000017322a3e980] no frame!
[h264 @ 0000017322a2d240] Stream #0: not enough frames to estimate rate; consider increasing probesize
[h264 @ 0000017322a2d240] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (32) options 
Input #0, h264, from 'pipe:':
 Duration: N/A, bitrate: N/A
 Stream #0:0: Video: h264, none, 25 tbr, 1200k tbn
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
[h264 @ 0000017322a3f180] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
Cannot determine format of input stream 0:0 after EOF
Error marking filters as finished
Conversion failed!