1106 shaares
20 results
tagged
video
Couplé à mpv, c'est parfait!
Pleins de vidéos!
Dans le genre, expliquer l'open source aux enfants et aux adultes fermés^^
Merci à eux
magnet:?xt=urn:btih:7c8606eafaababfe5a3cf7ce82daeba65ede088d&dn=NoEsUnaCrisis+-+Documentary&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.istole.it%3A6969&tr=udp%3A%2F%2Ftracker.ccc.de%3A80&tr=udp%3A%2F%2Fopen.demonii.com%3A1337
torrent
http://torrents.thepiratebay.sx/9265631/NoEsUnaCrisis_-_Documentary.9265631.TPB.torrent
Convertion du WebDocumentaire en mkv by myself
Creative Commons BY-SA
torrent
http://torrents.thepiratebay.sx/9265631/NoEsUnaCrisis_-_Documentary.9265631.TPB.torrent
Convertion du WebDocumentaire en mkv by myself
Creative Commons BY-SA
=» Toolbox video
J'avais oublié. A tester, voir même, a déployer.
le detail d'une fiche de paye française en humour
EDIT: mediainfo me semble plus explicite (yaourt -S mediainfo dans community)
Script perl pour afficher des infos sur les vidéos.
#!/usr/bin/perl -w
use strict;
use warnings;
use IPC::Open3;
# example
my $filename = $ARGV[0];
my %videoInfo = videoInfo($filename);
print "duration: " . $videoInfo{'duration'} . "\n";
print "durationsecs: " . $videoInfo{'durationsecs'} . "\n";
print "bitrate: " . $videoInfo{'bitrate'} . "\n";
print "vcodec: " . $videoInfo{'vcodec'} . "\n";
print "vformat: " . $videoInfo{'vformat'} . "\n";
print "acodec: " . $videoInfo{'acodec'} . "\n";
print "asamplerate: " . $videoInfo{'asamplerate'} . "\n";
print "achannels: " . $videoInfo{'achannels'} . "\n";
#
# returns media information in a hash
sub videoInfo {
# ffmpeg command
my $ffmpeg = '/usr/bin/ffmpeg';
my %finfo = (
'duration' => "00:00:00.00",
'durationsecs' => "0",
'bitrate' => "0",
'vcodec' => "",
'vformat' => "",
'acodec' => "",
'asamplerate' => "0",
'achannels' => "0",
);
my $file = shift;
# escaping characters
$file =~ s/(\W)/\\$1/g;
open3( "</dev/null", ">/dev/null", \*ERPH, "$ffmpeg -i $file" ) or die "can't run $ffmpeg\n";
my @res = <ERPH>;
# parse ffmpeg output
foreach (@res) {
print;
# duration
if (m!Duration: ([0-9][0-9]:[0-9][0-9]:[0-9][0-9].[0-9][0-9])!) {
$finfo{'duration'} = $1;
}
# bitrate
if (m!bitrate: (\d*) kb/s!) {
$finfo{'bitrate'} = $1;
}
# vcodec and vformat
if (/Video: (\w*), (\w*),/) {
$finfo{'vcodec'} = $1;
$finfo{'vformat'} = $2;
}
# Stream #0.1(und): Audio: aac, 48000 Hz, 1 channels, s16, 64 kb/s
# acodec, samplerate, stereo and audiorate
if (m!Audio: (\w*), (\d*) Hz, (\d*)!) {
$finfo{'acodec'} = $1;
$finfo{'asamplerate'} = $2;
$finfo{'achannels'} = $3;
}
}
my $tenths = substr( $finfo{'duration'}, 9, 2 );
my $seconds = substr( $finfo{'duration'}, 6, 2 );
my $minutes = substr( $finfo{'duration'}, 3, 2 );
my $hours = substr( $finfo{'duration'}, 0, 2 );
$finfo{'durationsecs'} = ( $tenths * .01 ) + $seconds + ( $minutes * 60 ) + ( $hours * 360 );
return %finfo;
}
Script perl pour afficher des infos sur les vidéos.
#!/usr/bin/perl -w
use strict;
use warnings;
use IPC::Open3;
# example
my $filename = $ARGV[0];
my %videoInfo = videoInfo($filename);
print "duration: " . $videoInfo{'duration'} . "\n";
print "durationsecs: " . $videoInfo{'durationsecs'} . "\n";
print "bitrate: " . $videoInfo{'bitrate'} . "\n";
print "vcodec: " . $videoInfo{'vcodec'} . "\n";
print "vformat: " . $videoInfo{'vformat'} . "\n";
print "acodec: " . $videoInfo{'acodec'} . "\n";
print "asamplerate: " . $videoInfo{'asamplerate'} . "\n";
print "achannels: " . $videoInfo{'achannels'} . "\n";
#
# returns media information in a hash
sub videoInfo {
# ffmpeg command
my $ffmpeg = '/usr/bin/ffmpeg';
my %finfo = (
'duration' => "00:00:00.00",
'durationsecs' => "0",
'bitrate' => "0",
'vcodec' => "",
'vformat' => "",
'acodec' => "",
'asamplerate' => "0",
'achannels' => "0",
);
my $file = shift;
# escaping characters
$file =~ s/(\W)/\\$1/g;
open3( "</dev/null", ">/dev/null", \*ERPH, "$ffmpeg -i $file" ) or die "can't run $ffmpeg\n";
my @res = <ERPH>;
# parse ffmpeg output
foreach (@res) {
print;
# duration
if (m!Duration: ([0-9][0-9]:[0-9][0-9]:[0-9][0-9].[0-9][0-9])!) {
$finfo{'duration'} = $1;
}
# bitrate
if (m!bitrate: (\d*) kb/s!) {
$finfo{'bitrate'} = $1;
}
# vcodec and vformat
if (/Video: (\w*), (\w*),/) {
$finfo{'vcodec'} = $1;
$finfo{'vformat'} = $2;
}
# Stream #0.1(und): Audio: aac, 48000 Hz, 1 channels, s16, 64 kb/s
# acodec, samplerate, stereo and audiorate
if (m!Audio: (\w*), (\d*) Hz, (\d*)!) {
$finfo{'acodec'} = $1;
$finfo{'asamplerate'} = $2;
$finfo{'achannels'} = $3;
}
}
my $tenths = substr( $finfo{'duration'}, 9, 2 );
my $seconds = substr( $finfo{'duration'}, 6, 2 );
my $minutes = substr( $finfo{'duration'}, 3, 2 );
my $hours = substr( $finfo{'duration'}, 0, 2 );
$finfo{'durationsecs'} = ( $tenths * .01 ) + $seconds + ( $minutes * 60 ) + ( $hours * 360 );
return %finfo;
}
O_O
OMG!
OMG!
Je cherche un moyen de transformer ce flash interactif en simple vidéo...
=» Solution gtk-recordmydesktop avec pulse en paramètre audio
=» Solution gtk-recordmydesktop avec pulse en paramètre audio
Oh Yeah!
Je suis en train de tester ça, ça à l'air d'être le seul moyen pour moi de passer un mkv en DVD. devede, bombono, mandvd et brasero ayant échoué.
Update : Nickel, je recommande!
Update : Nickel, je recommande!
Logiciel de montage video opensource pour débutant
Effet video testé : titrage
Effet video testé : titrage
Logiciel opensource de montage video pro
P*tain, encore un logiciel de montage opensource multiplateforme dont j'aurais aimé connaître l'existence quelques semaines plus tôt...
j aurais aimé connaître ce logiciel la semaine dernière...
Test : idéal pour mixer plusieurs piste audio/video
Test : idéal pour mixer plusieurs piste audio/video
cat file1.avi file2.avi file3.avi > video_draft.avi
mencoder video_draft.avi -o video_final.avi -forceidx -ovc copy -oac copy
a tester - EDIT: marche pas avec les mp4
EDIT2 : tout simplement avec ffmeg
mkfifo temp0 temp1 && ffmpeg -i video1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts -y temp0 2> /dev/null && ffmpeg -i video2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts -y temp1 2> /dev/null && ffmpeg -f mpegts -i "concat:temp0|temp1" -c copy -absf aac_adtstoasc output.mp4
mencoder video_draft.avi -o video_final.avi -forceidx -ovc copy -oac copy
a tester - EDIT: marche pas avec les mp4
EDIT2 : tout simplement avec ffmeg
mkfifo temp0 temp1 && ffmpeg -i video1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts -y temp0 2> /dev/null && ffmpeg -i video2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts -y temp1 2> /dev/null && ffmpeg -f mpegts -i "concat:temp0|temp1" -c copy -absf aac_adtstoasc output.mp4


