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
0
votes
1answer
81 views

AV1 extract keyframes

Using this file [1], I can run this command with no problem: ffmpeg -i crushed-between-two-portals.mp4 %d.jpg but if I run either of these commands [2]: ffmpeg -i crushed-between-two-portals.mp4 -vf &...
0
votes
0answers
15 views

imagemagick convert *.png to .mp4 runs, then stops with no error

I have successfully made .mp4 loops out of a small number of .png files with convert -delay 10 -quality 95 *.png output.mp4 However, at say 500 .png's, the conversion proceeds and finishes without ...
0
votes
0answers
135 views

ffmpeg jump to next video when error with the current file

I have a playlist and use the concat command to play my files (mp4 videos).The problem I have is that ffmpeg stops when there is a decoding error while playing a stream. How can I make it jump to the ...
0
votes
0answers
42 views

What is the difference between .m4s and .ts media files?

From my understanding they can both contain media segments and are meant to be reconstructed at the client but what is the difference between the two? Edit: This is in the context of HLS
0
votes
0answers
438 views

Downloading a video that has multiple XHR files in inspect element

I am trying to download a video that has a lot of XHR file types without any .mp4 file for the whole video. I can go into the inspect element and network tag and find and download each of them ...
0
votes
0answers
12 views

How to remove certain parts of MP4 video with keeping sound in synchronization - ffmpeg or any other open source tool

I record my videos with OBS and I want to remove OBS screen shown parts such as the beginning, or pause / continue So here what I want to achieve With ffmpeg command I want to lets say remove the ...
1
vote
2answers
33 views

Audio Conversion through change of file extension (E-AC3)

Not sure if this i the right place to ask my question but I'll give it a go. I extracted an E-AC3 Audio track with MKVExtractGUI. The output file I get was .eac3. Another tool I used says it supports ...
1
vote
1answer
67 views

Why is the Batch script I created to convert MP4 files to GIF files with FFmpeg not working?

This is what I have so far. It runs, but throws an error. I have come up with the following below. for %%a in ("*.mp4") do ffmpeg -i "%%a" -t 3 -vf "fps=10, scale=320, flags=...
0
votes
0answers
18 views

Encoding the video on the GPU with the results as on the CPU

I need to recode the video from MKV to MP4 with minor quality loss and good compression. My input file: Size: 4.07 GB Quality: 1080p FPS: 23.98 Duration: 47:32 Now I use: ffmpeg -i input.mkv -c:v ...
-2
votes
1answer
40 views

How to convert exe to video?

I have a video with .exe extension. I tried renaming to to mp4, avi, mkv, ts and many more, tried opening it with vlc, none of which worked. I got the exe when I downloaded a video from a site using ...
1
vote
0answers
403 views

How to convert MOV (with Alpha) to MP4 (with ALpha) - using FFmpeg [closed]

I am trying to convert a MOV (with alpha channel) to WebM and Mp4 (with Alpha channel) using FFmpeg. The WebM video is coming with the Alpha channel. But the video is not supported in SAFARI Browser. ...
0
votes
1answer
48 views

What ffmpeg command would convert a video for iPad/iPhone in 2021?

One of the answers almost a year ago was to use the following command: ffmpeg -i input.mp4 -vcodec libx264 -profile:v main -level 3.1 -preset medium -crf 23 -x264-params ref=4 -acodec copy -movflags +...
0
votes
2answers
70 views

Downloading videos from Youtube doesn't work via `curl`

I have opened and downloaded via curl some mp4 file from Youtube via F12 hotkey (i.e. from developer menu) and have saved it into J.mp4 but it cannot be replayed. Someone knows Why ? It writes ...
0
votes
1answer
45 views

Can be changed to batch file?

I would like to create a .bat file that converts all .png files in a folder into individual .mp4 files that have the same name as the .png file: This converts a .png into a 30s video, however how do ...
0
votes
1answer
126 views

Which FFmpeg command do I use to passthrough .ts to .MP4?

I have a folder full of .ts files I wanna convert to .mp4 without having to repeat the command for each file. Same quality, same file name (without the old file type at end of name of course) Windows ...
0
votes
0answers
47 views

covert all folder videos to mp4 same quality as each original

I have a folder full of flv videos and I want to convert them to mp4 in same quality that each file was originally (hopefully similar size?), and with the same names as the original file. NOT ONE BY ...
0
votes
0answers
40 views

How can I download fragmented MP4 videos?

I want to download a course that I have purchased for my personal use because my access will be removed by 28th Jan. I was trying to download the video from the dev tools network tab and encountered ...
0
votes
1answer
37 views

mpv doesn't play audio from mp4 file

Troubles with mp4 files captured from webcam. I capture video from my webcam with vlc. The captured file is played without issues in vlc, but mpv could not play audio stream.(ffmpeg also doesn't ...
0
votes
0answers
25 views

Converting mp4 to mp3 with ffmpeg fails with: Unable to find a suitable output format for '\ffmpeg'

I want to convert a church service mp4 video into a mp3 soundtrack. I found ffmpeg and I tried a lot of syntax. Even the easiest didin't work. ffmpeg -i 2026857739212839680.mp4 output_file.mp3 From ...
0
votes
0answers
11 views

No video only audio in the output

I want to create a .mp4 output with multiple audio tracks in it. I run the command: ffmpeg -i sample-mp4-file.mp4 -i hindi.aac -i tamil.aac -i telugu.aac -map 1 -map 2 -map 3 -metadata:s:a:0 language=...
0
votes
1answer
75 views

ffmpeg creates large compressed files for tiny videos?

When compressing very small videos, there seems to be a large overhead in the video container itself. Here are some examples using a single-frame 16x16-pixel all-black image: ffmpeg -f lavfi -i color=...
0
votes
0answers
108 views

How to ignore “moov atom not found error” when streaming mp4 in real time using FFMPEG?

Is there any way to force ffmpeg to stream mp4 files even if the moov atom is not located. Is it really necessary to have the moov atom for a livestream? So far: this command: -err_detect ignore_err ...
0
votes
0answers
35 views

Audio is scrambled up when using ffmpeg concat demuxer

I am using ffmpeg's concat demuxer to join different mp4 videos. First I have reencoded all videos with the following command: ffmpeg -i "${file}" -c:v libx264 -c:a aac "${out}" ...
1
vote
1answer
51 views

Uniting various mp4 with various mp3 using ffmpeg

I have 50 parts of mp3 audio files and 50 parts of mp4 video files (without audio) files, which I want to unite into one video. I tried uniting the audio files into one file, then uniting the videos ...
1
vote
0answers
224 views

Re-muxing .MKV to MP4\MV4 while retaining Dolby Digital Plus JOC with FFmpeg

Does anyone know how to remux and keep enhanced AC-3 with joint object control (JOC) with FFmpeg. I'm remuxing a number of video files from MKV to MP4\M4V so they play on the Apple platform (including ...
0
votes
0answers
31 views

EXIFTOOL set MP4 to earliest date recursive - Can it be done?

I've been wrangling nearly 40TBs of videos that were recovered from 2 crashed RAIDs. Nearly all files have correct EncodeDate, TrackCreateDate and/or MediaCreateDate, but I'm biff'd on a mass rename ...
0
votes
0answers
31 views

ffmpeg webm to mp4 conversion issue

I need to convert webm files to mp4. Usually it works good, but there are sometimes cases when I get error. For example: $ ffmpeg -i input.webm output.mp4 ffmpeg version 4.3.1 Copyright (c) 2000-2020 ...
1
vote
1answer
363 views

ffmpeg hangs when using -fflags +genpts

I'm trying to remux a .vob file (which I got using vobcopy) into a mp4 container (mkv would do it as well) using ffmpeg 4.2.4-ubuntu0.1. Initially the remuxing finished, but I got these errors: [mp4 @ ...
1
vote
0answers
23 views

Is there way to compare two videos frame by frame similar to the cmp program which compares byte by byte? [closed]

I have two copies of a video (an MP4) which appear identical having the same content, length, file size, resolution and Frames Per Second rate. I believe one is a copy of the other. However, when I ...
0
votes
0answers
56 views

Why is the mp3 created by ffmpeg not detected by Synology music station or DLNA server?

I have a mp4 video file. I have used the following command to extract the audio in mp3 format. ffmpeg -n -i video.mp4 -f mp3 -vn /volume1/music/audio.mp3 The mp3 is not detected by the DLNA server on ...
0
votes
0answers
98 views

MP4 / h265 supported resolutions in virtualdub2?

I'm using VirtualDub2 to crop a video and am using MP4 (MPEG-4 Part 14) as the type and FFMPEG / x265 as the compression algorithm and am getting this error: The output frame size is not compatible ...
0
votes
0answers
36 views

How do I “debug” strange mp4 issues?

I have a collection of MP4 files which have been recorded during a live stream. They play just fine in VLC (on Windows) but when I try to import them into Premiere Pro the programs just hangs. I ...
1
vote
0answers
26 views

Concatinate mkv from segmented recordings of rtsp

I recorded an rtsp stream to a series of segmented files via the following ffmpeg -t $((5*60*60)) \ -i 'rtsp://....@10.0.0.132:88/videoMain' \ -c copy -map 0 \ -f segment -segment_time 60 -...
0
votes
1answer
78 views

How to let ffmpeg use back same bitrate when encode video?

I have an mp4 file encoded using mpeg4 with a size of 20MB When I checked the details of it, it said it has a 308k variable bitrate Then, when I encoded it into h264, ffmpeg converted it with a ...
0
votes
0answers
42 views

VLC .VOB to mp4 conversion, no video

I have a .VOB file i need to convert to mp4, so I've plugged it in VLC and gone to Convert, set the profile to H264+Mp3 and started converting. The video is about 30 minutes long, however, the ...
0
votes
0answers
233 views

IP camera stream captured with FFMPEG is not playing in web browser

I am capturing stream from IP camera using FFMPEG utility with following command: ffmpeg -i rtsp://username:password@192.168.1.14:554/ch01.264 -vcodec copy -an -t 1800 -r 10 camera.mp4 While ...
0
votes
1answer
48 views

Where are GoPro Highlight Tags stored?

I want to extract the (manually set) highlights from my GoPro-footage (HERO6-Black). I want to do this to mark the highlights on vacation and can use them to edit in Premiere Pro later. I found that ...
0
votes
0answers
59 views

File metadata ignored for some files in search in Windows 7

Using Windows 7. It seems like the metadata of some files is being ignored, although the metadata of most files is found just fine. (These problematic files can be found quite easily by file name.) I ...
0
votes
0answers
37 views

Trying to convert VOB video to h264/aac and change speed from PAL to NTSC

I had a DVD, it had a few .VOB files inside, I concatenated those into one big file. Now I am trying to convert it to h264/aac and make it NTSC instead of PAL. I used this command: ffmpeg -i input.vob ...
1
vote
2answers
74 views

What does FFmpeg do when run without options?

I downloaded a few MP4 video files that seemed ridiculously large for their length and resolution. So to try to decrease their size, I ran the following command: ffmpeg -i input.mp4 output.mp4 It ...
0
votes
1answer
134 views

How to convert .mp4v to .mp4 using ffmpeg?

I have two files: file.mp4 and file.mp4v How to convert mp4v to mp4 using ffmpeg without loss quality?
0
votes
1answer
114 views

horizontal flipping an entire directory with ffmpeg win7

I was wondering if there is a batch processing script to horizontally flip an entire folder. I have been using "ffmpeg -i inputfile.mp4 -vf hflip -c:a outputfile.mp4" but it eats up so much ...
0
votes
0answers
27 views

MP4 audio on a USB flash drive cuts in and out

I am trying to play a mp4 file off of a USB flash drive from my boss and the audio cuts out for a second or two, every 10 seconds or so. I need to resolve this issue because I will be pulling clips ...
-1
votes
1answer
532 views

How do I embed ttml caption files inside mp4 video files?

In this situation, I know ffmpeg is the general answer by doing something like ffmpeg -i 40\ Days\ Falling\ Apart-55db1e546b66d1421b2cb43c.mp4 -i 40\ Days\ Falling\ Apart-55db1e546b66d1421b2cb43c.en....
0
votes
0answers
15 views

working with atoms - audio is silent after adjusting STCO offsets

Edit: I fixed the problem soon after posting this. It was related to something else entirely. My apologies. Background: I'm working on a Swift library for modifying audiobook chapters and metadata, ...
1
vote
1answer
409 views

How can I limit the number of colors used in a GIF file while converting a MP4 to a GIF with FFmpeg?

I have this command that I found somewhere on SuperUser that converts an MP4 to a GIF: ffmpeg -i INPUT_FILE.MP4 -vf "fps=16,scale=160:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]...
0
votes
1answer
130 views

Broken MP4 file

So I was filming with my phone (Nokia 6.2) and one of the video files was corrupted because the storage of the sd-card was full after almost 20 minutes. The file is about 4 GB, but doesn't work. I ...
1
vote
1answer
208 views

Is it possible to cut an h.264 stream anywhere, without re-encoding?

Note: I'd originally erroneously referred to an h.264 stream by the more common parlance of being an MP4 file, sorry I'm aware of the usual need to start splitting an h.264 on a keyframe, so that the ...
0
votes
1answer
123 views

batch remove first 30 seconds of video file with ffmpeg

There are a lot of examples of ffmpeg -ss [start] -i in.mp4 -t [duration] -c copy out.mp4 But if I want to use that command for a folder with multiple files (ffmpeg ... *.mp4 ...), how can I specify ...
0
votes
1answer
106 views

FFmpeg - Converting mkv to mp4 with surround sound

I've searched many posts about this topic, and still cant get this done. To be exact, I'm trying to convert .mkv file with subtitles and surround sound to .mp4 with embedded subtitles and with as hi ...

1
2 3 4 5
9