Recherche avancée

Médias (91)

Autres articles (60)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (4584)

  • Unable to upload video from iphon using paperclip-ffmpeg in ruby on rails

    13 mai 2015, par sank

    when 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.

  • Using Qt Media Player on Raspberry Pi 1

    18 mai 2015, par Mauker

    I have a project built using Qt5 which has to play a video. Just like in the videowidget sample code.

    I’ve followed these instructions to build qt5 on my Pi. And it went just fine. But when I try to run any qt program that uses QMediaPlayer, I get the error message :

    defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"

    Which means I don’t have a backend to play the video, right ? Is there any one that I can use which will with Qt, like ffmpeg ? And how can I get it to work ? Specially for h264 videos.

    I’ve tried to install gstreamer as is told on this link, but it’s not working. Will I have to rebuild the entire qt5 again ?

    P.S. : I have the raspberry pi 1 model B with raspbian installed.

    Edit : As mentioned by Greenflow, I checked the ./configure log and saw that the GStreamer was compiled in, but the video apps are still not working...

    The message on the log was like this :

    GStreamer .............. yes (0.10)

    And the message on Greenflow’s log was like this :

    GStreamer .............. yes (1.0)

    Clearly it’s another version of GStreamer, but is it the problem ?

    I’ve also found this post which says QtMultimedia on the Pi is rather useless, but the post is from 2013, so I’m not sure if it’s really relevant. I’d like to have this app playing hardware accelerated videos on my Raspberry Pi, but I’m almost dropping the idea.

    Anyways, thanks Greenflow for the head start.

    Edit 2 : Found this thread on the Qtcentre. Damn, this thing is not going to be easy to solve, I guess...

  • Problems with paperclip and ffmpeg

    15 avril 2015, par proeo pre

    I 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 AAC

    When 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