Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (71)

  • 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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (13397)

  • Merge commit ’76729970049fe95659346503f7401a5d869f9959’

    13 juillet 2016, par Matthieu Bouron
    Merge commit ’76729970049fe95659346503f7401a5d869f9959’
    

    * commit ’76729970049fe95659346503f7401a5d869f9959’ :
    mov : Implement support for multiple sample description tables

    Notes :
    * The sc->stsc_data[index].id checks have been moved from the mov_read_stsc
    to mov_read_packet before the value is used in mov_change_extradata to
    not break playback of samples with broken stsc entries (see sample of
    ticket #1918).

    * sc->stsc_index is now checked against sc->stsc_count - 1 before it
    is incremented so it remains lesser than sc->stsc_count. Fixes a crash
    with :

    ./ffmpeg -i matrixbench_mpeg2.mpg -t 1 -frag_duration 200k test.mov
    ./ffprobe -show_packets test.mov

    Merged-by : Matthieu Bouron <matthieu.bouron@stupeflix.com>

    • [DH] libavformat/isom.h
    • [DH] libavformat/mov.c
  • Can I use t with drawbox to simulate a playhead over a waveform in a generated video ?

    9 juillet, par terrorrussia-keeps-killing

    I want to simulate a playhead moving over a waveform, like when playing a track in an audio editor. As far as I understand, I can generate this effect if I have both the audio file and an image of the waveform.

    &#xA;

    declare -r DURATION=$(ffprobe -i audio.flac -show_entries format=duration -v quiet -of csv="p=0")&#xA;ffmpeg -hide_banner -loop 1 -framerate 30 -i waveform.png -i audio.flac \&#xA;    -filter_complex "&#xA;    drawtext=text=&#x27;%{pts\\:hms} -- %{n} -- %{pts\\:flt}&#x27;:x=32:y=32:fontsize=24:fontcolor=black@0.75:box=1,&#xA;    drawbox=x=t*${DURATION}/iw/10000000:y=0:w=16:h=ih:color=CC1144@0.5:t=fill&#xA;    " \&#xA;    -map 1:a -shortest -t 5 -pix_fmt yuv420p playhead.mp4&#xA;

    &#xA;

    What it does :

    &#xA;

      &#xA;
    • Retrieves the duration of audio.flac.
    • &#xA;

    • Generates a video using waveform.png as a static background and audio.flac as the audio track. Using drawtext, I overlay time information on the video, and with drawbox I attempt to render the moving playhead. (For quicker testing, I limit the video to the first 5 seconds.)
    • &#xA;

    &#xA;

    Note that I divide t by 10000000 just to make the box appear at all (otherwise it seems to be so big that it cannot fit the viewport). For whatever reason the box remains static, and I don't think that t even changes.

    &#xA;

    What detail am I missing, and how can I at least obtain the value of t (for debug), so I can make the box move in sync with the current timestamp ?

    &#xA;

  • QtAV render in a widget crashes on application close

    23 novembre 2017, par user3606329

    I compiled FFmpeg statically + QtAV statically and QT statically.

    Once I add the QtAV player in a QWidget it crashes on application close. Did I miss any cleanup procdure ?

    MainWindow::MainWindow(QWidget *parent) :
       QMainWindow(parent),
       ui(new Ui::MainWindow)
    {
       ui->setupUi(this);
       QtAV::setLogLevel(QtAV::LogAll);


       AVPlayer *player = new AVPlayer();
       WidgetRenderer *renderer = new WidgetRenderer();
       renderer->show();
       player->addVideoRenderer(renderer);
       player->setFile("C:\\abc.mp4");
       ui->verticalLayout->addWidget(renderer->widget()); # will cause crash on exit.
       player->play();

    }

    MainWindow::~MainWindow()
    {
     //  delete player; # I tried this and also the removal of the widget
    //   delete renderer; # It still does crash
       delete ui;
    }

    The crash comes from

    WidgetRenderer *renderer = new WidgetRenderer();

    Once the renderer is embedded in a QWidget the application can’t exit gracefully somehow.

    I already tried to clean it up, remove the widget, delete the object, etc. but the crash still remains.

    The player works great and plays the videos ! It only gives a crash when the application is closed. (Doesn’t exit gracefully somehow).

    The QtAV log does not print anything about it.