Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

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

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

Sur d’autres sites (11664)

  • ffmpeg Output file #0 does not contain any stream when trying to access 1 of 2 audio streams

    7 juillet 2019, par nulltorpedo
    ffmpeg -i input.mkv  -map 0:2 -c copy -strict -2  audio.mkv

    Hi I have the above command. The output shows that there are 2 audio streams. I want to copy just the ac3 audio (actually I want to convert it but even this copy does not work). I have truncated the output print where there is metadata

    NEW updated sample with full log which results in same message

    ffmpeg -i input.mka -map 0:0 -c:a libfdk_aac   aac_out.m4a
    ffmpeg version 2.7.1 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.9.3 (crosstool-NG 1.20.0) 20150311 (prerelease)
     configuration: --prefix=/usr --incdir='${prefix}/include/ffmpeg' --arch=i686 --target-os=linux --cross-prefix=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- --enable-cross-compile --enable-optimizations --enable-pic --enable-gpl --enable-shared --disable-static --enable-version3 --enable-nonfree --enable-libfaac --enable-encoders --enable-pthreads --disable-bzlib --disable-protocol=rtp --disable-muxer=image2 --disable-muxer=image2pipe --disable-swscale-alpha --disable-ffserver --disable-ffplay --disable-devices --disable-bzlib --disable-altivec --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --disable-vaapi --disable-decoder=amrnb --disable-decoder=ac3 --disable-decoder=ac3_fixed --disable-encoder=zmbv --disable-encoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=eac3 --disable-decoder=dca --disable-decoder=eac3 --disable-decoder=truehd --cc=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ccache-gcc --enable-yasm --enable-libx264 --enable-encoder=libx264
     libavutil      54. 27.100 / 54. 27.100
     libavcodec     56. 41.100 / 56. 41.100
     libavformat    56. 36.100 / 56. 36.100
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 16.101 /  5. 16.101
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.100 /  1.  2.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, matroska,webm, from '/volume1/..../input.mka':
     Metadata:
       encoder         : libebml v1.3.9 + libmatroska v1.5.2
       creation_time   : 2019-07-07 06:19:20
     Duration: 02:29:21.98, start: 0.000000, bitrate: 640 kb/s
       Stream #0:0(eng): Audio: ac3, 48000 Hz, 5.1(side), 640 kb/s
       Metadata:
         BPS-eng         : 640000
         DURATION-eng    : 02:29:21.984000480
         NUMBER_OF_FRAMES-eng: 280062
         NUMBER_OF_BYTES-eng: 716958720
         _STATISTICS_WRITING_APP-eng: mkvmerge v35.0.0 ('All The Love In The World') 64-bit
         _STATISTICS_WRITING_DATE_UTC-eng: 2019-07-07 06:19:20
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Output #0, ipod, to 'aac_out.m4a':
     Metadata:
       encoder         : libebml v1.3.9 + libmatroska v1.5.2
    Output file #0 does not contain any stream
  • lavfi/dnn : Async Support for TensorFlow Backend

    8 août 2021, par Shubhanshu Saxena
    lavfi/dnn : Async Support for TensorFlow Backend
    

    This commit enables async execution in the TensorFlow backend
    and adds function to flush extra frames.

    The async execution mechanism executes the TFInferRequests on
    a separate thread which is joined before the next execution of
    same TFRequestItem/while freeing the model.

    The following is the comparison of this mechanism with the existing
    sync mechanism on TensorFlow C API 2.5 CPU variant.

    Async Mode : 4m32.846s
    Sync Mode : 5m17.582s

    The above was performed on super resolution filter using SRCNN model.

    Signed-off-by : Shubhanshu Saxena <shubhanshu.e01@gmail.com>

    • [DH] libavfilter/dnn/dnn_backend_tf.c
    • [DH] libavfilter/dnn/dnn_backend_tf.h
    • [DH] libavfilter/dnn/dnn_interface.c
  • Python video player using ffpyplayer.player with audio repeated cracking at end of clip

    18 janvier 2021, par sunyaer

    I am using the codes below to do a video player. For video clips cut using this command : "ffmpeg -i PrideAndPrejudice.mp4 -ss 00:50:31 -t 00:03:30 OutPutPP.mp4", there is audio crack that keeps repeating a couple of times when the picture stops at the end of the video. I suspect there may be some issues with the codes of QTimer, but as I am quite new to Python and ffmpeg, and can't figure out what exactly the problem is, not to mention how to fix it. Your help would be greatly appreciated.

    &#xA;

        self.timer = QTimer()&#xA;    self.timer.setInterval(50)&#xA;    self.timer.start()&#xA;    self.timer.timeout.connect(self.showFrame)&#xA;

    &#xA;

    This is the whole codes :

    &#xA;

     from ffpyplayer.player import MediaPlayer&#xA; import sys&#xA; from PyQt5.QtWidgets import *&#xA; from PyQt5.QtGui import QPixmap, QImage, QImageReader&#xA; from PyQt5.QtCore import QTimer&#xA;&#xA;class MyApp(QWidget):&#xA;    def __init__(self, name, parent=None):&#xA;        super(MyApp, self).__init__(parent)&#xA;        self.label = QLabel()&#xA;        self.qimg = QImage()&#xA;        self.val = &#x27;&#x27;&#xA;&#xA;        self.player = MediaPlayer("PrideAndPrejudice005030.mp4")&#xA;        self.timer = QTimer()&#xA;        self.timer.setInterval(50)&#xA;        self.timer.start()&#xA;        self.timer.timeout.connect(self.showFrame)&#xA;&#xA;        layout = QVBoxLayout()&#xA;        layout.addWidget(self.label)&#xA;        self.setLayout(layout)&#xA;        self.setWindowTitle(name)&#xA;&#xA;        # self.showFullScreen()&#xA;&#xA;    def showFrame(self):&#xA;        frame, self.val = self.player.get_frame()&#xA;        if frame is not None:&#xA;            img, t = frame&#xA;            self.qimg = QImage(bytes(img.to_bytearray()[0]), img.get_size()[0], img.get_size()[1],&#xA;                               QImage.Format_RGB888)&#xA;            self.label.setPixmap(QPixmap.fromImage(self.qimg))&#xA;&#xA;&#xA;if __name__ == &#x27;__main__&#x27;:&#xA;    app = QApplication(sys.argv)&#xA;    t = MyApp(sys.argv[0])&#xA;    t.show()&#xA;    sys.exit(app.exec_())&#xA;

    &#xA;