
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (110)
-
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
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 (...) -
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 (...)
Sur d’autres sites (11892)
-
streaming data with ffmpeg using pipe - stream never starts
9 novembre 2022, par tamirgIm fetching some video data, and trying to stream it using ffmpeg. what i do is create an ffmpeg process, set it to get info from '-', and then when i fetch the video data i write it to the process STDIN.


My issue is that the steaming procces sometimes starts, and sometimes doesnt start. it really seems random (will add the ffmpeg logs at the end).
But if i save the entire data into a file, and then use ffplay on that file, it works perfectly fine, all the time.


So im guessing something in the data is causing some issues with ffmpeg usage with pipe. The logs indicate that there are some issues with the DTS, but i dont know if thats the reason that stream never plays, and what can be done to fix that.


I cant really understand the issue from the logs, but maybe they indicate what is the issue exactly ?


logs :


When the stream proccess doesnt start and doesnt work, those are the logs :


[mpeg @ 0x7fc7b63ef840] Format mpeg probed with size=262144 and score=52
[mpeg @ 0x7fc7b63ef840] Before avformat_find_stream_info() pos: 6 bytes read:263756 seeks:0 nb_streams:0
[NULL @ 0x7fc7b63eec00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
[NULL @ 0x7fc7b63eec00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
[NULL @ 0x7fc7b63eec00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
[NULL @ 0x7fc7b63eec00] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0
[NULL @ 0x7fc7b63eec00] Decoding VPS
[NULL @ 0x7fc7b63eec00] Main profile bitstream
[NULL @ 0x7fc7b63eec00] Decoding SPS
[NULL @ 0x7fc7b63eec00] Main profile bitstream
[NULL @ 0x7fc7b63eec00] Decoding VUI
[NULL @ 0x7fc7b63eec00] Decoding PPS
[extract_extradata @ 0x7fc7b63f2140] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
[extract_extradata @ 0x7fc7b63f2140] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
[extract_extradata @ 0x7fc7b63f2140] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
[extract_extradata @ 0x7fc7b63f2140] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7fc7b63eec00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7fc7b63eec00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7fc7b63eec00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7fc7b63eec00] Decoding VPS
[hevc @ 0x7fc7b63eec00] Main profile bitstream
[hevc @ 0x7fc7b63eec00] Decoding SPS
[hevc @ 0x7fc7b63eec00] Main profile bitstream
[hevc @ 0x7fc7b63eec00] Decoding VUI
[hevc @ 0x7fc7b63eec00] Decoding PPS
[hevc @ 0x7fc7b63eec00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7fc7b63eec00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7fc7b63eec00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7fc7b63eec00] Decoding VPS
[hevc @ 0x7fc7b63eec00] Main profile bitstream
[hevc @ 0x7fc7b63eec00] Decoding SPS
[hevc @ 0x7fc7b63eec00] Main profile bitstream
[hevc @ 0x7fc7b63eec00] Decoding VUI
[hevc @ 0x7fc7b63eec00] Decoding PPS
[mpeg @ 0x7fc7b63ef840] Non-increasing DTS in stream 1: packet 3 with DTS 150119711008467, packet 4 with DTS 150119711008467
[mpeg @ 0x7fc7b63ef840] Non-increasing DTS in stream 1: packet 5 with DTS 150119711008469, packet 6 with DTS 150119711008469
[hevc @ 0x7fc7b63eec00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7fc7b63eec00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7fc7b63eec00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7fc7b63eec00] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7fc7b63eec00] Decoding VPS
[hevc @ 0x7fc7b63eec00] Main profile bitstream
[hevc @ 0x7fc7b63eec00] Decoding SPS
[hevc @ 0x7fc7b63eec00] Main profile bitstream
[hevc @ 0x7fc7b63eec00] Decoding VUI
[hevc @ 0x7fc7b63eec00] Decoding PPS



After the last log line, nothing happens, and no more log lines appear.


When the process actually starts and works fine, those are the logs :


[mpeg @ 0x7f5475d69840] Format mpeg probed with size=524288 and score=52
[mpeg @ 0x7f5475d69840] Before avformat_find_stream_info() pos: 6 bytes read:526296 seeks:0 nb_streams:0
[mpeg @ 0x7f5475d69840] Non-increasing DTS in stream 1: packet 2 with DTS 150120249571596, packet 3 with DTS 150120249571596
[mpeg @ 0x7f5475d69840] Non-increasing DTS in stream 1: packet 4 with DTS 150120249571598, packet 5 with DTS 150120249571598
[mpeg @ 0x7f5475d69840] Non-increasing DTS in stream 1: packet 5 with DTS 150120249571598, packet 6 with DTS 150120249571598
[NULL @ 0x7f5475d68c00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
[NULL @ 0x7f5475d68c00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
[NULL @ 0x7f5475d68c00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
[NULL @ 0x7f5475d68c00] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0
[NULL @ 0x7f5475d68c00] Decoding VPS
[NULL @ 0x7f5475d68c00] Main profile bitstream
[NULL @ 0x7f5475d68c00] Decoding SPS
[NULL @ 0x7f5475d68c00] Main profile bitstream
[NULL @ 0x7f5475d68c00] Decoding VUI
[NULL @ 0x7f5475d68c00] Decoding PPS
[extract_extradata @ 0x7f5475d6c140] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
[extract_extradata @ 0x7f5475d6c140] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
[extract_extradata @ 0x7f5475d6c140] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
[extract_extradata @ 0x7f5475d6c140] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7f5475d68c00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7f5475d68c00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7f5475d68c00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7f5475d68c00] Decoding VPS
[hevc @ 0x7f5475d68c00] Main profile bitstream
[hevc @ 0x7f5475d68c00] Decoding SPS
[hevc @ 0x7f5475d68c00] Main profile bitstream
[hevc @ 0x7f5475d68c00] Decoding VUI
[hevc @ 0x7f5475d68c00] Decoding PPS
[hevc @ 0x7f5475d68c00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7f5475d68c00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7f5475d68c00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7f5475d68c00] Decoding VPS
[hevc @ 0x7f5475d68c00] Main profile bitstream
[hevc @ 0x7f5475d68c00] Decoding SPS
[hevc @ 0x7f5475d68c00] Main profile bitstream
[hevc @ 0x7f5475d68c00] Decoding VUI
[hevc @ 0x7f5475d68c00] Decoding PPS
[hevc @ 0x7f5475d68c00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7f5475d68c00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7f5475d68c00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7f5475d68c00] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7f5475d68c00] Decoding VPS
[hevc @ 0x7f5475d68c00] Main profile bitstream
[hevc @ 0x7f5475d68c00] Decoding SPS
[hevc @ 0x7f5475d68c00] Main profile bitstream
[hevc @ 0x7f5475d68c00] Decoding VUI
[hevc @ 0x7f5475d68c00] Decoding PPS
[hevc @ 0x7f5475d68c00] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
 Last message repeated 1 times
[mpeg @ 0x7f5475d69840] Non-increasing DTS in stream 1: packet 10 with DTS 150120249571825, packet 11 with DTS 150120249571825
[hevc @ 0x7f5475d68c00] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
 Last message repeated 4 times
[mpeg @ 0x7f5475d69840] Non-increasing DTS in stream 1: packet 15 with DTS 150120249571844, packet 16 with DTS 150120249571844
[hevc @ 0x7f5475d68c00] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
 Last message repeated 7 times
[mpeg @ 0x7f5475d69840] Non-increasing DTS in stream 1: packet 25 with DTS 150120249571878, packet 26 with DTS 150120249571878
[hevc @ 0x7f5475d68c00] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
 Last message repeated 7 times
[mpeg @ 0x7f5475d69840] DTS discontinuity in stream 0: packet 23 with DTS 150120249572205, packet 24 with DTS 150120249610965
[hevc @ 0x7f5475d68c00] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
 Last message repeated 35 times
[hevc @ 0x7f5475d68c00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7f5475d68c00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7f5475d68c00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7f5475d68c00] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0
[hevc @ 0x7f5475d68c00] Decoding VPS
[hevc @ 0x7f5475d68c00] Main profile bitstream
[hevc @ 0x7f5475d68c00] Decoding SPS
[hevc @ 0x7f5475d68c00] Main profile bitstream
[hevc @ 0x7f5475d68c00] Decoding VUI
[hevc @ 0x7f5475d68c00] Decoding PPS
[hevc @ 0x7f5475d68c00] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0
 Last message repeated 8 times
[mpeg @ 0x7f5475d69840] max_analyze_duration 5000000 reached at 5056000 microseconds st:1
[mpeg @ 0x7f5475d69840] After avformat_find_stream_info() pos: 1428588 bytes read:1428588 seeks:0 frames:152
Input #0, mpeg, from 'pipe:':
 Duration: N/A, start: 1668002773.015456, bitrate: N/A



The main issue, is that it sometimes works, sometimes doesnt work.


The ffmpeg proccess is just created by using
asyncio.create_subprocess_exec


Every time i get a video data, i pass the data to the proccess by calling
ffmpeg_process.stdin.write(data)


I believe the issue is with the data, since with video data, the whole pipeline works for me. But i cannot understand from the ffmpeg logs what is the issue exactly.


-
how to use gl-transition in ffmpeg ?
19 avril 2020, par ZeddI tried to use gl-transition with the following method.



https://github.com/transitive-bullshit/ffmpeg-gl-transition



But I followed the instructions many times without success.
I think it may be that this library is no longer maintained



Is there any other way to use gl-transition in the form of ffmpeg filter ?


-
Finding audio peaks in video files
23 octobre 2013, par Adam LangsnerI have a bunch of video files that I want to process. I want to write a program that can find the audio peaks in each file and return the times where those peaks occurred.
I've looked for a lot of different APIs in different languages but couldn't get any of them to work. I am partial to php and java, so if anyone knows any good audio processing libraries in those languages that would be great ! But really I don't care too much about the language. I will need to run this program on a cron.
Also, is it possible to use system calls to ffmpeg from within a script to accomplish this ? Thanks in advance.