
Recherche avancée
Autres articles (78)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Le profil des utilisateurs
12 avril 2011, parChaque 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 (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccé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 (...)
Sur d’autres sites (5478)
-
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