Replies: 2 comments 6 replies
-
|
The problem here is that |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I created a branch/PR that incorporates some of the prospective changes, if you have time, test it out and let me know if it addresses your suggestions. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Firstly, thank you for such a useful, well maintained program.
My problem is that I have a conversation that was 5.3GB big according to the program. First I used
-f html -c cloneto create the export, but then I found out audio files wouldn't play (because they're in an x-caf container). So I tried-c full, however, it was taking really long, when my original try took seconds.Looking at the code for using ffmpeg to convert audio and video,
I realised both audio and video are re-encoding (as no codec has been specified in either case), so it was going to take a long time to reencode all that.
This is the default behaviour of ffmpeg per the DESCRIPTION section of the manpage
Afaik, afconvert/audiotoolbox can only create caf or m4a, so ffmpeg would be required for this option, but the command should rather be
ffmpeg -i from_path -c copy to_pathorffmpeg -i from_path -c:a copy -c:v copy -c:s copy copy to_pathThis would avoid re-encoding, so the speed would be very similar to the
-c cloneoption, while improving compatibility and it would avoid quality loss.The last part of the equation would be the container to use.
ffmpeg -muxerswould show the potential container formats, which can either be given asto_path.extor specified with the-fparameter in ffmpeg.Looking at https://en.wikipedia.org/wiki/HTML_audio#Supported_audio_coding_formats, I suggest using
webmfor opus audio messages andmp4for everything else.Sorry for the long issue, hopefully this makes sense. I would also like if this option could override the use of
afconverton macos. Feel free to ask me if you didn't understand anything or would like some more detail.Beta Was this translation helpful? Give feedback.
All reactions