Recherche avancée

Médias (91)

Autres articles (85)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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

Sur d’autres sites (8313)

  • ffmpeg keeping full title when encoding

    14 mai 2020, par LordFenixNC

    I am trying to name the audio and sub files in the batch encode using the title tag in the meta data. the issue im running into is if the title says English Commentary it will only grab English or Jap uncut it will only grab Jap.

    



    $audioTracks = ffprobe $f.FullName -show_entries stream=index:stream_tags=title -select_streams a -of compact=p=0:nk=1 
$audioTracks = $audioTracks.split("")
foreach($audio in $audioTracks) {
    $ID = $audio.split("|")[0];
    $audioName = $audio.split("|")[1];
    ffmpeg -i $f.FullName -threads 0 -muxdelay 0 -y -map 0:$ID -codec aac -f segment -segment_time 10 -segment_list_size 0 -segment_list out/$f/audio/audio_"$audioName.m3u8" -segment_format mpegts out/$f/audio/"audio_$audioName%d.ts"


    


  • Download multiple streams simultaneously ffmpeg/avconv

    20 décembre 2015, par Henry David Thorough

    I have multiple source audio streams and need to download and write those to separate files. What’s the most efficient way to do this ? I’ve been using ffmpeg in multiple shells, which is obviously a ridiculous hack.

    To ease illustration, below are commands to separately download two streams. What’s the most efficient way to consolidate these processes ?

    ffmpeg -i http://dw-radio-english-mp3.ng.akacast.akamaistream.net/7/779/135362/v1/gnl.akacast.akamaistream.net/dw-radio-english-mp3 dw.mp3

    ffmpeg -i http://br-mp3-bayern2sued-m.akacast.akamaistream.net/7/731/256282/v1/gnl.akacast.akamaistream.net/br_mp3_bayern2sued_m bayern2sued.mp3
  • How can I capture real time command line output of x265.exe with Python ?

    29 février 2020, par LeeRoermond

    I would like to write a GUI for x265.exe which presents a better (more humanized) real time progress .

    Here’s the code I used to capture subprocess’s output :

    import subprocess

    cmd = r'ping www.baidu.com -n 4'
    popen = subprocess.Popen(cmd, stdout = subprocess.PIPE ,stderr=subprocess.STDOUT ,shell=True)
    while True:
       next_line = popen.stdout.readline()
       if next_line == b'' and popen.poll() != None:
           break
       else:
           print(next_line.decode('ascii').replace('\r\n','\n') , end='')

    It performs perfectly with ’ping’.

    However ,when I swiched to ’x265’ command ,thing goes to wired.

    For example, If I replaced string variable 'cmd' into "x265 --y4m --crf 21 --output output.hevc input.y4m" in the preceding code.Theoretically , it should gives out the following output in lines arranged in order of time :

    y4m  [info]: 1920x1080 fps 24000/1001 i420p10 frames 0 - 100 of 101
    x265 [info]: Using preset ultrafast & tune none
    raw  [info]: output file: C:\temp\output.hevc
    x265 [info]: Main 10 profile, Level-4 (Main tier)
    x265 [info]: Thread pool created using 16 threads
    x265 [info]: Slices                              : 1
    x265 [info]: frame threads / pool features       : 4 / wpp(34 rows)
    x265 [info]: Coding QT: max CU size, min CU size : 32 / 16
    x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
    x265 [info]: ME / range / subpel / merge         : dia / 57 / 0 / 2
    x265 [info]: Keyframe min / max / scenecut / bias: 23 / 250 / 0 / 5.00
    x265 [info]: Lookahead / bframes / badapt        : 5 / 3 / 0
    x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 0.0 / 32 / 1
    x265 [info]: Rate Control / qCompress            : CRF-21.0 / 0.60
    x265 [info]: tools: strong-intra-smoothing lslices=6 deblock

    [1.0%] 1/101 frames, 6.289 fps, 7217.8 kb/s
    [25.7%] 26/101 frames, 59.23 fps, 299.23 kb/s
    [45.5%] 46/101 frames, 66.76 fps, 322.81 kb/s  
    [69.3%] 70/101 frames, 73.30 fps, 224.53 kb/s
    [93.1%] 94/101 frames, 77.05 fps, 173.67 kb/s  

    x265 [info]: frame I:      1, Avg QP:23.45  kb/s: 7098.44
    x265 [info]: frame P:     25, Avg QP:25.71  kb/s: 311.24  
    x265 [info]: frame B:     75, Avg QP:28.33  kb/s: 23.89  
    x265 [info]: consecutive B-frames: 3.8% 0.0% 0.0% 96.2%

    encoded 101 frames in 1.22s (82.58 fps), 165.06 kb/s, Avg QP:27.64

    But the truth is, those output block in the middle part which indicates the real time progress will not be captured every specific it updated . popen.stdout.readline() command will be blocked until progress goes to 100% and then output altogether. Obviously that’s not what I want.

    ( ↓ I mean by this part)

    [1.0%] 1/101 frames, 6.289 fps, 7217.8 kb/s
    [25.7%] 26/101 frames, 59.23 fps, 299.23 kb/s
    [45.5%] 46/101 frames, 66.76 fps, 322.81 kb/s  
    [69.3%] 70/101 frames, 73.30 fps, 224.53 kb/s
    [93.1%] 94/101 frames, 77.05 fps, 173.67 kb/s  

    Could anyone help me fiture out what’s going on and how to fix it to achieve my goal ?

    Thanks a lot.