
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (6)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (3539)
-
ffmpeg : images to 29.97fps mpeg2, audio not sync [migrated]
21 novembre 2011, par Andy LeI have spent a lot of time on this issue. Hope someone can help.
I want to convert 3147 images + ac3 audio file into an mpeg2 video at 29.97fps (about 1m45s). My command :
~/ffmpeg/ffmpeg/ffmpeg -loop_input -t 105 -i v%4d.tga -i final.ac3 -vcodec mpeg2video -qscale 1 -s 400x400 -r 30000/1001 -acodec copy -y out.mpeg 2> out.txt
However, the audio file ends before the frame sequence. Which means the video is slower then audio.
I checked the output file with imageinfo and see :
General
Complete name : out.mpeg
Format : MPEG-PS
File size : 7.18 MiB
Duration : 1mn 44s
Overall bit rate : 574 Kbps
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : No
Format settings, Matrix : Default
Format_Settings_GOP : M=1, N=12
Duration : 1mn 44s
Bit rate mode : Variable
Bit rate : 103 Kbps
Width : 400 pixels
Height : 400 pixels
Display aspect ratio : 1.000
Frame rate : 29.970 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.021
Stream size : 1.29 MiB (18%)
Audio
ID : 128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Duration : 1mn 44s
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 44.1 KHz
Stream size : 5.61 MiB (78%)The log from ffmpeg shows many duplicate frames. But I don't know how to get rid of that.
-loop_input is deprecated, use -loop 1
[image2 @ 0x9c17a80] max_analyze_duration 5000000 reached at 5000000
Input #0, image2, from 'v%4d.tga':
Duration: 00:02:05.88, start: 0.000000, bitrate: N/A
Stream #0:0: Video: targa, bgr24, 400x400, 25 fps, 25 tbr, 25 tbn, 25 tbc
-loop_input is deprecated, use -loop 1
[ac3 @ 0x9ca5420] max_analyze_duration 5000000 reached at 5014400
[ac3 @ 0x9ca5420] Estimating duration from bitrate, this may be inaccurate
Input #1, ac3, from 'Final.ac3':
Duration: 00:20:10.68, start: 0.000000, bitrate: 447 kb/s
Stream #1:0: Audio: ac3, 44100 Hz, 5.1(side), s16, 448 kb/s
Incompatible pixel format 'bgr24' for codec 'mpeg2video', auto-selecting format 'yuv420p'
[buffer @ 0x9c1e060] w:400 h:400 pixfmt:bgr24 tb:1/1000000 sar:0/1 sws_param:
[buffersink @ 0x9dd56c0] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out'
[scale @ 0x9c178e0] w:400 h:400 fmt:bgr24 -> w:400 h:400 fmt:yuv420p flags:0x4
[mpeg @ 0x9d58060] VBV buffer size not set, muxing may fail
Output #0, mpeg, to 'out.mpeg':
Metadata:
encoder : Lavf53.21.0
Stream #0:0: Video: mpeg2video, yuv420p, 400x400, q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
Stream #0:1: Audio: ac3, 44100 Hz, 5.1(side), 448 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (targa -> mpeg2video)
Stream #1:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 267 fps= 0 q=1.0 size= 564kB time=00:00:08.87 bitrate= 520.6kbits/s dup=43 drop=0
frame= 544 fps=542 q=1.0 size= 1186kB time=00:00:18.11 bitrate= 536.2kbits/s dup=89 drop=0
frame= 821 fps=546 q=1.0 size= 1818kB time=00:00:27.36 bitrate= 544.3kbits/s dup=135 drop=0
frame= 1098 fps=548 q=1.0 size= 2444kB time=00:00:36.60 bitrate= 547.0kbits/s dup=181 drop=0
frame= 1376 fps=549 q=1.0 size= 3072kB time=00:00:45.87 bitrate= 548.5kbits/s dup=227 drop=0
frame= 1653 fps=550 q=1.0 size= 3700kB time=00:00:55.12 bitrate= 549.9kbits/s dup=273 drop=0
frame= 1930 fps=550 q=1.0 size= 4326kB time=00:01:04.36 bitrate= 550.6kbits/s dup=319 drop=0
frame= 2208 fps=551 q=1.0 size= 4960kB time=00:01:13.64 bitrate= 551.8kbits/s dup=365 drop=0
frame= 2462 fps=546 q=1.0 size= 5746kB time=00:01:22.11 bitrate= 573.2kbits/s dup=407 drop=0
frame= 2728 fps=544 q=1.0 size= 6354kB time=00:01:30.99 bitrate= 572.1kbits/s dup=451 drop=0
frame= 3007 fps=545 q=1.0 size= 6980kB time=00:01:40.28 bitrate= 570.2kbits/s dup=498 drop=0
frame= 3146 fps=546 q=1.0 Lsize= 7352kB time=00:01:44.93 bitrate= 573.9kbits/s dup=521 drop=0
video:1518kB audio:5745kB global headers:0kB muxing overhead 1.230493% -
FFmpeg (Webassembly) as Demuxer
21 avril 2023, par KWebI am currently try to extend the following example :


https://chcunningham-samples.netlify.app/ffmpeg-wasm-demuxer/wasm_demuxer_demo.html


I would like to use FFmpeg to demux videocontainers with an audio- and videostream. But unfortunatly I am running into some problems :


Demuxing a file with only a audiostream works fine but as soon as I try to demux a file which includes a videostream I run into some errors :


First I get the following Warnings :


- 

- parser not found for codec h264, packets or times may be invalid.
-Could not find codec parameters for stream 0 (Video : h264, 1 reference frame (avc1 / 0x31637661), none, 1280x720 (0x0), 0/1, 2322 kb/s) : unspecified pixel format
- Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
- Could not find codec parameters for stream 1 (Audio : aac (mp4a / 0x6134706D), 48000 Hz, 1 channels, 69 kb/s) : unspecified sample format
- Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options










When I then try to read a frame with the av_read_frame method I get the following error :


ffmpeg error str : Invalid data found when processing input


Do I have to extend the build process of the example to also allow to demux videostreams ? Especially the h264 codec or what is causing the error ?


Thanks in advance ! :)


I already checked if my file is corrupted but that is not the case. I also tried to implement the h264 parser with the following cli parameter "-enable-parser=h264" unfortunatly nothing changed.


If you want to have more information about the file I try to demux, here you are :


General
Complete name: test.mp4
Format: MPEG-4
Format profile: Base Media
Codec ID: isom (isom/iso2/avc1/mp41)
File size: 17.5 MiB
Duration: 1 min 1 s
Overall bit rate: 2 400 kb/s
Frame rate: 30.000 FPS
Writing application: Lavf59.17.101

Video
ID: 1
Format: AVC
Format/Info: Advanced Video Codec
Format profile: High@L3.1
Format settings: CABAC / 4 Ref Frames
Format settings, CABAC: Yes
Format settings, Reference frames: 4 frames
Codec ID: avc1
Codec ID/Info: Advanced Video Coding
Duration: 1 min 1 s
Bit rate: 2 322 kb/s
Width: 1 280 pixels
Height: 720 pixels
Display aspect ratio: 16:9
Frame rate mode: Constant
Frame rate: 30.000 FPS
Color space: YUV
Chroma subsampling: 4:2:0
Bit depth: 8 bits
Scan type: Progressive
Bits/(Pixel*Frame): 0.084
Stream size: 16.9 MiB (97%)
Writing library: x264 core 163 r3060M 5db6aa6
Encoding settings: cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Codec configuration box: avcC

Audio
ID: 2
Format: AAC LC
Format/Info: Advanced Audio Codec Low Complexity
Codec ID: 2 / 40 / mp4a-40-2
Duration: 1 min 1 s
Source duration: 1 min 1 s
Bit rate mode: Constant
Bit rate: 69.8 kb/s
Channel(s): 1 channel
Channel layout: M
Sampling rate: 48.0 kHz
Frame rate: 46.875 FPS (1024 SPF)
Compression mode: Lossy
Stream size: 521 KiB (3%)
Source stream size: 521 KiB (3%)
Default: Yes
Alternate group: 1



-
ffmpeg : fix transcoding dvbsub to dvbsub
22 juin 2014, par Anshul Maheshwari