Questions tagged [mp4box]

108 questions
13
votes
1 answer

Calculate .m4s segment file suffix in HTML5 video streaming when user seeks to another time

I have created fixed length segments for a long MP4 video using Mp4Box. Mp4Box creates a meta info file mv_init.mp4 and segments like mv_1.m4s, mv_2.m4s, … I stream the video using HTML5 Media Source Extensions and the streaming is working…
asim-ishaq
  • 2,190
  • 5
  • 32
  • 55
8
votes
1 answer

Create MPEG-DASH Initialization segment

I am looking to convert between HLS and MPEG Dash. I do not access to the original fully concatenated video file, only the individual HLS segments. In doing this transformation to MPEG Dash I need to supply an initialziation segment for the Dash…
Mahout
  • 414
  • 1
  • 3
  • 12
5
votes
2 answers

How to create HLS manifest from MPEG DASH segments?

Since, Apple has announced the support for fragmented MP4, Is it possible to create both DASH manifest (.mpd) and HLS manifest (.m3u8) for the same set of segments ( for separate audio and video). How to do it?
5
votes
3 answers

How to use mp4box for android?

I need to make mp4 videos eligible for 'streaming' by moving the moov atom to the start [videos are recorded in app by users of my application(so I do not know when a video will get recorded , from which device) (to be sent to my linux host) ] .…
user6650650
5
votes
2 answers

how to create a mpd file using MP4Box

I am new to this GPAC's MP4Box tool. Using this we can create MPD(Media Presentation Description) files for DASH. I dont know how to do this. Have anyone created a MPD for a video file using this tool?
Raghuvarman
  • 51
  • 1
  • 3
4
votes
0 answers

Metadata when Remuxing MP3 Audiobooks into Apple-friendly MP4 with FFmpeg

Since there is apparently no way to tell iTunes or iOS that MP3s contain an audiobook (or radioplay) by ID3 tag or file extension, I would like to remux them into MPEG-4 Part 14 containers with an .m4b file extension (without converting, i.e.…
Crissov
  • 947
  • 11
  • 16
4
votes
1 answer

MP4 segments with header in each keyframe

I'm trying to locate h264 frames in the mp4 container of a segmented file(styp). For the segmentation I'm currently using MP4Box dash. I used MP4Box parser and I noticed that in each keyframe(IDR) the size of the sample is different than the size of…
Pedro Romano Barbosa
  • 587
  • 3
  • 11
  • 29
4
votes
0 answers

How to decrypt the encrypted audio file using mp4box with eme

I'm getting trouble with encrypt/decrypt file using mp4box and EME. I don't know how to do step by…
vnoo
  • 189
  • 1
  • 1
  • 14
3
votes
1 answer

MP4 moof fragment headers

I have a MP4 parser software that get's a fragmented .mp4 video, parses the MOOV and fragment headers and streams it. I have generated a .mp4 file myself using FFMPEG and MP4Box/bento4, but the software has problems processing it. ffmpeg -i…
Mary
  • 393
  • 1
  • 4
  • 17
3
votes
0 answers

Creating a timed metadata track in MP4

The BMFF defines a meta data track as a track which can appear in the media file in addition to video & audio tracks. Such a track can be in the form of xml (metx), text (mett) or binary (urim). Is there a library which is capable of taking a mp4…
galbarm
  • 2,441
  • 3
  • 32
  • 52
3
votes
2 answers

MPEG-DASH - Multiplexed Representations Issue

I'm trying to learn ffmpeg, MP4Box, and MPEG-DASH, but I'm running into an issue with the .mp4 I'm using. I'm using ffmpeg to demux the mp4 with this command: ffmpeg -i test.mp4 -c:v copy -g 72 -an video.mp4 -c:a copy audio.mp4 Once the two files…
Mike
  • 809
  • 1
  • 10
  • 23
3
votes
0 answers

Working example on live streaming using FFMPEG+MP4Box+Dash.js

I'm stucked on this issue for a couple of days, couldn't find a perfect working example. Here's my current method: Step 1. ffmpeg -re -i sample.mp4 -threads 0 -y \ -map 0:1 -vn -acodec aac -strict -2 -ar 48000 -ac 2 \ -f segment -segment_time 4…
BartMao
  • 651
  • 7
  • 21
3
votes
2 answers

Is it possible to stream multi framerate videos using MPEG-DASH?

I transcoded a mp4 video to several framerates like 5FPS, 10FPS .. 30FPS and used MP4Box to segment them to play in DASH IF player. FFMPEG Command to generate multi framerate videos with same resolution: ffmpeg -i fball.mp4 -f mp4 -vcodec libx264 …
Suresh Murali
  • 731
  • 1
  • 6
  • 10
2
votes
2 answers

HTML5 Video: How to get the index of current frame

I have a web application that processes mp4 video frame-by-frame using this WebCodecs library and stores the presentation timestamp and duration of every VideoFrame. Then i want to play the video and match the currently playing frame with the…
KarelPrdel
  • 99
  • 1
  • 1
  • 7
2
votes
1 answer

how to add audio to video streaming using media source extension

I have a mp4 file sample.mp4. I used mp4box to convert it into segments and mpd using how to create a mpd file using MP4Box Now my code is from this source. After Creating the segments the video is played in the browser. But there is no audio. The…
1
2 3 4 5 6 7 8