
Recherche avancée
Médias (39)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (89)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (10932)
-
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 -
Flutter ffmpeg can't get width and height
26 août 2022, par user31929I'm trying to retrive some info like duration,width and height from videos i pick from the phone gallery. I'm using :


flutter_ffmpeg: ^0.4.2



this is the code i use :


Future getVideoInfo(String VideoPath) async {
 bool errorResult = false;
 FlutterFFprobe fFprobe = FlutterFFprobe();
 String? duration = "0";
 String? width = "0";
 String? height = "0";
 await fFprobe.getMediaInformation(VideoPath).then((info) {
 duration = info.getAllProperties()['duration'].toString();
 width = info.getAllProperties()['width'].toString();
 height = info.getAllProperties()['height'].toString();
 }, onError: (value) {
 errorResult = true;
 }).catchError((error) {
 errorResult = true;
 });

 if (errorResult == true) {
 Map resultmap = {"width": "0", "height": "0", "duration": "0"};
 return resultmap;
 }
 Map resultmap = {"width": width, "height": height, "duration": duration};
 return resultmap;
 }



According to documentation https://pub.dev/packages/flutter_ffmpeg i'm trying to retrive elements in that way :


info.getAllProperties()['width'].toString();



but i can retrive only duration, width and eight are always
null
. Values are in thegetAllProperties
dictionary because i can see "width=1920 and height=824" using the Vscode debugger.
There is only a difference beetween those voices and "duration" , they are grayed out by the Vscode debugger insted of duration that is "red".
Anyway, why i can't access width and eight even if they seems to be accessible ?

-
discord.py FFMPEG Option reconnect not found
19 avril 2021, par LukeleleI'm working on a music bot using discord.py, I've looked online and found that I needed to pass in ffmpeg options into discord.FFmpegPCMAudio() for the bot to not stop half way through the song. However it returns an error "Option reconnect not found."


vc = await ctx.message.author.voice.channel.connect()

ydl_opts = {
 'format': 'bestaudio/best',
 'outtmpl': 'C:/Luke/YoutubeDLAudio/audio.mp3',
 'postprocessors': [{
 'key': 'FFmpegExtractAudio',
 'preferredcodec': 'mp3',
 'preferredquality': '192'
 }],
 'prefer_ffmpeg': True,
 'keepvideo': True
}

ffmpeg_opts = {'before_options': '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5','options': '-vn'} # <---------------

with youtube_dl.YoutubeDL(ydl_opts) as ydl:
 ydl.download([url])

vc.play(discord.FFmpegPCMAudio(executable="C:/Luke/ffmpeg/bin/ffmpeg.exe", source="C:/Luke/YoutubeDLAudio/audio.mp3", **ffmpeg_opts)) <--------------



Does anyone know the problem ? Thanks for any help.