Recherche avancée

Médias (0)

Mot : - Tags -/logo

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (104)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (11740)

  • Using ffmpeg library

    29 juillet 2014, par DAVIDBALAS1

    Thx all for helping <3

    So, I have downloaded the ffmpeg library, imported it to eclipse, added it as a library to my android application and tried to use it, it doesn’t work.

    Step by step :

    • Downloaded this file : https://github.com/guardianproject/android-ffmpeg-java
    • Extracted it to an empty folder.
    • At Eclipse, "import" and then I have selected this empty folder.
    • Right click at my project, properties, android, added the ffmpeg library.
    • At my on create I used this code(just for checking) :

      ffmpeg -t 30 -i inputfile.mp3 -acodec copy outputfile.mp3

    But I get a lot of errors :

    Multiple markers at this line
    - Syntax error on token(s), misplaced
    construct(s)
    - Syntax error on token "inputfile", delete this
    token
    - Syntax error on token "30", delete this token
    - Syntax error on token ".", ; expected

    Can you see my problem ?

  • Inserting clips into mp4 via ffmpeg

    15 septembre 2024, par lfgan

    I am looking to create mp4 files by combining multiple static mp4s and mp3s.&#xA;I have a script already to convert mp3 to mp4 and using the album art as a static background image, and inserting the intro.&#xA;What I am having problems with is that it cannot concatenate the videos reliably, or at all for that matter.

    &#xA;

    This is the code that I currently have, it is ChatGPT, however I gave up as it seemed like it was just running in circles.

    &#xA;

    setlocal&#xA;&#xA;:: Set variables&#xA;set "mp3file=myfile.mp3"&#xA;set "coverart=extracted_cover.jpg"&#xA;set "outputfile=music.mp4"&#xA;set "introfile=intro.mp4"&#xA;set "outputendfile=Outro.mp4"&#xA;set "wowfile=Wow!.mp4"&#xA;&#xA;:: Step 1: Extract cover art from MP3&#xA;ffmpeg -i "%mp3file%" -an -vcodec copy "%coverart%"&#xA;if %errorlevel% neq 0 (&#xA;    echo Error: Failed to extract cover art from MP3 file.&#xA;    exit /b 1&#xA;)&#xA;&#xA;:: Step 2: Convert MP3 to MP4 using the extracted cover art&#xA;ffmpeg -loop 1 -i "%coverart%" -i "%mp3file%" -c:v libx264 -tune stillimage -c:a aac -b:a 192k -shortest "%outputfile%"&#xA;if %errorlevel% neq 0 (&#xA;    echo Error: Conversion from MP3 to MP4 failed.&#xA;    exit /b 1&#xA;)&#xA;&#xA;:: Step 3: Randomly generate two positions for Wow!.mp4 insertions&#xA;:: Random positions will be between 10 and 50 seconds&#xA;set /a "pos1=%random% %% 40 &#x2B; 10"&#xA;set /a "pos2=%random% %% 40 &#x2B; 10"&#xA;&#xA;:: Ensure pos1 and pos2 are different&#xA;if %pos1% EQU %pos2% (&#xA;    set /a "pos2=%pos1%&#x2B;10"&#xA;)&#xA;&#xA;:: Print positions for debugging&#xA;echo Random insertion positions:&#xA;echo Position 1: %pos1%&#xA;echo Position 2: %pos2%&#xA;&#xA;:: Step 4: Split the music mp4 into parts at the random positions&#xA;:: Part 1: From the beginning to pos1&#xA;ffmpeg -i "%outputfile%" -c copy -ss 0 -to %pos1% -y "part1.mp4"&#xA;if not exist "part1.mp4" (&#xA;    echo Error: Failed to create part1.mp4&#xA;    exit /b 1&#xA;)&#xA;&#xA;:: Part 2: From pos1 to pos2&#xA;ffmpeg -i "%outputfile%" -c copy -ss %pos1% -to %pos2% -y "part2.mp4"&#xA;if not exist "part2.mp4" (&#xA;    echo Error: Failed to create part2.mp4&#xA;    exit /b 1&#xA;)&#xA;&#xA;:: Part 3: From pos2 to the end&#xA;ffmpeg -i "%outputfile%" -c copy -ss %pos2% -y "part3.mp4"&#xA;if not exist "part3.mp4" (&#xA;    echo Error: Failed to create part3.mp4&#xA;    exit /b 1&#xA;)&#xA;&#xA;:: Step 5: Concatenate the files in the required order&#xA;(&#xA;    echo file &#x27;intro.mp4&#x27;&#xA;    echo file &#x27;part1.mp4&#x27;&#xA;    echo file &#x27;Wow!.mp4&#x27;&#xA;    echo file &#x27;part2.mp4&#x27;&#xA;    echo file &#x27;Wow!.mp4&#x27;&#xA;    echo file &#x27;part3.mp4&#x27;&#xA;    echo file &#x27;Outro.mp4&#x27;&#xA;) > concat_list.txt&#xA;&#xA;ffmpeg -f concat -safe 0 -i concat_list.txt -c copy final_output.mp4&#xA;if %errorlevel% neq 0 (&#xA;    echo Error: Failed to concatenate the video files.&#xA;    exit /b 1&#xA;)&#xA;&#xA;:: Cleanup&#xA;del part1.mp4 part2.mp4 part3.mp4 concat_list.txt "%coverart%"&#xA;&#xA;echo Done! The final video is saved as final_output.mp4&#xA;

    &#xA;

    exactly what it is supposed to do :

    &#xA;

      &#xA;
    1. Convert "myfile.mp3" to "music.mp4" with image (works)
    2. &#xA;

    3. Add "intro.mp4" to the start of "music.mp4" and "Output.mp4" to the end (works)
    4. &#xA;

    5. Split "music.mp4" into 3 parts, randomly, at a minimum 10s after intro.mp4 and 10s before Outro.mp4 (can for some reason only create part 1)
    6. &#xA;

    7. Put all clips in order (unknown, probably works but part 2 and 3 wont generate so it cannot get to that step.)
    8. &#xA;

    &#xA;

    Edit :&#xA;I forgot to add the error message that I am getting. Here it is :

    &#xA;

    [out#0 @ 000002e024a6ed00] -to value smaller than -ss; aborting.&#xA;Error opening output file part2.mp4.&#xA;Error opening output files: Invalid argument&#xA;Error: Failed to create part2.mp4&#xA;

    &#xA;

  • Building ffmpeg on Windows

    27 février 2014, par Niranjan

    I've the source code of ffmpeg and would like to build it in my win7. I've minGW installed on my machine. I found a step by step instruction from this link :

    http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/

    The link 'Download updated bash for MSYS' did not follow. It showed the file is not found. When I try to build the program the way explained in the site, it shows an error :

    Unknown option “–extra-cflags=-mno-cygwin”.
    See ./configure –help for available options.
    ./myconfig : –extra-ldflags=-Wl,–add-stdcall-alias : command not found
    ./myconfig : –target-os=mingw32 : command not found

    From a similar question posted here, I followed the link http://ffmpeg.arrozcru.org/ but the static build downloaded from the site was corrupted. Pls help.