PolyMeilex / PolyMeilex/Neothesia
neothesia-cli creates a video file with no sound
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.5k
- Forks
- 115
- Avg merge
- 7h 48m
- Merged PRs (30d)
- 8
Description
$ ./neothesia-cli-ubuntu/neothesia-cli ./Tetris\ -\ Tetris\ Main\ Theme.mid ./neothesia-cli-ubuntu/out.mp4
[libx264 @ 0x5f56a0dc3100] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x5f56a0dc3100] profile High 4:4:4 Predictive, level 4.2, 4:2:0, 8-bit
[libx264 @ 0x5f56a0dc3100] 264 - core 164 r3108 31e19f9 - H.264/MPEG-4 AVC codec - Copyleft 2003-2023 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=0 mixed_ref=1 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=2 keyint=12 keyint_min=1 scenecut=40 intra_refresh=0 rc=cqp mbtree=0 qp=0
Output #0, mp4, to './neothesia-cli-ubuntu/out.mp4':
Stream #0:0: Video: h264, yuv420p, 1920x1080, q=2-31, 400 kb/s, 60 tbn
Side data:
cpb: bitrate max/min/avg: 0/0/400000 buffer size: 0 vbv_delay: N/A
Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 64 kb/s
Encoding started:
Encoded 2237 frames (37s, 100%) in 35s[aac @ 0x5f56a1032000] Qavg: 65495.648
[libx264 @ 0x5f56a0dc3100] frame I:188 Avg QP: 0.00 size: 12045
[libx264 @ 0x5f56a0dc3100] frame P:2057 Avg QP: 0.00 size: 940
[libx264 @ 0x5f56a0dc3100] mb I I16..4: 96.5% 0.0% 3.5%
[libx264 @ 0x5f56a0dc3100] mb P I16..4: 1.7% 0.0% 0.0% P16..4: 1.8% 0.0% 0.0% 0.0% 0.0% skip:96.4%
[libx264 @ 0x5f56a0dc3100] 8x8 transform intra:0.0% inter:20.4%
[libx264 @ 0x5f56a0dc3100] coded y,uvDC,uvAC intra: 4.0% 1.8% 1.8% inter: 0.1% 0.3% 0.3%
[libx264 @ 0x5f56a0dc3100] i16 v,h,dc,p: 90% 9% 1% 0%
[libx264 @ 0x5f56a0dc3100] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 37% 45% 3% 0% 0% 2% 0% 0%
[libx264 @ 0x5f56a0dc3100] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 61% 17% 18% 1% 1% 0% 1% 0% 1%
[libx264 @ 0x5f56a0dc3100] i8c dc,h,v,p: 95% 2% 4% 0%
[libx264 @ 0x5f56a0dc3100] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x5f56a0dc3100] ref P L0: 58.4% 0.0% 1.7% 39.9%
[libx264 @ 0x5f56a0dc3100] kb/s:897.67
The sound file should work correctly (thanks for helping troubleshoot the soundfont file issue). It may be that the soundfont file isn't loading correctly when invoking neothesia-cli, but I don't see a reference to which soundfont file was used in the output copied/pasted above. The default.sf2 file is located in ~/.config/neothesia and works with normal neothesia (GUI). The video does render video correctly, there's simply no sound.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the supplied neothesia-cli command and compare its audio behavior with normal Neothesia using ~/.config/neothesia/default.sf2. Trace the CLI's soundfont and audio initialization, then verify that the generated MP4 contains audible sound and that the CLI output makes the soundfont usage clear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 48/100