
Recherche avancée
Autres articles (53)
-
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe 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, (...) -
MediaSPIP Player : les contrôles
26 mai 2010, parLes contrôles à la souris du lecteur
En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
Sur d’autres sites (5138)
-
Download Video from m3u8 with ffmpeg and multibitrate
24 avril 2013, par AbrahamSustaitaI need to download the videos from a streaming site (Akamai) once they are recorded. I can do it with ffmpeg without troubles, but only if the manifest file has only one video stream. If it has multibitrate then I got into problems. Is there anyway I can tell ffmpeg to download one or other video ?
This is the line I'm using :
ffmpeg -i http://akamai.link.com/master.m3u8 -acodec copy -vcodec copy -y -loglevel info -f mp4 destiny.mp4
EDIT : Adding response :
This is the file I'm using :
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=714000,RESOLUTION=640x480,CODECS="avc1.77.30, mp4a.40.34"
http://urlAt.akamai.com@channel/index_650_av-p.m3u8?sd=10&rebase=on
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=714000,RESOLUTION=640x480,CODECS="avc1.77.30, mp4a.40.34"
http://urlAt.akamai.com@channel/index_650_av-b.m3u8?sd=10&rebase=on
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=64000,CODECS="mp4a.40.34"
http://urlAt.akamai.com@channel/index_650_a-p.m3u8?sd=10&rebase=on
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=64000,CODECS="mp4a.40.34"
http://urlAt.akamai.com@channel/index_650_a-b.m3u8?sd=10&rebase=onffmpeg response correctly, but the file is not complete.
ADDING OUTPUT WITH -map PARAMTER
dev:/var/www/localhost/htdocs# ffmpeg -map -i simple.m3u8 -acodec copy -vcodec copy -y -loglevel info -f mp4 simple.mp4
ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 25 2012 08:01:45 with gcc 4.7.2 (Alpine 4.7.2-r0)
configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libfaac --enable-libvpx --enable-libxvid --enable-libx264 --enable-libtheora --enable-nonfree --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-x11grab --disable-asm --disable-stripping --disable-static --disable-debug
libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Invalid input file index: 0. -
Why frame->pts increases by 20, rather than by 1 ?
19 mars 2013, par user1914692Following the exmaples of ffmpeg : decoding_encoding.c and filtering_video.c, I process one video file taken by iPhone. The video file : .mov, video dimensions ; 480x272, video Codec : H.264/AVC, 30 frames per second, bitrate : 605 kbps.
I first extract each frame, which is YUV.
I convert YUV to RGB24, and process the RGB24, then write the RGB24 to a .ppm file. It shows the .ppm file is correct.Then I plan to encode processed RGB24 frames to a video file.
Since MPEG does not support RGB24 picture format, I used AV_CODEC_ID_HUFFYUV.
But the output video file (showing 18.5 MB) does not play. Movie Player on Ubuntu claims an error : Could not determine type of stream.
I also tried it on VCL. It simply does not work, without any error information.My second questions is :
For each extracted fram from the input video file, I get its pts as follows according to filtering_video.c :frame->pts = av_frame_get_best_effort_timestamp(frame);
I print out each frame's pts, and find that it increases by 20, like below :
pFrameRGB_count: 0, frame->pts: 0
pFrameRGB_count: 1, frame->pts: 20
pFrameRGB_count: 2, frame->pts: 40
pFrameRGB_count: 3, frame->pts: 60Where frame is the extracted frame from the input video, and pFrameRGB_count is the count for processed frame in RGB24 form.
Why are they wrong ?
-
FFMPEG Conversion Options [migrated]
7 mars 2013, par MikeSo, I've got some video files I want to convert so they match the formatting on another video file. I've got the format data (from ffprobe) for the video I want to match but I'm not sure how to use that to determine the options to convert my other videos. Any help ?
Here are the settings on the file I want to match from ffprobe :
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'clip #19.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2013-03-05 22:27:26
Duration: 00:15:00.00, start: 0.000000, bitrate: 119406 kb/s
Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le, 1440x1080, 117804 kb/s, SAR 4:3 DAR 16:9, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc
Metadata:
creation_time : 2013-03-05 22:27:26
handler_name : Apple Alias Data Handler
timecode : 00:00:00;00
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2 channels, s16, 1536 kb/s
Metadata:
creation_time : 2013-03-05 22:27:26
handler_name : Apple Alias Data Handler
Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
Metadata:
creation_time : 2013-03-05 22:27:26
handler_name : Apple Alias Data Handler
timecode : 00:00:00;00
Unsupported codec with id 0 for input stream 2Any help would be greatly appreciated. Thanks.