
Recherche avancée
Autres articles (106)
-
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 (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...) -
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 (...)
Sur d’autres sites (8850)
-
Why am I not able to store the HLS file in the path that is mounted to AWS S3 while converting using ffmpeg ? [closed]
17 juin 2024, par Arjitwhy am I not able to store HLS file to the path which is mounted to AWS S3 while converting a RTMP stream using FFMPEG ? It's work when the path is non-mounted.


Actually I m using NGINX-RTMP to run a rtmp server & I want it in the form of HLS thats why the RTMP block look like this :


rtmp{
 server{
 listen 1935;
 chunk_size 4096;
 # allow publish 127.0.0.1;
 allow publish all;
 # deny publish all;

 application live{
 live on;
 record off;

 hls on;
 hls_path /tmp/hls;
 hls_fragment 10s;
 hls_playlist_length 5m;
 }
 }
}



And I mounted that HLS path (in this case
/tmp/hls
)to a AWS S3 bucket using S3FS and its not storing only when the path mounted.what can be a good solution of this ?

Why this happen & what can be a good solution of this ?


-
Add path to ffmpeg
6 avril 2014, par erdomesterI am playing with video compression by using ffmpeg. I can compress the video e.g. with this line :
String commandStr = "ffmpeg -y -i /sdcard/videokit3/Dani.mp4 -strict experimental -s 320x240-r 30 -aspect 4:3 -ab 48000 -ac 2 -ar 22050 -b 512k /sdcard/videokit3/Dani2.mp4";
In this line the path is hardcoded, so I did
String path = Environment.getExternalStorageDirectory().getAbsolutePath() + File.separator + "videokit3/Dani.mp4";
which results
in /mnt/sdcard/videokit3/Dani.mp4
This seems to be different from /sdcard/videokit3/Dani.mp4 so this line runs to error (I see the difference, I just don't get it) :
String commandStr = "ffmpeg -y -i " + path + " -strict experimental -s 320x240 -r 30 -ab 48000 -ac 2 -ar 22050 -b 512k /sdcard/videokit3/Dani4.mp4";
Can you help ?
-
React-Native - Path to local Files
31 mars 2023, par iSaBomy question is about react-native 0.60+ and about local files.



My App has the followed folder structure :



- 

- App.js
- android
- ios
- node_modules
- src


- 

- components
- views
- assets
- images


- 

- myImage.png























Now, i want to get the path from myImage.png.
I want to add an Watermark to a Video. The Watermark to add, is the myImage.png. For that issue i use the ffmpeg-Library.



But how can i access to these files ? What is the Path of these files ?
i have tried it with React-Native-Filesystem (RNFS), but with no solutions.



Every time a get : Directory or File not exists



FFMPEG Cmd :



const ffmpegWatermarkCommand = '-i '
+ RNFS.ExternalStorageDirectoryPath+ '/videos/myVideo.mp4 '
+ "-i [Path to Local Watermark]/myImage.jpg '
+ '-filter_complex "overlay=10:10" '
+ RNFS.ExternalStorageDirectoryPath + '/videos/outVideomp4';



I hope someone has an solution for me. Thanks