
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (68)
-
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 ;
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (11230)
-
ffmpeg throws error when trying to remove subtitle track only when artwork is present [on hold]
2 juillet 2014, par user226372Hi ffmpeg users/gurus/developers,
I am having a peculiar problem.
I have a media with 5 tracks (Notice the fifth one is album artwork)
Stream #0:0(und) : Video : h264 (High)
Stream #0:1(und) : Audio : aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 164 kb/s (default)
Stream #0:2(und) : Audio : ac3 (ac-3 / 0x332D6361), 44100 Hz, stereo, fltp, 224 kb/s
Stream #0:3(eng) : Subtitle : mov_text (tx3g / 0x67337874), 1280x60, 0 kb/s (default)
Stream #0:4 : Video : mjpeg, yuvj420p(pc), 1000x1500 [SAR 1:1 DAR 2:3], 90k tbr, 90k tbn, 90k tbcAll i am trying is to remove the subtitle track Stream #0:3(eng) : Subtitle by this command
ffmpeg -i input.mkv -map 0:0 -map 0:1 -map 0:2 -map 0:4 -c copy output.mkv
as explained here
https://trac.ffmpeg.org/wiki/How%20to%20use%20-map%20option
But i am getting this error
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Stream #0:4 -> #0:3 (copy)
[ipod @ 0x103011000] Could not find tag for codec mjpeg in stream #3, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argumentConversion failed !
If the input media doesn’t contain an artwork this error is not happening
Any ffmpeg gurus who can help me with this issue please !!!!
-
How to convert MP4 to MP3 in VLC using Command-Prompt ?
9 juillet 2016, par user6472523I have close to 0 programming experience but would like to figure out how to do this and have been trying to figure out how to do this for awhile. I’m getting very frustrated - wish I could understand it. I’m trying to convert a bunch of MP4 files to MP3 files. I would like to keep the original file and just spit out a bunch of MP3 files with same name as the original file.
From here : https://wiki.videolan.org/How_to_Batch_Encode/
Apparently, all you need to do is use this code in the Command-Prompt. I have never really used the Command-Prompt before so no idea what to do.
FOR /R %%G IN (*.m4a) DO (CALL :SUB_VLC "%%G")
FOR /R %%G IN (*.m4a.mp*) DO (CALL :SUB_RENAME "%%G")
GOTO :eof
:SUB_VLC
SET _firstbit=%1
SET _qt="
CALL SET _newnm=%%_firstbit:%_qt%=%%
SET _commanm=%_newnm:,=_COMMA_%
REM echo %_commanm%
CALL "C:\Program Files\VideoLAN\VLC\vlc" -I dummy -vvv %1 --sout=#transcode{acodec="mpga",ab="512","channels=2",samplerate="44100"}:standard{access="file",mux="mpeg1",dst="%_commanm%.mp3"} vlc://quit
GOTO :eof
:SUB_RENAME
SET _origfnm=%1
SET _endbit=%_origfnm:*.m4a=%
CALL SET _newfilenm=%%_origfnm:.m4a%_endbit%=.mp3%%
SET _newfilenm=%_newfilenm:_COMMA_=,%
COPY %1 %_newfilenm%
DEL %1
GOTO :eof
:eof- So far I changed the directory in the Command-Prompt to the
folder where the MP4 files are located. - In the code, I’ve changed all mention of .m4a to .mp4.
- I’ve change mpga to mp3.
- I’ve changed "C :\Program Files\VideoLAN\VLC\vlc" to where my vlc program
is located.
What else do I need to do ? And what do all the %% mean in the code ?
Thank you so much !
- So far I changed the directory in the Command-Prompt to the
-
c FFmpeg undefined refference error [duplicate]
14 août 2017, par galagalaThis question already has an answer here :
I want to write my own video player, so I am trying to use FFmpeg with C.
I am using Ubuntu 16.04.3 LTS and compile FFmpeg following this tutorial https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntuafter that I did add libavcodec.a to linker setting list and the source code path to search directory (using codeblocks)
but my code still get error : undefined refference to "avcodec_register_all()"
#include
#include "libavcodec/avcodec.h"
int main()
{
avcodec_register_all();
return 0;
}after that, I search the libavcodec folder
I did find avcodec.h and void avcodec_register_all(void) defined in it
but I couldn’t find avcodec.c in the folderIs that normal ? and is that the reason why I got undefined reference error ?
how to fix it ?