Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (81)

  • 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

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (11737)

  • Generating 64kbps audio-only mpegts for HTTP Live segmenter to meet 64kbps audio only requirement

    14 juin 2013, par Pobre

    I am trying to convert our mp4 files into mpeg-ts and segment it into .ts files for my iphone app to play. I am using Carson McDonalds's HTTP-Live-Video-Stream-Segmenter-and-Distributor to do that.

    I got his stuff complied and working correctly. I am currently trying to meet Apple's requirement where I need to provide a baseline 64 kbps audio only stream to my m3u8 playlist.
    Carson doesn't seem to have a profile for that.

    I need to be able to generate 64kbps audio-only stream from mp4, and turn that into mpeg-ts for the segmenter into ts. I am trying to find the right ffmpeg command that will validate without problem using Apple's mediastreamvalidator.

    So far I modified an existing encoding profile to try to achieve 64kbps total :

    ffmpeg -er 4 -i %s -f mpegts -acodec libmp3lame -ar 22050 -ab 32k -s 240x180 -vcodec libx264 -b 16k -flags +loop+mv4 -cmp 256 -partitions +parti4x4+partp8x8+partb8x8 -subq 7 -trellis 1 -refs 5 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 64k -maxrate 16k -bufsize 16k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect 4:3 -r 10 -g 30 -async 2 - | %s %s %s %s %s

    but then when I try to validate it using mediastreamvalidator, it gives error after few ts :

    Playlist Validation : OK

    Segments :

    sample_cell_4x3_64k-00001.ts :

    WARNING : Media segment exceeds target duration of 10.00 seconds by 1.30 seconds (segment duration is 11.30 seconds)

    sample_cell_4x3_64k-00002.ts :

    WARNING : Media segment exceeds target duration of 10.00 seconds by 1.40 seconds (segment duration is 11.40 seconds)

    ....
    ....

    sample_cell_4x3_64k-00006.ts :

    ERROR : (-1) Unknown video codec : 1836069494 (program 0, track 0)
    ERROR : (-1) failed to parse segment as either an MPEG-2 TS or an ES

    sample_cell_4x3_64k-00007.ts :

    ERROR : (-1) Unknown video codec : 1836069494 (program 0, track 0)
    ERROR : (-1) failed to parse segment as either an MPEG-2 TS or an ES

    ....
    ....
    Average segment duration : 10.26 seconds
    Average segment bitrate : 376797.92 bps
    Average segment structural overhead : 349242.17 bps (92.69 %)

    Is there someway I can generate this correctly with just audio which totals 64kbps and turn it into mpeg-ts ready to be segmented and validated correctly ?

    Am I approaching the problem right ?

  • Creating an HLS audio playlist from multiple .mp3 files

    28 janvier, par tamirg

    I have a list of .mp3 audio files, and i would simply like to create an HLS playlist from those files.

    


    I tried to manually create a m3u8 playlist file. for example :

    


    #EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:10.0,
audio_1.mp3
#EXTINF:10.0,
audio_2.mp3
#EXTINF:10.0,
audio_3.mp3
#EXTINF:10.0,
audio_4.mp3
#EXTINF:10.0,
audio_5.mp3


    


    But when doing so, if i simply play that playlist with ffmpeg, the first file being played is audio 4 for some reason, and there also a millisecond of silence when it passes between chunks.

    


    Are those mp3 files must be converted to .ts ?

    


    edit : apple music plays that just fine, can the issue be with ffmpeg misreading the h3u8 file ?

    


  • Rotated video with ffmpeg doesn't play in flowplayer in IE9

    3 avril 2018, par yoshi

    I have a script that rotates videos 90 degrees and then the videos are displayed on a web page using flowplayer (HTML5 version, not Flash). After the video is rotated once it does not play in IE9 but plays without any other problems in Chrome and Firefox.
    The error message is : Video file not found.

    I’ve looked in IE9’s developer tools console, in the network tab and the browser streams the whole video.

    The following is the ffmpeg command I use to rotate and convert the video :

    ffmpeg -i input.mov -y -r 30 -b 4M -vf 'transpose=1,scale=800:trunc(ow/a/2)*2' -ar 48000 -vcodec libx264 -profile baseline -preset slow -level 2.2 output.mp4

    This is the input file which I used : https://dl.dropboxusercontent.com/u/37994/local%20capture.mov

    This is the output video : https://dl.dropboxusercontent.com/u/37994/local%20capture%20rotated.mp4

    The input video from above is a screen capture made using QuickTime on Mac OS.

    This also happened for this video : http://mirrorblender.top-ix.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_h264.mov
    And also this one : https://dl.dropboxusercontent.com/u/37994/clipcanvas_14348_offline.mp4

    This didn’t happen for the sample .mov from here : http://support.apple.com/kb/ht1425

    If I run the command twice, meaning I rotate the video 90 degrees and then I rotate the output using the same command once more, the problem disappears, but I need to be able to rotate only 90 degrees.

    This problem doesn’t happen if I put IE9 in IE7 or IE8 compatibility mode.

    I was thinking that maybe the problem was how the server serves the video but there’s no problem with other videos.

    I looked at the metadata with ffmpeg but didn’t see anything significant.

    I already have AddType video/mp4 .mp4 in .htaccess.

    I can’t seem to pin down what’s causing this problem.

    Edit :

    Request in IE9
    IE9 request

    Response in IE9
    IE9 response