
Recherche avancée
Autres articles (98)
-
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 -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (9037)
-
avcodec/h264 : create user data unregistered SEI side data for H.264
11 juin 2020, par Limin Wang -
Is there a way to save a matplotlib animation as a video (with ffmpeg) so that the last frame is held for N seconds ?
2 décembre 2020, par janlukeI'm using FFMpegWriter to save a matplotlib animation as a video. I'd like to hold the last frame for some seconds at the end of the video.


As a workaround, one could modify the animation itself by repeating the last frame for a number of extra steps. This number of steps can be computed as a function of the desired "hold duration" and the interval/fps of the animation.


Nonetheless, I'd like to know if there's a cleaner way to do the same without artificially modifying the animation itself and using instead some extra arguments for the writer (which uses ffmpeg in my case). Unfortunately I don't know much of ffmpeg so I'd like to have some help.


Thank you.


-
I want to get the data of the MPEG2ts data stream
26 juin 2020, par 夏目たかしI want to get the data of the MPEG2ts data stream using FFMPEG.


Delivery side :


ffmpeg -re -i hoge.ts -map 0 -c copy -f mpegts udp://127.0.0.1:5004



Receiver :


ffmpeg -i udp://127.0.0.1:5004 -map 0:1 -codec copy -f data stream.txt



I started two command prompts and both were running on one PC.


disp Delivery side message :


Input #0, mpegts, from 'E:/Day_Flight.mpg':
 Duration: 00:03:14.88, start: 10.000000, bitrate: 4187 kb/s
 Program 1
 Stream #0:0[0x1e1]: Video: h264 (Main) ([27][0][0][0] / 0x001B), 
yuv420p(progressive), 1280x720, 60 fps, 60 tbr, 90k tbn, 180k tbc
 Stream #0:1[0x1f1]: Data: klv (KLVA / 0x41564C4B)
Output #0, mpegts, to 'udp://127.0.0.1:5004':
 Metadata:
 encoder : Lavf58.47.100
 Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720, q=2-31, 60 fps, 60 tbr, 90k tbn, 90k tbc
 Stream #0:1: Data: klv (KLVA / 0x41564C4B)
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
 Stream #0:1 -> #0:1 (copy)



disp Receiver message :


Input #0, mpegts, from 'udp://127.0.0.1:5004':
 Duration: N/A, start: 1.400000, bitrate: N/A
 Program 1
 Metadata:
 service_name : Service01
 service_provider: FFmpeg
 Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), 
yuv420p(progressive), 1280x720, 60 fps, 60 tbr, 90k tbn, 180k tbc
 Stream #0:1[0x101]: Data: klv (KLVA / 0x41564C4B)
Output #0, data, to 'stream.txt':
 Metadata:
 encoder : Lavf58.47.100
 Stream #0:0: Data: klv (KLVA / 0x41564C4B)
Stream mapping:
 Stream #0:1 -> #0:0 (copy)



However, the contents of steram.txt are empty.
Please give me some advice.