Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (44)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • 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

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (7105)

  • python ffmpeg "The system cannot find the file specified" [on hold]

    5 avril 2016, par k7zheng

    I’m pretty new to Python but I’ve been stuck on this for a while.

    Whenever I run :

    import subprocess, os
    os.ffmpeg = "/absolute/path/to/ffmpeg"
    subprocess.ffmpeg = "/absolute/path/to/ffmpeg"

    subprocess.call(['ffmpeg', '-i', 'C://Users//k7zheng//Desktop//A1//1.avi', '-r', '0.05', "newfiles//%02d.png"])

    I get the following :

    Traceback (most recent call last):
    File "C:/Users/k7zheng/Desktop/FT1.py", line 4, in <module>
    subprocess.call(['ffmpeg -i C:\\Users\k\Desktop\A1\1.avi -r 0.05 "newfiles\%02d.png"'])
    File "C:\Python34\lib\subprocess.py", line 537, in call with Popen(*popenargs, **kwargs) as p:
    File "C:\Python34\lib\subprocess.py", line 859, in __init__
    restore_signals, start_new_session)
    File "C:\Python34\lib\subprocess.py", line 1114, in _execute_child
    startupinfo)
    FileNotFoundError: [WinError 2] The system cannot find the file specified
    </module>

    Can you help me spot my issue ?
    I’ve tried :

    • changing slashes / to \ to double \ slashes
    • getting rid of the 2nd and 3rd lines
    • adding os.chdir(r"C :\software\ffmpeg\ffmpeg-20160330-git-be746e-win64-static\bin")
    • changing line 4 to subprocess.call(’ffmpeg -i c :\users\k7zheng\desktop\c1\1 -r -0.05 "newfiles\%02d.png"’, shell=True)

    I’m running Python 3.4.4

  • Playing local (m3u8) file in ijkplayer can't play videos faster, using protocol_whitelist with 'tcp, http, https, udp, file, crypto, concat'

    3 août 2020, par gh05t

    I've been trying to find a solution to play m3u8 files in flutter and have the ability to change quality and speed of the videos, and I've reached a point where I'm able to do one or the other but not both. To change streams of m3u8, I'm splitting the files locally and essentially creating different files with each file only having one quality thus achieving quality change, but to play local files I have to use format option of ffmpeg protocol_whitelist and for some reason it's messing with my ability to play videos faster than 1.0, now the problem is not with the files I tried to connect to same file using google drive and since it's not a local file I don't need to set the protocol_whitelist. I don't know if this is an ffmpeg issue or an ijk player issue or perhaps even just a flutter ijk player issue, but if someone knows or has any ideas on how to fix please let me know, I also tried to use networkdataSource and give url as &#x27;file://path/filename.m3u8&#x27; but no luck it requires the protocol_whitelist as well.

    &#xA;

    The player by default sets the fflags with 'fastseek' and I suspect that setting protocol_whitelist, is causing some issue with this flag and that is what is causing the problem.(fast seek helps with seeking to a point ahead of buffer in m3u8 and has nothing to do with player speed I've learned)

    &#xA;

    So basically can I either fix this issue somehow ? (either by changing qualities from the original master m3u8 file with the player and not doing all this stuff with local file ?)

    &#xA;

    Or is there a way to give a local file to player such that it thinks it came from http/https and it plays it without causing an issue ?&#xA;(Wait did I answer my own question here ? making a http server and serving my file from my phone and using that should that be enough but localhost will be same as using file :/// essentially or not ? It's not and it fixes the issue ! XD)

    &#xA;

    In case someone just knows some other solution perhaps ?&#xA;I do know that it's possible to add a function in c in ffmpeg to play different streams from master m3u8 but then I would have to compile 4-5 versions of this for different mobile processors and then interface to Java with JNI/JNA and to objective C, and then to flutter, which seems out of scope of my ability for the time being.

    &#xA;

  • Covert a file from mp4 to a file that HTML can display

    26 juin 2019, par Trying_To_Understand

    I have a mp4 file and I want to display it in HTML. The problem is that it won’t, not only in HTML but also in my player. In VLC I can watch the video but there is no sound. Maybe the file is corrupted ?
    This is the output when I run ffmpeg -i my_file.mp4 :

    [h264 @ 000001b4afc61880] decode_slice_header error
    [h264 @ 000001b4afc61880] no frame!
    [h264 @ 000001b4afc61880] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 000001b4afc61880] decode_slice_header error
    [h264 @ 000001b4afc61880] no frame!
    Input #0, mpeg, from '150_2.mp4':
     Duration: 00:50:51.75, start: 13182.386222, bitrate: 983 kb/s
       Stream #0:0[0x1e0]: Video: h264 (High), yuv420p(progressive), 1280x720, 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:1[0x1c0]: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
    At least one output file must be specified.

    Can I convert this with ffmpeg to a good quality of video and audio ?