
Recherche avancée
Autres articles (64)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (12009)
-
Converting Videos In the Background ROR 3
2 octobre 2012, par DragonFire353I've searched around on google and have come up with only one site that explains how to do this : http://railsonedge.blogspot.com/2009/01/flash-video-tutorial-with-rails-ffmpeg.html?m=0 I'm already using paperclip and already have everything set up with it and like using it better than the way this site is doing it. Is there a way to convert videos in the background while keeping track of the state of it using paperclip ? My Video.rb currently :
class Video < ActiveRecord::Base
belongs_to :user
has_many :comments, dependent: :destroy
attr_accessible :video, :user_id, :video_file_name, :title, :public, :description, :views
has_attached_file :video, :styles => {
:video => { geometry: "800x480>", format: 'webm' },
:thumb => { geometry: "200x200>", format: 'png', time: 3 },
}, processors: [:ffmpeg], url: "/users/:user_id/videos/:id/:basename_:style.:extension"
#process_in_background :video #causes death
validates :video, presence: true
validates :description, presence: true, length: { minimum: 5, maximum: 100}
validates :title, presence: true, length: { minimum: 1, maximum: 15 }
validates_attachment_size :video, less_than: 1.gigabytes
validates_attachment :video, presence: true
default_scope order: 'created_at DESC'
Paperclip.interpolates :user_id do |attachment, style|attachment.instance.user_id
end
def self.search(search)
if search
find(:all, conditions: ["public = 't' AND title LIKE ?", "%#{search}%"], order: "created_at DESC")
else
find(:all, conditions: ["public = 't'"], order: "created_at DESC")
end
end
def self.admin_search(search)
if search
find(:all, conditions: ['title LIKE ?', "%#{search}%"], order: "created_at DESC")
else
find(:all, order: "created_at DESC")
end
end
end -
Convert audio files to mp3 using ffmpeg
21 janvier 2017, par Hrishikesh ChoudhariI need to convert audio files to mp3 using ffmpeg.
When i write the command as
ffmpeg -i audio.ogg -acodec mp3 newfile.mp3
, I get the error :FFmpeg version 0.5.2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration:
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
built on Jun 24 2010 14:56:20, gcc: 4.4.1
Input #0, mp3, from 'ZHRE.mp3':
Duration: 00:04:12.52, start: 0.000000, bitrate: 208 kb/s
Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s
Output #0, mp3, to 'audio.mp3':
Stream #0.0: Audio: 0x0000, 44100 Hz, stereo, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Unsupported codec for output stream #0.0I also ran this command :
ffmpeg -formats | grep mp3
and got this in response :
FFmpeg version 0.5.2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration:
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
built on Jun 24 2010 14:56:20, gcc: 4.4.1
DE mp3 MPEG audio layer 3
D A mp3 MP3 (MPEG audio layer 3)
D A mp3adu ADU (Application Data Unit) MP3 (MPEG audio layer 3)
D A mp3on4 MP3onMP4
text2movsub remove_extra noise mov2textsub mp3decomp mp3comp mjpegadump imxdump h264_mp4toannexb dump_extraI guess that the mp3 codec isnt installed. Am I right here ? Can anyone help me out here ?
-
FFmpeg convert .mov to .ogv
24 juillet 2016, par Morten HaubergI have some troubles converting my .mov to a .ogg file using FFmpeg.
This command should work, right ?
ffmpeg -i test.mov -s 640x320 -vcodec libtheora -acodec libvorbis out.ogv
It gives me this output
[0] => FFmpeg version SVN-r0.5.9-4:0.5.9-1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
[1] => configuration: --extra-version=4:0.5.9-1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdc1394 --enable-shared --disable-static
[2] => libavutil 49.15. 0 / 49.15. 0
[3] => libavcodec 52.20. 1 / 52.20. 1
[4] => libavformat 52.31. 0 / 52.31. 0
[5] => libavdevice 52. 1. 0 / 52. 1. 0
[6] => libavfilter 0. 4. 0 / 0. 4. 0
[7] => libswscale 0. 7. 1 / 0. 7. 1
[8] => libpostproc 51. 2. 0 / 51. 2. 0
[9] => built on Jun 10 2012 08:33:06, gcc: 4.4.5
[10] =>
[11] => Seems stream 0 codec frame rate differs from container frame rate: 1200.00 (1200/1) -> 30.00 (30/1)
[12] => Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mov':
[13] => Duration: 00:00:06.26, start: 0.000000, bitrate: 809 kb/s
[14] => Stream #0.0(und): Video: h264, yuv420p, 480x360, 30 tbr, 600 tbn, 1200 tbc
[15] => Stream #0.1(und): Audio: aac, 44100 Hz, mono, s16
[16] => Output #0, ogg, to 'out.ogv':
[17] => Stream #0.0(und): Video: libtheora, yuv420p, 640x320, q=2-31, 200 kb/s, 90k tbn, 30 tbc
[18] => Stream #0.1(und): Audio: vorbis, 44100 Hz, mono, s16, 64 kb/s
[19] => Stream mapping:
[20] => Stream #0.0 -> #0.0
[21] => Stream #0.1 -> #0.1
[22] => Press [q] to stop encodingIt seems right, right ?
But the movie is only about 1 second long.
Why is that ?I do not have access to ffmpeg2theora, so please dont suggest that :)