mp4box

combine specific mpeg-dash segments (ex int.mp4 + seg_1.m4s +seg_3.m4s) into one single mp4 file

做~自己de王妃 提交于 2019-12-22 01:03:59
问题 I am working one video transcoding in FFmpeg and MP4Box. Currently I am trying to combine/merge/concatenate specific MPEG-DASH video segments(m4s ex:int.mp4, seg_1.m4s, seg2,m4s,sge5.m4s) into one mp4 file. This the example of what I am trying to do. I have followed this thread ("Combine MPEG-DASH segments (ex, init.mp4 + segments.m4s) back to a full source.mp4?") but there is a problem while combining the specific m4s segments, while doing that it frames feazed in after seg2 and in seg5 it

Create MPEG-DASH Initialization segment

倖福魔咒の 提交于 2019-12-18 16:16:38
问题 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 manifest .mpd file. My questions are: What is the structure of a Dash video initialization segment? How can I generate/create one without the need for the original full file? Perhaps a solution would involve getting MP4Box to convert the '.ts' HLS

what happen to B-frames?! MP4Box evalvid , JM .264

谁都会走 提交于 2019-12-13 08:35:29
问题 I encode an HD video (Beauty.yuv) by JM with IBBBPBBBPBBBP... pattern. then to convert output.264 to out.mp4 by MP4Box do this: MP4Box -profile high -hint -mtu 1024 -fps 30 -add output.264 out.mp4 then I make .st file: ./mp4trace -f -s 192.168.0.2 12346 out.mp4 > st_a01.st but my st file look like: 1 I 142647 140 0.075 2 P 82493 81 0.202 3 P 24373 24 0.204 4 P 29224 29 0.204 5 P 23495 23 0.204 6 P 76393 75 0.331 7 P 22832 23 0.331 8 P 25367 25 0.336 9 P 22635 23 0.336 10 P 120039 118 0.469 11

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

随声附和 提交于 2019-12-09 14:51:46
问题 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 properly. The problem is that I am unable to utilize time seeking feature of my HTML5 player . When a user uses the seekbar to seek to another time point, I need to fetch the correct segment file ( mv_{number}.m4s ) for that currentTime . For example:

h264格式的flv和mkv无损转换成mp4的方法

ぃ、小莉子 提交于 2019-12-06 22:57:48
现在很多flv和mkv视频都是采用的h264封装,移动设备往往并不支持这些格式的文件,但却对h264封装的mp4支持良好。因此,为了视频能在电脑和移动设备间共享,我通常会将其转换成h264封装的mp4文件。 由于视频转码非常耗时间和cpu,如果flv和mkv本来就是采用的h264封装,完全不需要转码,只需要把h264视频和音频文件分离出来,重新混流一次即可,十几秒内即可完成,非常快速,并且由于没有转码操作,也避免了转码过程的画面损失。 下面我就介绍几种将h264格式的flv和mkv无损转换为mp4的方法。 一、通过ffmpeg转换mkv文件 ffmpge( 点击下载 )可以非常快速的实现h264视频的分离和混流,并且是命令行的操作,也没有什么参数需要设置,非常适合批量转换: ffmpeg.exe -i input.mkv -y -vcodec copy -acodec copy output.mp4 要实现批量转换,可以直接用这个批处理文件: for %%i in ( *.mkv ) do ffmpeg.exe -i "%%i" -vcodec copy -acodec copy " %%~ni.mp4 " 二、通过FlvExtract + mp4box转换mkv文件 这个方法本身也支持转换flv文件,但是ffmpeg貌似对flv的支持不够好,很容易转换失败。对于flv文件

combine specific mpeg-dash segments (ex int.mp4 + seg_1.m4s +seg_3.m4s) into one single mp4 file

风格不统一 提交于 2019-12-04 22:25:57
I am working one video transcoding in FFmpeg and MP4Box. Currently I am trying to combine/merge/concatenate specific MPEG-DASH video segments(m4s ex:int.mp4, seg_1.m4s, seg2,m4s,sge5.m4s) into one mp4 file. This the example of what I am trying to do. I have followed this thread (" Combine MPEG-DASH segments (ex, init.mp4 + segments.m4s) back to a full source.mp4? ") but there is a problem while combining the specific m4s segments, while doing that it frames feazed in after seg2 and in seg5 it played again. Reference: FFmpeg example 来源: https://stackoverflow.com/questions/55701262/combine

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

心已入冬 提交于 2019-12-04 00:46:26
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 properly. The problem is that I am unable to utilize time seeking feature of my HTML5 player . When a user uses the seekbar to seek to another time point, I need to fetch the correct segment file ( mv_{number}.m4s ) for that currentTime . For example: video duration: 2 hours segment size: 10 seconds user seeks to time: 25 minutes 25 minutes = 25 × 60

Create MPEG-DASH Initialization segment

*爱你&永不变心* 提交于 2019-11-30 14:06:19
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 manifest .mpd file. My questions are: What is the structure of a Dash video initialization segment? How can I generate/create one without the need for the original full file? Perhaps a solution would involve getting MP4Box to convert the '.ts' HLS segments to Dash '.m4s' segments which are self initializing, but I am unsure how to go about this this?