
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (63)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
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 (...) -
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 (4323)
-
ffmpeg -f sdl works, ffmpeg -c codec -f sdl doesn't
3 octobre 2022, par lunadirrunning on windows

anyone knows why this works

ffmpeg -re -i "sample_itunes.mp4" -an -f sdl2 -



and this doesn't


ffmpeg -re -i "sample_itunes.mp4" -an -c libx264 -f sdl2 -



doesn't show any window, output is


ffmpeg.exe -re -i "sample_itunes.mp4" -an -c libx264 -r 1 -f sdl2 -
ffmpeg version n4.4-79-gde1132a891-20210803 Copyright (c) 2000-2021 the FFmpeg developers
 built with gcc 10-win32 (GCC) 20210408
 configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libvmaf --enable-vulkan --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-libglslang --enable-libgme --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --disable-vaapi --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-version=20210803
 libavutil 56. 70.100 / 56. 70.100
 libavcodec 58.134.100 / 58.134.100
 libavformat 58. 76.100 / 58. 76.100
 libavdevice 58. 13.100 / 58. 13.100
 libavfilter 7.110.100 / 7.110.100
 libswscale 5. 9.100 / 5. 9.100
 libswresample 3. 9.100 / 3. 9.100
 libpostproc 55. 9.100 / 55. 9.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sample_itunes.mp4':
 Metadata:
 major_brand : mp42
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 creation_time : 2036-02-06T06:28:16.000000Z
 encoder : HandBrake 0.10.2 2015060900
 Duration: 00:01:25.50, start: 0.000000, bitrate: 245 kb/s
 Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 640x480 [SAR 1:1 DAR 4:3], 116 kb/s, 10 fps, 10 tbr, 90k tbn, 180k tbc (default)
 Metadata:
 creation_time : 2036-02-06T06:28:16.000000Z
 handler_name : VideoHandler
 vendor_id : [0][0][0][0]
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 32000 Hz, mono, fltp, 125 kb/s (default)
 Metadata:
 creation_time : 2036-02-06T06:28:16.000000Z
 handler_name : Mono
 vendor_id : [0][0][0][0]
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0000025cce1ab7c0] using SAR=1/1
[libx264 @ 0000025cce1ab7c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0000025cce1ab7c0] profile High, level 2.2, 4:2:0, 8-bit
[sdl,sdl2 @ 0000025cce769040] Only supports one rawvideo stream
Output #0, sdl,sdl2, to 'pipe:':
 Metadata:
 major_brand : mp42
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.76.100
 Stream #0:0(und): Video: h264, yuv420p(tv, smpte170m/smpte170m/bt709, progressive), 640x480 [SAR 1:1 DAR 4:3], q=2-31, 1 fps, 1 tbn (default)
 Metadata:
 creation_time : 2036-02-06T06:28:16.000000Z
 handler_name : VideoHandler
 vendor_id : [0][0][0][0]
 encoder : Lavc58.134.100 libx264
 Side data:
 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
[libx264 @ 0000025cce1ab7c0] non-strictly-monotonic PTSrate=N/A speed= 0x
 Last message repeated 3 times
[libx264 @ 0000025cce1ab7c0] non-strictly-monotonic PTSrate=N/A speed= 0x
 Last message repeated 3 times
[libx264 @ 0000025cce1ab7c0] non-strictly-monotonic PTSrate=N/A speed= 0x
 Last message repeated 4 times
[libx264 @ 0000025cce1ab7c0] non-strictly-monotonic PTSrate=N/A speed= 0x
 Last message repeated 3 times
[libx264 @ 0000025cce1ab7c0] non-strictly-monotonic PTSrate=N/A speed= 0x
 Last message repeated 4 times
[libx264 @ 0000025cce1ab7c0] non-strictly-monotonic PTSrate=N/A speed= 0x
 Last message repeated 3 times
[libx264 @ 0000025cce1ab7c0] non-strictly-monotonic PTSrate=N/A speed= 0x
debug=1
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
 Last message repeated 4 times
[h264 @ 0000025ccc8fd8c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[libx264 @ 0000025cce1ab7c0] non-strictly-monotonic PTS
[h264 @ 0000025ccc8fd8c0] slice:1 F mb:0 B fix frame:15 poc:65622/65622 ref:1/1 qp:7 loop:1:0:0 weight:0 SPAT
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
 Last message repeated 8 times
...
frame= 60 fps=8.4 q=25.0 Lsize=N/A time=-00:00:00.10 bitrate=N/A speed=N/A
video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (sample_itunes.mp4):
 Input stream #0:0 (video): 74 packets read (22110 bytes); 61 frames decoded;
 Input stream #0:1 (audio): 1 packets read (18 bytes);
 Total: 75 packets (22128 bytes) demuxed
Output file #0 (pipe:):
 Output stream #0:0 (video): 60 frames encoded; 1 packets muxed (866 bytes);
 Total: 1 packets (866 bytes) muxed
61 frames successfully decoded, 0 decoding errors
[libx264 @ 000001d2952aa600] frame I:1 Avg QP: 7.93 size: 866
[libx264 @ 000001d2952aa600] frame P:23 Avg QP:13.48 size: 535
[libx264 @ 000001d2952aa600] frame B:36 Avg QP:10.98 size: 81
[libx264 @ 000001d2952aa600] consecutive B-frames: 16.7% 10.0% 0.0% 73.3%
[libx264 @ 000001d2952aa600] mb I I16..4: 99.7% 0.1% 0.2%
[libx264 @ 000001d2952aa600] mb P I16..4: 6.2% 3.1% 0.8% P16..4: 1.4% 0.4% 0.2% 0.0% 0.0% skip:88.1%
[libx264 @ 000001d2952aa600] mb B I16..4: 0.2% 0.0% 0.0% B16..8: 2.2% 0.2% 0.0% direct: 0.1% skip:97.2% L0:35.9% L1:61.8% BI: 2.3%
[libx264 @ 000001d2952aa600] 8x8 transform intra:21.1% inter:48.3%
[libx264 @ 000001d2952aa600] coded y,uvDC,uvAC intra: 6.7% 1.9% 0.5% inter: 0.2% 0.1% 0.0%
[libx264 @ 000001d2952aa600] i16 v,h,dc,p: 57% 41% 2% 0%
[libx264 @ 000001d2952aa600] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 34% 51% 0% 0% 0% 0% 1% 0%
[libx264 @ 000001d2952aa600] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 34% 21% 2% 2% 3% 3% 3% 2%
[libx264 @ 000001d2952aa600] i8c dc,h,v,p: 84% 15% 2% 0%
[libx264 @ 000001d2952aa600] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 000001d2952aa600] ref P L0: 84.5% 3.6% 6.3% 5.5%
[libx264 @ 000001d2952aa600] ref B L0: 78.0% 21.2% 0.9%
[libx264 @ 000001d2952aa600] ref B L1: 96.8% 3.2%
[libx264 @ 000001d2952aa600] kb/s:21.46
[AVIOContext @ 000001d29529e780] Statistics: 232272 bytes read, 2 seeks
Conversion failed!



-
Please help me figure out why ffmpeg can't convert this .ts to .mp4
10 janvier 2023, par cpoI have ffmpeg running on my Sinology NAS, and would like to use it to convert DVR-recorded .ts videos into .mp4 format. I don't fully understand this stuff, and have researched to no avail. Perhaps someone who has some expertise in this area can quickly help me get up and running. Thanks !


Here is the command I am running with result :


$ ffmpeg -analyzeduration 2147483647 -probesize 2147483647 -i 'video.ts' -acodec -vcodec copy 'video.mp4'

ffmpeg version 4.1.8 Copyright (c) 2000-2021 the FFmpeg developers
 built with gcc 8.5.0 (GCC)
 configuration: --prefix=/usr --incdir='${prefix}/include/ffmpeg' --arch=i686 --target-os=linux --cross-prefix=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- --enable-cross-compile --enable-optimizations --enable-pic --enable-gpl --enable-shared --disable-static --disable-stripping --enable-version3 --enable-encoders --enable-pthreads --disable-protocols --disable-protocol=rtp --enable-protocol=file --enable-protocol=pipe --disable-muxer=image2 --disable-muxer=image2pipe --disable-swscale-alpha --disable-ffplay --disable-ffprobe --disable-doc --disable-devices --disable-bzlib --disable-altivec --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --disable-vaapi --disable-cuvid --disable-nvenc --disable-decoder=aac --disable-decoder=aac_fixed --disable-encoder=aac --disable-decoder=amrnb --disable-decoder=ac3 --disable-decoder=ac3_fixed --disable-encoder=zmbv --disable-encoder=dca --disable-decoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=eac3 --disable-decoder=eac3 --disable-encoder=truehd --disable-decoder=truehd --disable-encoder=hevc_vaapi --disable-decoder=hevc --disable-muxer=hevc --disable-demuxer=hevc --disable-parser=hevc --disable-bsf=hevc_mp4toannexb --x86asmexe=yasm --cc=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-wrap-gcc --enable-yasm --enable-libx264 --enable-encoder=libx264
 libavutil 56. 22.100 / 56. 22.100
 libavcodec 58. 35.100 / 58. 35.100
 libavformat 58. 20.100 / 58. 20.100
 libavdevice 58. 5.100 / 58. 5.100
 libavfilter 7. 40.101 / 7. 40.101
 libswscale 5. 3.100 / 5. 3.100
 libswresample 3. 3.100 / 3. 3.100
 libpostproc 55. 3.100 / 55. 3.100
[mpegts @ 0x5591c4feb4c0] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, 199 kb/s): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'video.ts':
 Duration: 02:01:58.77, start: 1.405122, bitrate: 4094 kb/s
 Program 1 
 Metadata:
 service_name : Service01
 service_provider: FFmpeg
 Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
 Stream #0:1[0x101]: Audio: aac ([15][0][0][0] / 0x000F), 0 channels, 199 kb/s
[NULL @ 0x5591c6034980] Unable to find a suitable output format for 'copy'
copy: Invalid argument



Here is the information from video.ts as displayed in VLC :




It's possible I just don't have the right encoders included with my ffmpeg packaged (obtained from https://synocommunity.com/package/ffmpeg). Here are the audio encoders that it appears I have.


A..... adpcm_adx SEGA CRI ADX ADPCM
 A..... g722 G.722 ADPCM (codec adpcm_g722)
 A..... g726 G.726 ADPCM (codec adpcm_g726)
 A..... g726le G.726 little endian ADPCM ("right-justified") (codec adpcm_g726le)
 A..... adpcm_ima_qt ADPCM IMA QuickTime
 A..... adpcm_ima_wav ADPCM IMA WAV
 A..... adpcm_ms ADPCM Microsoft
 A..... adpcm_swf ADPCM Shockwave Flash
 A..... adpcm_yamaha ADPCM Yamaha
 A..... alac ALAC (Apple Lossless Audio Codec)
 A..... libopencore_amrnb OpenCORE AMR-NB (Adaptive Multi-Rate Narrow-Band) (codec amr_nb)
 A..... aptx aptX (Audio Processing Technology for Bluetooth)
 A..... aptx_hd aptX HD (Audio Processing Technology for Bluetooth)
 A..... comfortnoise RFC 3389 comfort noise generator
 A..... flac FLAC (Free Lossless Audio Codec)
 A..... g723_1 G.723.1
 A..X.. mlp MLP (Meridian Lossless Packing)
 A..... mp2 MP2 (MPEG audio layer 2)
 A..... mp2fixed MP2 fixed point (MPEG audio layer 2) (codec mp2)
 A..... libmp3lame libmp3lame MP3 (MPEG audio layer 3) (codec mp3)
 A..... nellymoser Nellymoser Asao
 A..X.. opus Opus
 A..... pcm_alaw PCM A-law / G.711 A-law
 A..... pcm_f32be PCM 32-bit floating point big-endian
 A..... pcm_f32le PCM 32-bit floating point little-endian
 A..... pcm_f64be PCM 64-bit floating point big-endian
 A..... pcm_f64le PCM 64-bit floating point little-endian
 A..... pcm_mulaw PCM mu-law / G.711 mu-law
 A..... pcm_s16be PCM signed 16-bit big-endian
 A..... pcm_s16be_planar PCM signed 16-bit big-endian planar
 A..... pcm_s16le PCM signed 16-bit little-endian
 A..... pcm_s16le_planar PCM signed 16-bit little-endian planar
 A..... pcm_s24be PCM signed 24-bit big-endian
 A..... pcm_s24daud PCM D-Cinema audio signed 24-bit
 A..... pcm_s24le PCM signed 24-bit little-endian
 A..... pcm_s24le_planar PCM signed 24-bit little-endian planar
 A..... pcm_s32be PCM signed 32-bit big-endian
 A..... pcm_s32le PCM signed 32-bit little-endian
 A..... pcm_s32le_planar PCM signed 32-bit little-endian planar
 A..... pcm_s64be PCM signed 64-bit big-endian
 A..... pcm_s64le PCM signed 64-bit little-endian
 A..... pcm_s8 PCM signed 8-bit
 A..... pcm_s8_planar PCM signed 8-bit planar
 A..... pcm_u16be PCM unsigned 16-bit big-endian
 A..... pcm_u16le PCM unsigned 16-bit little-endian
 A..... pcm_u24be PCM unsigned 24-bit big-endian
 A..... pcm_u24le PCM unsigned 24-bit little-endian
 A..... pcm_u32be PCM unsigned 32-bit big-endian
 A..... pcm_u32le PCM unsigned 32-bit little-endian
 A..... pcm_u8 PCM unsigned 8-bit
 A..... pcm_vidc PCM Archimedes VIDC
 A..... real_144 RealAudio 1.0 (14.4K) (codec ra_144)
 A..... roq_dpcm id RoQ DPCM
 A..X.. s302m SMPTE 302M
 A..... sbc SBC (low-complexity subband codec)
 A..X.. sonic Sonic
 A..X.. sonicls Sonic lossless
 A..... tta TTA (True Audio)
 A..X.. vorbis Vorbis
 A..... wavpack WavPack
 A..... wmav1 Windows Media Audio 1
 A..... wmav2 Windows Media Audio 2



-
Conversion Rate Optimisation Statistics for 2024 and Beyond
21 novembre 2023, par Erin — Analytics Tips