Recherche avancée

Médias (91)

Autres articles (72)

  • 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 (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (7378)

  • 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