Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (91)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

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

    18 février 2011, par

    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.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (3547)

  • ffmpeg with double ethernet interfaces works wrong

    21 janvier 2019, par CharlesCui

    A server with double interfaces.

    1. One(eht0) is used for WAN which provides http/ssh services for internet users.

    2. The other(eth1) is used to receive multicast data from intranet.

    218.108.132.177 is public network gateway.

    125.210.198.1 is private network gateway.

    233.49.3.*/24 is multicast address.

    10.0.11.*/24 is the source of multicast data.

    When the route table is like below, ffmpeg can’t read the udp data from eth1, ffmpeg hung up :

    rrca@rcasnap02:~$ route
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    218.108.132.176 *               255.255.255.252 U     0      0        0 eth0
    125.210.198.0   *               255.255.255.240 U     0      0        0 eth1
    default         218.108.132.177 0.0.0.0         UG    100    0        0 eth0
    default         125.210.198.1   0.0.0.0         UG    100    0        0 eth1

    or

    rrca@rcasnap02:~$ route
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    218.108.132.176 *               255.255.255.252 U     0      0        0 eth0
    125.210.198.0   *               255.255.255.240 U     0      0        0 eth1
    default         218.108.132.177 0.0.0.0         UG    100    0        0 eth0
    10.0.11.0       125.210.198.1   0.0.0.0         UG    100    0        0 eth1

    or

    rrca@rcasnap02:~$ route
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    218.108.132.176 *               255.255.255.252 U     0      0        0 eth0
    125.210.198.0   *               255.255.255.240 U     0      0        0 eth1
    default         218.108.132.177 0.0.0.0         UG    100    0        0 eth0
    233.49.3.0      125.210.198.1   255.255.255.0   UG    100    0        0 eth1

    I want to the ffmpeg work right,but now I think the two default route in route table disturb eachother, and I take a try, when the public gateway route is deleted, or the private gateway route is at the head of public default gateway route, ffmpeg works well, I think it read multicast from eth1.But the route table is not thus, ffmpeg can’t read data from eth1, I think it read data on eth0(which is not private network interface).

    How to do ffmpeg works well with two interfaces at the same time ?

  • Unable to play webM file on chromium with Media Source Extensions. Works in firefox and vlc

    23 octobre 2018, par raul

    I’m currently trying to implement a video player using Media Source Extensions. Currently just a very simple proof of concept, following a tutorial I found here.

    I cloned their repo with all source code from github here and am testing the implementation on Chromium and Firefox with various video files.

    Everything worked well with the example webm files in the repo for both browsers.

    Next I tried to convert a video I downloaded from some random site using ffmpeg and mse-tools to "align the clusters" of the webm file using the following commands :

    ffmpeg -i randomvideo.mp4 -c:v libvpx -c:a libvorbis output.webm
    mse_webm_remuxer output.webm aligned.webm

    Again, all was well on both browsers.

    Finally, I wanted to convert a very simple animation I created in blender (rendered with h264 in mp4).

    I tried converting the resulting file using the same process as above and the file played normally on firefox, but did not load on chromium.

    I assume I am commiting some error when converting the file, but inspecting the attributes of the final file with vlc and ffprobe, I could not find any obvious problems.

    Any ideas as to what I am doing wrong ?

    One final test I did was to go to this site to get some sample webm files.

    I downloaded the "Big Buck Bunny Trailer in WebM" and "Elephants Dream as WebM File".

    Both files worked in firefox, but the "Elephants Dream" file would not play in chromium.

    I am on a linux machine (Arch Linux distro) with the following versions of the browsers :

    Chromium Version 69.0.3497.100 (Official Build) Arch Linux (64-bit)

    Firefox 62.0.3 (64-bit)

    I have shared the file I created from the blender animation (very small - only 36 KB) on google drive here in case anyone wants to check it out.

  • Python script doesn't work properly when ran through terminal, but works fine in Jupyter and Visual Studio

    21 octobre 2018, par Ivan Novikov

    I have a script to extract the audio from all video files in a folder.

    The folder with videos is located at : /Users/MyName/Downloads/Video_Audio_files

    When I try to run it through terminal and I’m prompted for the folder path folder = input("Path to folder:"), I drag and drop it there (which is how I got the above path), but the script doesn’t seem to be working (stuck at 0 out of 7 and no output files).

    When I input exactly the same path when prompted in Jupyter Notebook or in Visual Studio it works perfectly !

    Edit : I think I have found the issue, when I drag and drop the folder, there is an extra space (’Downloads/folder ’ instead of ’Downloads/folder’).

    pbar = ProgressBar()
    files = []
    extensions = []
    folder = input("Path to folder:")
    #folder = 'Video_Audio_files'
    pathlist = Path(folder).glob('**/*.mp4')
    for path in pathlist:
       path_in_str = str(path)
       name = path_in_str.split("/")[1]
       files.append(path_in_str.split(".")[0])
       extensions.append(path_in_str.split(".")[1])

    os.system('cd ' + folder)

    for i in pbar(range(len(files))):
       video_format = extensions[i]
       video_name = files[i]
       output_format = 'flac'
       output_name = video_name + '_audio'

       bashCommand = 'ffmpeg -i ' + video_name + '.'   + video_format + ' -f ' + output_format + ' -ab 192000 -vn ' + output_name + '.' + output_format
    #should be of this format: bashCommand = 'ffmpeg -i Video.mp4 -f flac -ab 192000 -vn ExtractedAudio.flac'

       os.system(bashCommand)