New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I cannot get substudy to function #25
Comments
Hi, I'm sorry for the inconvenience. :-( Could you please run: substudy --version
ffmpeg -version ...and let me know what you see? Something odd may be going on here, and I'm wondering if you have a working version of Also, when pasting command output into GitHub, could you please wrap it two lines of three backticks each, like this:
Thank you! |
No need to be sorry! Your posts for language learning have been very inspirational and helpful over the years. Thank you so much for your time and consideration to help me try to resolve this :) When I did the ffmpeg version, I got:
|
OK, so your substudy and your ffmpeg both look pretty plausible. Now let's try using the script Now try running the following commands, exactly as follows, pasting each in at the command prompt: ls
export RUST_LOG=substudy=debug
substudy combine episode_01_01.es.srt episode_01_01.en.srt | head
substudy combine episode_01_01.es.srt episode_01_01.en.srt > combined.srt
ls
head combined.srt
substudy export csv episode_01_01.mkv episode_01_01.es.srt episode_01_01.en.srt
exit When you've done all this, it should create a file named The Thank you for trying this! Something weird is going on here, and |
Okay, I think this is what you wanted. Just everything from start to end of typescript?
As for the video file being unusual, perhaps there is an easier fix here? I have the actual physical DVDs for this TV show. I could always make another copy on Handbrake. When making the first copy, I set "Container" under "Output Settings" to MKV. But on the right side under Presets, is there perhaps a most ideal choice to select over there as well? |
Sorry, accidentally closed and had to reopen the issue. But I am happy to try to redo handbrake again if you think that might be useful. |
Found it! Here's the problem: zmint18@mint18 ~ $ ls
Desktop Downloads Music Public Templates Videos
Documents episode_01_01.bilingual.srt Pictures substudy typescript
zmint18@mint18 ~ $ export RUST_LOG=substudy=debug
zmint18@mint18 ~ $ substudy combine episode_01_01.es.srt episode_01_01.en.srt | head
No such file or directory (os error 2) The command The error messages from |
I've created issue #26 to remind me to improve these error messages. Other than that, I think we've figured out the major problem here, so I'm going to go ahead and close it. Please feel free to reopen this issue if it isn't actually resolved, of course. :-) |
Sorry, I have one simple question....how do I change my directory? right now my code says:
If I have the two srt files and the mkv file all in a folder called "MadMen" on the desktop/homescreen of LinuxMint, how do I change the directory to read to that? I typed in the "cd path/to/my/directory" but am unsure what to do since that brings up an error saying
That is my last question of the day, I promise! |
Try |
When I run,
substudy combine episode_01_01.es.srt episode_01_01.en.srt > episode_01_01.bilingual.srt
Nothing happens. If I drop the word substudy from the above, I get "Usage: combine Filel OP file2" as an error.
If I run
substudy export csv episode_01_01.mkv episode_01_01.es.srt episode_01_01.en.srt
then I get "MissingFieldError("streams")"If I run that code wthout the ">" after mkv, then I get:
Invalid arguments. Usage: substudy clean <subs> substudy combine <foreign-subs> <native-subs> substudy export csv <video> <foreign-subs> [<native-subs>] substudy export review <video> <foreign-subs> [<native-subs>] substudy export tracks <video> <foreign-subs> substudy list tracks <video> substudy --help substudy --version
https://forum.language-learners.org/viewtopic.php?f=19&t=6360&start=10 is where another person tried to help. I welcome your thoughts on where I am going wrong. I installed LinuxMint18 just to use your program, so maybe it is possible I am missing some foundational download I need before using substudy.
The text was updated successfully, but these errors were encountered: