Video encoder sous linux non visible sous XP

Fermé
lokito - 20 mai 2008 à 13:33
 lokito - 20 mai 2008 à 16:12
Bonjour,
Voila, pour mon travail j'ai besoin d'encoder une vidéo

Je travaille ubuntu (developpement en C) et j'utilise mencoder pour faire une video à partir de plusieurs fichiers image.
j'utilise cette ligne de commange :

mencoder mf://*.jpg -mf w=800:h=600:fps=10:type=jpg -ovc copy -oac copy -o sortie.avi

j'arrive bien à lire le fichier vidéo sous ubuntu (avec VLC)

mais sous windows, j'y arrive pas à le lire , avec vlc, wmp , j'ai installé tout sorte de codec, rien y fait.

Est ce que quelqu'un aurait une idée du pourquoi du comment que ca marche pas? et peut être une solution
A voir également:

3 réponses

je rectifie,

j'arrive à le lire avec totem mais pas avec vlc sous ubuntu
0
Grunt Messages postés 2773 Date d'inscription jeudi 17 janvier 2008 Statut Contributeur Dernière intervention 3 avril 2009 301
20 mai 2008 à 15:53
Donc c'est "non visible avec VLC" et pas "non visible avec XP" ^^

"mencoder mf://*.jpg -mf w=800:h=600:fps=10:type=jpg -ovc copy -oac copy -o sortie.avi"
Il y a quelque chose que je ne comprends pas: quel est ton codec vidéo? Remplace "copy" par des noms de codecs, déjà.
Et en fait ton "-oac" ne me semble pas très utile, vu que tu n'as pas de son en entrée.
0
Alors je veux encoder en mpeg4 avec cette ligne de commande
mencoder mf://*.jpg -mf w=800:h=600:fps=10:type=jpg -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -o output.avi

j'arrive alors a ce message d'erreur

MEncoder 2:1.0~rc1-0ubuntu9.3 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz (Family: 6, Model: 15, Stepping: 11)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 16 data: 0x0 - 0x0
MF file format detected.
[mf] search expr: *.jpg
[mf] number of files: 100 (400)
VIDEO: [IJPG] 800x600 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16 fourcc:0x47504A49 size:800x600 fps:25.00 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
[mjpeg @ 0x887f718]mjpeg: unsupported coding type (c2)
VDec: vo config request - 800 x 600 (preferred colorspace: Unknown)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.

Exiting...





alors que quand je fait avec

mencoder mf://*.jpg -mf w=800:h=600:fps=10:type=jpg -ovc copy -oac copy -o sortie.avi

j'option bien une video que je peux lire avec totem, mais pas avec VLC

merci de ta réponse
0