Recherche avancée

Médias (91)

Autres articles (69)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

Sur d’autres sites (10201)

  • avformat/tls : fix {} error for the GNUTLS case

    27 septembre 2013, par Michael Niedermayer
    avformat/tls : fix {} error for the GNUTLS case
    

    Found-by :" Geek.Song" <ffmpeg@gmail.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/tls.c
  • expected str, bytes or os.PathLike object, not NoneType for subprocess of ffmpeg

    15 janvier 2024, par ejmin ejoni

    I dont know much about ffmpeg, subprocess and its functions, im trying to take a screenshot form a video and save it at my other field of my model.&#xA;this is my model :

    &#xA;

    class SubSong(models.Model):&#xA;song = models.ForeignKey(SongPage, on_delete=models.CASCADE, related_name=&#x27;related_song&#x27;)&#xA;create = jmodels.jDateField(auto_now_add=True)&#xA;user = models.ForeignKey(User, on_delete=models.CASCADE, related_name=&#x27;related_user&#x27;)&#xA;video = models.FileField(upload_to=&#x27;sub_video/&#x27;,)&#xA;like = models.ManyToManyField(User, blank=True, )&#xA;total_like = models.PositiveIntegerField(default=0)&#xA;is_allowed = models.BooleanField(default=False)&#xA;image_sub = ThumbImage(upload_to=&#x27;sub_songs/&#x27;, default=&#x27;1.jpg&#x27;)&#xA;&#xA;def __str__(self):&#xA;    return self.song.title&#xA;

    &#xA;

    and views.py

    &#xA;

        if request.method == &#x27;POST&#x27;:&#xA;    authen(request)&#xA;    form = MyTryForm(request.POST, request.FILES)&#xA;    if form.is_valid():&#xA;        data = form.cleaned_data&#xA;        x = SubSong.objects.create(song_id=id,&#xA;                                   user_id=request.user.id,&#xA;                                   video=data[&#x27;video&#x27;], )&#xA;        path = x.video.name&#xA;        out = path.replace(&#x27;sub_video/&#x27;, &#x27;&#x27;).replace(&#x27;mp4&#x27;, &#x27;jpg&#x27;)&#xA;        z=subprocess.check_output(&#xA;            ffmpeg.input(&#x27;media/&#x27; &#x2B; path, ss=&#x27;00:00:50&#x27;).filter(&#xA;                &#x27;thumbnail&#x27;).output(&#x27;media/sub_songs/&#x27; &#x2B; out, vframes=1).run(), text=True)&#xA;        x.image_sub=z&#xA;        x.save()&#xA;        messages.success(request, &#x27;ویدیوی شما با موفقیت ارسال شد ، پس از بررسی منتشر خواهد شد&#x27;)&#xA;        return redirect(request.META.get(&#x27;HTTP_REFERER&#x27;))&#xA;&#xA;    else:&#xA;        messages.error(request, &#x27;ویدیوی شما بارگداری نشد&#x27;)&#xA;        return redirect(request.META.get(&#x27;HTTP_REFERER&#x27;))&#xA;

    &#xA;

    it can save the video and also default picture 1.jpg at image_sub. also it can save scrrenshot at the media/sub_song/.but my problem is that it gives me error :&#xA;expected str, bytes or os.PathLike object, not NoneType&#xA;how i should return the screen from subprocess to save it as my image_sub field ? and why do this error raise ? i dont want to see this error again

    &#xA;

  • checkasm/vf_eq : add test for vf_eq

    18 septembre 2019, par Ting Fu
    checkasm/vf_eq : add test for vf_eq
    

    Signed-off-by : Ting Fu <ting.fu@intel.com>
    Signed-off-by : Ruiling Song <ruiling.song@intel.com>

    • [DH] libavfilter/vf_eq.c
    • [DH] libavfilter/vf_eq.h
    • [DH] tests/checkasm/Makefile
    • [DH] tests/checkasm/checkasm.c
    • [DH] tests/checkasm/checkasm.h
    • [DH] tests/checkasm/vf_eq.c
    • [DH] tests/fate/checkasm.mak