PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Abspielen von avi-Filmen



NurAnwender
04.12.09, 18:13
Ich versuche gerade, avi-Dateien unter OpenSuse11.2 zum Laufen zu bringen. Hatte vorher selbst versucht, mich bezüglich der Nachinstallation von Multimedia-Codecs etwas zu belesen, und dachte, jetzt alles nötige aufgespielt zu haben. Für avi sollten
w32codec-all aus Packman zuständig sein, so hatte ich es verstanden. Zum Abspielen hatte ich Kaffeine verwendet, der zeigt aber nur ein schwarzes Fenster. Was könnte mir noch fehlen?

NurAnwender
04.12.09, 18:34
Bin gerade einen Schritt weitergekommen: Bei den ersten Abspielversuchen lag die avi noch auf einem Netzlaufwerk, wo ich sie von Windows aus hingetan hatte. Nachdem ich sie lokal kopiert hatte, lief sie einmal durch. Da es sich aber um eine sehr kurze Einzelsequenz handelt, die nur als Endlosschleife verwertbar ist, wollte ich den Wiederholen-Modus aktivieren. Dabei stürzt Kaffeine dann jedesmal ab. Das Absturzprotokoll sieht aus wie folgt:


Application: Kaffeine (kaffeine), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5691920 (LWP 5766))]

Thread 9 (Thread 0xb2b0cb70 (LWP 5767)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb5e6f0c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb600b2d4 in pthread_cond_timedwait () from /lib/libc.so.6
#3 0xb3c2719b in metronom_sync_loop () from /usr/lib/libxine.so.1
#4 0xb5e6a6e5 in start_thread () from /lib/libpthread.so.0
#5 0xb5e6a600 in ?? () from /lib/libpthread.so.0

Thread 8 (Thread 0xb2193b70 (LWP 5768)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb5e6f0c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb600b2d4 in pthread_cond_timedwait () from /lib/libc.so.6
#3 0xb3c42138 in _x_demux_control_headers_done () from /usr/lib/libxine.so.1
#4 0xb3c248ad in xine_open () from /usr/lib/libxine.so.1
#5 0xb3c83092 in Phonon::MediaSource::type() const () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#6 0xb3c85361 in Phonon::MediaSource::type() const () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#7 0xb62c88fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#8 0xb62d034e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#9 0xb722ace1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#10 0xb6c8232e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#11 0xb6c82fdc in QCoreApplicationPrivate::sendPostedEvents(QObject* , int, QThreadData*) () from /usr/lib/libQtCore.so.4
#12 0xb6c8319c in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#13 0xb6cae4dd in ?? () from /usr/lib/libQtCore.so.4
#14 0xb59cf4c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0xb59d2d98 in ?? () from /usr/lib/libglib-2.0.so.0
#16 0xb59d2ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#17 0xb6cae011 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#18 0xb6c8098d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#19 0xb6c80dd9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#20 0xb6b88317 in QThread::exec() () from /usr/lib/libQtCore.so.4
#21 0xb3c7d5b8 in Phonon::MediaSource::type() const () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#22 0xb6b8b623 in ?? () from /usr/lib/libQtCore.so.4
#23 0xb5e6a6e5 in start_thread () from /lib/libpthread.so.0
#24 0xb5e6a600 in ?? () from /lib/libpthread.so.0

Thread 7 (Thread 0xb1992b70 (LWP 5771)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb5ff2d5e in poll () from /lib/libc.so.6
#2 0xb2307349 in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#3 0xb5e6a6e5 in start_thread () from /lib/libpthread.so.0
#4 0xb5e6a600 in ?? () from /lib/libpthread.so.0

Thread 6 (Thread 0xb1191b70 (LWP 5772)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb5e6ed95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb600b27c in pthread_cond_wait () from /lib/libc.so.6
#3 0xb3c39300 in ao_loop () from /usr/lib/libxine.so.1
#4 0xb5e6a6e5 in start_thread () from /lib/libpthread.so.0
#5 0xb5e6a600 in ?? () from /lib/libpthread.so.0

Thread 5 (Thread 0xb0560b70 (LWP 5773)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb5e6f0c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb600b2d4 in pthread_cond_timedwait () from /lib/libc.so.6
#3 0xb3c3327b in interruptable_sleep () from /usr/lib/libxine.so.1
#4 0xb3c35bee in video_out_loop () from /usr/lib/libxine.so.1
#5 0xb5e6a6e5 in start_thread () from /lib/libpthread.so.0
#6 0xb5e6a600 in ?? () from /lib/libpthread.so.0

Thread 4 (Thread 0xaf546b70 (LWP 5775)):
[KCrash Handler]
#6 0xb5f9ac55 in ?? () from /lib/libc.so.6
#7 0xb5f9c7bf in calloc () from /lib/libc.so.6
#8 0xb3a86d31 in ff_video_open_plugin () from /usr/lib/xine/plugins/1.27/xineplug_decode_ff.so
#9 0xb3c2e1d4 in _x_get_video_decoder () from /usr/lib/libxine.so.1
#10 0xb3c3161b in video_decoder_loop () from /usr/lib/libxine.so.1
#11 0xb5e6a6e5 in start_thread () from /lib/libpthread.so.0
#12 0xb5e6a600 in ?? () from /lib/libpthread.so.0

Thread 3 (Thread 0xaeb78b70 (LWP 5776)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb5e6ed95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb600b27c in pthread_cond_wait () from /lib/libc.so.6
#3 0xb3c2ad38 in fifo_buffer_get () from /usr/lib/libxine.so.1
#4 0xb3c32461 in audio_decoder_loop () from /usr/lib/libxine.so.1
#5 0xb5e6a6e5 in start_thread () from /lib/libpthread.so.0
#6 0xb5e6a600 in ?? () from /lib/libpthread.so.0

Thread 2 (Thread 0xae377b70 (LWP 5777)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb5e6ed95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb600b27c in pthread_cond_wait () from /lib/libc.so.6
#3 0xb3c3c594 in xine_event_wait () from /usr/lib/libxine.so.1
#4 0xb3c3c615 in listener_loop () from /usr/lib/libxine.so.1
#5 0xb5e6a6e5 in start_thread () from /lib/libpthread.so.0
#6 0xb5e6a600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb5691920 (LWP 5766)):
#0 0xb600b6f8 in ?? () from /lib/libc.so.6
#1 0xb5ff2d47 in poll () from /lib/libc.so.6
#2 0xb56fc150 in ?? () from /usr/lib/libxcb.so.1
#3 0xb56fde64 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#4 0xb5bd4f3b in _XReply () from /usr/lib/libX11.so.6
#5 0xb5bc274d in XQueryPointer () from /usr/lib/libX11.so.6
#6 0xb634bf2b in QCursor::pos() () from /usr/lib/libQtGui.so.4
#7 0xb62e32da in QMouseEvent::QMouseEvent(QEvent::Type, QPoint const&, Qt::MouseButton, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>) () from /usr/lib/libQtGui.so.4
#8 0xb74b0fa4 in ?? () from /usr/lib/libphonon.so.4
#9 0xb74b13d3 in Phonon::SeekSlider::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libphonon.so.4
#10 0xb6c98864 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#11 0xb6c99585 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#12 0xb7497db5 in Phonon::MediaObject::currentSourceChanged(Phonon:: MediaSource const&) () from /usr/lib/libphonon.so.4
#13 0xb749824a in ?? () from /usr/lib/libphonon.so.4
#14 0xb749a05b in Phonon::MediaObject::qt_metacall(QMetaObject::Call , int, void**) () from /usr/lib/libphonon.so.4
#15 0xb6c98864 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#16 0xb6c99585 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#17 0xb3c8db65 in Phonon::MediaSource::type() const () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#18 0xb3c8f874 in Phonon::MediaSource::type() const () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#19 0xb3c8fe9f in Phonon::MediaSource::type() const () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#20 0xb7499a7b in Phonon::MediaObject::setCurrentSource(Phonon::Medi aSource const&) () from /usr/lib/libphonon.so.4
#21 0x080c5a0f in _start ()


Kann sich da jemand einen Reim drauf machen?

Newbie314
04.12.09, 19:34
Erstmal die ganzen xine Pakete von OpenSuse deinstallieren und durch diejenigen von Packman ersetzen. Ist nervig, hat aber lizenzrechtliche Gründe.

libffmpeg muss auch installiert sein, dann nochmal probieren.

NurAnwender
07.12.09, 10:27
Habe jetzt alles, was xine enthielt und installiert war, zu Packman gewechselt (bis auf xinetd, das es unter Packman nicht gab).
Der Absturz kommt weiter unverändert immer, wenn man in Kaffeine die einmal aufgerufene avi-Datei ein zweites Mal abspielen will.
Ich habe alle installierten xine-Pakete mal aufgelistet.


S | Name | Zusammenfassung | Typ
--+---------------------+-----------------------------------------------+------
i | libxine1 | Video Player with Plug-Ins | Paket
i | libxine1-codecs | Xine plugins for watching DVDs, DivX and more | Paket
i | libxine1-gnome-vfs | Gnome-vfs plugin for xine | Paket
i | libxine1-pulse | Pulseaudio plugin for xine | Paket
i | phonon-backend-xine | Phonon Multimedia Platform Abstraction | Paket
i | xinetd | An 'inetd' with Expanded Functionality | Paket

Newbie314
07.12.09, 17:59
Sieht bei mir genau so aus, bis auf die xine-ui.. welche Version hast du davon ? Da steht bei mir auch die Packman Version. Außerdem sehe ich gerade dass es da neue Versionen gibt: 1.1.17.. hast du die Neuesten Versionen ? (Ich habe noch die 1.1.16.3-3 werde aber aktualisieren...)

oziris
08.12.09, 02:11
AVI ist, soviel ich weiß, nur ein sog. Container-Format; da kann also alles Mögliche als Codec drin stecken.

Ich empfehle, erstmal das "file" Kommandozeilen-Programm zu benutzen, um zu sehen, welchen Codec man wirklich braucht. Beispiel:
~ $ file foo.avi
foo.avi: RIFF (little-endian) data, AVI, 480 x 384, 25.00 fps, video: DivX 4, audio: MPEG-1 Layer 3 (stereo, 32000 Hz)Wenn das klappt, dann weiß man doch gleich woran man ist.

NurAnwender
08.12.09, 08:51
Durch den Paketwechsel hatte ich schon die 1.1.17-Versionen drauf. Xine-ui ist allerdings nicht installiert, brauche ich dieses Paket? Ich dachte, das ist nur eine weitere Player-Oberfläche.

Der empfohlene file-Aufruf führt übrigens zu folgender Ausgabe:

RIFF (little-endian) data, AVI, 839 x 946, 20.00 fps, video: uncompressed Cinepak

Wusste ich gar nicht, dass avi nur Container sind. Mit dem obigen Format kann ich allerdings überhaupt nichts anfangen.

Allerdings muß prinzipiell ja ein passender Codec vorhanden sein, immerhin wird die Datei bei Aufruf ja jeweils einmalig abgespielt, der Absturz tritt erst auf, wenn man dann nochmals auf Play klickt.

oziris
08.12.09, 14:00
Hast Du es schonmal mit folgendem probiert:
mplayer -loop 0 -fixed-vo datei.avi"-fixed-vo" sorgt dafür, dass das Ausgabefenster nicht neu initialisiert wird. Für Vollbild könnte man noch "-fs" dazu nehmen.

Newbie314
08.12.09, 18:31
Für genauere Informationen zu Medien verwende ich "mediainfo" (musst du evtl. erst nachinstallieren). Zu Cinepak-Filmchen kann ich nichts weiter sagen...

asterixer
10.12.09, 11:24
Hast Du es schonmal mit folgendem probiert:
mplayer -loop 0 -fixed-vo datei.avi"-fixed-vo" sorgt dafür, dass das Ausgabefenster nicht neu initialisiert wird. Für Vollbild könnte man noch "-fs" dazu nehmen.

Wie Oziris schon schreibt, nimm fuer sowas besser den mplayer. Habe da sehr gute Erfarungen gemacht, auch was Dauerbetrieb angeht.

ast

NurAnwender
10.12.09, 11:59
Hallo Oziris, habe mplayer installiert, und mit Deinen Einstellungen hat das Abspielen sofort funktioniert.
Frustrierend ist nur, dass es auf die Art und Weise, wie ich es als Laie versucht hätte, nämlich den mplayer zu starten und dann die Datei zu öffnen, leider nicht klappt, da kommt nur die Fehlermeldung:

Fatal error: Error opening/initializing the selected video-out (-vo) device

Linux macht es einem offenbar nicht leicht, es zu mögen...

gropiuskalle
10.12.09, 12:06
Woher ist dieser MPlayer denn? Achte darauf, dass er von Packman kommt. Zudem empfehle ich Dir als Frontend den auf MPlayer aufsetzenden SMPlayer (ebenfalls via Packman erhältlich), die Oberfläche des MPlayers ist ziemlich unbequem.

NurAnwender
10.12.09, 12:36
Der MPlayer ist von Packman. SMPlayer habe ich nachinstalliert, die Oberfläche ist tatsächlich angenehmer. Nur meine verflixte avi wird wieder nicht abgespielt.

oziris
10.12.09, 18:35
Linux macht es einem offenbar nicht leicht, es zu mögen...Ja stimmt, Linux mag nur ganz bestimmte Leute. Vollidioten grenzt es gnadenlos aus.

Newbie314
10.12.09, 18:45
Linux macht es einem offenbar nicht leicht, es zu mögen...

Am besten du verlangst dein Geld zurück und kaufst dir nen Mac ... :D

oziris
10.12.09, 19:42
Frustrierend ist nur, dass es auf die Art und Weise, wie ich es als Laie versucht hätte, nämlich den mplayer zu starten und dann die Datei zu öffnen, leider nicht klappt, [...]Dein Problem ist eigentlich, dass Du komplizierte Sachen mit buntischen Frontends machen willst.
Aufgaben:
"Den genauen Codec einer Video-Datei herausfinden."
"Ein seltsames Video in Schleife abspielen, wobei es Probleme gibt oder stört, wenn der Output neu initialisiert wird."
Das sind eigentlich ziemlich komplizierte Aufgaben, wegen der komplexität von Video-Dateien und der Funktionsweise von digitaler Video-Wiedergabe.

Weiterhin hast Du nicht die Handbücher gelesen und kannst nicht einschätzen, welches Programm am besten dafür geeignet ist, weil dazu ist eine gewisse Erfahrung nötig und die kann man nicht von anderen bekommen, weil Noobs einem die ganze Zeit befehlend entgegenschreien "Nimm Programm XY!" und außerdem nur Bullshit vorinstalliert ist, damit alles hübsch vertraut und bunt aussieht.

Ich habe ein Frontend erst gar nicht gestartet. Da bin ich gar nicht drauf gekommen. Ich habe gleich mal ein Terminal aufgemacht und "man mplayer" eingegeben und bin mit Bild-Ab zu der Stelle gescrollt, an der ich mich vom vorherigen lesen der man-Page noch erinnerte, dass dort sowas stand ("PLAYER OPTIONS") und da standen beide Parameter und gut is.

Bei dem Problem mit dem Codec musste ich auch sofort an "file" denken, weil ich weiß, dass Dateinamenserweiterungen bestenfalls ein Tipp für den Benutzer sind und der wahre Weg die Art einer Datei zu erkennen nur durch Analyse ihres Inhalts erfolgen kann. Das "file" Utility ist genau dafür vorgesehen, irrt sich nur selten und wenn es nichts genaues ausgibt, dann hat man es mit wahrhaft exotischen Daten zu tun und sollte besser den Autor der Daten kontaktieren.
Siehe auch "man file".