
Recherche avancée
Autres articles (51)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)
Sur d’autres sites (5607)
-
How can I use ffmpeg to convert all HEVC videos to h.264 videos only on linux ? [closed]
13 juillet 2022, par Jayden LoI am trying to import all my images and videos from Google Photos to Nextcloud. I used Google Takeout to download them, but some videos are in HEVC format, which is not supported by most devices. How can I batch convert all HEVC videos to h.264 ? I am using Ubuntu and here is my file structure :


./Photos/
 Image1.jpg
 Image2.jpg
 ...
 HEVC-Video1.mp4
 HEVC-Video2.mp4
 HEVC-Video3.mp4
 ...
 H.264-Video1.mp4
 H.264-Video2.mp4
 ...



Thanks in advance.


-
Permission denied when trying to call ffmpeg on heroku
1er décembre 2013, par chuck wI have a rails 3.1 web app on Heroku (cedar) that that allows users to post stories with photo and video attachments using the paperclip gem (3.5.1). Uploads are stored on s3. This has been working 100% for many months.
I have recently added video transcoding and thumbnailing to my dev machine with the paperclip-ffmpeg gem (1.0.1) and ffmpeg running locally. This is also working.
I've followed these instructions to build and install ffmpeg on heroku, and I've altered my Heroku app's path so that it reads as follows :
PATH: bin:vendor/ffmpeg/bin:vendor/bundle/ruby/1.9.1/bin:/usr/local/bin:/usr/bin:/bin
and my app's LD_LIBRARY_PATH so that it reads as follows :
LD_LIBRARY_PATH: vendor/ffmpeg/lib:/usr/local/lib
Finally, I've vendored ffmpeg into my app with the following structure :
When I commit and push these changes to Heroku and POST a story that has a video I get the following output on Heroku logs :
2013-11-30T22:51:46.711010+00:00 app[web.1]: Started POST "/stories" for 71.80.218.93 at
2013-11-30 22:51:46 +0000
2013-11-30T22:51:47.023119+00:00 app[web.1]: Cocaine::ExitStatusError (Command 'ffprobe
"/tmp/sideways video20131130-2-14w1q4j.mp4" 2>&1' returned 126. Expected 0
2013-11-30T22:51:47.023119+00:00 app[web.1]: Here is the command output:
2013-11-30T22:51:47.023119+00:00 app[web.1]:
2013-11-30T22:51:47.023119+00:00 app[web.1]: app/controllers/stories_controller.rb:11:in
`create'
2013-11-30T22:51:47.023119+00:00 app[web.1]:
2013-11-30T22:51:47.023119+00:00 app[web.1]:
2013-11-30T22:51:47.019228+00:00 heroku[router]: at=info method=POST path=/stories
host=myapp.herokuapp.com fwd="71.80.218.93" dyno=web.1 connect=1ms
service=3130ms status=500 bytes=754
2013-11-30T22:51:47.023119+00:00 app[web.1]:
2013-11-30T22:51:47.023600+00:00 app[web.1]: cache: [POST /stories] invalidate, pass
2013-11-30T22:51:47.023119+00:00 app[web.1]: sh: ffprobe: Permission denied
2013-11-30T22:51:47.023119+00:00 app[web.1]: ):Also, running the console command :
heroku run "ffmpeg -version" -a myapp
returns :Running ffmpeg -version attached to terminal... up, run.6591
bash: vendor/ffmpeg/bin/ffmpeg: Permission deniedHere is my Post model paperclip set-up :
class Post < ActiveRecord::Base
attr_accessible :contents, :photo, :video
belongs_to :story, :touch => true
belongs_to :user, :touch => true
has_attached_file :photo,
:styles => {
:thumb => ["100x140>", :jpg],
:medium => ["400x400>", :jpg],
:large => ["800x800>", :jpg]
},
:processors => [:thumbnail],
:storage => :s3,
:s3_credentials => "#{Rails.root.to_s}/config/s3.yml",
:path => "/:style/:id/:filename"
has_attached_file :video,
:storage => :s3,
:s3_credentials => "#{Rails.root.to_s}/config/s3.yml",
:path => "/video/:id/:filename",
:styles => {
:thumb => { :geometry => "140x100#", :format => 'jpg', :time => 10 },
:medium => { :geometry => "480x360", :format => 'mp4' },
}, :processors => [:ffmpeg]Why am I getting these "permission denieds" ? Any help would be greatly appreciated !!!
-
ffmpeg and 64 bit architecure
16 avril 2015, par nevgaukerthere is a pretty old project i need to upload to the store.
how old you ask ? 32 bit only ,no arc and no story board...since in this days in mandatory to make a single archive that support 32 and 64 build ...i decided to update the valid architecture of the project.
i discovered that many frameworks do not support 64 bit and i have to update them . the most problematic is ffmpge..
here i few things that i tried to do and fail :- add ffmpeg as a static libary
- add ffmpeg using cocoa pods
nothing helps...
here are some of the errors i get :
Undefined symbols for architecture arm64 :
"_av_read_frame", referenced from :
-[Demuxer readPacket :] in Demuxer.o
"_av_malloc", referenced from :
-[Streamer writePacket :] in Streamer.o
"_av_register_all", referenced from :
+[Streamer initialize] in Streamer.o
"_avformat_write_header", referenced from :
-[Streamer writePacket :] in Streamer.o
"_avio_close", referenced from :
-[Streamer dealloc] in Streamer.o
"_av_new_stream", referenced from :
-[Streamer writePacket :] in Streamer.o
"_avformat_free_context", referenced from :
-[Streamer dealloc] in Streamer.oany suggestion ?
the only way i succeed is turn on the "build active architecture only" (and of course get rejected when i try to upload to the store)
if you refer me to any shell script, please instruct me how to use it
thanks