Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (49)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (9290)

  • 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
  • Revision bfc27bb614 : tx-skip experiment : improve entropy coding of coeff tokens This patch allows th

    31 mars 2015, par hui su

    Changed Paths :
     Modify /vp9/common/vp9_entropy.c


     Modify /vp9/common/vp9_entropy.h


     Modify /vp9/common/vp9_onyxc_int.h


     Modify /vp9/common/vp9_quant_common.c


     Modify /vp9/decoder/vp9_detokenize.c


     Modify /vp9/encoder/vp9_encodemb.c


     Modify /vp9/encoder/vp9_rdopt.c


     Modify /vp9/encoder/vp9_tokenize.c



    tx-skip experiment : improve entropy coding of coeff tokens

    This patch allows the prediction residues of tx-skipped blocks
    to use probs that are different from regular transfrom
    coefficients for token entropy coding. Prediction residues are
    assumed as in band 6.

    The initial value of probs is obtained with stats from limited
    tests. The statistic model for constrained token nodes has not
    been optimized. The probs for token extra bits have not been
    optimized. These can be future work.

    Certain coding improvment is observed :
    derflr with all experiments : +6.26% (+0.10%)
    screen_content with palette : +22.48% (+1.28%)

    Change-Id : I1c0d78178ee9f3655febb6f30cdaef8ee9f8e3cc