After setting up the Teddycloud i tried a short test for a creative Tonie to add multiple files. I put multiple Files into the Audioencoder. After some (long) time i ended up with one taf i linked to the tonie. After checking i found out, that i cant skip to another Track.
In my understanding adding multiple files to the TAF should lead to multiple Tracks that can be skipped.
Sadly this seems not to be the case.
Did i missunderstand the audio encoder or where did i move wrong?
Log i got from portainer testing th same with just 2 files (to save the time…):
INFO |handler_api.c:2026:handleApiPcmUpload| got name 'Test.taf'
INFO |handler_api.c:2034:handleApiPcmUpload| got audioId '396405594'
INFO |handler_api.c:1844:taf_encode_start| [TAF] Start encoding to /teddycloud/data/library/Test.taf
INFO |handler_api.c:1845:taf_encode_start| [TAF] first file: Folge 010 - Die Ballon-Wettfahrt - Paw Patrol.mp3
INFO |toniefile.c:0139:toniefile_create| Create TAF: /teddycloud/data/library/Test.taf
INFO |toniefile.c:0394:toniefile_new_chapter| new chapter at 0x00000000
INFO |handler_api.c:1913:taf_encode_end| [TAF] end of file
INFO |server_helpers.c:0484:multipart_handle| Received file 'pcmData.0.pcm'
INFO |handler_api.c:1857:taf_encode_start| [TAF] new chapter for Folge 011 - Hunde Im Schnee - Paw Patrol.mp3
INFO |toniefile.c:0394:toniefile_new_chapter| new chapter at 0x00000A3F
INFO |handler_api.c:1913:taf_encode_end| [TAF] end of file
INFO |server_helpers.c:0484:multipart_handle| Received file 'pcmData.1.pcm'
INFO |handler_api.c:2102:handleApiPcmUpload| [TAF] Ended encoding
From what i understand from the logs there should be 2 chapters.
Also i tried running the same operation locally on my desktop using the teddycloud.exe in cmd in order to see if the chapters get created.
Sadly i was not able to use a whole directory with cmd run as Admin:
teddycloud.exe --encode “C:\PawPatrolTest\test.taf” “C:\PawPatrolTest\Test”
Error opening input: Permission denied
Error opening input file C:\PawPatrolTest\Test.
Error opening input files: Permission denied
My expectation would have been to end up with 1 .taf in folder C:\PawPAtrolTest named test.taf using the files provided in Folder *\Test
Also trying a single file did not work:
teddycloud.exe --encode C:\PawPatrolTest\1.taf C:\PawPatrolTest\1.mp3
i end up with
Error submitting a packet to the muxer: Broken pipe
Last message repeated 1 times
[out#0/s16le @ 00000202177c6f80] Error muxing a packet
[out#0/s16le @ 00000202177c6f80] Task finished with error code: -32 (Broken pipe)
[out#0/s16le @ 00000202177c6f80] Terminating thread with return code -32 (Broken pipe)
[out#0/s16le @ 00000202177c6f80] Error writing trailer: Broken pipe
[out#0/s16le @ 00000202177c6f80] Error closing file: Broken pipe
[out#0/s16le @ 00000202177c6f80] video:0KiB audio:69KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
size= 64KiB time=00:00:00.57 bitrate= 908.4kbits/s speed=13.2x
Conversion failed!
INFO |toniefile.c:0627:ffmpeg_decode_audio_end()| Stopped ffmpeg with code=-32...
ERROR|toniefile.c:0800:ffmpeg_stream()| Could not close FFmpeg pipe error=Operation aborted [15]
ERROR|toniefile.c:0819:ffmpeg_stream()| TAF encoding failed, deleting TAF