-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-ID: <alpine.LSU.2.21.1712102154031.25806@Telcontar.valinor> On Sunday, 2017-12-10 at 16:10 +0200, Dave Plater wrote:
On 08/12/2017 14:06, Carlos E. R. wrote:
I can view those files fine if on the local filesystem. I can not view them while on the phone. MTP is the protocol used to access files on the phone via USB cable, but that should be transparent, the files are on a virtual local filesystem.
The closest thing to mtp that gstreamer supports is in plugins-bad libgstcurl.so and is called smtp, don't know if it's mail related or secure media transfer protocol. I suggested plugins-libav because it interfaces with ffmpeg and ffmpeg supports mtp but gst-inspect-1.0 --plugin libav|grep mtp brings up nothing. libxine has it's own mtp support. Try gst-inspect-1.0 --plugin curl for more details. Hope this helps you understand the problem.
But totem does not need to use mtp at all to access the video. Xine doesn't. Xine accesses a file that apparently is in the filesystem locally, although it is in fact a virtual filesystem. I can do, for instance: cer@Telcontar:~> cp "/run/user/1000/gvfs/mtp:host=%5Busb%3A007%2C016%5D/Almac. interno/WhatsApp/Media/WhatsApp Video/VID-20130816-WA0002.mp4" p.mp4 cer@Telcontar:~> l *mp4 - -rw------- 1 cer users 415411 Dec 10 21:59 p.mp4 cer@Telcontar:~> cer@Telcontar:~> rm p.mp4 cer@Telcontar:~> 'cp' knows nothing about "mtp". It simply works transparently. Totem is trying to be clever and bypass the gvfs layer, I think. Look: cer@Telcontar:~> ln -s "/run/user/1000/gvfs/mtp:host=%5Busb%3A007%2C016%5D/Almac. interno/WhatsApp/Media/WhatsApp Video/VID-20130816-WA0002.mp4" p.mp4 cer@Telcontar:~> totem p.mp4 and totem plays happily that file over mtp in the phone. It doesn't need to know mtp at all. - -- Cheers, Carlos E. R. (from openSUSE 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlotoZgACgkQtTMYHG2NR9Uq5gCfX44xv428SFKjv53ubfeeoqWQ JCAAn2GMzeN6iV/UZFBwzSePCkglXIPq =uF6R -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org