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.
503 questions
0
votes
2
answers
172
views
FFMPEG: "Author" metadata cannot be assigned to a MP4 video file but "Artist" can. What am I doing wrong?
I am trying to assign my name in the "author" metadata tag of a video MP4 file before sending it to someone else. But I can't seem to make it work when I try to verify it afterwards. But it ...
2
votes
0
answers
135
views
FFmpeg MJPEG FPS Input to MP4 FPS Output Query
Hopefully someone can advise...
FFmpeg version 6.1.2
I have an application that compresses raw data to JPG files, these JPG files are then sent to a named Pipe within Linux. The named pipe is used as ...
0
votes
1
answer
244
views
How to loop a video to match the audio length with FFmpeg, by, for example, using metadata, to reduce filesize?
I have a short video (45 seconds) and a relatively long audio (21 minutes). To add the video to the audio I used:
ffmpeg -stream_loop -1 -i video.mp4 -i audio.m4a -map 0:v -map 1:a -c:v copy -c:a aac -...
1
vote
0
answers
373
views
Why won’t Explorer display thumbnails for certain MP4 files? [closed]
Windows 10, latest version. For some reason, a tiny minority of MP4 files will not display their thumbnail artwork. Less than 1% I would say. The artwork can be seen in mp3tag and Tag&Rename. I ...
3
votes
0
answers
56
views
I only have the last half of an MP4 file: how do I play it? [duplicate]
Say that I had a 1-billion-byte (1 GB) MP4 file called original.mp4. Bytes from offset 0 to 500,000,000 are gone. I only have a 500MB file called f.mp4 which has bytes from offset 500,000,001 to 999,...
2
votes
1
answer
322
views
Why can't FFmpeg convert an APNG video to an MP4 video?
Running:
wget https://i.sstatic.net/LRGF7FDd.png
ffmpeg -i LRGF7FDd.png LRGF7FDd.mp4
Causes the error:
user@server:~/test$ ffmpeg -i LRGF7FDd.png LRGF7FDd.mp4
ffmpeg version 4.2.7-0ubuntu0.1 ...
1
vote
1
answer
2k
views
How to add chapter marks to MP3, MP4, and Ogg files via the command line (without FFmpeg mangling metadata)?
I want to be able to add chapter marks to all major audio file formats, which FFmpeg does (using the -map_chapters option) – but FFmpeg always mangles the other metadata. Any tags it doesn’t recognize,...
1
vote
1
answer
286
views
ffmpeg - why isn't -c copy with -strict -2 working for me?
When I try to extract MP4 content from an MKV file without re-enconding, using:
ffmpeg -i input.mkv -c copy output.mp4
I get the following error:
[mp4 @ 0x13a704400] truehd in MP4 support is ...
1
vote
1
answer
158
views
How can I pass -decryption_key to each file in playlist?
I want to play playlist.txt with ffplay:
ffplay -f concat -safe 0 -i c:\ffmpeg\playlist.txt
The problem is when putting two encrypted files. How can I pass -decryption_key to each file?
playlist.txt ...
2
votes
1
answer
210
views
Why doesn't FFmpeg 7.1 on macOS want to copy GoPro data streams back to MP4?
Want to get FFmpeg 7.1 (macOS) to compress MP4 files produced by GoPro while copying the metadata streams, particularly the GPS data. It works to MOV output but not MP4 output. I would like to keep it ...
0
votes
1
answer
108
views
Windows command to clear all metadata in *.mp4 with ffmpeg
How to transform this Linux/Ubuntu command to clear out all metadata in *.mp4 files to a Windows command?
In Ubuntu it works perfectly like this:
mkdir Fertig
for f in *.mp4; do ffmpeg -i "$f&...
1
vote
0
answers
107
views
Why is there no image when converting MP3 files with 0 seconds to MP4 with FFmpeg?
I'm converting MP3 audios to MP4 files with an image, and all my MP3 audios with 0 seconds come with an MP4 video without an image, I'm using the command below:
u/echo off
setlocal ...
1
vote
0
answers
863
views
Why are some MP4 H264 videos not playable on Safari iPhone?
Note: Linked to MP4 video not playing on Safari iPhone.
In a blog post, I have a video embedded with <video><source src="..." that works for everyone (Firefox, Chrome, at least on ...
1
vote
0
answers
342
views
Streaming fMP4 via ffmpeg using HW h264_vappi encoder
I would like to kindly ask someone who might get to similar issue like me with streaming video with support ffmpeg fragmented mp4 encoding with hardware support h264_vaapi, I will put all possible ...
1
vote
0
answers
729
views
How can I remove every nth frame from raw video using ffmpeg?
I have many cine films that have been digitally converted. They have been converted as a 25 fps with 2 frames in every 23 duplicated. I need to remove the duplicated frames using a bitstream filter so ...