필터 지우기
필터 지우기

Read DV encoded AVI file in Matlab 2015b 64 on Linux

조회 수: 1 (최근 30일)
Jannes Gladrow
Jannes Gladrow 2015년 10월 28일
편집: Dinesh Iyer 2015년 10월 29일
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

답변 (1개)

Dinesh Iyer
Dinesh Iyer 2015년 10월 28일
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
Jannes Gladrow
Jannes Gladrow 2015년 10월 29일
Thank you for the answer!
(1) Totem does play the movie - but I don't know at the moment which gstreamer version it is using. (How do I find out? Apparently, both versions are installed.)
(2) The output for the gst-launch version command is gst-launch-0.10 version 0.10.36 GStreamer 0.10.36
(3) the second command fails. Is the path to the file correct? It says it doesn't find the file in /tmp.
(4) Where do I get libgstdv from? :)
Dinesh Iyer
Dinesh Iyer 2015년 10월 29일
편집: Dinesh Iyer 2015년 10월 29일
(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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by