Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
88 views

Generate mpeg-dash live content from transport stream UDP input using ffmpeg/mp4box

I'm receiving mpeg-2 transport stream UDP input. I want to serve this content using an HTTP server. I know that mp4box can be used to grab the udp and dump it in a file. mp4box -grab-ts udp://ip:...
0
votes
0answers
313 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. ...
0
votes
1answer
69 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
0answers
77 views

MP4Box: How to auto add video TrackID to batch file?

Update: I was using an older version of ffmpeg and having issues with it. Updating solved my problem and I no longer need to use MP4Box to extract the correct video track. Now I'm just curious if it'...
0
votes
1answer
31 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 "%~...
1
vote
0answers
216 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 ...
0
votes
0answers
82 views

What are trun_flags in a fragmented mp4?

What is the implication of the trun_flags values in a fragmented mp4? I have a parser that works correctly for some values (4, 5) and wrongly for other trun_flags values... Need help on this. I tried ...
1
vote
0answers
370 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
1answer
41 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
0answers
80 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
1answer
1k 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 ...
4
votes
1answer
3k 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
1answer
6k 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
1answer
5k 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
1answer
1k 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 ...
1
vote
1answer
5k 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
1answer
2k 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
1answer
1k 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
0answers
569 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
1answer
894 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
1answer
1k 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
1answer
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 ...
3
votes
6answers
707 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
2answers
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. ...
10
votes
5answers
14k views

Extract audio aac from mp4

Is there a command line tool for Windows to extract audio aac from mp4 ?
0
votes
1answer
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 ...