
Recherche avancée
Autres articles (66)
-
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 (8457)
-
Unable to create audio file from mp4 file with ffmpeg
21 octobre 2020, par DevLoverUmarI'm unable to create single channel audio file with ffmpeg from an mp4 file, with the following python code


command_line = "ffmpeg -i "+full_file_path+" -ac 1 -ar 16000 -vn "+full_file_path[:-4]+".wav" 
args = shlex.split(command_line)



Here is the media info of my mp4 file


from pydub.utils import mediainfo
print(mediainfo(full_file_path))






Output


'index' : '0', 'codec_name' : 'h264', 'codec_long_name' : 'H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10', 'profile' : 'High', 'codec_type' : 'video', 'codec_time_base' : '1/48', 'codec_tag_string' : 'avc1', 'codec_tag' : '0x31637661', 'width' : '1920', 'height' : '1080', 'coded_width' : '1920', 'coded_height' : '1088', 'has_b_frames' : '2', 'sample_aspect_ratio' : '1:1', 'display_aspect_ratio' : '16:9', 'pix_fmt' : 'yuv420p', 'level' : '40', 'color_range' : 'unknown', 'color_space' : 'unknown', 'color_transfer' : 'unknown', 'color_primaries' : 'unknown', 'chroma_location' : 'left', 'field_order' : 'unknown', 'timecode' : 'N/A', 'refs' : '1', 'is_avc' : 'true', 'nal_length_size' : '4', 'id' : 'N/A', 'r_frame_rate' : '24/1', 'avg_frame_rate' : '24/1', 'time_base' : '1/12288', 'start_pts' : '0', 'start_time' : '0.000000', 'duration_ts' : '107520', 'duration' : '8.750000', 'bit_rate' : '1036420', 'max_bit_rate' : 'N/A', 'bits_per_raw_sample' : '8', 'nb_frames' : '210', 'nb_read_frames' : 'N/A', 'nb_read_packets' : 'N/A', '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', 'TAG' : 'language' : 'und', 'handler_name' : 'VideoHandler', 'major_brand' : 'isom', 'minor_version' : '512', 'compatible_brands' : 'isomiso2avc1mp41', 'encoder' : 'Lavf58.26.101', 'filename' : './sample_dataset_FaceForensic/fake/abc.mp4', 'nb_streams' : '1', 'nb_programs' : '0', 'format_name' : 'mov,mp4,m4a,3gp,3g2,mj2', 'format_long_name' : 'QuickTime / MOV', 'size' : '1133585', 'probe_score' : '100'




-
Recursively Convert FLAC to MP3 Keeping All Metadata and Located in Same Directory
6 juin 2020, par charlesstricklinI've got ffpeg installed on my Windows 10 PC and I'd like to recursively convert .flac music into .mp3 within the same directory (by that I mean the .flac file and the .mpg file end up in the same folder) and I'll be the first to admit I'm just a beginner to both ffmpeg and the CLI, so I'm a newbie there.



I've been looking at Recursively Converting FLAC to MP3 Using FFmpeg While Maintaining Metadata and Directory Structure on Windows as a possible answer to my question, but I do not want to copy from one volume to another.



Just to avoid confusion, my highest directory is C :\Users\User\Downloads\Music\ and I'd like to convert several artist/band's tracks from .flac to .mp3 within the same directory. C :\Users\User\Downloads\Music\1st Artist\1st CD\1st Track.flac would be converted to C :\Users\User\Downloads\Music\1st Artist\1st CD\1st Track.mp3, C :\Users\User\Downloads\Music\2nd Artist\1st CD\1st Track.flac would be converted to C :\Users\User\Downloads\Music\2nd Artist\1st CD\1st Track.mp3 and so on.



Would someone clue me in on the best way you know of to accomplish that from the CLI, please ?


-
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.