
Recherche avancée
Autres articles (70)
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
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" (...)
Sur d’autres sites (7158)
-
Use bash script with yt-download and ffmpeg to extract OR covert depending on format
7 juin 2018, par KeyslingerI have a batch of files I uploaded to YouTube which I now wish to backup on my MacBook. When I download and extract the audio, I get either *.m4a or *. opus :
#!/bin/sh
ID="$1"
youtube-dl -f bestaudio -x -i --audio-format best -o '%(playlist)s/%(playlist_index)s %(uploader)s - %(title)s.%(ext)s' https://www.youtube.com/playlist?list="$ID"When the file extension is m4a, I need to leave it that way and perform no conversion, when the extension is opus, I need to convert it to m4a.
If I want to convert every file, I can do something like this :
youtube-dl -f bestaudio -x -i --audio-format m4a -o '%(playlist)s/%(playlist_index)s %(uploader)s - %(title)s.%(ext)s' https://www.youtube.com/playlist?list="$ID"
But then the conversion is performed no matter what.
How can I extract and only convert when the file extension is not m4a ?
-
How to download video streaming powered by JW Player 8.4.2 + iframe src from hydrax.net combined ? [on hold]
20 octobre 2019, par TévI find that downloading a video that streamed via JW Player 8.4.2. which using hydrax.net as the media source is really annoying & frustrating because I’ve done my best with the all solution I’ve found comes to nothing.
Is there any solution left I can try ?
I’m trying to download video from http://javmile.com/dvd/anna-marie-patsukin-channel-z-vol/39585 with ffmpeg & youtube-dl but not worked.
I tried to stream/convert the .m3u8 file I managed to download with VLC but still not worked.
I also tried to look for the alternative from Inspect -> Network -> Media and all that I got is a blob link that ends dead end. Inspect -> Application also doesn’t provide any solution since there’s no Video frame.
Last but not least, I’ve tried the Video DownloadHelper extension from Firefox trick to download the video from the referrer/url link but it’s failed too.
The referrer link I’ve got from the Video DownloadHelper Firefox’s extension :
https://hydrax.net/watch?v=5b9ff9a0f032b
The url link I’ve got from the Video DownloadHelper Firefox’s extension :
The blob link that’ll lead me to the .m3u8 file download :
blob :https://hydrax.net/e9166d00-1aba-4832-b7bf-8cb011abcc10
And here the .m3u8 file content I’ve managed to download :
EXTM3U
EXT-X-VERSION:3
EXT-X-STREAM-INF:BANDWIDTH=394000,RESOLUTION=480x360
blob :https://hydrax.net/acaacae5-2ad3-4447-9aab-cbabe2a1e5ee#VzWiWxKoXzlaWQpyuPfhdPjzQsCR8zJFWzrcgqTL1MkLQQlWKgjJKMV6Xzs
EXT-X-STREAM-INF:BANDWIDTH=1998000,RESOLUTION=1280x720
blob :https://hydrax.net/710d4b51-9334-469d-9146-8af650529982#VzWiWxKoXzBaWfrjQfFFg8gi1L06u40fJsf5QzVkKSrLJrfht5Bk84lRXzs
EXT-X-STREAM-INF:BANDWIDTH=2998000,RESOLUTION=1920x1080
blob :https://hydrax.net/1130dfbe-dab1-402e-9309-5d562c68424b#VzWiWxKoXzfaW8pl1r0H8LJAVPFWOsffV41hCgZeBPV7K5fJfrBpQf0DXzI
Command that I used to download the video with the ffmpeg :
ffmpeg -i [neither of referrer/url link from DownloadHelper nor blob link from the .m3u8 file content worked] -vcodec copy -acodec copy MyOutput.mp4
Command that I used to download the video with the youtube-dl :
youtube-dl -i [neither of referrer/url link from DownloadHelper nor blob link from the .m3u8 file content worked] -vcodec copy -acodec copy MyOutput.mp4
-
how to upload a video to google driver use paperclip or carriwave
14 janvier 2016, par bách trần nguyêni want to upload video to google driver.
code models
video modelclass Video < ActiveRecord::Base
has_attached_file :video,
:storage => :google_drive,
:google_drive_credentials => {:client_id => AppConfig.gg_drive.client_id,
:client_secret => AppConfig.gg_drive.client_secret,
:refresh_token => AppConfig.gg_drive.refresh_token,
:scope => AppConfig.gg_drive.scope,
:access_token => Token.cache_access_token_google_drive
},
:styles => {
:medium => {
:geometry => "640x480",
:format => 'mp4'
},
:thumb => { :geometry => "160x120", :format => 'jpeg', :time => 10}
},# hello 123
:processors => [:transcoder],
:google_drive_options => {
:path => proc { |style| "#{style}_#{id}_#{image.original_filename}" },
:public_folder_id => '0B0VNyOkzIwUZZFFGeVhycFk0dnc'
}
endin Gemfile
gem 'google-api-client'
gem 'paperclip'
gem 'paperclip-googledrive'
gem 'paperclip-av-transcoder'
gem "paperclip-ffmpeg"in controller
def create
if params[:videos]
params[:videos].each { |video| Video.create(video: video) }
end
endwhen i run , this display error
[AV] Running command : if command -v avprobe 2>/dev/null ; then echo "true" ; else echo "false" ; fi
[AV] Running command : if command -v ffmpeg 2>/dev/null ; then echo "true" ; else echo "false" ; fi
Av::UnableToDetect in AlbumsController#create
Unable to detect any supported librarypls. how to fix this errors