
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (24)
-
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...)
Sur d’autres sites (5915)
-
No such file or directory error in flutter_ffmpeg
8 septembre 2021, par Aryan ShandilyaI intend to use the flutter_ffmpeg package to convert audio to video with the image as a background, but I am encountering a very weird error. Despite the fact that the files exist in the location that I have provided to the flutter_ffmpeg package as input, I am getting a 'No such file or directory' error. I have already tested out everything I can thnk of but I just don't get it.


Future<string> converter(String audioPath, String imagePath) async {
String? videoPath;
Directory? dir = await getExternalStorageDirectory();
// videoPath = dir!.path;
final videoDirectory = '${dir!.path}/VDir';
if (await Directory(videoDirectory).exists() == false) {
 await Directory(videoDirectory).create();
}
// await Directory(videoDirectory).create();
videoPath = videoDirectory + '/${DateTime.now().millisecond}.mp4';
print(
 "-------------------------------------------------------------------------------------------------------------------------------------------------------------------");
print("\nAudioPath = " + audioPath);
print("\nImagePath = " + imagePath);
print("\nVideoPath = " + videoPath);
print("\nVideoDirectory = " + videoDirectory);
print(
 "\n-------------------------------------------------------------------------------------------------------------------------------------------------------------------");
_flutterFFmpeg
 .execute(
 '-loop 1 -framerate 2 -i \'$imagePath\' -i \'$audioPath\' -vf "scale=2*trunc(iw/2):2*trunc(ih/2),setsar=1" -c:v libx264 -preset medium -tune stillimage -crf 18 -c:a copy -shortest -pix_fmt yuv420p $videoPath')
 .catchError((onError) {
 print(onError);
 // ErrorHandler().errorDialog(context, )
});
return videoPath;}
</string>


videoPath = await FFmpegOperations().converter(widget.audioPath, coverImagePath);


Can someone tell me what is wrong with my code, I am using the min-gpl version(not lts) ffmpeg and am testing this on two android devices I am getting the same results.


Error :
/data/user/0/com.example.example/app_flutter/datte.png : No such file or directory
D/flutter-ffmpeg( 1139) : FFmpeg exited with rc : 1
.
Any form of help would be more than welcome, thank you.


-
Rails : Paperclip produces different results for similar videos
10 décembre 2016, par PolyovI am using the Paperclip Gem to handle video uploads on my Rails app. I’ve followed the instructions in a few other stackoverflow questions and external tutorials to get video uploads working. However, currently there is a strange glitch with the system that I don’t understand.
When uploading two different videos, the app will be able to show a thumbnail and no video for one upload, and no thumbnail but video for another one.
Both videos use the same codecs, are around the same length, but are a bit different in their dimensions & file size.
When I upload them,
test1
has a thumbnail, but my browser will not load the video file. It exists in my file system but Chrome will not play it.The opposite happens for
test2
. Its thumbnail in my file system is zero bytes, but the video loads fine in my browser.Here are the paperclip upload parameters for my object :
has_attached_file :video, :styles => {
:medium => { :format => 'mp4' },
:thumb => { :geometry => "500x500#", :format => 'jpg', :time => 10 }
}, :processors => [:transcoder]
validates_attachment_presence :video
validates_attachment :video, content_type: { content_type: ["video/mp4", "video/mov", "video/wav", "video/wmv"] }I’ve created a Github repo with an example app that reproduces the issue, at least on my system.
-
Libavcodec and QuickSync
15 février 2016, par FrancescoBLTI’m attempting to encode in h264 format using libavcodec with and without QuickSync hardware acceleration. If I don’t use the hw acceleration is quite simple :
ff_codec = avcodec_find_encoder(AV_CODEC_ID_H264) ;
ff_cdctx = avcodec_alloc_context3(ff_codec) ;
ff_cdctx->width = 1920;
ff_cdctx->height = 1080;
ff_cdctx->time_base.num = 1;
ff_cdctx->time_base.den = 25;
ff_cdctx->sample_aspect_ratio.num = 16;
ff_cdctx->sample_aspect_ratio.den = 9;
ff_cdctx->pix_fmt = AV_PIX_FMT_YUV420P;
av_dict_set(&param,"profile","main",0);
av_dict_set(&param,"preset","medium",0);
av_dict_set(&param,"tune","film",0)<0);
ff_cdctx->gop_size = 10;
ff_cdctx->max_b_frames = 1;
opres = avcodec_open2(ff_cdctx,ff_codec,&param);
ff_frame = av_frame_alloc();
ff_frame->format = ff_cdctx->pix_fmt;
ff_frame->width = ff_cdctx->width;
ff_frame->height = ff_cdctx->height;
opres = av_image_alloc(ff_frame->data, ff_frame->linesize,ff_cdctx->width,ff_cdctx->height,ff_cdctx->pix_fmt, 32);
ff_frame->linesize[0] = ff_cdctx->width;
ff_frame->linesize[1] = ff_frame->linesize[2] = ff_cdctx->width>>1;
ff_frame->sample_aspect_ratio.num = ff_cdctx->sample_aspect_ratio.num;
ff_frame->sample_aspect_ratio.den = ff_cdctx->sample_aspect_ratio.den;
av_init_packet(&pkt);
enc_err = avcodec_encode_video2(ff_cdctx,&pkt,ff_frame,&got_pkt); }And so on for all source frame. Problem arise when I attempt to use hardware
acceleration. In this case I use :ff_codec = avcodec_find_encoder_by_name("h264_qsv") ;
for gathering the codec. But when I attempt to open it, the result is "invalid parameter" :
opres = avcodec_open2(ff_cdctx,ff_codec,¶m) ;
if(opres<0)
if(av_strerror(opres,err_str,256)==0) OutputDebugStringA(err_str) ;
return -6 ;
Did anyone have attempted to use QuickSync from code ? In the examples there is only one file (qsvdec.c) and is for decoding, not for encoding.
regards