
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (106)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)
Sur d’autres sites (11252)
-
Android : Show quick preview (live) before exporting FFmpeg Video
1er mai 2023, par akash varlaniBasically, I am developing a video editing app that lets the user choose some of their images and create a video slide show with music.



I am using FFMPEG to generate video slide show from images but the problem is I can only show the preview of the video after executing FFMPEG command.



Is googled so many blogs and all and I know there is a possible way available to display the preview of the output.



Check below image from reference app. I am developing something similar to this app. There is an option to replace the image in the video. This app displays instant preview once I change the image.






Here is the link of the reference app if anyone wants to check :



Clicking an EXPORT button this app lets you generate a video output. I can do that as I know FFMPEG and how to generate OUTPUT FILE using FFMPEG but what I don't know is how to display a quick preview of OUTPUT VIDEO before generating actual VIDEO FILE.



On my UBUNTU device, I can view the output of FFMPEG command using FFPLAY tool but how to do the same on android device.



Some useful link :
http://androidwarzone.blogspot.com/2011/12/ffmpeg4android.html


-
About Ffmpeg,Console show 'frame=0 fps=0.0 q=0.0 Lsize=0kB time=00:00:00.00' No data pull&push
9 janvier 2019, par LusI want to use Ffmpeg to pull&push video stream from HLS to RTMP.at first it’s normal,but when I open more,it’s run normally ,but no video data pull&push
Environment:Windows64+Ngg-§rtmp-static+Ffmpeg-static+Java1.8
It’s useless,even if I restart rtmp-server.
ffmpeg -i xxx/live.m3u8 -vcodec h264-s 720*480 -an -f flv -y rtmp://xxx
The first few video streams is normal,but when I open more streams (5+),
it run normally,but no data pull.like this.2019-01-08 10:58:15.658 INFO ->frame=0 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 drop=720 speed= 0x
2019-01-08 10:58:16.598 INFO ->[http @ 0000015efc568280] Opening 'xxx/1/live.m3u8' for reading
2019-01-08 10:58:16.984 INFO ->[http @ 0000015efb1200c0] Opening 'xxx/1/seghik30.ts' for reading
2019-01-08 10:58:17.083 INFO ->frame= 0 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 drop=744 speed= 0x
2019-01-08 10:58:18.033 INFO ->[http @ 0000015efc568280] Opening 'xxx/1/live.m3u8' for reading
2019-01-08 10:58:18.146 INFO ->[http @ 0000015efb1200c0] Opening 'xxx/1/seghik31.ts' for reading
2019-01-08 10:58:18.267 INFO ->frame= 0 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 drop=770 speed= 0x
2019-01-08 10:58:19.220 INFO ->[http @ 0000015efc568280] Opening 'xxx/1/live.m3u8' for reading
2019-01-08 10:58:19.317 INFO ->[http @ 0000015efb1200c0] Opening 'xxx/1/seghik32.ts' for reading
2019-01-08 10:58:19.415 INFO ->[http @ 0000015efb138600] Opening 'xxx/1/seghik33.ts' for reading
2019-01-08 10:58:19.494 INFO ->frame= 0 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 drop=795 speed= 0x
2019-01-08 10:58:20.375 INFO ->[http @ 0000015efc568280] Opening 'xxx/1/live.m3u8' for reading
2019-01-08 10:58:20.486 INFO ->[http @ 0000015efb138600] Opening 'xxx/1/seghik34.ts' for reading -
How can I change slice_type which is show in Elecard stream analyzer using ffmpeg ?
10 octobre 2018, par Tooraj JamI’m not
ffmpeg
and encodding expert and am trying to encode aMP4
file toMPEG-4 h264
.ts
file.When
Elecard stream analyzer
is analyzing my result.ts
file, it showsslice_type = 7
for all ofi-frame
s as you can see in the attached screenshot.How can I change all these to
slice_type = 2
?My
ffmpeg
command :-i Source.mp4 \
-filter:v 'setpts=0+PTQ-STARTPTS' -metadata:s:v:0 start_time=0 \
-f adts -c:a libfdk_aac -profile:a aac_he -strict -2 -ar 48000 -b:a 48k \
-f mpegts -c:v libx264 -vbsf h264_mp4toannexb -strict experimental - profile:v main -level:v 3.0 -preset:v slow -movflags faststart -pat_period 100 \
-x264opts nal-hrd=cbr:force-cfr=1 -crf 25 -vf scale=w=640:h=360 -aspect 16:9 \
-bf 1 -sc_threshold 0 -keyint_min 2*25 -g 2*25 \
-force_key_frames "expr:gte(t,n_forced*50)" -max_muxing_queue_size 1500k \
-coder 1 -refs 2 \
-b:v 750k -minrate 750k -maxrate 750k -bufsize 1500k \
-vsync 1 -framerate 25000/1001 \
-x264opts "bitrate=750:vbv-maxrate=750:vbv-bufsize=1500"\
-pix_fmt yuv420p -r 25 -x264opts force-cfr \
-mbs_per_slice 1 -y dest.ts