Homebrew Video and audio errors when playing on MPEG-4 Player by Gericom

  • Thread starter Thread starter FamVanHa
  • Start date Start date
  • Views Views 851
  • Replies Replies 3
  • Likes Likes 1

FamVanHa

Active Member
Newcomer
Joined
Apr 29, 2024
Messages
33
Reaction score
31
Trophies
1
Age
18
XP
346
Country
Vietnam
I used FFmpeg to convert but it has video and sound errors when playing on Nintendo DSi.

command line:

ffmpeg -i %1 -f mp4 -vf "fps=24000/1001, colorspace=space=ycgco:Primaries=bt709:trc=bt709:range=pc:iprimaries=bt709:iall=bt709, scale=256:144" -dst_range 1 -color_range 2 -vcodec libxvid -profile:v 0 -level 8 -q:v 0 -maxrate 1536k -acodec aac -ar 48k -b:a 64k -ac 1 -slices 1 -g 50 %2

But the video and audio were broken when playing.

I continued to use my friend's computer to render the video, but the error was worse, everything was fine only when I used the computer at the internet cafe to render the video. All 3 times the video was rendered using the same FFmpeg command.

It seems that the error lies in the audio encoding process.
It seems that the original AAC codec version (specified with the FFmpeg command "-acodec aac") is different on each platform/device.

notes:

A: my smartphone

B: my friend's computer

C: computer at the internet cafe
c.png
b.png
a.png
 
Last edited by FamVanHa,
  • Like
Reactions: BigOnYa
First: MP4 container is much more popular than FastVideoDS's rvid format. Second: rvid format is limited in compatibility, it is difficult to play on other devices. Third: performance issue. Audio and video will lose synchronization after only a few minutes. Fourth: the error I encountered seems to come from the AAC codec. It is also AAC-LC, but on different devices, the compression performance will be different, with the parameter of 128kbps/48KHz, the AAC-LC codec version on my friend's computer gives better sound quality than OPUS or Vorbis codec at the same bitrate and sample rate.
 

Site & Scene News

Popular threads in this forum