Skip to content
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

--embed-subs gives error Unknown encoder 'mov_text' #2141

Closed
prem2017 opened this issue Jan 12, 2014 · 4 comments
Closed

--embed-subs gives error Unknown encoder 'mov_text' #2141

prem2017 opened this issue Jan 12, 2014 · 4 comments

Comments

@prem2017
Copy link

@prem2017 prem2017 commented Jan 12, 2014

How does --embed-subs work, or does it even work? If it works how to use it. please give an example, and to accentuate my point video does have captions no argument with that. Please comment on the issue.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jan 12, 2014

We need the output you get when you run youtube-dl adding the --verbose option.

@prem2017
Copy link
Author

@prem2017 prem2017 commented Jan 13, 2014

I'm listed out the output from console after putting the argument --verbose. Please comment where things went wrong.

youtube-dl -c -i -o '%(autonumber)s-%(title)s-%(uploader)s-%(upload_date)s.%(ext)s' --verbose --write-sub --embed-subs --batch-file Bio-Part_1.txt > Bio-Part_1_log.txt
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-c', '-i', '-o', '%(autonumber)s-%(title)s-%(uploader)s-%(upload_date)s.%(ext)s', '--verbose', '--write-sub', '--embed-subs', '--batch-file', 'Bio-Part_1.txt']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out None, pref: 'UTF-8'
[debug] Batch file urls: ['http://www.youtube.com/watch?v=GcjgWov7mTM&list=PL72DDD40BD2F0FDFE']
[debug] youtube-dl version 2014.01.05.6
[debug] Python version 2.7.3 - Linux-3.2.0-58-generic-i686-with-Ubuntu-12.04-precise
[debug] Proxy map: {}
ERROR: Unknown encoder 'mov_text'
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 982, in post_process
keep_video_wish, new_info = pp.run(info)
File "/usr/local/bin/youtube-dl/youtube_dl/PostProcessor.py", line 479, in run
self.run_ffmpeg_multiple_files(input_files, temp_filename, opts)
File "/usr/local/bin/youtube-dl/youtube_dl/PostProcessor.py", line 100, in run_ffmpeg_multiple_files
raise FFmpegPostProcessorError(msg)
FFmpegPostProcessorError

Thanks,
Prem

@prem2017
Copy link
Author

@prem2017 prem2017 commented Jan 13, 2014

I've listed out the output from console after putting the argument
--verbose. Please comment where things went wrong.

youtube-dl -c -i -o
'%(autonumber)s-%(title)s-%(uploader)s-%(upload_date)s.%(ext)s' --verbose
--write-sub --embed-subs --batch-file Bio-Part_1.txt > Bio-Part_1_log.txt
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-c', '-i', '-o',
'%(autonumber)s-%(title)s-%(uploader)s-%(upload_date)s.%(ext)s',
'--verbose', '--write-sub', '--embed-subs', '--batch-file',
'Bio-Part_1.txt']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out None, pref: 'UTF-8'
[debug] Batch file urls: ['
http://www.youtube.com/watch?v=GcjgWov7mTM&list=PL72DDD40BD2F0FDFE']
[debug] youtube-dl version 2014.01.05.6
[debug] Python version 2.7.3 -
Linux-3.2.0-58-generic-i686-with-Ubuntu-12.04-precise
[debug] Proxy map: {}
ERROR: Unknown encoder 'mov_text'
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 982, in
post_process
keep_video_wish, new_info = pp.run(info)
File "/usr/local/bin/youtube-dl/youtube_dl/PostProcessor.py", line 479, in
run
self.run_ffmpeg_multiple_files(input_files, temp_filename, opts)
File "/usr/local/bin/youtube-dl/youtube_dl/PostProcessor.py", line 100, in
run_ffmpeg_multiple_files
raise FFmpegPostProcessorError(msg)
FFmpegPostProcessorError

Thanks,
Prem

On 13 January 2014 01:22, Jaime Marquínez Ferrándiz <
notifications@github.com> wrote:

We need the output you get when you run youtube-dl adding the --verboseoption.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2141#issuecomment-32131835
.

PREM PRAKASH

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jan 13, 2014

Since you're using Ubuntu I guess you have avconv installed (I would need the content of Bio-Part_1_log.txt to verify it).
I will close this as a duplicate of #2101.
The problem is that the option only works with ffmpeg. You can install it (a recent version) and (in the next version of youtube-dl) you'll be able to use the option --prefer-ffmpeg to force using ffmpeg instead of avconv.

@jaimeMF jaimeMF closed this Jan 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.