Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

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

Autres articles (35)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (9719)

  • FFMPEG UDP MPEG2TS to Cable TV Channel - Video & Audio Problems

    30 janvier 2019, par user2884023

    Channel Feed Distored Picture

    $ ffmpeg
    -re
    -i playlist1.txt
    -b:v 15000k
    -bufsize 15000k
    -maxrate 16000k
    -f mpegts "udp://XXX.XXX.X.XXX:XXXX"

    I have mpeg2.ts files encoded to CBR15mbs.
    The files are set to different frame rates. Although initial testing was just playing 1 file.
    They are currently 1080p I think without declaring the frame rate, they are defaulting to 30fps.
    From the server locally via Port2 (that we are using to send our feed), everything plays fine via FFPLAY.
    The final out put local CATV is pixelated and distorted, the video is missing data playing slowly and the audio is choppy / distorted.
    I even tried just a 192kps .mp2 and it played distorted on the CATV channel.
    They set me up with a cable modem. 2 ports, 1 WAN, 1 a dedicated port to feed their head end and I have a fiber synchronous 20/20 connection.

    I am guessing its a packet issue, perhaps on our end with our FFMPEG setup ? And maybe FFPLAY isn’t as sensitive to the actual distro process.

    Perhaps the secret lies here, but there isn’t much info about them, even scouring the net.

    ?pkt_size=188&buffer_size=65535

    For example what is this one :

    broadcast=1|0

    Explicitly allow or disallow UDP broadcasting.

    I apologize if data is missing, please ask questions. I didn’t want to write a novel.

    I am hoping some can provide the correct code so my signal is corrected. I assume the problem is on our end, and not the CATV end. At least I can try some solutions on our end first. I can make real-time FFMPEG changes to the server, and see the channel results instantly so that helps.

    Finally, the fact it wouldn’t even play a .mp2 audio file cleanly on the channel, does make me wonder, is there a problem on their end, or is it a config on our end, and we just need the correct answer ?

  • Trying to change extension of filename on an ffmpeg script

    22 janvier 2019, par prat67

    (first time posting a question here)

    So I’m looking to write a ffmmpeg script to automate encoding my files to VP9.
    The problem I’m having is when I try to strip the extension and add a new one.

    For example
    Demo.mp4

    Should change to
    Demo.webm

    I’m running this on a Ubuntu-16.04 (Server Non-GI Version)
    I’ve tried a few different ways to accomplish this (using google and other posts on StackOverflow) but I can’t seem to make it work

    This is the error I keep getting..

    line 31 : Demo.mp4+.vp9 : syntax error : invalid arithmetic operator (error token is ".mp4+.vp9")

    I’ve also commented (in the code below) where the syntax error is pointing to..

    #!/bin/bash

    # Welcome Message

    clear
    printf "====================================\n"
    printf "FFMPEG Encoder\n"
    printf "(Using HDR-4k Profile)\n"
    printf "====================================\n\n"
    printf " Loading Files in Current Directory...\n\n"
    sleep 3s


    # Variables

    i=1
    ext=".webm"
    vadd=4000000
    vsub=2000000


    # Iterate through files in current directory

    for j in *.{mp4,mkv};
    do
    echo "$i.$j"
    file[i]=$j
    i=$(( i + 1 ))
    done


    # Select File & Bitrate

    printf "Enter file number\n"
    read fselect
    printf "${file[$fselect]}: Selected for encoding\n\n"

    printf "Enter Average Bitrate (Eg: 8000000)\n\n"
    read bselect


    # ***THIS IS WHERE THE PROBLEM IS***
    # Prepare output file, strip trailing extension (eg .mkv) and add .webm

    ftemp1="${file[$fselect]}"
    ftemp2="${ftemp1::-4}"
    fout="$(($ftemp2+$ext))"
    printf "Output file will be: $fout"
    printf "Preparing to encode..."
    sleep 5s


    # Encode with User-Defined Parameters

    ffmpeg -y -report -i ${file[$fselect]} -b:v $bselect -speed 4 -pass 1 \
     -pix_fmt yuv420p10le \
     -color_primaries 9 -color_trc 16 -colorspace 9 -color_range 1 \
     -maxrate "$(($bselect+$vadd))" -minrate "$(($bselect-$vsub))" \
     -profile:v 2 -vcodec libvpx-vp9 -f webm /dev/null && \
    ffmpeg -y -report -i ${file[$fselect]} -b:v $bselect -pass 2 \
     -pix_fmt yuv420p10le \
     -color_primaries 9 -color_trc 16 -colorspace 9 -color_range 1 \
     -maxrate "$(($bselect+$vadd))" -minrate "$(($bselect-$vsub))" \
     -profile:v 2 -vcodec libvpx-vp9 \
    $fout

    I’m certain there is a much cleaner way to do this - but I’m not expecting help with that :P

    My suspicion is that I’m trying to add two different types of variables ? But I thought I defined them as strings..I could be wrong

    Please Help... lol

  • How to create video and audio files for the Media Source Extension API ?

    5 décembre 2018, par Aman

    I have created a video player from the Media Source Extension API. I have split the video and audio from the original.mp4 (1 minute duration). I have split the video and audio into small 5 second files (12 files in total). I’m getting each one of them and playing them together. But the video stops playing at around 45-47 seconds. I cannot understand to why the video is stopping/buffering. I cannot understand whether the problem is in the javascript code or the video files ?

    I have uploaded all the resources here (https://drive.google.com/file/d/1NHc_yNRU0tvaU18aohLy74Js3y7UHD4N/view?usp=sharing). And written the commands I used to construct my video and audio files below. I have also noticed that this problem only occurs with Google Chrome and works perfectly and smoothly on Microsoft Edge. Thanks

    Making the Media files:

    Extracting video from original.mp4: MP4Box -single 1 original.mp4

    Extracting audio from original.mp4: MP4Box -single 2 original.mp4

    Splitting the video and audio into 5 second parts: ffmpeg -ss starting-time -to end-time -i (video.mp4 OR audio.mp4) (video_part.mp4 OR audio_part.mp4)

    Fragmenting all the video and audio parts: MP4Box -dash 1000 -rap -frag-rap(video_part.mp4 OR audio_part.mp4)

    Then using the fragmented video and audio files to be played via the Media Source Extension API video player. e.g. (video_part_dashinit.mp4 OR audio_part_dashinit.mp4)