mp4fragment reduces video file duration

885 Views Asked by At

Trying to create fragmented MP4 file from a non-fragmented one via command

mp4fragment --fragment-duration 10000 5ca31321e4b068348e2220a9-480p.mp4 5ca31321e4b068348e2220a9-480p.mp4_fragmented

But got media with incorrect duration of 2880000 ms (~ 48 minutes)

mediainfo --Inform=file:///var/cache/tomcat/temp/SC2024943881495774878TMP 5ca31321e4b068348e2220a9-480p.mp4_fragmented 
CompleteName=5ca31321e4b068348e2220a9-480p.mp4_fragmented

Duration=2880000
Width=848
Height=480 BitRate=1099968 VideoId=1
AspectRatio=1.767
Language_3=

The original media file duration is 2880040:

mediainfo --Inform=file:///var/cache/tomcat/temp/SC2024943881495774878TMP 5ca31321e4b068348e2220a9-480p.mp4

Duration=2880040
Width=640
Height=360
BitRate=800000
VideoId=1
AspectRatio=1.778
Language_3=

0

There are 0 best solutions below