Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (87)

  • 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

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (5450)

  • ffmpeg recording video from live stream closed if connention intrupt

    6 octobre 2016, par Farhan Shahid

    I am facing a issue with FFMPEG stream. I am trying to record my live running stream to File_Name.ts file. Its working fine with following code

    ffmpeg -i "http://clientportal.link:8080/live/tmalik/Tanveer/9026.m3u8" -c copy abc.ts -y
    

    But actual issue is that my input stream is not much stable and its stop after average 1 hour for 4-6 sec.

    Now is there any way that i can re-connect automatically if i got my stream back from Link(given above in code as input).

    Important thing is m working on UBUNTU machine. So if there is any bash file that would be grate.

  • How to run a python code via Django templates ?

    18 novembre 2018, par Iskender Berdiev

    I want to execute code below when the is submitted (project on Django) :

    from os import system, listdir, remove
    link = 'https://www.youtube.com/watch?v=ME9yO1KEVoo'

    def download(): ## Downloading a video from YouTube using youtube-dl
       system("youtube-dl -o download {}".format(link))

    def convert():  ## Converting downloaded video to mp3 format via ffmpeg.exe(same directory)
       listOfFiles = listdir('.')
       for i in listOfFiles:
           if i.startswith("download"):
               name = i
               system("ffmpeg -i {} download.mp3".format(name))

    def main():
       download()
       convert()

    main()

    I have tried to put this code into views.py :

    class download(TemplateView):
       def main(request):
           if request.method == 'POST':
               link = 'https://www.youtube.com/watch?v=ME9yO1KEVoo'
               system("youtube-dl -o download {}".format(link))
               listOfFiles = listdir('.')
               for i in listOfFiles:
                   if i.startswith("download"):
                       name = i
                       system("ffmpeg -i {} download.mp3".format(name))
           return redirect ('loader/wait.html')

    urls.py :

    path('wait/', views.download.as_view(), name='wait')

    and the html form which is submitted to run views.download.as_view() :

    <form action="{% url " method="POST">{% csrf_token %}
    <input type="submit" value="Yes" />
    </form>
  • How to get continuously 10 second video while recording ? [on hold]

    27 mai 2014, par Mehul Ranpara

    I want to upload video using live stream or particular duration video to server. So far i checked the some links which gives me information regarding rtmp server configuration but not able to know what actually we have to configure rtmp for live streaming.

    Alternate option i thought is that get 10-15 second record and upload that video while recording so, that from server end we can merge that part into one using FFMPEG.

    But, i didn’t get any information that how to get every 10 sec video while recording ?

    I used this link as a demo for live stream video upload : Link