
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (55)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ) (...)
Sur d’autres sites (7443)
-
Repairing File (Have raw h264 and aac)
13 juin 2015, par BenI have a mp4 file that was never finalized. So what I did was extract the raw h264 stream and the aac file as well. How do I go about creating these in a playable mp4 file ? Or if there is a better fix to an uninitialized mp4 file (recorded using OBS) let me know.
The file I’m trying to fix is named repair for reference.
-
.exe file, works different than .py file
29 août 2024, par r_bI've made the YouTube Dowbloader App. Everything is working properly (run in PyCharm), but when I try to make it into an executable with pyinstaller, it does not work.


This is the link to the repo :




Command for making exe file :

pyinstaller project.spec


project.spec file :


# project.spec
# -*- mode: python ; coding: utf-8 -*-

block_cipher = None

a = Analysis(
 ['gui.py'],
 pathex=['.'],
 binaries=[],
 datas=[('static_files/*', 'static_files')],
 hiddenimports=[],
 hookspath=[],
 runtime_hooks=[],
 excludes=[],
 win_no_prefer_redirects=False,
 win_private_assemblies=False,
 cipher=block_cipher,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)

exe = EXE(
 pyz,
 a.scripts,
 [],
 exclude_binaries=True,
 name='YouTube Downloader',
 debug=False,
 bootloader_ignore_signals=False,
 strip=False,
 upx=True,
 upx_exclude=[],
 runtime_tmpdir=None,
 console=False,
 icon='static_files/logo.ico'
)
coll = COLLECT(
 exe,
 a.binaries,
 a.zipfiles,
 a.datas,
 strip=False,
 upx=True,
 upx_exclude=[],
 name='YouTube Downloader'
)

app = BUNDLE(
 coll,
 name='YouTube Downloader',
 icon='static_files/logo.ico',
 bundle_identifier=None
)



The file structure :


project/
├── backend.py
├── gui.py
├── temp_mp3 # temporary mp3 for Audio player
├── static_files/
│ ├── icon.ico
│ ├── image1.png
│ ├── image2.png
│ └── setup.json # setup.json file
└── project.spec



Search block diagram :
Search block diagram


After searching and fetching the YouTube URL, the app downloads an MP3 file (in temp_mp3) for the audio player section.


And here is the difference between .exe and the .py, when I run .exe the APP downloads the audio segment from the URL in .webm format and stops there. Even if the format is different, it should be converted to MP3 (in PyCharm does).


Find possible problem with moviepy/ffmpeg.exe (library for converting files).


project.spec


a = Analysis(
 ['gui.py'],
 pathex=['.'],
 binaries=[('C:\\path\\to\\ffmpeg\\bin\\ffmpeg.exe', 'ffmpeg')],
 datas=[('static_files/*', 'static_files')],



Added binaries => path to ffmpeg.exe , but it still doesn't work.


-
file decoded with ffmpeg has different CRC to file decoded with flac.exe
17 mars 2020, par CdizzleDecoding the same .flac file (24-bit/48khz, 5.1 audio) with flac.exe, and then decoding the same .flac with ffmpeg results in two .wav files that have different CRC-32 values.
Command for decoding with flac.exe :
flac -d input.flac
Command for decoding with ffmpeg :
ffmpeg -i input.flac -c:a pcm_s24le output.wav
Both of the resulting flac files are 24-bit signed little endian PCM files, at 48khz. Both are the exact same size on disk, but they do not have the same CRC-32 values. What am I doing wrong ?
OS : Windows 10 1909
flac version : 1.3.2
ffmpeg build : ffmpeg-20200312-675bb1f-win64-static