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.

This tag is for questions related to the usage of the mp4box tool from the GPAC Open Source project for manipulating MP4 files or more generally ISOBMFF files. When using this tag, provide the exact version of mp4box you are using, and the platform (Win, Linux, Mac ...) which can be obtained by running the command: MP4Box -version. Bug reports should be directed to the GitHub account of the project.

29 questions
52
votes
2 answers

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?
Open the way
  • 8,283
  • 13
  • 49
  • 69
16
votes
4 answers

Extract audio aac from mp4

Is there a command line tool for Windows to extract audio aac from mp4 ?
iceman
  • 2,432
  • 16
  • 50
  • 76
3
votes
1 answer

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 transcoding. I already tried using FFmpeg, MP4Box and…
Jakub
  • 131
  • 1
  • 5
3
votes
1 answer

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 attempt to concatenate them using the ffmpeg -f…
DevDewboy
  • 41
  • 1
  • 3
3
votes
6 answers

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" -vcodec copy -acodec copy "${f%.flv}.mp4";…
3
votes
3 answers

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.04 After running: apt-get install ffmpeg, I'm not…
darox
  • 41
  • 1
  • 1
  • 3
3
votes
0 answers

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 after packaging the new extracted audio to mp4…
2
votes
0 answers

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 "PathToIncommingAudioFile" -acodec aac -ac 2 -ar 44100 -ab 128k -strict…
Bill Bonar
  • 121
  • 1
2
votes
2 answers

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 replicate it to work with .wmv. According to the…
Fabio Freitas
  • 161
  • 2
  • 14
2
votes
0 answers

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 hosted it…
Shiraz Butt
  • 121
  • 2
1
vote
1 answer

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
Sourabh
  • 133
  • 1
  • 7
1
vote
1 answer

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 information in a text or xml file and searching…
Endoro
  • 2,854
  • 1
  • 17
  • 17
1
vote
1 answer

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 the end of file it resets to restart the video and…
Semeyon
1
vote
1 answer

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 ffmpeg? I can only re-encode one file and I want…
Scrooch
  • 11
  • 2
1
vote
2 answers

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 Dolby Digital Plus (which my audio track is btw)…
AlphaInc.
  • 179
  • 1
  • 1
  • 11
1
2