
Recherche avancée
Médias (91)
-
999,999
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (41)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (5724)
-
Unable to upload video from iphon using paperclip-ffmpeg in ruby on rails
13 mai 2015, par sankwhen i upload video from iphon then I am getting below error.
It works perfectly when I upload same video from desktop.
Command :: PATH=/usr/bin/:$PATH; file -b --mime '/tmp/6da355e988ec841811d8803dfd5cf44c20150513-8103-b4lkam.MOV'
[paperclip] Content Type Spoof: Filename IMG_2637.MOV (["video/quicktime"]), content type discovered from file command: inode/x-empty. See documentation to allow this combination.
(0.6ms) ROLLBACK
Completed 400 Bad Request in 58ms (Views: 0.9ms | ActiveRecord: 5.0ms)I used gems "paperclip", " > 4.1" and ’paperclip-ffmpeg’
and in video model i used
validates_attachment_content_type :student_video, content_type: /\Avideo\/.*\Z/
also tried out
validates_attachment_content_type :student_video, :content_type => ['video/x-
# msvideo', 'video/avi', 'video/quicktime', 'video/3gpp', 'video/x-ms-
# wmv', 'video/mp4', 'flv-application/octet-stream', 'video/x-
# flv', 'video/mpeg', 'video/mpeg4', 'video/x-la-asf', 'video/x-ms-asf']but i m getting same error.
I do not know what was an error.
please help me.
thanks in advance.
-
Problems with paperclip and ffmpeg
15 avril 2015, par proeo preI have a problem with update a video for web cam.
my model :
has_attached_file :video_presentacion, :styles => {
:original => { :geometry => "1280x720", :format => 'mp4',:convert_options => { :output => { :vcodec => 'libx264'}} },
:thumb => { :geometry => "350x350#", :format => 'png', :time => 12}
}, :processors => [:ffmpeg]
validates_attachment_content_type :video_presentacion, :content_type => [ 'application/x-mp4','video/mp4',
'video/mpeg',
'video/quicktime',
'video/x-la-asf',
'video/x-ms-asf',
'video/x-msvideo',
'video/x-sgi-movie',
'video/x-flv',
'flv-application/octet-stream',
'video/3gpp',
'video/3gpp2',
'video/3gpp-tt',
'video/BMPEG',
'video/BT656',
'video/CelB',
'video/DV',
'video/H261',
'video/H263',
'video/H263-1998',
'video/H263-2000',
'video/H264',
'video/JPEG',
'video/MJ2',
'video/MP1S',
'video/MP2P',
'video/MP2T',
'video/mp4',
'video/MP4V-ES',
'video/MPV',
'video/mpeg4',
'video/mpeg4-generic',
'video/nv',
'video/parityfec',
'video/pointer',
'video/raw',
'video/rtx']MY file name have WIN_20150415_103337.MP4
file have codec h.264
sonido have codec MPEG-4 AACWhen I upload in development mode on my laptop, it work fines. When I update on test or production don’t work and log archive...
[paperclip] An error was received while processing: #tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr.MP4' -vcodec libx264 -s 1280x720 -acodec aac -strict experimental -y '/tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr20150415-11490-1ww6qqc.mp4'' returned 1. Expected 0
Here is the command output :
[paperclip] [ffmpeg] ffprobe "/tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr.MP4" 2>&1
[paperclip] [ffmpeg] Command Success
[paperclip] [ffmpeg] Making...
[paperclip] [ffmpeg] Building Destination File: '3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr' + 'png'
[paperclip] [ffmpeg] Destination File Built
[paperclip] [ffmpeg] Adding Geometry
[paperclip] [ffmpeg] Extracting Target Dimensions
[paperclip] [ffmpeg] Target Size is Available
[paperclip] [ffmpeg] Keeping Aspect Ratio
[paperclip] [ffmpeg] Pad Only
[paperclip] [ffmpeg] Convert Options:
[paperclip] [ffmpeg] Adding Format
[paperclip] [ffmpeg] Adding Source
[paperclip] [ffmpeg] Building Parameters
[paperclip] [ffmpeg] -ss 12 -i :source -vf scale=350:-1,pad=350:350:0:77.0:black -vframes 1 -f image2 -y :dest
Command :: PATH=/usr/local/bin/:$PATH; ffmpeg -ss 12 -i '/tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr.MP4' -vf scale=350:-1,pad=350:350:0:77.0:black -vframes 1 -f image2 -y '/tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr20150415-11490-txzcol.png'
Command :: PATH=/usr/local/bin/:$PATH; file -b --mime '/tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr20150415-11490-txzcol.png'
Command :: PATH=/usr/local/bin/:$PATH; file -b --mime '/tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1kbatzu.MP4'
[1m[35m (0.3ms)[0m ROLLBACK -
Ffmpeg - Incorrect codec parameters
29 avril 2015, par DevPMI always got the following error, when trying to connect ffmpeg with ffserver :
But let’s start with the theory :
I want to Broadcast a stream, which is already existing in the internet (to able to do some analytic stuff on the stream).
So my idea is as follows :
i have one ubuntu-server (currently ubuntu-desktop version 12.x on a virtual machine, i will change it to a real server later...).
and i want to run on the server :ffmpeg, which should record the live-stream (and saves it locally)
ffserver, for broadcasting the same live-stream, using the rtp protocoll (because of the timestamp-header in the protocoll).
so if i understoot the documentation correctly, this is my idea :
- start ffserver from linux-terminal
(ffserver -f ~/Desktop/ffserver.conf
)
- start ffmpeg and connect to the feed of ffserver
(ffmpeg -re -i "http://InternetStreamer.sdp/playlist.m3u8" -vcodec libx264 -s 320x240 -pix_fmt yuv420p -vb 200000 -minrate 200000 -maxrate 200000 -bufsize 2000000 -acodec libmp3lame -ab 128k -ar 44100 -f rtp -an http://localhost:8090/feed1.ffm
)
(I am getting the Stream from the URL "http://InternetStreamer.sdp/playlist.m3u8" and want sent it to ffserver(also i want to save it locally for backup later...))now when i start ffmpeg i get the following error :
Could not write header for output file #0 (incorrect codec parameters ?)Last thing to say is that is very important to broadcast the stream with RTP-Protocoll. (Best case would be directly from ffmpeg, because then the RTP-headers are as set as early as possible)
my server.conf looks like follows :
Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
CustomLog -
NoDaemon
<feed>
#file ffmpeg http://localhost:8090/feed1.ffm
#Format rtp
#File /tmp/feed1.ffm
#FileMaxSize 200K
File /tmp/cam1.ffm
ACL allow 127.0.0.1
#VideoFrameRate 25
</feed>
<stream>
Feed feed1.ffm
Format rtp
#VideoFrameRate 25
#Hier: alle parameter von ffmpeg angeben!
#-re -i "http://apasfiisl.apa.at/ipad/orf2_q4a/orf.sdp/playlist.m3u8"
#-vcodec libx264
#-s 320x240
#-pix_fmt yuv420p
#-vb 200000
#-minrate 200000
#-maxrate 200000
#-bufsize 2000000
#-acodec libmp3lame
#-ab 128k
#-ar 44100
#AudioBitRate 32
#AudioChannels 1
#AudioSampleRate 44100
#VideoBitRate 64
#VideoBufferSize 40
VideoFrameRate 3
#VideoSize 160x128
#VideoGopSize 12
</stream>
##################################################################
# Special streams
# Server status
<stream>
Format status
# Only allow local people to get the status
ACL allow localhost
ACL allow 192.168.0.0 192.168.255.255
#FaviconURL http://pond1.gladstonefamily.net:8080/favicon.ico
</stream>
# Redirect index.html to the appropriate sites
<redirect>
URL http://www.ffmpeg.org/
</redirect>####################################################################
This is the full console output from ffmpeg :
####################################################################The ffmpeg program is only provided for script compatibility and will be removed
in a future release. It has been deprecated in the Libav project to allow for
incompatible command line syntax improvements in its replacement called avconv
(see Changelog for details). Please use avconv instead.
[applehttp @ 0x91fa240] max_analyze_duration reached
[applehttp @ 0x91fa240] Estimating duration from bitrate, this may be inaccurate
Seems stream 1 codec frame rate differs from container frame rate: 180000.00 (180000/1) -> 25.00 (25/1)
Input #0, applehttp, from 'http://InternetStreamer.sdp/playlist.m3u8':
Duration: N/A, start: 61442.038956, bitrate: N/A
Stream #0.0: Data: [21][0][0][0] / 0x0015
Metadata:
variant_bitrate : 831114
Stream #0.1: Video: h264 (Main), yuvj420p, 640x360 [PAR 1:1 DAR 16:9], 25 tbr, 90k tbn, 180k tbc
Metadata:
variant_bitrate : 831114
Stream #0.2: Audio: aac, 44100 Hz, stereo, s16
Metadata:
variant_bitrate : 831114
[buffer @ 0x9215720] w:640 h:360 pixfmt:yuvj420p
[scale @ 0x9434300] w:640 h:360 fmt:yuvj420p -> w:320 h:240 fmt:yuv420p flags:0x4
[libx264 @ 0x923a560] using SAR=4/3
[libx264 @ 0x923a560] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
[libx264 @ 0x923a560] profile Main, level 1.3
Output #0, rtp, to 'http://localhost:8090/feed1.ffm':
Metadata:
encoder : Lavf53.21.1
Stream #0.0: Video: libx264, yuv420p, 320x240 [PAR 4:3 DAR 16:9], q=-1--1, 200 kb/s, 90k tbn, 25 tbc
Metadata:
variant_bitrate : 831114
Stream mapping:
Stream #0.1 -> #0.0
Could not write header for output file #0 (incorrect codec parameters ?)Kind Regards
DevPM