
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 ;
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)
Sur d’autres sites (11930)
-
python : can't open file 'F :\\Episode Split\\Episode' : [Errno 2] No such file or directory [closed]
26 février 2024, par Rafa Segoviaeveryone !


I'm trying to write a python script to split a video into parts based on a list of expressions from a docx file, comparing them to the dialogue on an srt file.
I think I have everything installed on my Windows 10 pc.
I keep getting this error.


python : can't open file 'F :\Episode Split\Episode' : [Errno 2] No such file or directory


It's like it detects a space somewhere and stops reading a path.
There's no file called "Episode" anywhere mentioned on the script.
Can you take a look at the script and pinpoint how I can fix this error ?


Thank you


import os
import re
import cv2
import unicodedata
import chardet
from fuzzywuzzy import fuzz
import docx
from bs4 import BeautifulSoup
import xml.etree.ElementTree as ET

# Define variables
expressions_per_cut = 4
max_time_per_cut_seconds = 20
fuzzy_ratio = 60
input_parent_folder = r'F:\Episode Split'
xml_output_folder = r'F:\Episode Split'




I tried removing spaces in the paths by using hyphens among other things.


-
How to ensure split video are of equal video duration of 15 seconds each ?
29 mai 2023, par Jeff BootsholzI tried following command on my Android App


-y -i temp_video.mp4 -t 60 -vcodec copy -map 0:v -movflags faststart -segment_time 15.0 -f segment -reset_timestamps 1 -segment_start_number 1 -segment_format mp4 output_%d.mp4



and retrieve my duration in seconds


I find out the split videos are of different length : 24s ,6s, 16s, 15s


how to ensure ?


-
rtpdec : Split handling of mpeg12 audio/video to a separate depacketizer
17 janvier 2013, par Martin Storsjörtpdec : Split handling of mpeg12 audio/video to a separate depacketizer