-
Notifications
You must be signed in to change notification settings - Fork 519
can't create dash manifest for audio only fragmented mp4 #3
Copy link
Copy link
Closed
Labels
Description
I have a fragmented mp4 file, but I can't create the dash manifest:
➜ mse ~/Downloads/Bento4-SDK-1-4-2-589.universal-apple-macosx/bin/Release/mp4fragment --fragment-duration 30000 snowblind.mp4 snowblind-frag.mp4
➜ mse ~/Downloads/Bento4-SDK-1-4-2-589.universal-apple-macosx/utils/mp4-dash.py --profiles=on-demand --use-segment-list snowblind-frag.mp4
Parsing media file 1: snowblind-frag.mp4
Extracting track 1 from snowblind-frag.mp4
no video track, cannot autodetect fragment duration
unable to detect fragment duration, using default
Parsing media file 1: tmpWeIW74 = Extracted[track 1 from snowblind-frag.mp4]
Processing and Copying media file tmpWeIW74 = Extracted[track 1 from snowblind-frag.mp4]
Bento4/Source/C++/Apps/Mp4Fragment/Mp4Fragment.cpp
Lines 1026 to 1033 in 865ae71
| if (auto_detect_fragment_duration) { | |
| if (video_track) { | |
| fragment_duration = AutoDetectFragmentDuration(video_track); | |
| } else { | |
| if (Options.verbosity > 0) { | |
| fprintf(stderr, "no video track, cannot autodetect fragment duration\n"); | |
| } | |
| } |
Is it possible to get the fragment duration from audio? Or am I doing something wrong?
Reactions are currently unavailable