
Recherche avancée
Médias (1)
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (97)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 (...)
Sur d’autres sites (10412)
-
Convert fla and swf to mp4 video
4 mai 2021, par Max WilliamsI have an .fla file and a .swf file which were intended to make a Flash Video some years ago.


I want to make an mp4. i tried simply passing the swf into ffmpeg, and the resulting mp4 file had the audio but no video. If I use the fla and the swf, would I get video too ? I don't know how Flash worked wrt the different file types.


EDIT : as asked for, the output from doing just the swf and from using both as the input :


swf alone :


$ ffmpeg -i input.swf output.mp4
ffmpeg version git-2018-05-03-0f0d468 Copyright (c) 2000-2018 the FFmpeg developers
 built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.4)
 configuration: --enable-gpl --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3
 libavutil 56. 18.100 / 56. 18.100
 libavcodec 58. 19.100 / 58. 19.100
 libavformat 58. 13.100 / 58. 13.100
 libavdevice 58. 4.100 / 58. 4.100
 libavfilter 7. 21.100 / 7. 21.100
 libswscale 5. 2.100 / 5. 2.100
 libswresample 3. 2.100 / 3. 2.100
 libpostproc 55. 2.100 / 55. 2.100
[swf @ 0x22483c0] SWF compressed file detected
[swf @ 0x22483c0] Estimating duration from bitrate, this may be inaccurate
Input #0, swf, from 'input.swf':
 Duration: 00:00:51.87, bitrate: 112 kb/s
 Stream #0:0: Audio: mp3, 44100 Hz, mono, fltp, 112 kb/s
File 'output.mp4' already exists. Overwrite ? [y/N] y
Stream mapping:
 Stream #0:0 -> #0:0 (mp3 (mp3float) -> aac (native))
Press [q] to stop, [?] for help
Output #0, mp4, to 'output.mp4':
 Metadata:
 encoder : Lavf58.13.100
 Stream #0:0: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 69 kb/s
 Metadata:
 encoder : Lavc58.19.100 aac
[swf @ 0x22483c0] New audio stream 0:1 at pos:226047 and DTS:0s
[swf @ 0x22483c0] New audio stream 0:2 at pos:234457 and DTS:0s
[swf @ 0x22483c0] New audio stream 0:3 at pos:245057 and DTS:0s
[swf @ 0x22483c0] New audio stream 0:4 at pos:255657 and DTS:0s
[swf @ 0x22483c0] New audio stream 0:5 at pos:270637 and DTS:0s
[swf @ 0x22483c0] New audio stream 0:6 at pos:281967 and DTS:0s
[swf @ 0x22483c0] New audio stream 0:7 at pos:290742 and DTS:0s
[swf @ 0x22483c0] New audio stream 0:8 at pos:300612 and DTS:0s
[swf @ 0x22483c0] New audio stream 0:9 at pos:309022 and DTS:0s
[swf @ 0x22483c0] New audio stream 0:10 at pos:463819 and DTS:0s
[swf @ 0x22483c0] New audio stream 0:11 at pos:696822 and DTS:0s
[swf @ 0x22483c0] New audio stream 0:12 at pos:709202 and DTS:0s
[swf @ 0x22483c0] New audio stream 0:13 at pos:735377 and DTS:0s
[swf @ 0x22483c0] New audio stream 0:14 at pos:745561 and DTS:0s
size= 265kB time=00:00:31.04 bitrate= 69.8kbits/s speed= 109x 
video:0kB audio:259kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.325915%
[aac @ 0x22a06c0] Qavg: 1972.990




both :


$ ffmpeg -i input.fla -i input.swf output.mp4
ffmpeg version git-2018-05-03-0f0d468 Copyright (c) 2000-2018 the FFmpeg developers
 built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.4)
 configuration: --enable-gpl --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3
 libavutil 56. 18.100 / 56. 18.100
 libavcodec 58. 19.100 / 58. 19.100
 libavformat 58. 13.100 / 58. 13.100
 libavdevice 58. 4.100 / 58. 4.100
 libavfilter 7. 21.100 / 7. 21.100
 libswscale 5. 2.100 / 5. 2.100
 libswresample 3. 2.100 / 3. 2.100
 libpostproc 55. 2.100 / 55. 2.100
input.fla: Invalid data found when processing input



-
H.264 encoded stream in MP4 container does not play right in WMP12 Windows 7
13 décembre 2019, par remusI’d like to figure out why my H.264 encoded stream in a MP4 container does not play back correctly in Window Media Player 12 in Windows 7. The file plays well in VLC and other players including WMP from Windows 10 but I’m just wondering why WMP12 from Win 7 does not play it.
It seems that only I-type frames are displayed and blank black frames are shown instead of all P-type frames in between. If I force my device encoder to produce only I-type frames then the file plays back ok in WMP12 (Win 7) but the size of the file increases too much. What are the limits of H.264 decoder in Windows 7 ?
I’m adding below
ffprobe -show_frames video.mp4
(just a few frames but there are no reported errors by ffprobe) :Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.83.100
Duration: 00:00:05.51, start: 0.024000, bitrate: 513 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x480, 510 kb/s, 30.11 fps, 59.94 tbr, 90k tbn, 180k tbc (default)
Metadata:
handler_name : VideoHandler
[FRAME]
media_type=video
stream_index=0
key_frame=1
pkt_pts=2160
pkt_pts_time=0.024000
pkt_dts=2160
pkt_dts_time=0.024000
best_effort_timestamp=2160
best_effort_timestamp_time=0.024000
pkt_duration=2340
pkt_duration_time=0.026000
pkt_pos=48
pkt_size=2979
width=720
height=480
pix_fmt=yuv420p
sample_aspect_ratio=N/A
pict_type=I
coded_picture_number=0
display_picture_number=0
interlaced_frame=0
top_field_first=0
repeat_pict=0
[/FRAME]
[FRAME]
media_type=video
stream_index=0
key_frame=0
pkt_pts=4500
pkt_pts_time=0.050000
pkt_dts=4500
pkt_dts_time=0.050000
best_effort_timestamp=4500
best_effort_timestamp_time=0.050000
pkt_duration=4320
pkt_duration_time=0.048000
pkt_pos=3027
pkt_size=1662
width=720
height=480
pix_fmt=yuv420p
sample_aspect_ratio=N/A
pict_type=P
coded_picture_number=1
display_picture_number=0
interlaced_frame=0
top_field_first=0
repeat_pict=0
[/FRAME]
[FRAME]
media_type=video
stream_index=0
key_frame=0
pkt_pts=8820
pkt_pts_time=0.098000
pkt_dts=8820
pkt_dts_time=0.098000
best_effort_timestamp=8820
best_effort_timestamp_time=0.098000
pkt_duration=3060
pkt_duration_time=0.034000
pkt_pos=4689
pkt_size=1073
width=720
height=480
pix_fmt=yuv420p
sample_aspect_ratio=N/A
pict_type=P
coded_picture_number=2
display_picture_number=0
interlaced_frame=0
top_field_first=0
repeat_pict=0
[/FRAME]
[FRAME]
media_type=video
stream_index=0
key_frame=0
pkt_pts=11880
pkt_pts_time=0.132000
pkt_dts=11880
pkt_dts_time=0.132000
best_effort_timestamp=11880
best_effort_timestamp_time=0.132000
pkt_duration=2970
pkt_duration_time=0.033000
pkt_pos=5762
pkt_size=829
width=720
height=480
pix_fmt=yuv420p
sample_aspect_ratio=N/A
pict_type=P
coded_picture_number=3
display_picture_number=0
interlaced_frame=0
top_field_first=0
repeat_pict=0
[/FRAME]
[FRAME]
media_type=video
stream_index=0
key_frame=0
pkt_pts=14850
pkt_pts_time=0.165000
pkt_dts=14850
pkt_dts_time=0.165000
best_effort_timestamp=14850
best_effort_timestamp_time=0.165000
pkt_duration=3060
pkt_duration_time=0.034000
pkt_pos=6591
pkt_size=987
width=720
height=480
pix_fmt=yuv420p
sample_aspect_ratio=N/A
pict_type=P
coded_picture_number=4
display_picture_number=0
interlaced_frame=0
top_field_first=0
repeat_pict=0
[/FRAME]
[FRAME]
media_type=video
stream_index=0
key_frame=0
pkt_pts=17910
pkt_pts_time=0.199000
pkt_dts=17910
pkt_dts_time=0.199000
best_effort_timestamp=17910
best_effort_timestamp_time=0.199000
pkt_duration=2970
pkt_duration_time=0.033000
pkt_pos=7578
pkt_size=1344
width=720
height=480
pix_fmt=yuv420p
sample_aspect_ratio=N/A
pict_type=P
coded_picture_number=5
display_picture_number=0
interlaced_frame=0
top_field_first=0
repeat_pict=0
[/FRAME]
[FRAME]
media_type=video
stream_index=0
key_frame=0
pkt_pts=20880
pkt_pts_time=0.232000
pkt_dts=20880
pkt_dts_time=0.232000
best_effort_timestamp=20880
best_effort_timestamp_time=0.232000
pkt_duration=2970
pkt_duration_time=0.033000
pkt_pos=8922
pkt_size=1850
width=720
height=480
pix_fmt=yuv420p
sample_aspect_ratio=N/A
pict_type=P
coded_picture_number=6
display_picture_number=0
interlaced_frame=0
top_field_first=0
repeat_pict=0
[/FRAME]
[FRAME]
media_type=video
stream_index=0
key_frame=0
pkt_pts=23850
pkt_pts_time=0.265000
pkt_dts=23850
pkt_dts_time=0.265000
best_effort_timestamp=23850
best_effort_timestamp_time=0.265000
pkt_duration=3060
pkt_duration_time=0.034000
pkt_pos=10772
pkt_size=1972
width=720
height=480
pix_fmt=yuv420p
sample_aspect_ratio=N/A
pict_type=P
coded_picture_number=7
display_picture_number=0
interlaced_frame=0
top_field_first=0
repeat_pict=0
[/FRAME]Please let me know if you spot any errors in these frames that might affect playback.
The encoded H.264 stream is created using Freescale libimxvpuapi and the MP4 container using ffmpeg.
More information on the file :
exiftool video.mp4
ExifTool Version Number : 10.10
File Name : video.mp4
Directory : .
File Size : 346 kB
File Modification Date/Time : 2018:10:02 11:27:20+02:00
File Access Date/Time : 2018:10:02 11:41:14+02:00
File Inode Change Date/Time : 2018:10:02 11:27:21+02:00
File Permissions : rw-r--r--
File Type : MP4
File Type Extension : mp4
MIME Type : video/mp4
Major Brand : MP4 Base Media v1 [IS0 14496-12:2003]
Minor Version : 0.2.0
Compatible Brands : isom, iso2, avc1, mp41
Movie Data Size : 351479
Movie Data Offset : 48
Movie Header Version : 0
Create Date : 0000:00:00 00:00:00
Modify Date : 0000:00:00 00:00:00
Time Scale : 1000
Duration : 5.51 s
Preferred Rate : 1
Preferred Volume : 100.00%
Preview Time : 0 s
Preview Duration : 0 s
Poster Time : 0 s
Selection Time : 0 s
Selection Duration : 0 s
Current Time : 0 s
Next Track ID : 2
Track Header Version : 0
Track Create Date : 0000:00:00 00:00:00
Track Modify Date : 0000:00:00 00:00:00
Track ID : 1
Track Duration : 5.51 s
Track Layer : 0
Track Volume : 0.00%
Matrix Structure : 1 0 0 0 1 0 0 0 1
Image Width : 720
Image Height : 480
Media Header Version : 0
Media Create Date : 0000:00:00 00:00:00
Media Modify Date : 0000:00:00 00:00:00
Media Time Scale : 90000
Media Duration : 5.51 s
Media Language Code : und
Handler Description : VideoHandler
Graphics Mode : srcCopy
Op Color : 0 0 0
Compressor ID : avc1
Source Image Width : 720
Source Image Height : 480
X Resolution : 72
Y Resolution : 72
Bit Depth : 24
Video Frame Rate : 30.109
Handler Type : Metadata
Handler Vendor ID : Apple
Encoder : Lavf57.83.100
Avg Bitrate : 510 kbps
Image Size : 720x480
Megapixels : 0.346
Rotation : 0Many thanks !
Please find a video sample here :
-
ffmpeg contact.txt ( remote files) re-encode -flv - Freeze while jump to second file
7 janvier 2019, par user3787734Stream work smothly while on first contact input file from .txt file, it get stuck on second file no packet send or push to output.
its says : [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd9ac800800] Auto-inserting h264_mp4toannexb bitstream filter98x
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fbbbc807400] Auto-inserting h264_mp4toannexb bitstream filter92x
frame= 1597 fps= 23 q=23.0 size= 15308kB time=00:01:03.57 bitrate=1972.5kbits/s speed=0.923xafter that just fps,speed value changes but no data submit to host, seem to be some pre-buffer issue any one have idea ?
video_5c3112bee7179a7d123fa8a4.txt :
file ’https://hostname.com/file1.mp4’
inpoint 00:02:01.000
outpoint 00:03:05.000
file ’https://hostname.com/file2.mp4’
inpoint 00:02:20.000
outpoint 00:03:10.000ffmpeg -f concat -safe 0 -protocol_whitelist file,http,tcp,concat,https,tls, -re -i "/temp/video_5c3112bee7179a7d123fa8a4.txt" -codec:a aac -ac 1 -ar 44100 -b:a 128k -pix_fmt yuv420p -profile:v high -s 1280x720 -vb 2000k -maxrate 2000k -minrate 2000k -bufsize 600k -deinterlace -vcodec libx264 -preset ultrafast -g 30 -r 30 -strict -2 -f flv "rtmp ://hostname/live/app/"