FLAC seek tables appear to not be created when transcoding
Posted: 23 Jun 2020 07:05
Sorry if this was discussed before, but I couldn't find anything that was specific.
I am trying to develop an application using VLCj that will covert and concatinate audio files to/from wav, mp3, flac or monkey's audio. I realize I can not encode with monkey's audio. That is not my problem. My problem now is that when a file is successfully encoded using FLAC, the seek table, the thing that allows you to go to a specific time in the middle of the file in a player does not seem to be added to the file. So, the file will play, but I can't go to a specific time. When I pause the audio it starts at the beginning rather than remembering where it was paused. Is there any way around this? Am I doing something wrong? I was able to piece together a command line version that has the same behavior.
c:\vlc\vlc.exe -vv C:\_media\test2.wav --sout=#transcode{vcodec=none,acodec=flac,ab=4,channels=2,samplerate=44100}:std{access=file,mux=raw,dst='C:\_media\test2.flac'}
I am trying to develop an application using VLCj that will covert and concatinate audio files to/from wav, mp3, flac or monkey's audio. I realize I can not encode with monkey's audio. That is not my problem. My problem now is that when a file is successfully encoded using FLAC, the seek table, the thing that allows you to go to a specific time in the middle of the file in a player does not seem to be added to the file. So, the file will play, but I can't go to a specific time. When I pause the audio it starts at the beginning rather than remembering where it was paused. Is there any way around this? Am I doing something wrong? I was able to piece together a command line version that has the same behavior.
c:\vlc\vlc.exe -vv C:\_media\test2.wav --sout=#transcode{vcodec=none,acodec=flac,ab=4,channels=2,samplerate=44100}:std{access=file,mux=raw,dst='C:\_media\test2.flac'}