
Recherche avancée
Autres articles (23)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (2994)
-
ffmpeg link errors when building on iPhone 4.3 SDK
12 septembre 2011, par YuzaKenAfter a rather trying few days, I finally got ffmpeg to compile under Xcode 4 with SDK 4.3. The issue no is a series (39) link errors. They fall into at least two cases : assembly language routines and static arrays defined in header files. My believe is that it is generating C method names for the assembly routines while the .c files containing the reference to the routine is generating a different method name (munging).
Undefined symbols for architecture armv7 :
"_ff_vector_fmul_vfp", referenced from:
_ff_dsputil_init_vfp in libavcodec.a(dsputil_init_vfp.o)
"_main", referenced from:
start in crt1.3.1.o
"_av_solve_lls", referenced from:
_ff_lpc_calc_coefs in libavcodec.a(lpc.o)
"_ff_inv_aanscales", referenced from:
_dct_quantize_trellis_c in libavcodec.a(mpegvideo_enc.o)
_decode_frame in libavcodec.a(eamad.o)
_tgq_decode_frame in libavcodec.a(eatgq.o)
_tqi_decode_frame in libavcodec.a(eatqi.o)
"_ff_add_pixels_clamped_armv6", referenced from:
_ff_dsputil_init_armv6 in libavcodec.a(dsputil_init_armv6.o)
"_ff_cga_palette", referenced from:
_tmv_decode_frame in libavcodec.a(tmv.o)
"_ff_svq1_inter_multistage_vlc", referenced from:
_encode_block in libavcodec.a(svq1enc.o)
_svq1_decode_init in libavcodec.a(svq1dec.o)
"_ff_simple_idct_armv6", referenced from:
_ff_dsputil_init_armv6 in libavcodec.a(dsputil_init_armv6.o)
"_BZ2_bzDecompressInit", referenced from:
_matroska_decode_buffer in libavformat.a(matroskadec.o)
"_ff_put_pixels8_y2_arm", referenced from:
_ff_put_pixels16_y2_arm in libavcodec.a(dsputil_init_arm.o)
_dsputil_init_arm in libavcodec.a(dsputil_init_arm.o)
"_ff_simple_idct_add_armv6", referenced from:...and so on.
Anyone with experience with ffmpeg on iPhone ? Successfully ?
-
ffmpeg same input as output file (temporary file needed but how ?)
7 janvier 2021, par tomato planetI don't know much about .bat files or ffmpeg and spent the last hour on the internet searching how I can solve my problem, but didn't find anything.
I want to make .bat file which removes the audio of a video and replaces it with the no-audio version. I already made a folder with my .bat file and ffmpeg and added an option to the context menu to open my .bat file.


That's my .bat file currently :


ffmpeg -i %1 -an -vcodec copy %1



But ffmpeg can't overwrite the file it's currently reading. It would be great if somebody helps me how to create a temporary file without the audio, and then replace the input file with the temporary one.


Thanks a lot in advance !


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