Questions tagged [mp4box]
Used for questions related to the manipulation of ISOBMFF files (aka MP4 files) with GPAC MP4Box tool. Please provide mp4box version when asking for help.
31
questions
0
votes
0
answers
22
views
MP4Box: Select track by type and language?
For a directory of MP4 files, I want to bulk-change their subtitle tracks that are currently tagged as English en to English (United States) en-US.
Is there a way to select subtitle tracks by current ...
0
votes
3
answers
128
views
How do I extract a subtitle track from an MP4 file in a usable format?
I have an MP4 file containing a subtitle track. When I extract it using
MP4Box -raw 3:output=track3 myfile.mp4
I get a .tx3g file - a semi-binary format. My subtitle editors don't support it, and I ...
0
votes
0
answers
399
views
Set the default Audio track and Subtitle Track with MP4Box
I was recently remuxing some multilingual MP4s and I noticed that in the original audio track, most media players will recognize an audio stream as having some kind of "default" flag, they ...
1
vote
2
answers
883
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
2
answers
333
views
GPAC MP4Box fullrange flag
A few years ago I was trying to encode some GoPro videos with Handbrake to reduce their file size and store them.
After a few attempts, I noticed that the colors on the encoded videos were looking a ...
3
votes
2
answers
2k
views
How to use ffmpeg to programatically remove video streams?
So, I'm trying to refactor some old code that should remove video streams, compress the audio stream and repack the mp4, which should be a video file with only an audio stream. I later intend to ...
3
votes
3
answers
27k
views
Using FFMPEG with Nvidia GPU
I have approximately 1400 .mp4 video files, and I must reencode everything to use mp4box to transform it in DASH
CPU: Intel® Core™ i7-6700 Quad-Core Skylake
GPU: GeForce® GTX 1080
Ram: 64GB
Ubuntu 18....
0
votes
1
answer
1k
views
Generate mpeg-dash segments and mpd file using transport stream buffer
I am receiving mpeg-2 transport stream on a buffer and i need to serve the content using HTTP to a web view.
I'm planning to implement it using the mpeg-dash specification and a simple HTTP server. ...
1
vote
1
answer
2k
views
Why is FFmpeg video splitting of 595-600 seconds slow compared to 0-5 seconds? [duplicate]
I have to split a 4K 10 minutes video into 120 small video files, each containing 5 seconds of duration. I'm using ffmpeg for splitting the video. The splitting take a very very long time and the ...
0
votes
1
answer
260
views
"-tmp" parameter of MP4Box needs 2 backslashes
I'm on Windows 7 Ultimate SP1 x64, running MP4Box - GPAC version 0.7.2-DEV-rev357-g7115eeb8-master.
I've created a BAT file like this :
mp4box -add %1#trackID=1:name= -add %2#trackID=1:name= -tmp "%~...
3
votes
0
answers
565
views
delay in audio sync after converting ac3 to aac
I have a MKV video consist of a video and an audio of duration 10 minutes, after using ffmpeg to extract ac3 to aac audio, its duration became 10:50, which lead to audio out of sync with the video ...
2
votes
0
answers
616
views
MPEG-DASH stream never choosing representation with lowest bandwidth
I've converted an mp4 file into four mp4s using ffmpeg: three video-only files of low, medium and high quality, and one with only audio. I then converted these into an MPEG-DASH using MP4Box and ...
0
votes
1
answer
53
views
linux avconv: how to extract a parameter sceme to create new video?
I have different video files, clips. Some are mp4, m4v, flv... withdifferent rates orI don't know which differences more.
The point is, I want to merge files, which I created from input files with ...
0
votes
0
answers
131
views
AtomicParsley - Get STCO Entries only
So I want AtomicParsley to list all of the STCO entries instead of showing something like this
Atom ftyp @ 0 of size: 32, ends @ 32
Atom free @ 32 of size: 8, ends @ 40
Atom mdat @ 40 of size: ...
1
vote
1
answer
3k
views
Merging audio and video files of different length using mp4box
I have to merge video and audio file together. Currently I am using this command
mp4box -flat -add <video> -add <audio> <outputfile>.mp4
But the problem is, if the video is of say ...
3
votes
1
answer
5k
views
How to merge MP4 files with different bitrates?
I want to merge two or three MP4 videos with MPEG-4 AVC video codec and MP3 (sometimes MP3 Surround) audio codecs. Both audio and video can have different bitrate. If it will be possible, without ...
0
votes
1
answer
9k
views
Missing reference frame, slice header decode error
I split this (http://www.auby.no/files/video_tests/h264_720p_mp_3.1_3mbps_aac_shrinkage.mp4) video using mp4box command "MP4Box -split 1 shrinking.mp4" into slices of 1 second each. I have following ...
3
votes
1
answer
6k
views
ffmpeg - concatenating two MP4 files results in bad output file
I generated two MP4 files - a five-second intro file, which is created by the script below, and the main video (about one minute long) is created by screen-cast-omatic, both in MP4 format. When I ...
0
votes
1
answer
2k
views
MP4Box and concatenating files with different aspect ratio
I have a large directory of small video clips taken with a cell phone. I've been able to use mp4box to concatenate them into a single file nicely EXCEPT if they are different aspect ratio. In this ...
2
votes
1
answer
8k
views
How can I extract tags from a MP4 file with MP4Box or mediainfo on the command line
I want to extract tag information like title, author, encoded date, tagged date and so on from several video, audio and subtitle tracks in .mp4 files (for later use in mkvmerge). I need the extracted ...
0
votes
1
answer
3k
views
MP4Box h264 merge video files
I combine video with mp4box. Merge video corrupted.The first video correctly but others are corrupt. Sound properly, the video is corrupted. I know very little english :) Sorry...
MP4Box merge code:
...
0
votes
1
answer
2k
views
How can I run a command on every file in a given directory?
I am using mp4box to move the MOOV atoms on MP4 files.
The thing is, I will have 6 files in a given folder and I don't want to run the inter 500 command six separate times.
Is it possible to do ...
2
votes
0
answers
669
views
Prepend AAC file to MP4 causing audio to get out of sync
I have an application that handles the normalizing and combining of audio and video files from many different sources.
All incoming audio is normalized as follows:
ffmpeg.exe -i "...
0
votes
1
answer
1k
views
Windows Explorer not showing film frame for .mp4
Anyone knows what part of registry is related to this film frame? I installed and uninstalled mp4box, avidemux, YAMB try to set default aspect ratios but failed, and now I have a new problem.
1
vote
1
answer
2k
views
Merging h264/MP4 files with mp4box results in seeking and sync issues
I've a problem while merging two h.264/MP4 files with the same parameters except length.
I'm merging by mp4box -cat .... After that, video players behave strangely:
If I drag time slider closer to ...
1
vote
1
answer
2k
views
MP4 re-ecoding to guarantee concatenation without re-encoding
I have 2 mp4 videos that fail to concatenate when using:
MP4Box -add 1.mp4 -cat 2.mp4 out.mp4
Is there a way to re-encode 2.mp4 so that the concat call will create a valid output? Possibly with ...
52
votes
2
answers
117k
views
How to extract subtitles from MP4 and MKV movies
I'm trying to extract subtitles from MP4 and MKV movies. I'm using mp4box (on OS X) but cannot figure out how it works.
Any hints?
3
votes
6
answers
952
views
Downloading, Re-encoding, and Joining YouTube Videos
I've downloaded a set of Youtube Videos that are part of the same episode. Currently I've tried converting them into mp4 using ffmpeg and then joining with MP4Box.
for f in *.flv; do ffmpeg -i "$f" -...
0
votes
2
answers
4k
views
Why does my mp4 (h.264) need mp4box all the time?
Whenever I convert a video into mp4 with h.264 codec, it doesn't play immediately on Windows or iPad. It plays fine when I convert the video with mp4box. I use the following command to convert.
...
16
votes
4
answers
26k
views
Extract audio aac from mp4
Is there a command line tool for Windows to extract audio aac from mp4 ?
0
votes
1
answer
2k
views
Merging two m4v videos into one
I'm trying to merge two m4v video files into one with mp4box, and failing :(
Here's what mp4box -info reports for first file
* Movie Info *
Timescale 90000 - Duration 01:06:18.836
...