PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : jpg to avi mit mencoder



24dan
13.06.06, 16:06
Hallo ich habe eine menge von *.jpg files die ich gerne zu einem *.avi -file zusammen schweissen möchte.
mit:


mencoder mf://*.jpg -mf w=800:h=600:fps=25:type=jpg -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o output.avi
MEncoder 1.0pre7-3.4.6 (C) 2000-2005 MPlayer Team
CPU: Intel (Family: 6, Stepping: 8)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

File not found: 'frameno.avi'
Failed to open frameno.avi
success: format: 16 data: 0x0 - 0x0
[demuxer] mf support.
[mf] search expr: *.jpg
[mf] number of files: 617 (2468)
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 (-1=autodetect) osd: 1
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
================================================== ========================
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
VDec: vo config request - 1024 x 768 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 3)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: libavcodec (1024x768 fourcc=34504d46 [FMP4])
High quality encoding selected (non real time)!
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Pos: 24.7s 617f ( 0%) 16fps Trem: 0min 0mb A-V:0.000 [3440:0]
Flushing video frames

Writing AVI index...
Fixing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

Video stream: 3440.262 kbit/s (430032 bps) size: 10613210 bytes 24.680 secs 617 frames





komme ich zumindesten zum avi file doch beim Abspielen mit mplayer gibt es Probleme:


mplayer output.avi
MPlayer 1.0pre7-3.4.6 (C) 2000-2005 MPlayer Team
CPU: Intel (Family: 6, Stepping: 8)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Playing output.avi.
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
AVI: No audio stream found -> no sound.
VIDEO: [FMP4] 1024x768 24bpp 25.000 fps 3440.3 kbps (420.0 kbyte/s)
Clip info:
Software: MEncoder 1.0pre7-3.4.6
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
================================================== ========================
Audio: no sound
Starting playback...
VDec: vo config request - 1024 x 768 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 1024x768 => 1024x768 Planar YV12 [fs]
X11 error: BadAlloc (insufficient resources for operation)


MPlayer interrupted by signal 6 in module: vo_check_events
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.


Kann jemand helfen?:eek:

Hitch
15.06.06, 21:28
hallo

schonmal mit vlc oder xine probiert?
Was mir aber aufällt ist, du verwendest keine Standardauflösung.
Ersetze mal testweise die entsprechende Stelle mal so:
... -mf w=720:h=576: ...
und die option -oac copy ist auch nutzlos.
Bei mir funktionierts nämlich so.

marcus

24dan
16.06.06, 10:29
Danke aber das hat auch nicht geklappt...
beim Oeffnen bekomme ich kurz einen blauen screen, thats all.

24dan
16.06.06, 10:33
wenn ich jetzt vlc nutzen moechte:
Was muss ich denn da mit Apt alles installieren um jpg->avi zu realisieren?

derguteweka
16.06.06, 10:34
Moin,

Wuerd' mal sagen, dass irgendwas nicht mit deinem mencoder oder mplayer stimmt. Hab's hier grad mal mit deinen mencoder- und MPlayeraufrufen ausprobiert - hat ganz normal geklappt.

Gruss
WK

Hitch
16.06.06, 13:45
apt-get install vlc:D
Und schon isser da. Ist übrigends ein Player, nix zum umwandeln.

Falls du es mit dem mencoder nicht hinbekommst, kannst du auch transcode nutzen.
Anleitung: http://www.transcoding.org/cgi-bin/transcode?Making_Animations
oder du benutzt avidemux, das auf transcode aufbaut.

marcus