Questions tagged [mp4]
Questions relating to the mp4 multimedia file format
174
questions
241
votes
4
answers
192k
views
How to create an animated GIF from MP4 video via command line?
I want make an animated .gif from an .mp4 video. I would prefer to do it from the command line, so please only list command line tools.
202
votes
7
answers
378k
views
How to convert .mkv file into .mp4 file losslessly?
I need to convert a video file from Matroska container into mp4 container. Matroska file contains one h.264 video track and one AC3 sound track. It should be possible to do this losslessly, but how to ...
139
votes
11
answers
181k
views
How can I convert audio from MP4 or FLV video files to mp3?
Is there an application that allows me to extract the audio from a MP4 or FLV video file and store it as an MP3 file for use in a portable media player?
55
votes
8
answers
166k
views
How do I convert an MP4 to an MP3? [duplicate]
I have some songs which are in mp4 format and I want to convert them into mp3 format.
I am new to Ubuntu/Linux. So please explain the step by step process or give any software which can do the above ...
41
votes
3
answers
96k
views
How to extract the audio from an mp4 video to a mp3 file? [duplicate]
I'd like to extract the audio from an mp4 video. Is there a software for Ubuntu, which does the job?
31
votes
11
answers
47k
views
How to check how long a video (mp4) is using the shell?
I need to ftp upload all the mp4 files in a directory with length > 4 minutes using the shell. I can't find any script to check how long a video is. Does anybody have any idea how to do that?
Thank ...
26
votes
6
answers
114k
views
Convert mkv to mp4 with ffmpeg
When I try converting mkv to mp4 using ffmpeg, the following error occurs:
version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers built on Jun 12 2012 16:52:09 with ...
25
votes
7
answers
50k
views
Good movie mp4 metadata editor?
I need to read metadata from one of my movies in mp4 format and to do that I need a very basic mp4 (for movies) metadata editor. Which programs can you recommend ? (Since I don't know any).
I don't ...
24
votes
3
answers
67k
views
How to fast convert mp4 to webm using ffmpeg?
I have to convert 76 mp4 files to webm for the purpose of a website that uses HTML5 videos. I'm talking about 10 Gb of mp4 files...
I know I can simply ask ffmpeg to do that using:
ffmpeg -i ...
22
votes
3
answers
25k
views
What tools could I use on Ubuntu 16.04 to cut mp4 files into several clips? [duplicate]
I am trying to cut a long video into several small pieces. Any recommended tools can do the task?
22
votes
3
answers
42k
views
How to extract aac audio from an mp4 file to m4a
How can I extract the aac audio from an mp4 file?
I tried with ffmpeg and -acodec copy but if i use mp4 as output it will still encode the video and I get the same file size.
If I use m4a as output ...
16
votes
3
answers
74k
views
How can I convert .264 file to .mp4
I want to convert an elementary stream(.264) to container format(.mp4).
Can someone please help me on this? How can I use ffmpeg to do this task? What are all the other methods that could accomplish ...
15
votes
4
answers
21k
views
Batch extract audio with avconv without transcoding
I have about 70 mp4 files, and I want to extract the audio files directly without transcoding further. All the mp4 files have aac audio files.
I understand I can use the following command to extract ...
15
votes
2
answers
37k
views
What tools can I use to a text overlay to a video?
I have an MP4 that I uploaded from my Android to my Ubuntu workstation for editing. What tools can I use on Ubuntu to fade in and out professional-looking text?
10
votes
5
answers
120k
views
How to convert a video from mp4/flv to mpeg/mpg
I download videos in mp4 or flv format but I need to convert them to mpeg 1/2/3 so that I can watch them on my special gadget.
I think I need a program.
any suggestion
thanks
9
votes
2
answers
15k
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?
9
votes
1
answer
3k
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 ...
8
votes
4
answers
41k
views
How can I play mp4 movie on my ubuntu OS?
I recently downloaded a movie in MP4 format. It is not playing in VLC player. The player shows the message:
You are missing codec pack to play this movie.
I searched for the codec pack but I didn'...
8
votes
3
answers
33k
views
ffmpeg unkown libfaac ubuntu 14.04
I Have Installed ffmpeg 2.3 in Ubuntu 14.04
ffmpeg -i demo.mpg -acodec libfaac demo.mp4
ffmpeg version 2.3 Copyright (c) 2000-2014 the FFmpeg developers
built on Aug 13 2014 22:15:33 with gcc 4.8 (...
8
votes
1
answer
23k
views
How can I convert my mp4 files to avi using avconv?
I need to convert some mp4 files to another format (I chose avi: there may be a better one, suggestions welcome). I tried using ffmpeg but got the deprecated message so I am using avconv, but again ...
7
votes
1
answer
9k
views
How to Convert All The .MOV Videos To .MP4 in folder
using ubuntu 14.04 i am a newbie can anyone help how to easily convert all the .mov files in my /var/sentora/hostdata/zadmin/public_html/ctkdonline_com/wp-content/uploads/2015/08 folder need to ...
6
votes
2
answers
16k
views
How would I batch edit video file metadata for an mp4?
I have a number of mp4 files that need to contain the same metadata eg. artist & album.
How can I batch edit the metadata rather than doing them one by one?
6
votes
1
answer
2k
views
How can I convert .mp4 and .m4a files to .mp3 files automatically, keeping the cover art?
I have some .mp4 and .m4a audio files that I want to convert to .mp3 files. I want the resulting .mp3 files to include the cover art included in the source files, without fiddling with EasyTAG ...
6
votes
4
answers
14k
views
Trying to convert MKV to MP4 with avconv, failing
I am trying to convert an MKV file to MP4 to be compatible with my PS3. I am using:
avconv -i file.mkv -c copy file.mp4
It fails and I get the following error:
[mp4 @ 0x8a17c00] pts < dts in ...
6
votes
3
answers
1k
views
What options exist for viewing mp4 tags in list view? [duplicate]
I have several mp4 videos. When using Windows7 Explorer I can create a details view (or list view) of the mp4 tag information on these videos, which makes it easy to organize them by genre, title, ...
5
votes
1
answer
3k
views
How can I convert my webm screencast to mp4?
Gnome has a built-in screencast tool using ctrl plus shift plus alt plus R. It's a great tool with consistent quality video output!
But, I need the output in mp4. I have tried this: ffmpeg -i ...
5
votes
1
answer
5k
views
Best avconv settings for WebM video?
What are the best settings when converting, say, a .mp4 video to WebM?
I have done some searching on here but nothing specific to what I need really.
What I've been using:
avconv -i input.mp4 \
...
5
votes
2
answers
10k
views
How to convert an mpeg2 to a streamable or fragmented mp4?
I am trying to convert mythtv recorded mpg (mpeg2) files into streamable mp4 files. Converting to an mp4 is simple, however, the entire file must be converted first before it is usable. Even using ...
4
votes
1
answer
45k
views
FFmpeg command for mpeg-ts encoding
I have just started using FFmpeg encoder. I have a command to encode video files to mp4 containers:
ffmpeg -i input.mp4 \
-vcodec libx264 -s 426x240 -pix_fmt yuv420p \
-crf 22 -minrate ...
4
votes
2
answers
7k
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.
4
votes
3
answers
7k
views
SMPlayer not playing MP4 format
I am trying to run some MP4 videos on SMplayer , but the player is only playing the audio, and no video is visible. The same file I open in VLC player is showing video + audio. I like SMPlayer, as its ...
4
votes
2
answers
21k
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-...
4
votes
3
answers
17k
views
VLC lagging while running HD videos
My vlc player keeps lagging while i play hd videos. To be more especific, it has been lagging in mp4 files with 720p and 1080p.
It keeps stopping like 10 seconds to 10 seconds. The stopping time is ...
4
votes
1
answer
9k
views
Movie Player won't play MP4, gxine does
I've recently installed Ubuntu 12.04. I have installed ubuntu-restricted-extras and ubuntu-restricted-addons, gstreamer0.10-ffmpeg, libdvdread4, libdvdcss2, run the .sh script, and I don't remember ...
4
votes
2
answers
21k
views
Convert MTS to MPEG [duplicate]
Possible Duplicate:
Converting panasonic .MTS video into high quality mpeg videos?
I have a Sony handycam which records HD videos in AVCHD resulting in .MTS file names. The video doesnt play ...
4
votes
1
answer
4k
views
HEVC format convert to MP4 in ubuntu
I have some videos in HEVC x265 format. My usual media players don't support this format. when I go for a quick search I get HandBrake software for converting this kind of format.
Do you have any ...
4
votes
2
answers
8k
views
How do I reduce the screen and file size of a recorded video, plus convert to FLV?
I have used gtk-recordMyDesktop to make a video as an OGV file using the default settings. I need to do 3 things:
How can I reduce the screen resolution (height and width) so that it can fit into a ...
4
votes
4
answers
2k
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 ...
4
votes
2
answers
1k
views
Is there a program to manage movies and TV shows that supports mp4 tags?
I'm looking for a media manager that will display and play movies and TV shows and will read data included in mp4 and m4v files.
So far I've looked at XBMC, Moovida and Boxee and all of these seem to ...
4
votes
1
answer
8k
views
Fix MP4 files which were improperly stopped while recording due to lack of space?
I have used my Android cell phone to record online lectures while driving home. The problem is that the version of Android across all my devices is 32 bit, so the maximum file size is limited. ...
4
votes
3
answers
9k
views
VLC unable to play mp4 files downloaded from youtube
Regarding the above, not sure what happen since previously I could play any files I download from youtube, be it avi or mp4.
Now I cannot play any mp4 file downloaded from youtube but no issue to ...
3
votes
2
answers
7k
views
How can I split a .mp4 in two?
I have a bunch of .mp4 files (DRM free). Each file comprises two episodes of a kids TV show. I would like to simply split the file in two without re-encoding. What's the best way to do this? ...
3
votes
2
answers
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 ...
3
votes
6
answers
9k
views
mp4 to mp3 conversion
I have worked on multiple tools that convert a "mp4" file to "mp3" format, but what I am really interested in, is there a way I can convert multiple mp4 files to mp3 format in a single go.
3
votes
2
answers
7k
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: ...
3
votes
2
answers
10k
views
split video from mkv, avi, mp4
I've a mkv video file and want to split some important scenes. Is there any tool in ubuntu to split them. I'm looking for GUI tool. any help is appreciated.
3
votes
2
answers
3k
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 ...
3
votes
2
answers
9k
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 ...
3
votes
3
answers
13k
views
Record my desktop in mp4 format
How do I record my desktop interaction (video) and audio directly in MP4 format?
I have Ubuntu 10.04 LTS.
3
votes
2
answers
14k
views
Problems playing MP4 and MP3 files in 12.04 64bit
I'm experiencing the same problems on 2 machines with 12.04 (with beta2 AND yesterday final release); MP4 files don't play in default movie player and mp3 quality and timing seem poor. Installing ...