Glam Prestige Journal

Bright entertainment trends with youth appeal.

Situation: unable to view .m4s files in Ubuntu 16.04
Motivation: I recorded videos by Chrome's addon, GetThemAll, and get a result of 10 .mp4 videos
Unsuccessful viewers/converters: vlc, , not .m4a files as described here

Files in using GetThemAll, ls -l directory and file *. You see no pieces of information about any init file

$ ls -la
total 25148
-rw-rw-r-- 1 masi masi 1108289 Jul 26 21:09 segment-10.m4s.m4s
-rw-rw-r-- 1 masi masi 288300 Jul 26 21:09 segment-1.m4s(1).m4s
-rw-rw-r-- 1 masi masi 837663 Jul 26 21:09 segment-1.m4s.m4s
-rw-rw-r-- 1 masi masi 619611 Jul 26 21:09 segment-3.m4s.m4s
-rw-rw-r-- 1 masi masi 1495295 Jul 26 21:09 segment-4.m4s.m4s
-rw-rw-r-- 1 masi masi 1522196 Jul 26 21:09 segment-5.m4s.m4s
-rw-rw-r-- 1 masi masi 2205837 Jul 26 21:09 segment-6.m4s.m4s
-rw-rw-r-- 1 masi masi 2108392 Jul 26 21:09 segment-7.m4s.m4s
-rw-rw-r-- 1 masi masi 1937186 Jul 26 21:09 segment-8.m4s.m4s
-rw-rw-r-- 1 masi masi 734191 Jul 26 21:09 segment-9.m4s.m4s
$ file *
segment-10.m4s.m4s: data
segment-1.m4s(1).m4s: data
segment-1.m4s.m4s: data
segment-3.m4s.m4s: data
segment-4.m4s.m4s: data
segment-5.m4s.m4s: data
segment-6.m4s.m4s: data
segment-7.m4s.m4s: data
segment-8.m4s.m4s: data
segment-9.m4s.m4s: data

I do unsuccessfully and try to open the .mp4 file in VLC without playing

# andrew.46
$ cat $(ls -x *.m4s) > testing.mp4
$ file testing.mp4
testing.mp4: data
  • Output of ls -x *.m4s

    segment-10.m4s.m4s segment-1.m4s(1).m4s segment-1.m4s.m4s
    segment-3.m4s.m4s segment-4.m4s.m4s segment-5.m4s.m4s
    segment-6.m4s.m4s segment-7.m4s.m4s segment-8.m4s.m4s
    segment-9.m4s.m4s

Proposals

  • > but gpac not in apt-get
  • cat init.mp4 file.m4s > file.mp4 as proposed here did not work. TODO how to get the initialisation segment?

System: Ubuntu 16.04 64 bit

7

2 Answers

There are many videos in the site. I think andrew.46's proposal get confused by the fact. I could not find any init file for Vimeo videos. Final solution.

  • Study the source code and see if you can see the video sources coming from some major video provider. My case: Vimeo.
  • Install the extension: Download Vimeo Videos, Premium
  • Go to the site and activate videos; just downlod.

Based mchid's comment answer, you can use gpac

masi@masi:~$ apt show gpac
Package: gpac
Version: 0.5.2-426-gc5ad4e4+dfsg5-3+b1
Priority: optional
Section: graphics
Source: gpac (0.5.2-426-gc5ad4e4+dfsg5-3)
Maintainer: Debian Multimedia Maintainers <>
Installed-Size: 829 kB
Depends: gpac-modules-base (= 0.5.2-426-gc5ad4e4+dfsg5-3+b1), libgpac4 (= 0.5.2-426-gc5ad4e4+dfsg5-3+b1), libavcodec57 (>= 7:3.2.4) | libavcodec-extra57 (>= 7:3.2.4), libavdevice57 (>= 7:3.2.4), libavformat57 (>= 7:3.2.4), libavresample3 (>= 7:3.2.4), libavutil55 (>= 7:3.2.4), libc6 (>= 2.14), libswscale4 (>= 7:3.2.4)
Homepage:
Download-Size: 274 kB
APT-Sources: stretch/main amd64 Packages
Description: GPAC Project on Advanced Content - utilities GPAC stands for GPAC Project on Advanced Content (a recursive acronym). It is an Open Source multimedia framework for research and academic purposes. The project covers different aspects of multimedia, with a focus on presentation technologies (graphics, animation and interactivity). . This package contains the following utilities: - MP4Client (content packaging) - DashCast - MP4Box - MP42TS

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy