
Recherche avancée
Autres articles (14)
-
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 (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
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 (...)
Sur d’autres sites (4070)
-
ffmpeg is not running from php exec() function, work from command line
6 mars 2016, par ThanigaivelanWhen i run the ffmpeg command it is working from command line. but when i try from php
exec()
. it returns 127 error.my ffmpeg
root@w1 [/]# which ffmpeg
/root/bin/ffmpegthis is my code
ffmpeg-y -i /home/castbox/public_html/IGVideo/upload/tamil/videos/testing/test_ig.mp4 -acodec libfdk_aac -ab 24k -ar 44100 -c:v libx264 -pix_fmt yuv420p -profile:v baseline -level 31 -b:v 200k -g 72 -f hls -hls_time 3 -hls_list_size 999 -s 426x240 /home/castbox/public_html/IGVideo/upload/tamil/videos/testing/test_ig-240-index.m3u8
when i run this code in from command line it work fine. but when try to run from php exec i am getting failed, it returns 127.i had tried like this also
/path/to/ffmpeg-y -i /home/castbox/public_html/IGVideo/upload/tamil/videos/testing/test_ig.mp4 -acodec libfdk_aac -ab 24k -ar 44100 -c:v libx264 -pix_fmt yuv420p -profile:v baseline -level 31 -b:v 200k -g 72 -f hls -hls_time 3 -hls_list_size 999 -s 426x240 /home/castbox/public_html/IGVideo/upload/tamil/videos/testing/test_ig-240-index.m3u8
Where is my mistake ?
-
Why isn't the 'wrap' option recognized in FFmpeg's drawtext filter ?
24 février 2023, par eugene_prgI'm trying to add text to a video using FFmpeg's drawtext filter, but I'm running into an issue with the 'wrap' option. Whenever I include 'wrap=500' in the filtergraph, I get the following error message :


[Parsed_drawtext_1 @ 0x563e23b1f500] Option 'wrap' not found
[AVFilterGraph @ 0x563e23b18d00] Error initializing filter 'drawtext' with args 'enable=between(t,0,4):text=one day you wake up and...:x=(w-text_w)/2:y=570:fontsize=48:fontcolor=white:box=1:boxcolor=black@0.5:boxborderw=5:wrap=500'
Error reinitializing filters !
Failed to inject frame into filter network : Option not found
Error while processing the decoded data for stream #0:0


Here's the full command I'm using :


ffmpeg -y -i "./videos/pexels-ivan-samkov-6689156.mp4" -vf "drawtext=fontfile=./fonts/DejaVuSans.ttf:text='DID U KNOW':x=(w-text_w)/2:y=200:fontsize=72:fontcolor=white:box=1:boxcolor=black@0.5:boxborderw=10, drawtext='enable=between(t,0,4)':text='do you know that girls...':x=(w-text_w)/2:y=570:fontsize=48:fontcolor=white:box=1:boxcolor=black@0.5:boxborderw=5:wrap=500, drawtext='enable=between(t,4,8)':text='are smarter than guys?':x=(w-text_w)/2:y=570:fontsize=48:fontcolor=white:box=1:boxcolor=black@0.5:boxborderw=5" -c:a copy "pexels-ivan-samkov-6689156.mp4_with_labels.mp4"



I'm not sure why the 'wrap' option isn't recognized. Can anyone help me figure out what's going on ?


-
How to use the FFmpeg blackdetect filter for the following image
17 septembre 2021, par dinesh47I am using FFmpeg to find the blackdetect from a mp4 video file. but for some reasons file with very low light or poor background at night get detected as black frame For sample i have attached the frame which detected as black


My ffmpeg filter setting is "blackdetect=d=121:pix_th=0.00"


my file has a resolution of 1280*720 and frame rate of 30 which uses decoder format of 4:2:0 YUV



There are 2 Questions


1.Why the ffmpeg lib detects this as black frame ?


2.How to over come this ?