Questions tagged [mp4]
Questions relating to the mp4 multimedia file format
161
questions
0
votes
0
answers
43
views
How can I choose which audio and subtitle tracks to keep when converting from MKV to MP4 with FFMPEG?
I have an .mkv file where there's 2 Audio tracks and 2 Subtitle tracks (SRT format).
I want to convert that .mkv to mp4 and have it have Audio track #2 and Sub track #2 as the ones to play when I ...
2
votes
1
answer
134
views
What software to cast a .mp4 with subtitles?
I have a .mp4 and a .srt for English subtitles. I would like to play my video and cast it to Chromecast. What software should I use?
On Google Chrome, I am able to Chromecast it but the subtitles are ...
2
votes
1
answer
329
views
Converting multiple WebMs to MP4
So, I've been researching how to convert all WebM videos to MP4 in a directory.
I've looked for about half an hour for results, but unfortunately, Google isn't being my
best friend. I found a simple ...
0
votes
1
answer
493
views
`ffmpeg` doesn't recognize input from pipe for merging mp4 via concat demuxer
I want to merge mp4 files via the concat demuxer and cannot get it to work with a script.
I am using the script from another AskUbuntu answer, called concatmp4 here:
#!/usr/bin/env bash
if [ $# -lt 1 ...
2
votes
0
answers
273
views
mpv error with mp4 files in Wayland: "VA error: wayland: Wayland roundtrip error: Protocol error (errno 71)" [closed]
Ever since the 21.04 switch to Wayland, mpv has been saying:
[vo/gpu/wayland] GNOME's wayland compositor is known to have many serious issues with mpv. Switch to GNOME's xorg session for the best ...
0
votes
1
answer
354
views
Videos are not working in Ubuntu 20.04.2.0
Ever since I upgraded my Ubuntu to 20.04.2.0, I cannot open any videos or Mp4 files. I looked up similar complains here and found some answers about installing some packages but did not work, are ...
0
votes
1
answer
2k
views
Why does the VLC player has lag after pause?
why when I pause the vlc player and then start it after a few seconds, part of the movie doesn't play and jumps forward, while on Windows This problem did not occur.
My system specifications:
CPU: ...
0
votes
1
answer
54
views
what is the command to open encryped file of image, mp3,mp4 in terminal?
i tried using super user command in front of many commands like
feh ,eog , VLC ,display
etc but nothing is shown . please help .!
0
votes
2
answers
276
views
VLC can't play MP4 files to Living Room TV through Chromecast
I'm using Ubuntu 20.04 and VLC 3.0.9.2. I have a Chromecast plugged in one of my TV's HDMI ports. Using VLC's Renderer function, I can play MKV or AVI files on my TV (identified as "Living Room ...
1
vote
2
answers
5k
views
How to convert MKV to MP4 using ffmpeg keeping all video, audio tracks and subtitles?
I have been trying to convert mkv to mp4 using
ffmpeg -i input.mkv -vcodec copy -acodec copy output.mp4
The input.mkv has two different audio track and one subtitle .
But the problem I am getting is ...
0
votes
1
answer
282
views
Move all mp4 from folders into another folder
Currently I have a folder with alot of mp4 files located like this:
Folder1/titleplaylist/mp4files
Folder1/titleplaylist2/mp4files
Folder1/titleplaylist3/mp4files
Currently I'm using this command:
...
2
votes
0
answers
486
views
How to play brand mp42 video?
Outout of file:
VID_20190129_195553.mp4: ISO Media, MP4 v2 [ISO 14496-14]
Output of ffprobe:
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5589e5bb7e40] moov atom not found
VID_20190129_195553.mp4: Invalid data found ...
-3
votes
1
answer
336
views
Cannot open Kazam file
My PC cannot display the video, as an error informs that there isn't any app for doing so. The error message is this:
So far it makes sense, because the problem appears when pressing on the button ...
0
votes
2
answers
8k
views
MP4 and other format Video Issues Ubuntu 20.04
I have an issue which has recently presented itself which didn't happen before and I'd really appreciate some help. Unfortunately I cannot trace it back to a specific change I made and my extensive ...
2
votes
2
answers
497
views
Converting directory full of h264 to images
first time here. Please be gentle. let me know what I missed out on and I will correct it.
my question is similar to this. So, I am hoping to get an answer for my specific query too.
How can I convert ...
2
votes
0
answers
325
views
MP4 problems after installing ubuntu-restricted-extras
After installing ubuntu-restricted-extras on Ubuntu 20.04 LTS Desktop, I can play MP3 but not MP4 in both Firefox 82.0.3 (64 bit) and VLC 3.0.9.2. Ubuntu is running as a guest in VirtualBox on a ...
1
vote
1
answer
2k
views
Batch Convert MP4 with ffmpeg
I have a whole bunch of text files, jpg and mp4 in a folder. I want the jpg and text files to be left alone. I want to compress all the mp4 using ffmpeg's -crf argument with a value of 23, to save ...
2
votes
0
answers
236
views
How to convert an ATS video with no compression to a mp4 video?
I am using ResearchIR software in Windows 10 and I wonder if there is a tool or command in Ubuntu 20.04 which can convert the output of a thermal camera capture that is .ats with no compression, ...
2
votes
2
answers
3k
views
Video not playing in LibreOffice Impress
Using Ubuntu 18.04.4 and LibreOffice Impress 6.0.7.3
When I insert an mp4 video in the slide only a screenshot of the video appears and I am not able to play it. How do I play mp4 videos in ...
5
votes
1
answer
3k
views
How to easily convert an MKV video to an MP4
I would like to easily be able to convert a MKV video to MP4 video in Ubuntu. Is there any way I can easily do this at all?
0
votes
1
answer
866
views
Can I stream video with nginx module?
I want to stream video from nginx to my browser.
The videos are generlly in .mp4 format, but I can transcode either on the fly or in advance with avconv or ffmpeg/whatever.
Is there a module I can ...
2
votes
1
answer
2k
views
18.04 ffmpeg: Play mp4 on fake webcam, "Conversion Failed!"
Trying to create a new fake webcam device (/dev/video2) and play a video on it so I can use it as a virtual webcam.
Steps I took:
sudo apt-get install v4l2loopback-dkms
sudo modprobe v4l2loopback
...
1
vote
0
answers
1k
views
Remove preview (and thumbnail) from MP4 file
How does one remove the preview and thumbnail from a MP4 file (or other video format)? I just simply want to remove it and have a blank icon and preview image. I'm using OpenShot video editor which ...
2
votes
1
answer
11k
views
Ffmpeg: can TS video be converted directly to MP4 video without re-coding?
I see here (How to convert .ts file into a mainstream format losslessly?) that MKV is recommended for that purpose (ffmpeg -i input -map 0 -c copy output.mkv), but not MP4, which is said to involve re-...
0
votes
0
answers
480
views
ffmpeg png + mp3 = mp4, howto make all image in a folder + random mp3 file to mp4 video with name file mp4 is name of png file?
i have a folder with 10 file png and 5 file mp3, i want use ffmpeg convert png+mp3=mp4, random 5 file mp3 for 10 file png, name of file mp4 finish is name of file png. how to do it, please help!
1
vote
1
answer
2k
views
Repairing a corrupt mp4 - I'm having issues getting untrunc installed
Basically, I get the error "moov atom not found" when attempting to play an mp4 video on vlc or any other players.
Following the advice given on this thread, I'm attempting to use untrunc to generate ...
0
votes
0
answers
1k
views
Fast method for hardcoding subtitles to MP4/MKV
Until now I have tried 4-5 methods to hardcoding subtitles to mp4/mkv videos.
ffmpeg - too slow
mkvmerge - not sure thats hardcoding, because on TV subtitles are missing
mkvtoolnix - program is ...
4
votes
2
answers
6k
views
h264 video does not play in Opera with Ubuntu 19.10 [duplicate]
I can't watch h.264 video mp4 format in Opera browser. Ubuntu version 19.10.
It was working in 19.04.
1
vote
1
answer
3k
views
Batch Compress Videos with ffmpeg
I have many videos in a folder, and I want to compress them all with one command.
To compress one video I use:
sudo apt-get install ffmpeg
ffmpeg -i input.mp4 output.mp4
But what if I have many ...
3
votes
2
answers
3k
views
How to resize and convert mov to mp4 on Ubuntu 16.04
I have a very heavy mov video that I need to convert to mp4 and resize.
I tried some applications like Mencoder and Ffmpeg but none worked.
I'm using Ubuntu 16.04.
0
votes
1
answer
81
views
How to list all mp4 files with HDp60 (to separate them from p30)?
I need to separate my mp4 files into p30 and p60 and would like to use command line tools to do this. I know that there is an option to check the details of a media file and I need to do this as a ...
1
vote
0
answers
1k
views
mp4 files get corrupted when transfering them to ubuntu 18.04
This seems like a weird issue, so I've transfered some mp4 files to Ubuntu via FTP and some of them seem to be broken, more specifically the header, I get this message when I try to play them with VLC:...
2
votes
1
answer
357
views
Why do *some* mp4 files play normally and other show unreadable static patterns on one ubuntu machine
All my mp4's are watchable on my desktop Ubuntu 18.04.
But when I transfer them to my laptop Ubuntu 18.04 they show the pattern below.
This is despite the fact that when I record mp4 videos locally ...
1
vote
0
answers
590
views
Make Rhythmbox play .mp4 files
Once my Rhythmbox was capable of playing .mp4 files, but I can't seem to make it the same again.
I tried installing:
sudo apt-get install ubuntu-restricted-extras
sudo apt-get build-dep rhythmbox
...
1
vote
0
answers
2k
views
check if list of mp4/m4v/mkv files has subtitles
i have list of about 230 video files (mp4, m4v and mkv), i want to make sure that all of them has english subtitles. is there an easy way to check it? (instead of open each 1 to see if it contains ...
1
vote
1
answer
1k
views
I can't play mp4 videos in Parole version 0.9.1 (codec missing), Xubuntu 16.04.6
I can't fix Parole media player to play mp4 videos! I search and research on internet but none of suggestions worked for me. I installed latest version via Ubuntu repositories but no avail to play ...
9
votes
1
answer
2k
views
How can I create a 30 second GIF from a long random video?
I have hundreds of videos in a folder that I want to make a gif for. Each videos length is different but all videos are longer than 30 seconds. I want to take 10 3 second gif images from a video over ...
2
votes
1
answer
3k
views
Any way to fix this mp4 that was cut off during recording
I took a video with my Android phone but failed to press the Stop button properly. So my phone ran out of disk memory and the Video App probably just cut off the file.
After copying the file (size 2....
1
vote
0
answers
2k
views
Chromium doesn't play mp4 / h.264 files in video tag
Firefox plays movie on the page: https://demotywatory.pl/4908893/Prawdziwy-pies-pasterski-dba-o-swoich-podopicznych
Chromium doesn't. it just shows the static backround image.
when i dig the page ...
1
vote
1
answer
2k
views
FFMPEG Merge mp4 to mp4 batch
Hi sorry if this has already been asked but ive got intro.mp4 and over 1000 mp4 in another folder what i need is intro.mp4 to be added to every mp4 in folder im using ubuntu whats the best way to do ...
0
votes
2
answers
11k
views
Twitch error #6000
I just installed a fresh Ubuntu and logged into Firefox. I got my usual addons and credentials and after some time logged into twitch to find that every stream gets the following error:
I tried ...
1
vote
0
answers
1k
views
Convert .h264 to .mp4, with timings
I am recording from a Raspberry Pi Camera to an .h264 stream. I have each frame as well as its presentation timestamp. How can I convert this to an .mp4 file? Specifically I need to be able to provide ...
0
votes
1
answer
2k
views
Firefox won't play MP4 files from the server
I'm hosting mp4 videos on my university server and when I try to play them in Firefox, I get the following error "No video with supported format and MIME type found". I can play those videos on Chrome ...
1
vote
0
answers
1k
views
Join / Concatenate / Glue mp4 files to one file using mencoder
I tried to concatenate some mp4 videos using mencoder like this:
mencoder -ovc copy -oac pcm P10408*.mp4 -o new.mp4
When trying to play the new video I was asked to install some additional decoder ...
2
votes
0
answers
3k
views
Ubuntu 18.04.1 playing MP4 doesn't work
Installed on three (one dell latitude laptop, one dell all-in-one and one ASUS desktop) systems Ubuntu 18.0.1.
After install cannot play, with standard installed Totem player, on any of the systems ...
3
votes
4
answers
1k
views
Double file extension with FFmpeg
I'm trying to get FFmpeg to go through all files and sub-folders under the path I run the command in, to convert any MKV file to an MP4 container instead.
I've got the below command working but the ...
2
votes
1
answer
2k
views
How to retrieve a mp4 file into KdenLive for Ubuntu?
I've installed Kedenlive on Ubuntu 18.04. And I have also downloaded an mp4 video from AndroidAir; the video was originally recorded on my phone (Huawei Mate 10 Pro). When I tried to retrieve the mp4 ...
3
votes
1
answer
3k
views
How to convert an mp4 video by 180 degrees using ffmpeg or mencoder
After reading about how to convert a video by 90 degrees
I tried these commands:
mencoder old.mp4 -oac lavc -ovc x264 vcodec=mpeg4 -vf flip,mirror -o new.mp4
mencoder old.mp4 -oac lavc -ovc x264 ...
1
vote
0
answers
8k
views
Convert .mkv to .mp4
I am trying to convert .mkv to .mp4
Following is the my terminal. I get an error saying
Cannot find H264 start code. Error importing video.h264: BitStream Not
Compliant
gayan@GayanF:~/Videos/...
1
vote
1
answer
3k
views
How to shrink mp4 video file size by 92%? [duplicate]
I want to minimize the size of a .mp4 video file from 300MB to around 25MB. How do I do it?
I tried using HandBrake, but it is not doing as much as I wanted.
Is there any coding procedure to do it in ...