
Recherche avancée
Autres articles (83)
-
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 ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (8432)
-
jpg images to gif ffmpeg no data found in image
3 juillet 2023, par Idk123I was trying to use ffmpeg to create a gif from jpg images, but I wasn't able to convert them, not through a python code and not even from the dir itself in cmd




python code :


input_files = f"{BASE_DIR}\\qr_images\\qr%d.jpg"
command = f'ffmpeg -i {input_files} output.gif'
os.system(f'start /wait cmd /k {command}')





I need the files in the dir to be able to convert to gif using ffmpeg (I have it installed correctly)


this is the complete cmd dialog (if I run it from the dir in cmd or if i run the python code :


ffmpeg version 6.0-essentials_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers built with gcc 12.2.0 (Rev10, Built by MSYS2 project) configuration : —enable-gpl —enable-version3
—enable-static —disable-w32threads —disable-autodetect —enable-fontconfig —enable-iconv —enable-gnutls —enable-libxml2 —enable-gmp —enable-bzlib —enable-lzma —enable-zlib —enable-libsrt —enable-libssh —enable-libzmq —enable-avisynth —enable-sdl2 —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxvid —enable-libaom —enable-libopenjpeg —enable-libvpx —enable-mediafoundation —enable-libass —enable-libfreetype —enable-libfribidi —enable-libvidstab —enable-libvmaf —enable-libzimg —enable-amf —enable-cuda-llvm —enable-cuvid —enable-ffnvcodec —enable-nvdec —enable-nvenc —enable-d3d11va —enable-dxva2 —enable-libvpl —enable-libgme —enable-libopenmpt —enable-libopencore-amrwb —enable-libmp3lame —enable-libtheora —enable-libvo-amrwbenc —enable-libgsm —enable-libopencore-amrnb —enable-libopus —enable-libspeex —enable-libvorbis —enable-librubberband libavutil 58. 2.100 / 58. 2.100 libavcodec 60. 3.100 / 60. 3.100 libavformat 60. 3.100 /
60. 3.100 libavdevice 60. 1.100 / 60. 1.100 libavfilter 9. 3.100 / 9. 3.100 libswscale 7. 1.100 / 7. 1.100 libswresample 4. 10.100 / 4. 10.100 libpostproc 57. 1.100 /
57. 1.100 [mjpeg @ 000002000696bfc0] No JPEG data found in image [mjpeg @ 000002000696bfc0] unable to decode APP fields : Invalid data found when processing input
Last message repeated 1 times [mjpeg @ 000002000696bfc0] No JPEG data found in image [mjpeg @ 000002000696bfc0] unable to decode APP fields : Invalid data found when processing input
Last message repeated 1 times [mjpeg @ 000002000696bfc0] Found EOI before any SOF, ignoring [mjpeg @ 000002000696bfc0] No JPEG data found in image [mjpeg @ 000002000696bfc0] bits 159 is invalid [mjpeg @ 000002000696bfc0] unable to decode APP fields : Invalid data found when processing input
Last message repeated 2 times [mjpeg @ 000002000696bfc0] bits 247 is invalid [mjpeg @ 000002000696bfc0] unable to decode APP fields : Invalid data found when processing input [mjpeg @ 000002000696bfc0] No JPEG data found in image [mjpeg @ 000002000696bfc0] unable to decode APP fields : Invalid data found when processing input [mjpeg @ 000002000696bfc0] No JPEG data found in image [image2 @ 000002000696aec0] Could not find codec parameters for stream 0 (Video : mjpeg (Progressive), none(bt470bg/unknown/unknown)) : unspecified size Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options Input #0, image2, from 'c :\Test_proj\qr_images\qr%d.jpg' : Duration : 00:00:00.28, start :
0.000000, bitrate : N/A Stream #0:0 : Video : mjpeg (Progressive), none(bt470bg/unknown/unknown), 25 fps, 25 tbr, 25 tbn Stream mapping : Stream #0:0 -> #0:0 (mjpeg (native) -> gif (native)) Press [q] to stop, [?] for help [mjpeg @ 00000200069a35c0] mjpeg : unsupported coding type (c5) [mjpeg @ 00000200069a35c0] mjpeg : unsupported coding type (ca) Error while decoding stream #0:0 : Invalid data found when processing input [mjpeg @ 00000200069a35c0] unable to decode APP fields : Invalid data found when processing input
Last message repeated 1 times [mjpeg @ 00000200069a35c0] mjpeg : unsupported coding type (ce) [mjpeg @ 00000200069a35c0] No JPEG data found in image Error while decoding stream #0:0 : Invalid data found when processing input [mjpeg @ 00000200069a35c0] unable to decode APP fields : Invalid data found when processing input
Last message repeated 1 times [mjpeg @ 00000200069a35c0] mjpeg : unsupported coding type (cb) [mjpeg @ 00000200069a35c0] Found EOI before any SOF, ignoring [mjpeg @ 00000200069a35c0] Can not process SOS before SOF, skipping [mjpeg @ 00000200069a35c0] No JPEG data found in image Error while decoding stream #0:0 : Invalid data found when processing input [mjpeg @ 00000200069a35c0] bits 159 is invalid Error while decoding stream #0:0 : Invalid data found when processing input [mjpeg @ 00000200069a35c0] unable to decode APP fields : Invalid data found when processing input
Last message repeated 2 times [mjpeg @ 00000200069a35c0] bits 247 is invalid Error while decoding stream #0:0 : Invalid data found when processing input [mjpeg @ 00000200069a35c0] unable to decode APP fields : Invalid data found when processing input [mjpeg @ 00000200069a35c0] mjpeg : unsupported coding type (c6) [mjpeg @ 00000200069a35c0] No JPEG data found in image Error while decoding stream #0:0 : Invalid data found when processing input [mjpeg @ 00000200069a35c0] Can not process SOS before SOF, skipping [mjpeg @ 00000200069a35c0] unable to decode APP fields : Invalid data found when processing input [mjpeg @ 00000200069a35c0] Can not process SOS before SOF, skipping
Last message repeated 2 times [mjpeg @ 00000200069a35c0] No JPEG data found in image Error while decoding stream #0:0 : Invalid data found when processing input Cannot determine format of input stream 0:0 after EOF Error marking filters as finished Conversion failed !


-
ffprobe not showing language tag for ASS files in Ubuntu
9 juillet 2023, par EfraínThis is something that has me totally lost, because I'm not sure what could I have done, but from one week to another, "language" stopped appearing in the tags of an ASS track on a MKV. I know this just started to appear, because just last week I ended working on an script to detect the language of tracks, and today that I decided to test it again, I noted that it started to fail, and from my debug it's because ffprobe is now printing this


{
 "index": 2,
 "codec_name": "ass",
 "codec_long_name": "ASS (Advanced SSA) subtitle",
 "codec_type": "subtitle",
 "codec_tag_string": "[0][0][0][0]",
 "codec_tag": "0x0000",
 "r_frame_rate": "0/0",
 "avg_frame_rate": "0/0",
 "time_base": "1/1000",
 "start_pts": 0,
 "start_time": "0.000000",
 "duration_ts": 1430816,
 "duration": "1430.816000",
 "disposition": {
 "default": 1,
 "dub": 0,
 "original": 0,
 "comment": 0,
 "lyrics": 0,
 "karaoke": 0,
 "forced": 0,
 "hearing_impaired": 0,
 "visual_impaired": 0,
 "clean_effects": 0,
 "attached_pic": 0,
 "timed_thumbnails": 0
 },
 "tags": {
 "BPS-eng": "85",
 "DURATION-eng": "00:23:34.830000000",
 "NUMBER_OF_FRAMES-eng": "262",
 "NUMBER_OF_BYTES-eng": "15128",
 "_STATISTICS_WRITING_APP-eng": "mkvmerge v40.0.0 ('Old Town Road + Pony') 32-bit",
 "_STATISTICS_WRITING_DATE_UTC-eng": "2023-07-02 11:29:54",
 "_STATISTICS_TAGS-eng": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES"
 }
}



Where it should be a field called "language" in the "tags", like this(Note that other file types, like SRT, or audio tracks show it correctly)


"tags": {
 "language": "eng",
 "BPS-eng": "128000",
 "DURATION-eng": "00:23:50.813000000",
 "NUMBER_OF_FRAMES-eng": "61620",
 "NUMBER_OF_BYTES-eng": "22893018",
 "_STATISTICS_WRITING_APP-eng": "mkvmerge v40.0.0 ('Old Town Road + Pony') 32-bit",
 "_STATISTICS_WRITING_DATE_UTC-eng": "2023-07-02 11:29:54",
 "_STATISTICS_TAGS-eng": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES"
}



The weird part is that is the same file I used for testing(And it worked), and I haven't edited it, so I'm not sure why is this happening, Does someone knows if I might have messed up something installing a library for another thing that might have caused it ?


Just in case is necessary, this is the command I use :
ffprobe -v quiet -print_format json -show_streams <file></file>


-
Issue with repairing 3GP video using untrunc - Error : bad track : 's263'
2 juillet 2023, par sifiribI am trying to repair a corrupted 3GP video using the untrunc program, but I'm facing an issue due to an error.


The command I ran :


./untrunc -v ~/Desktop/logic/Video0086.3gp ~/Desktop/logic/Video0035.3gp



I am running Ubuntu 20.04 LTS and using the 'v308-d72ec32' version of the untrunc. The error message I encounter is as follows :


Info: version 'v308-d72ec32' using ffmpeg '4.4.2-0ubuntu0.22.04.1'
Info: reading /home/hsrv/Desktop/logic/Video0086.3gp
Info: parsing healthy moov atom ... 
ftyp_ = 'mp42'
[amrnb @ 0x56075d7656c0] Multiple frames in a packet.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/hsrv/Desktop/logic/Video0086.3gp':
 Metadata:
 major_brand : mp42
 minor_version : 0
 compatible_brands: isommp42
 creation_time : 2014-04-26T21:38:29.000000Z
 com.android.version: 12
 Duration: 00:02:22.80, start: 0.000000, bitrate: 154 kb/s
 Stream #0:0(eng): Video: h263 (s263 / 0x33363273), yuv420p, 176x144 [SAR 12:11 DAR 4:3], 140 kb/s, 10.74 fps, 11 tbr, 90k tbn, 29.97 tbc (default)
 Metadata:
 creation_time : 2023-07-02T15:34:22.000000Z
 handler_name : VideoHandle
 vendor_id : [0][0][0][0]
 Stream #0:1(eng): Audio: amr_nb (samr / 0x726D6173), 8000 Hz, mono, flt, 12 kb/s (default)
 Metadata:
 creation_time : 2023-07-02T15:34:22.000000Z
 handler_name : SoundHandle
 vendor_id : [0][0][0][0]
ss: s263 is_stable: 0
ss: using f=7 span
assuming constant duration of 640 for 'samr' (x1785)

Info: unknown track 's263' found -> fallback to dynamic stats
created dummy track 'free'
removed dummy track 'free'
first_failed: 0 of 101
simpleOrder: 0 
order ( 101): (0, 14) (0, 11) (0, 11) (0, 12) (0, 11) (0, 12) (0, 11) (0, 12) (0, 11) (0, 11) (0, 11) (0, 11) (0, 12) (0, 12) (0, 11) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 11) (0, 11) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 11) (0, 11) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 11) (0, 11) (0, 12) (0, 11) (0, 11) (0, 12) (0, 12) (0, 11) (0, 12) (0, 12) (0, 11) (0, 10) (0, 12) (0, 12) (0, 12) (0, 11) (0, 12) (0, 11) (0, 10) (0, 12) (0, 11) (0, 11) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 12) (0, 10) (0, 12) (0, 11) (0, 11) (0, 12) (0, 12) (0, 12) (0, 12) 
isTrackOrderEnough: 0 (sz=0)
genPatternPerm of: s263
0 s263 0.918296 3
1 samr 1 2
genPatternPerm of: samr
0 s263 4.8125 32
1 samr 0 1
has_zero_transitions_: 0
**Error: bad track: 's263'**



This error message indicates that the untrunc program is having trouble with a track named 's263'. This track could be a track or codec within the video file.


How can I resolve this error and successfully repair the corrupted 3GP video ? What steps should I follow or can you suggest an alternative approach ?


Thank you in advance !


I was expecting trunc tool to fix the corrupted/trunced video. But it gave me this error and no matter how much I searched for a solution, I couldn't find anything.