Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (55)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

Sur d’autres sites (9397)

  • Power-Up your Matomo installation with Custom Reports

    13 novembre 2017, par InnoCraft — Plugins

    Would you like to create a report in Matomo (Piwik) with just the data you want and nothing else ? Would you like to be free to decide the shape of it ? Are you struggling with the Matomo database and wish you could have an easy interface to create the report you want ? Are you tired of exporting your data in a spreadsheet ? Since last October, there’s a solution and it’s called Custom Reports.

    With custom reports you will :

    1. get a user-friendly interface to create the report you wish
    2. see all the possible combinations to create the report you desire
    3. reveal new data combinations which were not directly available in Matomo (Piwik)

    User friendly interface

    The time when you created your reports from MySQL database is over. Now with custom reports you can create the report you want and get the data you need in just a few seconds.
    Custom reports are part of the main user interface. You can access them in just one click :

    As you can see from above the interface is straightforward, just indicate the name of your report and start to select the dimensions and metrics you would like to see.

    See all the possible combinations to create the report you desire

    As a user the big question has always been, how much data does Matomo (Piwik) collect and where can I find a list of all those data points ? Here you have the solution. Matomo is gathering in custom reports all the possible combinations so you can select only the data you want :

    Creating such a report is going to take you no more than a minute. As with any reports within Matomo (Piwik), you can easily get information regarding the specific data you are using by hovering your mouse on the question mark next to each dimension and metric :

    Make new combinations which were not directly available in Matomo

    By default, not all combinations are possible within the Matomo (Piwik) user interface. Now thanks to Custom Reports, you can easily design the report you want. Here is for example a report crossing page titles and page url :

    You can then identify if there are any duplicate titles within your content and see the associated URL in a single report.

    You could also identify easily what are your most viewed entry page from Google :

    Custom reports can also be used with segments and filters in order to get even more specific data.
    Here we have an example of a custom report designed to take into consideration only the visits coming from Wikipedia :

    What is the next step ?

    As you understood it, Matomo (Piwik) custom reports is the must-have plugin in order to take your Matomo to the next level. Why wait ? Matomo custom reports are available through the marketplace.

    If you are not sure yet, you can always give it a try within our Matomo Cloud (formerly Piwik Cloud) infrastructure.

  • Change the default audio and video codec loaded by avformat_alloc_output_context2

    8 juin 2021, par mythili3093

    I'm using ffmpeg library for live streaming via RTMP. I want to know how to give my choice of audio and video codec for the particular format in avformat_alloc_output_context2.

    


    In Detail :

    


    The following command works perfectly for me.

    


    ffmpeg -re -stream_loop -1 -i ~/Downloads/Microsoft_Surface.mp4 -vcodec copy -c:a aac -b:a 160k -ar 44100 -strict -2 -f flv -flvflags no_duration_filesize rtmp://192.168.1.7/live/surface


    


    In the output, I have set my audio codec to be aac and copied the video codec from input, which is H264.
I want to emulate this in the library, but don't know how to.

    


    avformat_alloc_output_context2(&_ctx, NULL, "flv", NULL);


    


    Above code sets oformat audio codec to ADPCM_SWF and video codec to FLV1. How to change that to AAC and H264 ?

    


    So far, used av_guess_format to construct AVOutputFormat. It accepts only format as input. And I don't know where to mention audio and video codec.

    


    AVOutputFormat* output_format = av_guess_format("flv", NULL, NULL);


    


    Also tried giving filename to avformat_alloc_output_context2 with the rest of the parameters NULL.

    


    AVOutputFormat* output_format = av_guess_format(NULL, "flv_acc_sample.flv", NULL);


    


    This file has AAC audio and H264 video. But still ffmpeg loads oformat with ADPCM_SWF audio and FLV1 video codecs.

    


    Searched stackoverflow for similar questions, but could not find the solution I was looking for.
Any hint/guidance is hugely appreciated. Thank you.

    


  • ffmpeg built on mac 10.13 fails when ran on other computer (dyld : Library not loaded libmp3lame.0.dylib)

    15 mars 2023, par Martin

    I have a shell script called buildffmpeg.sh which I call with the command $ sh buildffmpeg.sh on my mac os high sierra 10.13 machine :

    


    #!/bin/bash

# If you get error `c compiler failed` run `sudo apt install libglfw3-dev libglew-dev`
# apt-get install build-essential
# apt-get build-dep ffmpeg
# when running this on mac, you need to install some libraries such as 'brew install opus'

set -e

CWD=$(pwd)
PACKAGES="$CWD/packages"
WORKSPACE="$CWD/workspace"
ADDITIONAL_CONFIGURE_OPTIONS=""


mkdir -p "$PACKAGES"
mkdir -p "$WORKSPACE"

FFMPEG_TAG="$1"
FFMPEG_URL="http://git.ffmpeg.org/gitweb/ffmpeg.git/snapshot/74c4c539538e36d8df02de2484b045010d292f2c.tar.gz"

FFMPEG_ARCHIVE="$PACKAGES/ffmpeg.tar.gz"

if [ ! -f "$FFMPEG_ARCHIVE" ]; then
    echo "Downloading tag ${FFMPEG_TAG}..."
    curl -L -o "$FFMPEG_ARCHIVE" "$FFMPEG_URL"
fi

EXTRACTED_DIR="$PACKAGES/extracted"

mkdir -p "$EXTRACTED_DIR"

echo "Extracting..."
tar -xf "$FFMPEG_ARCHIVE" --strip-components=1 -C "$EXTRACTED_DIR"

cd "$EXTRACTED_DIR"

echo "Building..."

# Min electron supported version
MACOS_MIN="10.10"

./configure $ADDITIONAL_CONFIGURE_OPTIONS \
    --pkgconfigdir="$WORKSPACE/lib/pkgconfig" \
    --prefix=${WORKSPACE} \
    --pkg-config-flags="--static" \
    --extra-cflags="-I$WORKSPACE/include -mmacosx-version-min=${MACOS_MIN}" \
    --extra-ldflags="-L$WORKSPACE/lib -mmacosx-version-min=${MACOS_MIN} -L/usr/local/opt/lame/lib -Wl,-rpath,/usr/local/opt/lame/lib" \
    --extra-libs="-lpthread -lm" \
    --enable-static \
    --disable-securetransport \
    --disable-debug \
    --disable-shared \
    --disable-ffplay \
    --disable-lzma \
    --disable-doc \
    --enable-version3 \
    --enable-pthreads \
    --enable-runtime-cpudetect \
    --enable-avfilter \
    --enable-filters \
    --disable-libxcb \
    --enable-gpl \
    --disable-libass \
    --enable-libmp3lame \
    --enable-libx264 \
    --enable-libopus

make -j 4
make install

otool -L "$WORKSPACE/bin/ffmpeg"
otool -L "$WORKSPACE/bin/ffprobe"

echo "Building done. The binaries can be found here: $WORKSPACE/bin/ffmpeg $WORKSPACE/bin/ffprobe"

mkdir ffmpeg-mac/ 
cp -r "$WORKSPACE/bin/" "$CWD/ffmpeg-mac/"

rm -rf "$PACKAGES"
rm -rf "$WORKSPACE"

exit 0



    


    When it finishes, I have a folder ffmpeg-mac/ which contains two built executables ffmpeg and ffprobe.

    


    but if I try to move the ffmpeg-mac folder onto my other macbook, running 11.2.3 big sur, and if i try to call my built ffmpeg file with ./ffmpeg-mac/ffmpeg, it fails with this error :

    


    $ ./ffmpeg-mac/ffmpeg 
dyld: Library not loaded: /usr/local/opt/lame/lib/libmp3lame.0.dylib
  Referenced from: /Users/martinbarker/Documents/projects/rendertunev1.1.2/./ffmpeg-mac/ffmpeg
  Reason: image not found
Abort trap: 6



    


    So I think when I run the script to build ffmpeg on my mac 10.13 high sierra machine, it for some reason is not including the file libmp3lame.0.dylib. I've tried using brew to uninstall, install, unlink, and link lame, but no luck. I've tried manually editing my shell script to include the file but no luck.

    


    Can anyone help me fix my build script so that when I build ffmpeg on high sierra, I can use the finished built file on other mac computers ?