
Recherche avancée
Autres articles (63)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (4509)
-
Write, with ffmpeg, every 30 seconds wav file from ip stream to file.temp and change the name to timestamp.wav after
18 juillet 2018, par EliyaI’m using ffmpeg to record IP stream and write every 30 seconds to wav file.
Here is my bash script code :
#!/bin/bash
function start_ffmpeg_stream ()
{
address=$1 #This is IP stream address
ffmpeg_option=$2 # "?overrun_nonfatal=1&fifo_size=250000"
folder_name=$3 #folderName
channel_number=$4 #i
#local pid
ffmpeg -loglevel 8 -thread_queue_size 1500 -i "$address$ffmpeg_option" -c copy\
-vn -f segment -segment_time 30 -ar 8000 -acodec pcm_s32le -ac 1 -strftime 1 /"$folder_name"/"X$channel_number""_""%s.wav"&
pid=$!
echo "$Start ffmpeg, pid is - $pid"
__="$pid"
}
ffmpegOptions="?overrun_nonfatal=1&fifo_size=250000"
folderName="/wav_files"
start_ffmpeg_stream "udp://224.10.0.1" "$ffmpegOptions" "$folderName" "1"Now the wav file name is like "X000001_unix_time_stamp.wav".
I want to write the file name in writeing time something like "X000001_unix_time_stamp.temp"
And when the 30 seconds done and the FFmpeg finish to write this 30 seconds, I want that FFmpeg changes the name to "X000001_unix_time_stamp.wav"
And keep writing next 30 seconds.
The only change that i want is, when FFmpeg writing it write in temp name and after FFmpeg finish to write it change the name.
It’s seem to case when i donloaded a file so until the donload not finish the file has a temp name and when it done the name change to const name.
-
how to cut audio file and merge with video file in android ?
27 avril 2016, par Mayank SugandhiI want to cut audio and merge audio file with video programmatically in android.
I don’t Know how to use FFMPEG library in windows, Can You tell me how to integrate Or if any other solution ? I am finding the answer this question from last 3 months 15 days, still i am not able to get correct answer
Please Help Me,
Thank You for Appreciation.
-
ffmpeg batch process issue mac
22 octobre 2023, par e eI'm using ffmpeg to batch process all files(with names containing spaces) in a directory. The script is like :


echo my converter
read -p "Enter give folder: " folder
echo '//////////////////////START CONVERTING FROM FOLDER///////////////////////'

find $folder -type f -name "*[[:space:]]*" | while read file; do
 release="${file%%.*}"'_t.mp4';
 echo "$file";
 ffmpeg -i "$file" -c copy "$release" -loglevel error -stats
 echo $release;
done



the script searches all the files in the address and ffmpeg one by one. However the first file will always fail due to some unknown issues :


[mpegts @ 0x7fb8e9904a40] Continuity check failed for pid 17 expected 2 got 3
[mpegts @ 0x7fb8e9904a40] Continuity check failed for pid 0 expected 0 got 2
[mpegts @ 0x7fb8e9904a40] Continuity check failed for pid 4096 expected 0 got 2
[mpegts @ 0x7fb8e9904a40] Continuity check failed for pid 256 expected 2 got 7
[mpegts @ 0x7fb8e9904a40] Packet corrupt (stream = 0, dts = 203523000).
/Users/xy/Downloads/aaa/aa vv.ts: corrupt input packet in stream 0
[NULL @ 0x7fb8e9905a40] Decoding VUI




If there is only one file, the process works fine.
If comment out the ffmpeg command, it echoes as expected :


/Users/xy/Downloads/aaa/aa vv_t.mp4
/Users/xy/Downloads/aaa/aa vv_t_t.mp4
/Users/xy/Downloads/aaa/aa vv.ts
/Users/xy/Downloads/aaa/aa vv_t.mp4
/Users/xy/Downloads/aaa/cc ee.ts
/Users/xy/Downloads/aaa/cc ee_t.mp4



it first find the target files and then converts into another with different file names.
Any suggestions, thank you !!