
Recherche avancée
Autres articles (103)
-
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 (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (7215)
-
Keep converting video when quitting ssh session [on hold]
13 août 2015, par JimZerI have a dedicated server with Debian Jessie, I connect to it with ssh.
I launched a list of video conversion with ffmpeg using my terminal with ssh. More precisely it convert a list of videos contained in a folder using this command :for file in *.avi; do ffmpeg -i "$file" "${file%.avi}".webm; done
However I would like the list of tasks to continue even if I close my ssh session.
Is that possible ?Thank you in advance for helping me.
-
Is it possible to use the ffmpeg that imageio automatically installs, and if so, how ?
21 décembre 2016, par GloinI am running macOS Sierra.
The module moviepy has imageio as one of its dependencies, and the first time you run it, it installs ffmpeg, which it uses to read and write video files.
I am now trying to use ffprobe without imageio, but still in python, however it cannot find it. It gives the errorFileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'
Running ffmpeg or ffprobe from the terminal gives the error
-bash: ffprobe: command not found
FFmpeg obviously is somewhere on my mac, as moviepy/imageio uses it, but only that can find it.
This is the code I am trying to run :
# function to find the resolution of the input video file
def findVideoResolution(pathToInputVideo):
cmd = "ffprobe -v quiet -print_format json -show_streams"
args = shlex.split(cmd)
args.append(pathToInputVideo)
# run the ffprobe process, decode stdout into utf-8 & convert to JSON
ffprobeOutput = subprocess.check_output(args).decode('utf-8')
ffprobeOutput = json.loads(ffprobeOutput)
# find height and width
height = ffprobeOutput['streams'][0]['height']
width = ffprobeOutput['streams'][0]['width']
return height, widthwhich cannot find ffprobe.
Is there a way to use the installed version ffmpeg/ffprobe from python or the terminal, or do I have to install ffmpeg from ffmpeg.org ?
EDIT : @LordNeckBeard
In /Users/mynae/Library
I have added the following to .bash_profile using this tutorial :PATH="/Users/myname/Library/Application Support/imageio/ffmpeg:${PATH}"
export PATH/Users/myname/Library/Application Support/imageio/ contains a single folder called ffmpeg, which contains a single file called ffmpeg.osx. If I run ffmpeg.osx I get the message :
Killed: 9
I’ve never changed PATH before, and neither of these work. I still get the same errors as before. Have I done this correctly ? If so, is there anything else that might be wrong ?
-
avconv/ffmpg generating frames in php
6 mars 2014, par fsulserI'm trying to generate some frames (at the moment) on my localhost server with this code :
$cmd = 'avconv -i "../videos/medium.mp4" -vsync 1 -r 10 -f image2 -an -y -qscale 20 -s 120*90 -ss 00:00:05 -t 00:00:10 "out_%05d.jpg" 2>&1';
passthru($cmd, $out);I get the following message :
avconv version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, ............
Press ctrl-c to stop encoding [image2 @ 0x646120] Could not open file : out_00001.jpg av_interleaved_write_frame() : Input/output error failed1The problem is if I run this command in my terminal it works. Does anyone know whats the problem ? Is it due to permisson or something else ?