Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (70)

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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (6316)

  • Is it real connect subtitles when streaming video (HLS, M3U8)

    12 avril 2019, par Mikhail Petrov

    I am trying to create a stream in which the tracks from the convertible file (in my case .mkv to .m3u8) will be played through m3u8. At the moment, it turns out to switch between multiple resolutions, and even select the audio track, but does not see the subtitles at all.

    Video works, audio tracks are switched, but no subtitles are visible at all

    ffprobe source file :
    https://paste2.org/czUePDPj

    Next, perform coding and splitting into tracks :

    ffmpeg -i '/home/mishkapetran/Загрузки/Rick.mkv' \
    -map 0:v:0 -c:v libx264 -profile:v baseline -preset:v superfast -strict -2 -s 426x240   -f hls -hls_time 10 -hls_list_size 0 -segment_list rick240p -hls_segment_filename '/home/mishkapetran/Загрузки/test/Rick240p_%d.ts'      '/home/mishkapetran/Загрузки/test/Rick240p.m3u8' \
    -map 0:a:0 -c:a aac                             -f hls -hls_time 10 -hls_list_size 0 -segment_list rick_ru -hls_segment_filename '/home/mishkapetran/Загрузки/test/RickTrack_ru_%d.aac'        '/home/mishkapetran/Загрузки/test/RickTrack_ru.m3u8' \
    -map 0:a:1 -c:a aac                             -f hls -hls_time 10 -hls_list_size 0 -segment_list rick_en -hls_segment_filename '/home/mishkapetran/Загрузки/test/RickTrack_en_%d.aac'        '/home/mishkapetran/Загрузки/test/RickTrack_en.m3u8' \
    -map 0:s:0 suben.vtt                          -f hls -hls_time 10 -hls_list_size 0 -segment_list en -hls_segment_filename '/home/mishkapetran/Загрузки/test/sub_en_%d.vtt'  '/home/mishkapetran/Загрузки/test/sub_en.m3u8' \
    -map 0:s:1 subru.vtt                          -f hls -hls_time 10 -hls_list_size 0 -segment_list ru -hls_segment_filename '/home/mishkapetran/Загрузки/test/sub_ru_%d.vtt'  '/home/mishkapetran/Загрузки/test/sub_ru.m3u8'

    Then in the same folder I create the m3u8 master :

    #EXTM3U
    #EXT-X-VERSION:5
    #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",NAME="Russian",LANGUAGE="ru",AUTOSELECT=YES,URI="RickTrack_ru.m3u8"
    #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",NAME="English",LANGUAGE="en",AUTOSELECT=NO,URI="RickTrack_en.m3u8"

    #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Russian",DEFAULT=YES,FORCED=NO,AUTOSELECT=YES,LANGUAGE="ru",URI="sub_ru.m3u8"
    #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="English",DEFAULT=NO,FORCED=NO,AUTOSELECT=YES,LANGUAGE="en",URI="sub_en.m3u8"

    #EXT-X-STREAM-INF:BANDWIDTH=928000,CODECS="avc1.42c00d,mp4a.40.2",RESOLUTION=480x270,AUDIO="audio",SUBTITLES="subs"
    Rick240p.m3u8
  • ffmpeg mp4 encode 'no frame !' error

    20 avril 2012, par Lee Jacobson

    I'm using the following command to convert video to MP4 :

    /usr/bin/ffmpeg -i /home/myvideo.mp4 -sameq /home/vconverted.mp4

    Problem is I'm getting an error :

    [h264 @ 0x167335c0]no frame!
    Error while decoding stream

    Is there any extra parameters I should be using to stop these errors

    Thanks !

  • FFMpeg is not working to generate thumbnail but it converts mp4 to mp3

    30 novembre 2019, par user3090994

    I have installed ffmpeg and path is correct, because when i go to convert mp4 video to mp3, it works. here is its code.

    shell_exec('/home/pakunit/ffmpeg/ffmpeg -i newfile.mp4 output4.mp3');

    even this code is also works for cut a video from mp4 to mp4 using this code

    shell_exec("/home/pakunit/ffmpeg/ffmpeg -i newfile.mp4 -ss 00:00:00 -t 00:00:10 -async 1 -c copy cut.mp4");

    and when I use mostly other commands, no command works, Like i want to create video thumbnail and i am using this code.

    shell_exec("/home/pakunit/ffmpeg/ffmpeg -i newfile.mp4 -an -ss 5 -s 120x90 thumbnail.jpg")

    but its not working. also i tried many codes and command for creating thumbnail, but not working any of them. even i used the exact same command that is on ffmpeg.org original website

    shell_exec("/home/pakunit/ffmpeg/ffmpeg -i newfile.mp4 -vf thumbnail,scale=300:200 -frames:v 1 out.png");

    Is any extension missed in hosting ? or any special extension or module we need to enable from hosting ? there is also ffmpeg enabled in PHP extension, but not showing in phpinfo() ; Please help. thanks