Closed chanof closed 4 years ago
we had a bug assigning a wrong value for time-shift (/1000), should now be fixed. However the issue at the end of the session is strange and I cannot reproduce it, it is source-related. Could you upload your test files somewhere ?
Hi! yes http://www.unknow.tv/incoming/output_180.mp4 http://www.unknow.tv/incoming/output_360.mp4 http://www.unknow.tv/incoming/output_720.mp4 http://www.unknow.tv/incoming/output_1080.mp4 http://www.unknow.tv/incoming/output_audio.mp4
Using GPAC tag 0.8.0 I get no errors
This is the ffmpeg coding responsible for 1080 adaptation set
Before the master track encoding there is the audio encoding:
#AUDIO ENCODING
for f in *.mp4;
do
NAME=$(echo "$f" | cut -d'.' -f1)
ffmpeg -y -i "$f" -c copy -video_track_timescale 90k -c:a aac -b:a 384k -ar 44100 -ac 2 -shortest -af aresample=async=1 ../buffer/${NAME}_buffer.mp4
done
1080 encoding process:
#ENCODING MASTER TRACK
ffmpeg -f concat -safe 0 -y -i list.txt -loop 1 -i ../logo/logo.png -c:a copy -c:v libx264 -x264opts keyint=$GOP:min-keyint=$GOP:no-scenecut -bf 0 -r $FPSC -b:v 4800k -maxrate 9600k -bufsize 19200k -profile:v main -crf 22 -filter_complex "[0:v][1:v]overlay=main_w-overlay_w-10:10,scale=1920:1080,setsar=1" -t $TOTDUR 1080set.mp4
#EXTRACTING AUDIO FROM MASTER VIDEO TRACK
ffmpeg -y -i 1080set.mp4 -c copy -vn ../output/output_audio.mp4
#REMOVE AUDIO FROM MASTER VIDEO TRACK
ffmpeg -y -i 1080set.mp4 -c copy -an ../output/output_1080.mp4
Thanks for your work!
This is now fixed, thanks for the detailed report.
@jeanlf I am getting the same error with GPAC release 2.2.1 when running MP4Box -dash 1000 -profile live -mpd-refresh 15 -dynamic "sample.mp4" -out live.mpd
:
[Dasher] Segment 1 duration 5.26667 more than 3/2 DASH duration, consider reencoding or using segment timeline
[Dasher] AS-1 Rep 1 segment 1 done 5196 ms before UTC due time
[Dasher] updated period DID1 duration 5266 MPD time 52663s 34 %
[Dasher] First CTS 80896 in segment 2 drifting by 4.26667 (more than half a segment duration) from segment time, consider reencoding or using segment timeline
[Dasher] Segment 2 duration 5.06667 more than 3/2 DASH duration, consider reencoding or using segment timeline
[Dasher] AS-1 Rep 1 segment 2 done 10227 ms before UTC due time
[Dasher] removing segment sample_dash1.m4s 68 %
[Dasher] updated period DID1 duration 10333 MPD time 10333
It's removing the generated m4s files for some reason.
Streaming the file with MP4Box -dash 1000 -frag 1000 -rap -segment-name segment_ "sample.mp4"
works fine but I wanna do it dynamic so I can push new mp4 files as they arrive at the server to the live stream (like this issue: https://github.com/gpac/gpac/issues/1252).
Any help would be very appreciated!
Hello, in order to upgrading the os to Ubuntu 18.04 LTS I get an issue about MP4Box version 1.0.0-rev156-gbcbdbdbf4-master
The command:
Give me this kind of errors:
I think that it could be an install issue, since the command worked in the preview os/configuration, but also the GPAC revision upgrade could metter. I can't understand these errors:
I observe the same issue on OSX Mojave
May ask help to understand and fix what is going on? Thank you
Gian