Recherche avancée

Médias (0)

Mot : - Tags -/signalement

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

Autres articles (57)

  • 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 (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (8756)

  • 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 ?

  • 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 'file://path/filename.m3u8' but no luck it requires the protocol_whitelist as well.

    


    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)

    


    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 ?)

    


    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 ?
(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)

    


    In case someone just knows some other solution perhaps ?
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.

    


  • 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