
Recherche avancée
Médias (91)
-
DJ Z-trip - Victory Lap : The Obama Mix Pt. 2
15 septembre 2011
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (73)
-
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...) -
Activation de l’inscription des visiteurs
12 avril 2011, parIl est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...) -
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 (...)
Sur d’autres sites (14208)
-
Appending an audio recording to an existing file with FFmpeg possible ?
9 septembre 2017, par Faizuddin MohammedMy actual intention is to mute recording and have silence in the audio, but after a lot of research, looks like it’s tough to do it with FFmpeg.
So, now, I’m planning to kill the recording process when mute is required and start a new process with null source and append the output to the existing file, and then, a separate FFmpeg process to process this appended file and get my final converted output.
But looks like it’s not straightforward to append files in FFmpeg. Any idea what I should be doing ?
I’m using NodeJS
child_process.spawn
if it’s any use. -
FFMPEG filter is not implementing
31 août 2017, par Alok Kumar VermaI’m using FFMPEG for applying and saving the file to the specified path. Since I’m new to FFMPEG so I’ve followed this link to import the FFMPEG libraries inside my project.
FFMPEG libraries are working fine inside my project. Now I’ve followed FFMPEG Commands link for applying filters using commands. For now i’m using vintage filter command to check whether it is working or not
I’ve followed FFMPEG Project in Android link to apply the filters and save it to my storage path.
I’m using a file from my storage path to apply filter for the same and saving them inside the specified path. The problem is that the command is implementing(doubtful) but no file is getting saved with the filters, nor I get any exception or any error in my logcat. I"m very doubtful whether what is being left to get the desired result.
This is my code where I’m using the FFMPEG for applying filters and saving them in the specified path.
FilterAcitivity.java
public class FilterActivity extends AppCompatActivity {
private ArrayList<string> videoReceiveddata = null;
private EPlayerView ePlayerView;
private StringBuilder stringBuilder;
private DataSource.Factory dataSourceFactory;
private ExtractorsFactory extractorsFactory;
private Button play,stop,noneFilter,faded,noir,instant;
private FFmpeg fFmpeg;
private int choice = 0;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_filter);
Bundle videoExtras = getIntent().getExtras();
videoReceiveddata = videoExtras.getStringArrayList("sendData");
Log.e("RECEIVED_VIDEO====", videoReceiveddata.toString());
stringBuilder = new StringBuilder();
for(String path : videoReceiveddata){
stringBuilder.append(path);
}
//laoding the ffmpeg binary files
loadFFMEPGBinary();
BandwidthMeter bandwidthMeter = new DefaultBandwidthMeter();
TrackSelection.Factory videoTrackSelectionFactory =
new AdaptiveTrackSelection.Factory(bandwidthMeter);
TrackSelector trackSelector =
new DefaultTrackSelector(videoTrackSelectionFactory);
// Measures bandwidth during playback. Can be null if not required.
DefaultBandwidthMeter defaultBandwidthMeter = new DefaultBandwidthMeter();
// Produces DataSource instances through which media data is loaded.
dataSourceFactory = new DefaultDataSourceFactory(getApplicationContext(),
Util.getUserAgent(getApplicationContext(), "TestApp"), defaultBandwidthMeter);
// Produces Extractor instances for parsing the media data.
extractorsFactory = new DefaultExtractorsFactory();
// This is the MediaSource representing the media to be played.
MediaSource videoSource = new ExtractorMediaSource(Uri.parse(stringBuilder.toString()),
dataSourceFactory, extractorsFactory, null, null);
// 2. Create the player
final SimpleExoPlayer player =
ExoPlayerFactory.newSimpleInstance(getApplicationContext(), trackSelector);
player.prepare(videoSource);
ePlayerView = (EPlayerView) findViewById(R.id.ePlayer);
ePlayerView.setSimpleExoPlayer(player);
ePlayerView.onResume();
play = (Button) findViewById(R.id.playButton);
stop = (Button) findViewById(R.id.stopButton);
faded = (Button) findViewById(R.id.fadedFilter);
noneFilter = (Button) findViewById(R.id.noFilter);
noir = (Button) findViewById(R.id.noirFilter);
instant = (Button) findViewById(R.id.instantFilter);
play.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
MediaSource videoSource = new ExtractorMediaSource(Uri.parse(stringBuilder.toString()),
dataSourceFactory, extractorsFactory, null, null);
player.prepare(videoSource);
player.setPlayWhenReady(true);
}
});
stop.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
player.stop();
}
});
noneFilter.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
choice = 1;
ePlayerView.setGlFilter(new GlFilter());
}
});
faded.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
choice = 2;
ePlayerView.setGlFilter(new GlSepiaFilter());
Log.e("Filter Applied",ePlayerView.toString());
Log.e("Filter Applied====",stringBuilder.toString());
}
});
}
//loading binary of ffmpeg
private void loadFFMEPGBinary() {
try {
if (fFmpeg == null) {
Log.e("TEST=====", "ffmpeg : null");
fFmpeg = FFmpeg.getInstance(this);
}
fFmpeg.loadBinary(new LoadBinaryResponseHandler() {
@Override
public void onFailure() {
showUnsupportedExceptionDialog();
}
@Override
public void onSuccess() {
Log.d("TESTAPP====", "ffmpef : coorect loaded");
}
});
} catch (FFmpegNotSupportedException e) {
showUnsupportedExceptionDialog();
} catch (Exception e) {
Log.d("TESTAPP=====", "Exception not supported" + e);
}
}
private void showUnsupportedExceptionDialog() {
new AlertDialog.Builder(FilterActivity.this)
.setIcon(android.R.drawable.ic_dialog_alert)
.setTitle("Not Supported")
.setMessage("Device Not Supported")
.setCancelable(false)
.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
FilterActivity.this.finish();
}
})
.create()
.show();
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater menuInflater = getMenuInflater();
menuInflater.inflate(R.menu.filter_menu,menu);
return true;
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.save:
if(choice == 1){
addThatFilter();
}else if(choice == 2){
Toast.makeText(getApplicationContext(),"No filter",
Toast.LENGTH_SHORT).show();
}
default:
return super.onOptionsItemSelected(item);
}
}
private void addThatFilter() {
String savingPath = Environment.getExternalStorageDirectory().getAbsolutePath().toString()
+ "/FilterVideo.mp4";
String complexCommand = "ffmpeg -y -i"+ stringBuilder.toString() +"-strict experimental -vf " +
"curves=vintage -s 640x480 -r 30 -aspect 4:3 -ab 48000 -ac 2 -ar 22050 -b 2097k -vcodec " +
savingPath;
execFFMPEGBinary(complexCommand);
}
private void execFFMPEGBinary( final String complexCommand) {
try{
fFmpeg.execute(new String[]{complexCommand}, new ExecuteBinaryResponseHandler(){
@Override
public void onFailure(String message) {
Log.e("Failed with output", message);
}
@Override
public void onSuccess(String message) {
Toast.makeText(getApplicationContext(),"Success!",Toast.LENGTH_SHORT)
.show();
}
});
}catch (FFmpegCommandAlreadyRunningException e){
//do nothing
}
} }
</string> -
FFmpeg pipe related issues
7 décembre 2015, par Ranjit AneeshI am new to FFmpeg and have very little knowledge of different codecs.
I am using pipes to provide input and to send out output from FFmpeg
The command I use is essentially
ffmpeg -i pipe:0 -f flv pipe:1
I am using a Java program that basically provides an input stream as standard input (pipe:0), FFmpeg converts the video into the required format and sends out to standard output(pipe:1) from where I stream out to my remote location.
My java program revolves around this piece of code, providing input and sending output as an output stream.
Essentially my program does what it is supposed to, however I see that the final output video file is not of the complete duration. It is like 10 sec duration, and my sample video is 21 mins ! Also it is missing audio.
Do I need to provide more info to FFmpeg ?
EDIT : When I replace the pipe with an input file and an output file,the output is generated correctly without any issues, when I use pipes the size of the file is still larger compared to original. Just in case if it helps to diagnose.
FFmpeg version SVN-r23418, Copyright (c) 2000-2010 the FFmpeg developers
built on Jun 2 2010 04:12:01 with gcc 4.4.2
configuration : —target-os=mingw32 —enable-runtime-cpudetect —enable-avisynth —enable-gpl —enable-version3 —enable-bzlib —enable-libgsm —enable-libfaad —enable-pthreads —enable-libvorbis —enable-libtheora —enable-libspeex —enable-libmp3lame —enable-libopenjpeg —enable-libxvid —enable-libschroedinger —enable-libx264 —extra-libs=’-lx264 -lpthread’ —enable-libopencore_amrwb —enable-libopencore_amrnb —enable-librtmp —extra-libs=’-lrtmp -lssl -lcrypto -lws2_32 -lgdi32 -lwinmm -lcrypt32 -lz’ —arch=x86 —cross-prefix=i686-mingw32- —cc=’ccache i686-mingw32-gcc’ —enable-memalign-hack
libavutil 50.16. 0 / 50.16. 0
libavcodec 52.72. 1 / 52.72. 1
libavformat 52.67. 0 / 52.67. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.20. 0 / 1.20. 0
libswscale 0.11. 0 / 0.11. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’pipe:0’ :
Metadata :
major_brand : isom
minor_version : 1
compatible_brands : isom
title :
artist :
date :
album :
comment :
Feedback :
genre :
Duration : 00:21:46.63, start : 0.000000, bitrate : N/A
Stream #0.0(und) : Video : h264, yuv420p, 512x288 [PAR 1:1 DAR 16:9], 403 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
Stream #0.1(und) : Audio : aac, 44100 Hz, mono, s16, 47 kb/s
Output #0, flv, to ’pipe:1’ :
Metadata :
encoder : Lavf52.67.0
Stream #0.0(und) : Video : flv, yuv420p, 512x288 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 1k tbn, 25 tbc
Stream #0.1(und) : Audio : libmp3lame, 44100 Hz, mono, s16, 64 kb/s
Stream mapping :
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1