
Recherche avancée
Médias (29)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (106)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 ;
-
Use, discuss, criticize
13 avril 2011, parTalk 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.
Sur d’autres sites (12965)
-
correct way to download a mp4 [Audio only] file as a mp3 file via php
3 février 2018, par KapilI am asking this question because i found it impossible as far my knowledge stands. However i believe here on stackoverflow a lot of genius persons visits so maybe someone can give a good advice / trick.
My problem is, I am downloading a audio/mp4 file of youtube hosted on googlevideo.com’s server.
My PHP code for this purpose :
$mp3path is url of videoheader('Content-Description: File Transfer');
if(strpos($mp3path, "https://") === false) {
header('Content-length: ' . size($mp3path)); //size is custom function
}
header("Content-Type: audio/MP4A-LATM, audio/MP4A, audio/m4a, audio/mp4, audio/mp4a, audio/mp4-audio, audio/mpeg");
header('Content-Type: application/force-download');
header("Accept-Ranges: bytes");
header('Content-Transfer-Encoding: binary');
header('Content-disposition: attachment; filename="'.$title.'.mp3"');
header('Connection: Keep-Alive');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT');
header("Cache-Control: private", false);
header('Pragma: no-cache');
readfile($mp3path);
exit;I can download this audio file but few mp3 players are not able to play it when i did some research on by using mp3val [mp3val.sourceforge.net]. I found this file do not contain sample-rate, bit-rate or some other required codecs inside the file.
Error received from mp3val : Unknown file formatI know one possible way of doing this which is ffmpeg but i am looking for a less time consuming option of doing this because first ffmpeg download the whole file and then convert it to mp3 and save it on server. It takes a lot of time.
I am looking for a easiest solution in which, i dont want to save the whole file on my server. I want to call this file from remote server and want to add sample rate, bit-rate in the file and then just somehow with php i want to start download on browser.
All i mean to say i need a faster solution. I have seen 2 yt to mp3 converter, They are doing the same thing, giving instant download. i dont know how ?
Please if you think its a stupid question or not possible then dont report to stackoverflow. I am trying to figure it out that’s why i am asking this question here. I hope you’ll understand my curiosity.
Thanks,
-
React-native 0.60 - FFMPEG - Images to Video
28 septembre 2019, par iSaBoi want to generate a video with FFMPEG from an image sequence in React-native. After i generate the Video, the video will not displayed with react-native-video. If i export the video on my PC, the video will also not displayed.
I have tried the command, which i use in react-native, execute on my windows CMD. there it works. I get an video with the input images
My generate Code :
RNFFmpeg.enableLogCallback( this.logCallback );
RNFFmpeg.enableStatisticsCallback( this.statisticsCallback );
const path = RNFS.DocumentDirectoryPath + "/app/" + this.state.galleryName;
// Full-CMD: -framerate 2 -i /data/user/0/com.app/files/app/Testhh/images/image%6d.jpg -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2,format=yuv420p" /data/user/0/com.app/files/app/Testhh/videos/video0000.mp4
const ffmpegCommand =
// Images
'-framerate 2 -i ' + path + '/images/image%6d.jpg '
// Video Options
+ '-vf "pad=ceil(iw/2)*2:ceil(ih/2)*2,format=yuv420p" '
+ path + '/videos/video0000.mp4';
console.log( ffmpegCommand );
RNFFmpeg.execute( ffmpegCommand ).then((result) => {
this.setState({
inGenerateVideo: false
});
}).catch(( err ) => {
this.setState({
inGenerateVideo: false
});
// TODO Error
console.log( err );
});After that, i want to display the video with react-native-video
<video source="{{uri:"></video>//data/user/0/com.app/files/app/Test/videos/video0000.mp4' }}
ref={(ref) => {
this.player = ref
}}
autoplay={false}
paused={true}
onBuffer={this.onBuffer}
onError={this.videoError}
style={styles.backgroundVideo} />Error from react-native-image :
extra: -2147483648
what: 1The expected behavior is that I actually get a video, which was staged with FFMPEG, by means of . However, nothing is displayed. The return code of FFMPEG is 0.
The Full FFMPEG Command is :-framerate 2 -i /data/user/0/com.app/files/app/Testhh/images/image%6d.jpg -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2,format=yuv420p" /data/user/0/com.app/files/app/Testhh/videos/video0000.mp4
i Hope someone can help me or has an example, to generate images to an video in react-native.
Thank you
-
Merging mp4 and mp3 on Android using FFmpeg
4 janvier 2015, par user3568918i am developing a video capturing Android App.
My Goal is to merge the captured Video file with a given mp3 audio file. I am using FFmpeg to merge the files. The capturing is done with the Android.Media Framework.
If i now try to merge the files like descripted here :How to multiplex mp3 and mp4 files in Android
i get the error :
avcodec_open2() error -1: Could not open video codec.
Is there a way to convert the captured video file in a readable version for FFmpeg ?
Or is there any other way to solve this issue ?i Dont want to capture the video with FFmpeg, caus this will be to much complex and not clean (for my opinion)
Hope that any body can help :)
thanks in advance.I Capture like propsed in the android DOC :
http://developer.android.com/guide/topics/media/camera.html
and this is how i try to merge
FrameGrabber grabber1 = new FFmpegFrameGrabber(videoPath);
FrameGrabber grabber2 = new FFmpegFrameGrabber(audioPath);
grabber1.start();
grabber2.start();
FrameRecorder recorder = new FFmpegFrameRecorder(OutputPath,grabber1.getImageWidth(), grabber1.getImageHeight(), 2);
recorder.setFormat("mp4");
recorder.setVideoQuality(1);
recorder.setFrameRate(grabber1.getFrameRate());
recorder.setSampleRate(grabber2.getSampleRate());
recorder.start();
Frame frame1, frame2 = null;
long timestamp = -2;
int count = 0;
boolean isFirstTime = false;
boolean isFirstCheck = true;
while ((frame1 = grabber1.grabFrame())!=null) {
//frame1 = grabber1.grabFrame();
frame2 = grabber2.grabFrame();
recorder.record(frame1);
recorder.record(frame2);
}
recorder.stop();
grabber1.stop();
grabber2.stop();
}catch (org.bytedeco.javacv.FrameGrabber.Exception e) {
e.printStackTrace();
} catch (Exception e1) {
e1.printStackTrace();
}