Questions tagged [mp4]

MP4 specifically refers to the MPEG-4 part 14. A standard audio and video container that is part of the MPEG-4 specification developed by ISO / IEC.

Filter by
Sorted by
Tagged with
-1
votes
2answers
36 views

ffmpeg: recommend baseline options on bad results

I am running windows services to convert about 10k videos per year. Most of videos make no problem, but there are some videos where I didnt see the problem: Source Video Video after conversion => ...
1
vote
1answer
30 views

How to convert an mkv file with several subtitle tracks into mp4 with one of the subtitle streams hardcoded using ffmpeg?

I would like to know how to convert an mkv file with several subtitle and audio tracks into an mp4 with one of the subtitle tracks hardcoded and a single audio track selected using ffmpeg? It should ...
0
votes
2answers
56 views

Dedicated server: will switching from a HDDs to a SSDs reduce I/O usage?

I have a kind of video (mp4) hosting site. The last 2 years there were no problems with the site. But now I have encountered a problem with I/O usage: iotop command results I am currently using a ...
0
votes
0answers
39 views

How to convert with FFMPEG a video .webm with different resolution into .mp4

I want to keep the different frame resolution in the .mp4. Right now it applies one size for the whole video. I use this: ffmpeg -i file.webm -c:a aac -c:v libx264 -profile:v main -level 3.1 -...
0
votes
1answer
58 views

Downloaded mp4 file wont play under any video player

I downloaded a video using Youtube-dlg its was a HLS stream and it downloaded fully except Youtube-dlg told me there was an error when it finished.. I presume that the site i downloaded from made it ...
0
votes
0answers
28 views

Find and delete broken mp4 files windows 10

I have many mp4 files located in one folder some of which are broken. I don't really need to fix them I just need a automated way of finding and deleting them. Don't have any solutions I have tried ...
0
votes
2answers
220 views

How to embed cover art into MP4 without errors?

I want to add artwork to my MP4 file. How do I do this successfully / without errors? I've tried these methods with numerous MP4 files, none worked. If you would like to replicate the errors / bugs, ...
0
votes
0answers
44 views

How to convert this ffmpeg command to a batch command

I am trying to copy metadata for encoded mp4 files from the source file and I have found this command that does exactly this. ffmpeg -i source.mov -i encoded.mp4 -map 1 -map_metadata 0 -c copy ...
0
votes
1answer
38 views

ffmpeg MOOV Atom on a ProRes file?

We have been asked by a client to create a ProRes QT file (.mov) but specifically asked to "The moov atom (movie index file) should be placed at the beginning of the file." I have been reading around ...
0
votes
0answers
23 views

FFMPEG cutting video section without losing sync or initial frames

I have an input_video.mp4 and am trying to cut out a particular section. When I run the command ffmpeg -y -async 1 -ss 31.9 -i 'input_video.mp4' -ss 5 -c copy -t 16.0 output_video.mp4 I get back ...
0
votes
0answers
158 views

No sound on certain mp4 videos (audio codec: MPEG-4 AAC) in Windows 10 that work in Android (with earphones only) & Linux

Update: in Android there is only sound on these videos when I have earphones plugged in. No sound will play on my phone's speakers. The audio works on a set of mp4 videos when I play them in Ubuntu ...
0
votes
1answer
93 views

Watch mp4 from phone remotely pc

I have lot of mp4 in my windows laptop, and I have android phone. I want to watch those mp4 from my android. How can I simply create a server in windows laptop so I can watch videos from my ...
1
vote
1answer
149 views

Video-Codecs in Chromium missing

I use a Version 81.0.4032.0 (Entwickler-Build) (64-Bit) Chromium Browser on my Windows 10 computer. On Facebook Videos and some Gifs are not running. So I opened the Console and found this logs: ...
1
vote
0answers
92 views

Which versions of ffmpeg support “Encrypted fmp4”?

Using ffmpeg version 3.4.6-0ubuntu0.18.04.1, I think it successfully converted an input mp4 file to encrypted files: list_1080p_0000.m4s list_1080p_0001.m4s list_1080p_0002.m4s list_1080p.m3u8 ...
0
votes
0answers
14 views

ffmpeg when use overlay output have delay [duplicate]

I Use Ffmpeg For Overlay Png on short video : For Example 5 seconds video I Use This Command : -i C:\\part1.mp4 -i C:\\txt1.png -filter_complex \"overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2\" -...
0
votes
1answer
163 views

FFMpeg No such file or directory

I'm trying to convert a MP4 file to H264 using FFMPEG. Unfortunately, it get a file/directory each time "No such file or directory". I've followed the steps within this link https://video....
0
votes
0answers
33 views

Missing Dynamic Metadata after Conversion

I would like to convert an MP4 (HDR10plus) clip to HEVC format. I use ffmpeg and the conversion is done successfully but apparently the metadata is lost after this conversion. So I am wondering how I ...
0
votes
0answers
689 views

“Non-monotonous DTS in output stream” error in FFmpeg, previous and current values are equal

I have a number of .ts segments (AES-128 encrypted), .m3u8 chunklist for them and a key to decrypt them. My goal is to remux these .ts files into one .mp4. I also obviously don't want to modify the ...
0
votes
1answer
141 views

Cannot remove audio from video in FFMPEG (-an or -map doesnt work)

the following dont work ffmpeg -i <input> -an <output>.mp4 ffmpeg -i <input> -map 0:0 -v:c copy <output> The output returns the converted video WITH the audio still included....
0
votes
0answers
36 views

ZIP archive or MP4 container to save clusters?

For exchange and travel, I have an external USB HDD with a single partition (for compatibility with specific devices, e. g. a smart TV). Most of the existing content are video files between c. 100 MB ...
0
votes
1answer
168 views

FFMPEG save AVI's Recorded date metadata to MP4 Tagged Date?

I'm converting my old DV tapes from AVI files to MP4 format. Is there a way to transfer AVI's "RECORDED DATE" to MP4's "TAGGED DATE"? I plan to do this in batch so I was hoping to automate it but it'...
0
votes
0answers
58 views

Capturing data stream of a JS / Leaflet animation as MP4

How can I capture the datastream of a JS / Leaflet animation and download it to MP4? I am looking for output that looks something like the smooth path traced in these demos: https://github.com/...
1
vote
1answer
93 views

Track 2 and Sub-titles lost in FFMpeg conversion

I want to convert my video library to MP4 using: ffmpeg -i inputfile.ts -c copy outputfile.mp4 However, outputfile appears to contain one audio track which is the NAR track from the inputfile. The ...
0
votes
0answers
45 views

Html5/mp4 does not play in Firefox

From my point of view it seems to be an issue with my System which is Mageia 7.1. But I don't know how to reproduce it. Regarding to this site, the points 1 (HTML5 MPEG Video Test) and 4 (HTML5 ...
0
votes
0answers
115 views

FFMPEG Concat Video, Add Subtitle & Logo [duplicate]

I have two videos, one PNG logo and one subtitle file (.ass) What I'm trying to achive is to merge all these into a single mp4 file. I can do the logo and subtitle with a single video, but I would ...
0
votes
1answer
249 views

Looping a local mp4 file with Chrome browser

I'm trying to set up a display for work, and have an mp4 file saved to my C:\ drive that I would like to play on loop. The only mp4 player that I can install however is Google Chrome Browser, and ...
0
votes
1answer
478 views

Can I transcode a file with FFmpeg and read the output file on-the-fly?

I have a .M3U8 stream and I can download it and convert it with FFmpeg: ffmpeg -protocol_whitelist file,http,https,tcp,tls -i "org_file.m3u8" -c copy -bsf:a aac_adtstoasc output.mp4 However I can't ...
0
votes
1answer
48 views

ffmpeg fails to copy, creates 2 second video

I want to copy a portion of a 15 minutes MP4 video, from 11:23 for 46 seconds. I ran this command: ffmpeg -ss 11:23:00 -i input.mp4 -vcodec copy -acodec copy -t 46 output.mp4 This generates a 2 ...
0
votes
1answer
531 views

remove mp4 metadata with script

I want to remove meta data from a bunch of MP4 video files. I would like to do this without remux as that would take a long time. I am opened to a batch/powershell/python/vbscript solution. I have ...
1
vote
1answer
104 views

.mp4 cant play on WMplayer. Tried to change container and work. How to bat fix?

I have some .mp4 files which are not playing in Windows Media Player. Error: Windows Media Player cannot play the file. The Player might not support the file type or might not support the codec ...
1
vote
0answers
30 views

While playing a video it resumes before the end with VLC, the original format is WMV

I can't play a video until the end, it closes when it reaches 26 sec, but the file has 05:59min. I use VLC and have the damaged or incplete AVI file on Always Fix. The original format of the video is ...
0
votes
0answers
30 views

mime file type different in nautilus and file command

I have various mp4 files, and nautilus correctly detects them as video/mp4. However, the file command says: $ file -i *.mp4 name20.37.00.mp4: video/mp4; charset=binary name20.46.22.mp4: audio/mp4; ...
0
votes
0answers
131 views

ffmpeg converting from 25p to 50i issues

We try convert 25P mp4 file to interlace 50i, but if we try extract sound he shifted forward to 1 frame and cut to end for 1 frame and If I've try export audio via VLC CLI and have normal duration. . ...
0
votes
2answers
103 views

Check if video has a correct extension using FFmpeg

I renamed video's extension from mp4 to webm. There are no problems with the playback, but I have to be sure that mp4 is mp4. Is there a 100% way to detect mp4 video?
0
votes
0answers
76 views

How to add slow zoom in and zoom out in ffmpeg

My code is ffmpeg -t 5 -i temp/1/i/1.png -t 5 -i 1.mp3 -t 5 -i temp/1/i/2.png -t 5 -i 2.mp3 -t 5 -i temp/1/i/3.png -t 5 -i 3.mp3 -t 5 -i temp/1/i/4.png -t 5 -i 4.mp3 -filter_complex "[0:v]zoompan=z='...
0
votes
2answers
62 views

FFMPEG invocation to output mp4 with video bitrate >15mbps

I am attempting to deliver a 30 second 1920x1080 @ 23.976fps animation video in h264 mp4 to a distributor that has a strict requirement that the video bitrate be greater than 15Mb/s. The animation ...
0
votes
1answer
2k views

Suddenly unable to play mp4 videos on Windows 10

My windows 10 laptop suddenly stopped properly playing mp4 video files. The error message states that Unable to play the file. It's possible that this item's file format is not supported, the ...
0
votes
0answers
106 views

ffmpeg Retain “Delay relative to video”

When I convert any video files using ffmpeg any audio that has any "Delay relative to video" is lost after conversion. It happens when copying and converting audio. How do i retain this? I tried ...
1
vote
3answers
3k views

Changing dates on mp4 metadata

I've been trying to change the metadata dates in mp4 files using exiftool. I can only get it to change the "Date" (whatever that is) and "Media created" fields as displayed in Windows file explorer. ...
0
votes
1answer
57 views

Fixing M4A file which got currupted due to not closing the file properly while writing [duplicate]

I have an audio recording that I did with my phone. The recording was running for 3 hours when my battery ran dry. The file is 121 megabytes so it does contain the data, but the file ending and ...
0
votes
1answer
758 views

25% of my .mp4 have “error reading header” in FFMPEG, OpenCV - but videos all play fine

I've got a Reolink security camera, which saved .mp4 files via FTP to a local server. I've then got my own Python-based application processing those videos. It's been working fine for the past year ...
1
vote
1answer
70 views

Windows 10 not reading some MP4 tags

Suddenly (I think last windows update cause it) some of my MP4/MP3 files doesn't show tags (Artist, Title and Year) in Windows Explorer but I can see them in Mp3tag program on the same computer and I ...
0
votes
2answers
100 views

Error 2041 code invalid sample description on an MP4 video

I'm stuck in a dark hole facing potential loss of important videos. A while ago I transferred some 4k videos from a camera SD card to a portable drive to save for later edit, and foolishly reformatted ...
0
votes
0answers
642 views

Make Chrome play m4v files instead of download them

When I go here: https://midstateems.org/blog/meetings/ (my website) 1) Firefox plays the video in the browser 2) Chrome downloads the m4v file How do I make Chrome play the m4v file, like Firefox ...
0
votes
2answers
259 views

Why is the results of this FFmpeg command a broken MP4 file?

I have a YouTube video that I would like to add 30 second intros and outtros to. The three files are saved as MP4s. I am using macOS. Following instructions on this offical FFmpeg page I used these ...
1
vote
1answer
49 views

Cut out the start and end of a .mp4 file

I have been using ffmpeg to remove the first 5 seconds of a video clip with the following code. for %%a in ("*.mp4") do ffmpeg -i "%%a" -ss 05 -acodec copy -vcodec copy "newfiles\%%~na.mp4" pause Is ...
0
votes
0answers
16 views

Videos mp4 not playing on safari 12

I have a video website, where all the videos are .mp4 All the videos played very well in all versions, including safari until version 11. but in version 12 I have many videos that do not play. ...
1
vote
0answers
69 views

How to convert a video stream to mp3 file while downloading using Streamlink?

How to convert a video stream to mp3 file while downloading using Streamlink? is it possible using ffmpeg or other?
1
vote
1answer
531 views

FFprobe - Is it possible to get the “seeked position” of a video stream without re-encoding it?

I have the following command: ffmpeg -f f32le -ar 44100 -channels 2 -i pipe:0 -ss 3 -i input.mp4 -y -f mp4 -map 0:a -map 1:v -c:v copy -use_editlist 0 output.mp4 When copying the video stream ...
0
votes
1answer
1k views

Adding custom metadata tags to mp4

I have modified the sound track of a 360 video using openshot. The output has lost the 360 metadata tags. I am trying to use ffmpeg to replace them with the following command ffmpeg.exe -i input.mp4 -...

1
2 3 4 5
9