
Recherche avancée
Autres articles (105)
-
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 (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...)
Sur d’autres sites (12961)
-
sending udp cbr content using ffmpeg makes memory problem
30 décembre 2020, par PrzemoI am struggling with muxing a few UDP inputs (SPTS from file) in one UDP output (MPTS).
When I use following command


ffmpeg -thread_queue_size 2048 -i "udp://233.0.0.1:4005?fifo_size=1000000&buffer_size=10000000" -thread_queue_size 2048 -i "udp://233.0.0.1:4000?fifo_size=1000000&buffer_size=10000000" -thread_queue_size 2048 -i "udp://233.0.0.1:4001?fifo_size=1000000&buffer_size=10000000" -thread_queue_size 2048 -i "udp://233.0.0.1:4002?fifo_size=1000000&buffer_size=10000000" -thread_queue_size 2048 -i "udp://233.0.0.1:4003?fifo_size=1000000&buffer_size=10000000" -thread_queue_size 2048 -i "udp://233.0.0.1:4004?fifo_size=1000000&buffer_size=10000000" -map 0 -map 1 -map 2 -map 3 -map 4 -map 5 -program title=Program0:st=0:st=1 -program title=Program1:st=2:st=3 -program title=Program2:st=4:st=5 -program title=Program3:st=6:st=7 -program title=Program4:st=8:st=9 -program title=Program5:st=10:st=11 -c copy -metadata service_provider=FILE -f mpegts -muxrate 40000000 -flush_packets 0 "udp://239.2.2.2:2222?overrun_nonfatal=1&fifo_size=1000000&buffer_size=10000000&pkt_size=1316&ttl=1"



I can play (with VLC) the MPTS content many hours with no problems.


When I add a bitrate parameter to make UDP output stream as CBR


"udp://239.2.2.2:2222?overrun_nonfatal=1&fifo_size=1000000&buffer_size=10000000&pkt_size=1316&ttl=1&bitrate=40000000"



instead of


"udp://239.2.2.2:2222?overrun_nonfatal=1&fifo_size=1000000&buffer_size=10000000&pkt_size=1316&ttl=1"



a hear many audio cuts, and from VLC I see then :




main warning : timing screwed (drift : -89659 us) : stopping resampling

main warning : playback too early (-89367) : down-sampling

main warning : playback way too early (-126525) : playing silence

main debug : inserting 6073 zeroes

main warning : playback too early (-47858) : down-sampling

main warning : timing screwed (drift : -97495 us) : stopping resampling

main warning : playback too early (-96807) : down-sampling

main warning : playback way too early (-134672) : playing silence

main debug : inserting 6464 zeroes



and after some random time (several minutes) ffmpeg stops working due to following error :




av_interleaved_write_frame() : Cannot allocate memory




How to make it work with CBR UDP bitrate ?

I tired changing parameters of buffer_size and fifo_size but with no success.

I've increased OS UDP buffers to improve performance but same memory problem is visible

-
use content of ffmpeg -i when cutting
21 juillet 2015, par BabbI want to make a script (bash or bat) that cuts out parts of a .mp4 file based on the ffmpeg -i output.
When i run ffmpeg -i this is part of the output :
Duration: 00:25:49.93, start: 0.000000, bitrate: 2624 kb/s
Chapter #0.0: start 0.000000, end 6.524000
Metadata:
title : Video
Chapter #0.1: start 6.524000, end 39.143000
Metadata:
title : Advertisement
Chapter #0.2: start 39.143000, end 453.007000
Metadata:
title : Video
Chapter #0.3: start 453.007000, end 499.780000
Metadata:
title : Advertisement
Chapter #0.4: start 499.780000, end 791.707000
Metadata:
title : Video
Chapter #0.5: start 791.707000, end 822.983000
Metadata:
title : Advertisement
Chapter #0.6: start 822.983000, end 1213.436000
Metadata:
title : Video
Chapter #0.7: start 1213.436000, end 1262.162000
Metadata:
title : Advertisement
Chapter #0.8: start 1262.162000, end 1549.933000
Metadata:
title : VideoI only want the "Video" chapters, so the output would be :
Video1.mp4
Video2.mp4
Video3.mp4
Video4.mp4
Video5.mp4Then I can use
ffmpeg -f concat -i files.txt -map 0 -c copy output.mp4
to joint them back together.
-
Révision 23048 : SPIP n’envoyait pas l’en-tête Content-Length, ce qui empêche de profiter des conn...
20 juin 2016, par esj@rezo.netmais c’est comme pour la prévisu en mode non HTML (cf. r20455), il suffit de placer ce calcul en aval.