
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (60)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 -
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)
Sur d’autres sites (12409)
-
set permissions (PHP5) shell_exec("wine ffmpeg.exe") in ubuntu version 14
22 mars 2019, par user235423423424How to start wine in php
shell_exec("wine ffmpeg.exe");
?(ubuntu version 14 server)
install
sudo apt-get install wine -y
php5 code :
$cmd = "/usr/bin/wine /var/www/html/ffmpeg.exe upload/image.jpg"
shell_exec($cmd);ffmpeg.exe
location :
/var/www/html/wine is not starting ?
Linux version of FFmpeg ?, how to run PHP
shell_exec()
?Server domain is not on shared hosting
permissions on
www-data
could be problem ?command ffmpeg successfull in terminal !
there is a permission issue, just tested and command is correct.
either ffmpeg.exe or wine have incorrect permissions.Command (ffmpeg.exe)
chmod 755 ffmpeg.exe
chown www-data ffmpeg.exeCommand (/usr/bin/wine)
chmod 755 wine
chown www-data winesudo service apache2 restart
still not working, could be more ’wine’ files to apply permissions to.
I’m not able to output any error, and command to ffmpeg is correct from terminal the problem must be permissions -
ffmpeg concat loses audio after first clip only in browser, audio plays good on player like vlc etc
1er octobre 2019, par Rajan Tpssi am trying to combine or concatenate audio file one after other like after concatenation of two audio files, both file will downloaded as a single file wheres audio will be played in a queue one after other.
after some research i found the package FFmpeg i.e dealt with mp3,mp4 etc files.i tried to run FFmpeg commands in terminal but file is created and playing good on VLC but not playing accurately in browser.
Some Commands tried by me in terminal are as follow :-
ffmpeg -i "concat:a.mp3|b.mp3" -acodec copy output.mp3
ffmpeg -f concat -i files.txt -c copy output.mp3
ffmpeg -i a.mp3 -i b.mp3 -filter_complex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat=n=2:v=0:a=1 [v] [a]" -map "[v]" -map "[a]" output.mp3
ffmpeg -y -i "concat:a.mp3|b.mp3" -ar 22050 -ab 512 -b 800k -f mp4 -s 514*362 -strict -2 -c:a aac "OUTPUT.mp4"
Library Link followed by me :- https://ffmpeg.org/ffmpeg-filters.html
Note :- I am using Ubuntu based system
file is created successfully from above commands and playing well on VLC player.
where in browser first clip is playing well but after first clip browser stops. somehow second audio clip is not playing in browser. i don’t know why may be there is same kind of pattern error.
if anyone can help, i shall be very thankful to him/her.
Thanks
-
FFMPEG for iPhone recorded video encoding
16 décembre 2011, par SarahHi found lots and lots of links for video encoding through ffmpeg 1,2,3,4 etc but they all start with using terminal commands but when i try to implement any on terminal like :
git clone git ://github.com/lajos/iFrameExtractor.git
it says that
-bash : git : command not found.Also as per my knowledge it is not possible to use terminal command on iPhone. Can anybody point out how to encode a video recorded through ffmpeg in
mp4
format and also to reduce the size of the video ?Thanks in advance.EDIT :
I am already implementing this method to resize my video and it successfully takes place and I am able to send the video on server but then on server side it's giving problem in retrieving the data and to use it.- (void)imagePickerController:(UIImagePickerController *)picker
didFinishPickingMediaWithInfo:(NSDictionary *)info
{
[self convertVideoToLowQuailtyWithInputURL:videoURL1 outputURL:[NSURL fileURLWithPath:videoStoragePath] handler:^(AVAssetExportSession *exportSession)
{
if (exportSession.status == AVAssetExportSessionStatusCompleted)
{
NSLog(@"%@",exportSession.error);
printf("completed\n");
}
else
{
NSLog(@"%@",exportSession.error);
printf("error\n");
}
}];
}
- (void)convertVideoToLowQuailtyWithInputURL:(NSURL*)inputURL
outputURL:(NSURL*)outputURL
handler:(void (^)(AVAssetExportSession*))handler
{
[[NSFileManager defaultManager] removeItemAtURL:outputURL error:nil];
AVURLAsset *asset = [AVURLAsset URLAssetWithURL:inputURL options:nil];
AVAssetExportSession *exportSession = [[AVAssetExportSession alloc] initWithAsset:asset presetName:AVAssetExportPresetLowQuality];
exportSession.outputURL = outputURL;
exportSession.outputFileType = AVFileTypeQuickTimeMovie;
[exportSession exportAsynchronouslyWithCompletionHandler:^(void)
{
handler(exportSession);
[exportSession release];
}];
}