
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (87)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)
Sur d’autres sites (5915)
-
Installing ffmpeg on Heroku with Go (Golang) app
17 novembre 2015, par Kevin CantwellI have a Go app that uses ffmpeg bindings that I’d like to deploy on Heroku. I am able to install ffmpeg successfully using ddollar’s multi buildpack in conjunction with shunjikonishi’s ffmpeg buildpack and kr’s go buildpack. However, no matter what I try, the app fails on the call to
pkg-config
with the following output :$ git push heroku master
Counting objects: 22, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (20/20), done.
Writing objects: 100% (22/22), 2.32 KiB | 0 bytes/s, done.
Total 22 (delta 9), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Fetching set buildpack https://github.com/ddollar/heroku-buildpack-multi... done
remote: -----> Multipack app detected
remote: =====> Downloading Buildpack: https://github.com/shunjikonishi/heroku-buildpack-ffmpeg
remote: =====> Detected Framework: ffmpeg
remote: -----> Install ffmpeg
remote: DOWNLOAD_URL = http://flect.github.io/heroku-binaries/libs/ffmpeg.tar.gz
remote: exporting PATH and LIBRARY_PATH
remote: =====> Downloading Buildpack: https://github.com/kr/heroku-buildpack-go.git
remote: =====> Detected Framework: Go
remote: -----> Checking Godeps/Godeps.json file.
remote: -----> Installing go1.5... done
remote: -----> Running: godep go install -tags heroku ./...
remote: # pkg-config --cflags libavcodec libavformat libavutil libswscale
remote: Package libavcodec was not found in the pkg-config search path.
remote: Perhaps you should add the directory containing `libavcodec.pc'
remote: to the PKG_CONFIG_PATH environment variable
remote: No package 'libavcodec' found
remote: Package libavformat was not found in the pkg-config search path.
remote: Perhaps you should add the directory containing `libavformat.pc'
remote: to the PKG_CONFIG_PATH environment variable
remote: No package 'libavformat' found
remote: Package libavutil was not found in the pkg-config search path.
remote: Perhaps you should add the directory containing `libavutil.pc'
remote: to the PKG_CONFIG_PATH environment variable
remote: No package 'libavutil' found
remote: Package libswscale was not found in the pkg-config search path.
remote: Perhaps you should add the directory containing `libswscale.pc'
remote: to the PKG_CONFIG_PATH environment variable
remote: No package 'libswscale' found
remote: pkg-config: exit status 1
remote: godep: go exit status 2
remote:
remote: ! Push rejected, failed to compile Multipack app
remote:
remote: Verifying deploy...
remote:
remote: ! Push rejected to myvideoapp.
remote:
To https://git.heroku.com/myvideoapp.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/myvideoapp.git'The command that fails is
pkg-config --cflags libavcodec libavformat libavutil libswscale
. However, when I run that command in a bash console it outputs-I/app/vendor/ffmpeg/include
, which is what I’d expect.I believe that when the Go buildpack builds, it loses track of the ffmpeg package configuration information somehow. These are my config vars for the app :
$ heroku config -s
CGO_CFLAGS=-I/app/vendor/ffmpeg/include
PKG_CONFIG_PATH=vendor/ffmpeg/lib/pkgconfigMy question is : How do I get past this error ? Clearly the answer is related to the PKG_CONFIG_PATH variable, but I’m super confused on this one.
-
ffmpeg build from source fails in docker container ?
24 mars 2016, par John AllardI’m trying to make some changes to the ffmpeg source code (yes, I’m a masochist), and to start I booted an Arch Linux docker container, installed the requirements, downloaded ffmpeg source code, and tried to compile, but I’m getting some extremely odd errors.
compile command :
./configure --bindidr=~/ffmpeg_build --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree
Output :
./configure:unset:3338: no such has table element: mktemp
pr: /tmp/ffconf.uQI7CeV.c: No such file or directory.
pr: /tmp/ffconf.uQI7CeV.c: No such file or directory.
pr: /tmp/ffconf.uQI7CeV.c: No such file or directory.
pr: /tmp/ffconf.uQI7CeV.c: No such file or directory.
... (24 times)
pr: /tmp/ffconf.uQI7CeV.c: No such file or directory.
pr: /tmp/ffconf.r547UgWy.m: No such file or directory.
./configure:53378: parse error near '}'
==> ERROR" A failure occured in build()
Aborting...
The build failed.This doesn’t seem to be a problem with ffmpeg, more a problem with the container. If I check
find /tmp -name ffconf\*
I see that the files do exist and they containextern int getrusage();
int main(void){ getrusage(); }what in the hell is going on ? hash tabled ? mktemp not working ? files not being found ?
edit-
here is what is on the line numbers in the files that give the errors
3338:configure - unset -f mktemp
5338:configure - check_builtin gmtime_r time.g "time_t * time; strict tm*; gmtime_r(time, tm)"edit2 - Here’s the dockerfile (cloned from here https://hub.docker.com/r/greyltc/archlinux/ /dockerfile/)
# Arch Linux baseline docker container
# Generated on Sat Mar 19 14:26:28 GMT 2016 using code in this GitHub repo:
# https://github.com/greyltc/docker-archlinux
FROM scratch
MAINTAINER Grey Christoforo <grey@christoforo.net>
# copy in super minimal root filesystem archive
ADD archlinux.tar.xz /
# perform initial container setup tasks
RUN setup-arch-docker-container
# this allows the system profile to be sourced at every shell
ENV ENV /etc/profile -
Video Failed to transcode with FFmpeg with Rails app in my localhost
25 avril 2017, par TakorI ve tried to upload videos using Carrierwave-video & FFmpeg. I’ve installed FFmpeg and there is no problem with installation. I have made configurations from ’ http://blog.41studio.com/upload-videos-using-carrierwave-ffmpeg/ ’ .But when I tried to upload video (.mov file), I have an error.
Error
Video Failed to transcode with FFmpeg. Check ffmpeg install and verify video is not corrupt or cut short. Original error: Failed encoding.Errors: encoded file is invalid. Full output: ffmpeg version 2.8.3 Copyright (c) 2000-2015 the FFmpeg developers built with Apple LLVM version 7.0.0 (clang-700.1.76) configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libfaac --enable-nonfree --enable-vda libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/tanerkoroglu/Desktop/Wishpere2/public/uploads/tmp/1449435556-7186-2107/IMG_1756.MOV': Metadata: major_brand : qt minor_version : 0 compatible_brands: qt creation_time : 2015-10-17 12:19:27 Duration: 00:01:04.24, start: 0.000000, bitrate: 17176 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 17082 kb/s, 29.98 fps, 29.97 tbr, 600 tbn, 1200 tbc (default) Metadata: creation_time : 2015-10-17 12:19:27 handler_name : Core Media Data Handler encoder : H.264 Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 85 kb/s (default) Metadata: creation_time : 2015-10-17 12:19:27 handler_name : Core Media Data Handler Stream #0:2(und): Data: none (mebx / 0x7862656D), 0 kb/s (default) Metadata: creation_time : 2015-10-17 12:19:27 handler_name : Core Media Data Handler Stream #0:3(und): Data: none (mebx / 0x7862656D), 0 kb/s (default) Metadata: creation_time : 2015-10-17 12:19:27 handler_name : Core Media Data Handler Please use -q:a or -q:v, -qscale is ambiguous [Parsed_movie_0 @ 0x7feb6bf00100] Failed to avformat_open_input '/Users/tanerkoroglu/Desktop/Wishpere2/app/assets/images/logo.png' [AVFilterGraph @ 0x7feb6bc09240] Error initializing filter 'movie' with args '/Users/tanerkoroglu/Desktop/Wishpere2/app/assets/images/logo.png' Error opening filters!
video_uploader.rb
class VideoUploader < CarrierWave::Uploader::Base
include CarrierWave::Video
process :encode
def encode
encode_video(:mp4, watermark: {path: File.join(Rails.root, "app/assets/images/logo.png")})
end
version :mp4 do
def full_filename(for_file)
super.chomp(File.extname(super)) + '.mp4'
end
end
endGemfile
gem 'carrierwave', '0.10.0'
gem 'carrierwave-video'
gem 'streamio-ffmpeg'