[opensuse] Nautilus/totem, viewing a video from phone
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm clearing out whatsap videos from my Android phone. Nautilus opens the folder on the phone using MTP. I can view those files with Xine, but not with Totem, which complains that "MTP protocol source is required to play the file, but is not installed". It proposes to "find in software", which fails because packagekit is not installed, I guess. It is anyway curious, because the video file can be transparently accessed in: /run/user/1000/gvfs/mtp:host=%5Busb%3A007%2C005%5D/Almac. interno/WhatsApp... For instance, I access it with "midnight commander". Or xine: xine /run/user/1000/gvfs/mtp:host=%5Busb%3A007%2C005%5D/Almac. interno/WhatsApp/Media/WhatsApp Video/VID-20171031-WA0028.mp4 and that runs transparently without the application knowing that it is accessed via MTP; it is just another file in the filesystem. But Totem (and some others) fail. I wonder what is missing, or whether it is a bug in Nautilus? - -- Cheers Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlonGIwACgkQtTMYHG2NR9WcwwCffUw5QP6qwI7p6jihYSm/WhdN rIkAoJHoHfi43bwcDUUDAvMvPXjRLZ1F =kFRT -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/12/2017 00:06, Carlos E. R. wrote:
I'm clearing out whatsap videos from my Android phone. Nautilus opens the folder on the phone using MTP. I can view those files with Xine, but not with Totem, which complains that "MTP protocol source is required to play the file, but is not installed". Totem uses gstreamer, gstreamer-plugins-libav takes care of video via ffmpeg, should fix the problem. Dave P
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday, 2017-12-08 at 11:31 +0200, Dave Plater wrote:
On 06/12/2017 00:06, Carlos E. R. wrote:
I'm clearing out whatsap videos from my Android phone. Nautilus opens the folder on the phone using MTP. I can view those files with Xine, but not with Totem, which complains that "MTP protocol source is required to play the file, but is not installed". Totem uses gstreamer, gstreamer-plugins-libav takes care of video via ffmpeg, should fix the problem.
No, that's not the problem at all. 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. - -- Cheers, Carlos E. R. (from openSUSE 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAloqgEIACgkQtTMYHG2NR9WddACfcCBUKQmCHAEWQi77muBQi66W 4p4An3m3UpsTDMl24zT7FG4+4VrxQuR2 =H6SL -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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. Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----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
participants (2)
-
Carlos E. R.
-
Dave Plater