
Recherche avancée
Autres articles (52)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (8514)
-
How to parse raw file extracted from system/bin/fb0 to .png file in android
9 octobre 2015, par user2750644I know this is question was already asked on stack overflow, but none were helped. Basically i wanted to extract screenshot of another app programatically, for which i managed to get raw formatted image from dev/graphics/fb0 from my rooted device. When i opened this image, it looked as shown below.
I would be thankful if someone could provide, solution which would convert this raw image into .PNG format.
Above image is screen shot of this.
-
Converting .3gp file into mp4 file in android using ffmpeg
8 août 2013, par user2171513I want to convert .3gp file into .mp4 file with resolution modified in Android using ffmpeg.
I want to increase the resolution of the video from its standard resolution to 1920x1080.So far I have been successful in
1) extracting .h264 video file from .3gp file and increase its resolution
2) extracting .aac audio file from .3gp file.Now I want to combine them back into .mp4 file. The commands that I have used to extract this .h264 and .aac files are :
./ffmpeg -i 1.3gp -vbsf h264_mp4toannexb -s 1920x1080 1.h264
./ffmpeg -i 1.3gp -ab 160k -ac 2 -ar 48000 -vn -strict -2 1.aacThe command that I have tried to merge them back is
./ffmpeg -i 1.h264 -i 1.aac -map 0:0 -map 1:0 -strict -2 1.mp4
The 1.mp4 that gets generated at the end basically has audio only at few sync frames of video. (Thats what I feel , because the audio is present at specific intervals within the video)
Can anyone please help in figuring out what am I missing here.
EDIT :
So basically I want to concat 4 different videos of 4 different resolution and type.1)
./ffmpeg -i 1.mp4
Video: h264 (High), yuv420p, 1920x1080, 16959 kb/s, 29.85 fps, 90k tbr, 90k tbn, 180k tbc
Audio: aac, 48000 Hz, stereo, s16, 106 kb/s2)
ffmpeg -i 2.mp4
Video: h264 (Constrained Baseline), yuv420p, 640x480, 3102 kb/s, 29.99 fps, 90k tbr, 90k tbn, 180k tbc
Audio: aac, 48000 Hz, stereo, s16, 93 kb/s3)
ffmpeg -i 3.3gp
Video: h263, yuv420p, 1408x1152 [PAR 12:11 DAR 4:3], 2920 kb/s, 15 fps, 15 tbr, 15360 tbn, 29.97 tbc
Audio: amrnb, 8000 Hz, 1 channels, flt, 12 kb/s4)
ffmpeg -i 4.3gp
Video: h264 (High), yuv420p, 352x288 [PAR 12:11 DAR 4:3], 216 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc
Audio: aac, 44100 Hz, stereo, s16, 92 kb/sSo I am converting them to mpegts using following commands
./ffmpeg -i 1.mp4 -c:v libx264 -vf scale=1920:1080 -r 60 -c:a aac -ar 48000 -b:a 160k -strict experimental -f mpegts 1.ts
./ffmpeg -i 2.mp4 -c:v libx264 -vf scale=1920:1080 -r 60 -c:a aac -ar 48000 -b:a 160k -strict experimental -f mpegts 2.ts
./ffmpeg -i 3.3gp -c:v libx264 -vf scale=1920:1080 -r 60 -c:a aac -ar 48000 -b:a 160k -strict experimental -f mpegts 3.ts
./ffmpeg -i 4.3gp -c:v libx264 -vf scale=1920:1080 -r 60 -c:a aac -ar 48000 -b:a 160k -strict experimental -f mpegts 4.tsthen concatenating the .ts files into f.ts and then creating a final .mp4 file from it using
cat 1.ts 2.ts 3.ts 4.ts > f.ts
./ffmpeg -i f.ts -c copy -bsf:a aac_adtstoasc output.mp4But my f.ts also doesnt seem to play correctly in VLC on linux, it plays first 2 mp4's video + audio and it plays last .3gp's audio only.(Same for output.mp4 too) Could you please help me in figuring out what am I missing ?
Thanks
-
ffmpeg command to get master manifest file in hls where all renditions are pointed to a single m3u8 file [closed]
28 décembre 2023, par user2975644ffmpeg command to get master manifest file in hls where all renditions are pointed to a single m3u8 file.The video reolutions are 360p,540p,720p and 1080p.


I have tried with the below command but unable to get the desired output :


ffmpeg -i Test_video.mp4


-c:v libx264 -g 48 -keyint_min 48 -sc_threshold 0 -c:a aac -b:a 64k


-vf "scale=640:360" -b:v 500k -maxrate 100k -bufsize 1000k -profile:v main -level 3.1 -f hls -hls_time 10 -hls_list_size 0 -hls_segment_filename 360p%03d.ts 360p.m3u8


-vf "scale=960:540" -b:v 800k -maxrate 1600k -bufsize 1000k -profile:v main -level 3.1 -f hls -hls_time 10 -hls_list_size 0 -hls_segment_filename 540p%03d.ts 540p.m3u8


-vf "scale=1280:720" -b:v 1500k -maxrate 3000k -bufsize 3000k -profile:v main -level 3.1 -f hls -hls_time 10 -hls_list_size 0 -hls_segment_filename 720p%03d.ts 720p.m3u8


-vf "scale=1920:1080" -b:v 3000k -maxrate 6000k -bufsize 6000k -profile:v main -level 3.1 -f hls -hls_time 10 -hls_list_size 0 -hls_segment_filename 1080p%03d.ts 1080p.m3u8


hls_playlist_type vod -master_pl_name master.m3u8