Read DV encoded AVI file in Matlab 2015b 64 on Linux
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
although I know that handling of codecs can be quite messy under Linux, I now try to read an avi-file using VideoReader. The video codec is named "Generic DV" - which I know nothing about, unfortuntely. Is there a way to open this video in Matlab (Yes, I want to get down to individual pixel values) without having to convert it ?
I tried so far (1) to replace the libstdc++ in the matlab folder -> changed nothing (2) to install gstreamer-ffmpeg -> allowed me to at least open .mp4 files, but still no luck with dv-avi files
cheers Jannes
0 Commenti
Risposte (1)
Dinesh Iyer
il 28 Ott 2015
The libstdc++ workaround does not apply here. The issue you are facing is that you do not have the suitable codec to read the file. Couple of things to try are:
1. Try playing the file using Totem Player. This also uses Gstreamer. Please ensure that the Gstreamer version it is using is 0.10 as VideoReader supports only 0.10 and not 1.0 yet.
2. Try the following gst-launch command from the Linux terminal after copying your file myfile.avi to the location /tmp.
gst-launch-0.10 --version
gst-launch-0.10 playbin2 uri=file:///myfile.avi % If codecs present, should display video in a window
There is a library called libgstdv which you might need to install. Try to install this and then give it a shot.
Dinesh
2 Commenti
Dinesh Iyer
il 29 Ott 2015
Modificato: Dinesh Iyer
il 29 Ott 2015
(1) For Totem, go to Menu bar > About Totem
(2) As for the gst-launch command, copy the file to /tmp before trying it
(3) I think libgstdv is part of the Gstreamer good plugins. You can try and install this package gstreamer0.10-plugins-good from your Linux package manager.
Vedere anche
Categorie
Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!