Skip to content

DAM Karaoke machines need End of sequence (EOS) and End of stream (EOB) NAL units in H.264 bitstreams. This Docker image provides FFmpeg with patched x264.

License

Notifications You must be signed in to change notification settings

DKKaraoke/ffmpeg-dam-patched

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ffmpeg-dam-patched

Summary

DAM Karaoke machines need End of sequence (EOS) and End of stream (EOB) NAL units in H.264 bitstreams. This Docker image provides FFmpeg with patched x264.

Refer to: https://mailman.videolan.org/pipermail/x264-devel/2021-April/012885.html

Build

docker build . -t ffmpeg_with_eos_eob

Usage

If you want to encode for DAM Karaoke Machines, DO NOT CHANGE encoding parameters.

./encode_for_dam.sh SOURCE_PATH DESTINATION_PATH

or

docker run -v $(pwd):$(pwd) -w $(pwd) -u $(id -u):$(id -g) ffmpeg_with_eos_eob -i SOURCE_PATH -r 30000/1001 -c:v libx264 -bsf:v h264_mp4toannexb -profile:v main -pix_fmt yuv420p -level:v 4.0 -x264-params "fps=30000/1001:force_cfr=1:slices=1:tff=1:bluray_compat=1:bframes=2:open_gop=0:keyint=15:keyint_min=15:scenecut=-1:bitrate=8000:vbv_maxrate=8000:vbv_bufsize=8000:nal_hrd=cbr:eob=1:eos=1" DESTINATION_PATH

List of verified DAM Karaoke machine

  • DAM-XG5000[G,R] (LIVE DAM [(GOLD EDITION|RED TUNE)])
  • DAM-XG7000[Ⅱ] (LIVE DAM STADIUM [STAGE])
  • DAM-XG8000[R] (LIVE DAM Ai[R])

Authors

  • soltia48

Thanks

License

MIT

Copyright (c) 2024 soltia48

About

DAM Karaoke machines need End of sequence (EOS) and End of stream (EOB) NAL units in H.264 bitstreams. This Docker image provides FFmpeg with patched x264.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published