-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anyway to set custom-name using "-segment-timeline" #2855
Comments
Post content updated as Now I am doing Re-Encode to fix all unsupported codec issues in browser. |
For the error messages I would have suspected that your sync points are not regular. However your FFmpeg command-line seems fine. Can you upload an 'output_video' file here?
That's because the 'moov' box is contained in the init segment. Add the |
I am having weird issue, no matter how I encode with FFMPEG, Mp4Box keep giving error due to audio. File Link: https://gofile.io/d/PHZTV7 Original File:
FFMPEG Commandvideo: Audio: when checking Audio using FFPROBE After conversion, its like this:
Mp4Box Command:
Error Code:
|
This is unreadable. It looks like you dumped some Python into the issue. I can't see the MP4Box error in here. Could you post the full log please? Or confirm which error you see? Btw I confirm something is indeed incorrect in GPAC with your input file. The DASHing seems to timeout and I tried to inspect it to a limited avail:
and
|
The setup failure is a recent regression on mkv file using The dash messages came from a broken signaling of PID delay in ffdmx resulting in the first GOP being less than 2sec in presentation time, now also fixed.
These are unrelated, probably a mistake in your command line. Could you post it ? |
No follow-up on side question and main issue fixed, closing. If you can reproduce your segment naming problem, please open a new issue. |
I am using Python on Windows 11 with Stable version of GPAC. I am having these warning continuously through out the code.:
If I use "-segment-timeline" I can't use "-segment-name" with custom name format. Using "-segment-name", makes the above error gone. Also when I play it via VLC Player I see this error at beginning of start of the video:
#Update
Now I am trying to ReEncode every video:
Will below config would be best for Mp4Box dash
video_bitrate = {480: "350k", 720: "900k", 1080: "1800k"}
audio_bitrate = {480: "96k", 720: "128k", 1080: "192k"}
key_int = int(self.video_avg_frame_rate * 3) # Calculate keyint for 6-second segments
Video Command:
Audio:
Subtitles:
I am having another issue that:, while inspecting chunks, I get this warning:
I tried everything but I am unable to add this moov details into segments. Is it okay that segment not to have moov info?
Here is the config that i am using. Please guide me if anything wrong and what improvement i can do. I tried to use onDemand but it won't create chunks so I currently stick to main profile as using chunks is mainly needed.
split_command:
[
'C:/Program Files/GPAC/mp4box.exe',
'-dash', '6000',
'-frag', '6000',
'-rap',
'-bound',
'-profile', 'main',
'-segment-ext', 'm4s',
'-segment-name', '$RepresentationID$_$Number$',
'-out', '/manifest.mpd',
'-url-template',
'c9757e84318e.mkv#video:id=vid0:lang=und',
'c9757e84318e.mkv#1:id=aud0:lang=hin',
'c9757e84318e.mkv#2:id=sub0:lang=eng',
'c9757e84318e.mkv#3:id=sub1:lang=eng'
]
Any kind of help is greatly appreciated.
Thank You. 😊
The text was updated successfully, but these errors were encountered: