Advanced search

Medias (91)

Other articles (49)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 February 2011, by

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • MediaSPIP v0.2

    21 June 2013, by

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 April 2011, by

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

On other websites (8538)

  • ffmpeg: Invalid data found when processing input

    20 September 2018, by Rich_F

    I have a situation where ffmpeg is throwing an error:

    Invalid data found when processing input

    I’ve reviewed other answers here, but my situation is different. I generate in Ruby, a text file with a list of input files I want to concatenate together into one large video.

    I generate in Ruby, the command meant for bash, which is also output for me to manually copy:

    ffmpeg -y -f concat -safe 0 -i /Volumes/Dragon2/Yums/randoms.txt /Volumes/Dragon2/Yums/final.mp4

    Throws an error:

    /Volumes/Dragon2/Yums/randoms.txt: Invalid data found when processing input

    Here is that file:

    file '/Volumes/Dragon2/Yums/0CEDC3CA-4571-4271-9938-A161EC2A887B.mov'
    file '/Volumes/Dragon2/Yums/0D25D907-D053-443B-AFC6-9F12B1711BBF.mov'
    file '/Volumes/Dragon2/Yums/6A272808-7706-435D-801E-ACE6B42EC749.mov'
    file '/Volumes/Dragon2/Yums/6E9BA2F1-C5E7-4C1C-B290-D116105732FA.mov'
    file '/Volumes/Dragon2/Yums/0A41C7B7-74CE-484E-B029-3AE57B8BB4EA.mov'

    When bash runs it, it complains about the input file randoms.txt having invalid data. When I copy and paste the very same command in bash, it works fine. I’m stumped as to how the two are different and why ffmpeg is not happy when initiated in the shell.

    How can I get this to work? What am I missing? Cheers

    EDIT: Original ruby code:

    `clear`
    require 'pathname'
    require 'pp'

    s = '/Volumes/Dragon2/Yums'
    files = []

    Dir.foreach(s) do |path|
     files << "#{ s }/#{ path }"  
    end

    result = files.sample(files.size)           # randomizer

    f = File.open("#{ s }/randoms.txt", 'w+')
    result.each_with_index do |item, i|
     pp "#{ i }: #{ item }" if item.include?('mov')
     f << "file '#{ item }'\n" if item.include?('mov')
    end

    `echo `

    File.delete("#{ s }/final.mp4") if File.exists?("#{ s }/final.mp4")
    s = "ffmpeg -y -f concat -safe 0 -i #{ s }/randoms.txt #{ s }/final.mp4"
    puts s

    sleep 3
    `#{ s }`

    I have also tried system s as well with the same error. The syntax is generated fine, output fine, operates fine manually.

  • FFMPEG - aws console issue

    1 December 2018, by Pramod Gehlot

    I have created aws lambda function and run on aws console but got an error

    Error: spawn EACCES
    at _errnoException (util.js:1022:11)
    at ChildProcess.spawn (internal/child_process.js:323:11)
    at exports.spawn (child_process.js:502:9)
    at Timeout.setTimeout [as _onTimeout] (/var/task/handler.js:23:22)
    at ontimeout (timers.js:482:11)
    at tryOnTimeout (timers.js:317:5)
    at Timer.listOnTimeout (timers.js:277:5)

    I have set alrady process.env[’PATH’] like below this

    process.env['PATH'] = process.env['PATH'] + ':/tmp/:'  +
    process.env['LAMBDA_TASK_ROOT'] +
    ':' + process.env['LAMBDA_TASK_ROOT'] + '/bin' +
    ':' + process.env['LAMBDA_TASK_ROOT'] + '/lib';

    i am using ffmpeg binary which is available in bin folder so i want to access ffmpeg on aws linux machine.
    my code folder structure like

    enter image description here

  • Re-encode and stream UDP TV Channels

    12 December 2018, by Tomy137

    I used from long time mumudvb and one dvb-t pci card to stream TV channels on my network. This is working fine but I’ve recently add another player that is less powerfull than others so I want to re-encode the video stream.

    This is my input stream video :

    Input #0, mpegts, from 'udp://@239.1.4.1:8200':
     Duration: N/A, start: 53843.533922, bitrate: N/A
     Program 1025
       Metadata:
         service_name    : M6
         service_provider: Multi4
       Stream #0:0[0x78]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1920x1080 [   SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:1[0x82](fra): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), fltp, 192 kb/s
       Stream #0:2[0x83](qad): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 96 kb/s
       Stream #0:3[0x84](qaa): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 128 kb/s
       Stream #0:4[0x8c](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
       Stream #0:5[0x8d](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
       Stream #0:6[0xaa]: Unknown: none ([5][0][0][0] / 0x0005)
       Stream #0:7[0xab]: Unknown: none ([11][0][0][0] / 0x000B)

    ffmpeg version 3.0.1
    Running on Ubuntu 12.04.5 LTS

    And this is my command line to run ffmpeg :

    ffmpeg -i udp://@239.1.4.1:8200 -qscale:v:0 7 -c:v:0 mpeg4 -b:v:0 4000k -minrate:v 0 -maxrate:v 4000k -bufsize:v 5000k -s hd720 -c:a copy -f mpegts udp://239.1.24.1:8200?pkt_size=1316

    But when I do this, I’ve got errors like this on my VLC player :

    [00007f2ff3ad64c0] main audio output debug: inserting 35549 zeroes
    [00007f2ff3ad64c0] main audio output warning: playback too early (-55552): down-sampling
    [00007f2ff3adc4c0] xcb vout display debug: display is visible
    [00007f2ff3ad64c0] main audio output debug: resampling stopped (drift: -13228 us)
    [00007f300dd870c0] main video output warning: picture is too late to be displayed (missing 33 ms)
    [00007f300dd870c0] main video output debug: picture might be displayed late (missing 2 ms)
    [00007f300dd870c0] main video output debug: picture might be displayed late (missing 4 ms)
    [00007f300dd870c0] main video output debug: picture might be displayed late (missing 0 ms)
    [00007f300dd870c0] main video output warning: picture is too late to be displayed (missing 22 ms)
    [00007f2ff3ad64c0] main audio output warning: playback too early (-40559): down-sampling
    [00007f300dd870c0] main video output debug: picture might be displayed late (missing 8 ms)
    [00007f300dd870c0] main video output debug: picture might be displayed late (missing 13 ms)
    [00007f300dd870c0] main video output debug: picture might be displayed late (missing 3 ms)
    [00007f300dd870c0] main video output debug: picture might be displayed late (missing 3 ms)
    [00007f2ff3ad64c0] main audio output debug: resampling stopped (drift: 1666 us)
    [00007f2ff3ad64c0] main audio output warning: playback way too early (-130510): playing silence
    [00007f2ff3ad64c0] main audio output debug: inserting 6264 zeroes
    [00007f300dd870c0] main video output debug: picture might be displayed late (missing 13 ms)
    [00007f300dd870c0] main video output debug: picture might be displayed late (missing 15 ms)
    [00007f2ff3ad64c0] main audio output warning: playback too early (-41304): down-sampling
    [00007f300dd870c0] main video output debug: picture might be displayed late (missing 10 ms)
    [00007f300dd870c0] main video output warning: picture is too late to be displayed (missing 54 ms)
    [00007f300dd870c0] main video output debug: picture might be displayed late (missing 15 ms)
    [00007f2ff3ad64c0] main audio output warning: timing screwed (drift: -105734 us): stopping resampling
    [00007f2ff3ad64c0] main audio output warning: playback too early (-105702): down-sampling
    [00007f300dd870c0] main video output debug: picture might be displayed late (missing 10 ms)
    [00007f300dd870c0] main video output debug: picture might be displayed late (missing 10 ms)
    [00007f300dd870c0] main video output warning: picture is too late to be displayed (missing 60 ms)
    [00007f300dd870c0] main video output warning: picture is too late to be displayed (missing 20 ms)
    [00007f300dd870c0] main video output debug: picture might be displayed late (missing 14 ms)
    [00007f300dd870c0] main video output debug: picture might be displayed late (missing 13 ms)
    [00007f300dd870c0] main video output warning: picture is too late to be displayed (missing 61 ms)
    [00007f300dd870c0] main video output warning: picture is too late to be displayed (missing 25 ms)
    [00007f2ff3ad64c0] main audio output debug: resampling stopped (drift: -40141 us)
    [00007f2ff3ad64c0] main audio output warning: playback too early (-40140): down-sampling
    [00007f2ff3ad64c0] main audio output warning: playback too late (91622): up-sampling
    [00007f2ff3ad64c0] main audio output debug: resampling stopped (drift: 120767 us)
    [00007f2ff3ad64c0] main audio output warning: playback too late (120781): up-sampling
    [00007f300dd870c0] main video output warning: picture is too late to be displayed (missing 64 ms)
    [00007f300dd870c0] main video output warning: picture is too late to be displayed (missing 25 ms)
    [00007f300dd870c0] main video output warning: picture is too late to be displayed (missing 31 ms)

    On web-plugin VLC media player - 3.0.3 Vetinari running on Ubuntu 16.04.3 LTS

    This is resulting on many glitch on VLC video and after some times audio and video become de-synchronised.

    For some reasons, I can’t update VLC / FFMPEG / Ubuntu

    Can you help me with that ?

    Thanks in advance for your time !