How can I burn-in subtitles to a file using ffmpeg?
I have a file called test.m4a and test.srt in the same folder.
How can I burn in the subtitles to m4a?
The output I am getting is :
Korays-MacBook-Pro:~ koraytugay$ ./ffmpeg -i test.m4v -vf subtitles=test.srt out.m4v
ffmpeg version 2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
built on Oct 8 2014 19:37:09 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --arch=x86_64 --enable-runtime-cpudetect
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fca6201e000] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fca6201e000] Could not find codec parameters for stream 1 (Video: none (drmi / 0x696D7264), 640x478, 1389 kb/s): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fca6201e000] Could not find codec parameters for stream 2 (Subtitle: none (p608 / 0x38303670), 853x478, 0 kb/s): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.m4v':
Metadata:
major_brand : M4V
minor_version : 0
compatible_brands: M4V mp42isom
creation_time : 2014-06-09 19:13:04
title : Day 1: 2:00 A.M. - 3:00 A.M.
artist : 24
album_artist : 24
album : 24
genre : Drama
track : 3
disc : 1/1
compilation : 0
gapless_playback: 0
date : 2001-11-20T08:00:00Z
copyright : © 2001 Twentieth Century Fox Film Corporation
description : Jack verifies the key card was encrypted on Nina's computer.
show : 24
episode_id : 1AFF02
season_number : 1
episode_sort : 3
media_type : 10
synopsis : Kimberly and Janet find themselves in great danger and must look for an escape route. In her search for Kimberly, Teri has found help from Janet's father Alan York. Meanwhile, Palmer attends a secret meeting about disturbing news that is about to break,
iTunMOVI : <?xml version="1.0" encoding="UTF-8"?>
: <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
: <plist version="1.0">
: <dict>
: <key>asset-info</key>
: <dict>
: <key>closed-captioned</key>
: <true/>
: <key>file-size</key>
: <integer>484838754</integer>
: <key>flavor</key>
: <string>4:640x480LC-128</string>
: <key>screen-format</key>
: <string>widescreen</string>
: </dict>
: </dict>
: </plist>
:
Duration: 00:42:30.01, start: 0.000000, bitrate: 1521 kb/s
Stream #0:0(eng): Audio: aac (drms / 0x736D7264), 44100 Hz, stereo, fltp, 124 kb/s (default)
Metadata:
creation_time : 2014-06-09 19:13:04
handler_name : Apple Sound Media Handler
Stream #0:1(eng): Video: none (drmi / 0x696D7264), 640x478, 1389 kb/s, SAR 4:3 DAR 1280:717, 23.98 fps, 23.98 tbr, 2997 tbn, 2997 tbc (default)
Metadata:
creation_time : 2014-06-09 19:13:04
handler_name : Apple Video Media Handler
Stream #0:2(eng): Subtitle: none (p608 / 0x38303670), 853x478, 0 kb/s (default)
Metadata:
creation_time : 2014-06-09 19:13:04
handler_name : Apple Closed Caption Media Handler
Stream #0:3: Video: mjpeg, yuvj444p(pc, bt470bg), 1400x1400 [SAR 300:300 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
[AVFilterGraph @ 0x7fca61e133e0] No such filter: 'subtitles'
Error opening filters!
Korays-MacBook-Pro:~ koraytugay$
ffmpeg
add a comment |
I have a file called test.m4a and test.srt in the same folder.
How can I burn in the subtitles to m4a?
The output I am getting is :
Korays-MacBook-Pro:~ koraytugay$ ./ffmpeg -i test.m4v -vf subtitles=test.srt out.m4v
ffmpeg version 2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
built on Oct 8 2014 19:37:09 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --arch=x86_64 --enable-runtime-cpudetect
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fca6201e000] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fca6201e000] Could not find codec parameters for stream 1 (Video: none (drmi / 0x696D7264), 640x478, 1389 kb/s): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fca6201e000] Could not find codec parameters for stream 2 (Subtitle: none (p608 / 0x38303670), 853x478, 0 kb/s): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.m4v':
Metadata:
major_brand : M4V
minor_version : 0
compatible_brands: M4V mp42isom
creation_time : 2014-06-09 19:13:04
title : Day 1: 2:00 A.M. - 3:00 A.M.
artist : 24
album_artist : 24
album : 24
genre : Drama
track : 3
disc : 1/1
compilation : 0
gapless_playback: 0
date : 2001-11-20T08:00:00Z
copyright : © 2001 Twentieth Century Fox Film Corporation
description : Jack verifies the key card was encrypted on Nina's computer.
show : 24
episode_id : 1AFF02
season_number : 1
episode_sort : 3
media_type : 10
synopsis : Kimberly and Janet find themselves in great danger and must look for an escape route. In her search for Kimberly, Teri has found help from Janet's father Alan York. Meanwhile, Palmer attends a secret meeting about disturbing news that is about to break,
iTunMOVI : <?xml version="1.0" encoding="UTF-8"?>
: <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
: <plist version="1.0">
: <dict>
: <key>asset-info</key>
: <dict>
: <key>closed-captioned</key>
: <true/>
: <key>file-size</key>
: <integer>484838754</integer>
: <key>flavor</key>
: <string>4:640x480LC-128</string>
: <key>screen-format</key>
: <string>widescreen</string>
: </dict>
: </dict>
: </plist>
:
Duration: 00:42:30.01, start: 0.000000, bitrate: 1521 kb/s
Stream #0:0(eng): Audio: aac (drms / 0x736D7264), 44100 Hz, stereo, fltp, 124 kb/s (default)
Metadata:
creation_time : 2014-06-09 19:13:04
handler_name : Apple Sound Media Handler
Stream #0:1(eng): Video: none (drmi / 0x696D7264), 640x478, 1389 kb/s, SAR 4:3 DAR 1280:717, 23.98 fps, 23.98 tbr, 2997 tbn, 2997 tbc (default)
Metadata:
creation_time : 2014-06-09 19:13:04
handler_name : Apple Video Media Handler
Stream #0:2(eng): Subtitle: none (p608 / 0x38303670), 853x478, 0 kb/s (default)
Metadata:
creation_time : 2014-06-09 19:13:04
handler_name : Apple Closed Caption Media Handler
Stream #0:3: Video: mjpeg, yuvj444p(pc, bt470bg), 1400x1400 [SAR 300:300 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
[AVFilterGraph @ 0x7fca61e133e0] No such filter: 'subtitles'
Error opening filters!
Korays-MacBook-Pro:~ koraytugay$
ffmpeg
add a comment |
I have a file called test.m4a and test.srt in the same folder.
How can I burn in the subtitles to m4a?
The output I am getting is :
Korays-MacBook-Pro:~ koraytugay$ ./ffmpeg -i test.m4v -vf subtitles=test.srt out.m4v
ffmpeg version 2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
built on Oct 8 2014 19:37:09 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --arch=x86_64 --enable-runtime-cpudetect
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fca6201e000] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fca6201e000] Could not find codec parameters for stream 1 (Video: none (drmi / 0x696D7264), 640x478, 1389 kb/s): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fca6201e000] Could not find codec parameters for stream 2 (Subtitle: none (p608 / 0x38303670), 853x478, 0 kb/s): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.m4v':
Metadata:
major_brand : M4V
minor_version : 0
compatible_brands: M4V mp42isom
creation_time : 2014-06-09 19:13:04
title : Day 1: 2:00 A.M. - 3:00 A.M.
artist : 24
album_artist : 24
album : 24
genre : Drama
track : 3
disc : 1/1
compilation : 0
gapless_playback: 0
date : 2001-11-20T08:00:00Z
copyright : © 2001 Twentieth Century Fox Film Corporation
description : Jack verifies the key card was encrypted on Nina's computer.
show : 24
episode_id : 1AFF02
season_number : 1
episode_sort : 3
media_type : 10
synopsis : Kimberly and Janet find themselves in great danger and must look for an escape route. In her search for Kimberly, Teri has found help from Janet's father Alan York. Meanwhile, Palmer attends a secret meeting about disturbing news that is about to break,
iTunMOVI : <?xml version="1.0" encoding="UTF-8"?>
: <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
: <plist version="1.0">
: <dict>
: <key>asset-info</key>
: <dict>
: <key>closed-captioned</key>
: <true/>
: <key>file-size</key>
: <integer>484838754</integer>
: <key>flavor</key>
: <string>4:640x480LC-128</string>
: <key>screen-format</key>
: <string>widescreen</string>
: </dict>
: </dict>
: </plist>
:
Duration: 00:42:30.01, start: 0.000000, bitrate: 1521 kb/s
Stream #0:0(eng): Audio: aac (drms / 0x736D7264), 44100 Hz, stereo, fltp, 124 kb/s (default)
Metadata:
creation_time : 2014-06-09 19:13:04
handler_name : Apple Sound Media Handler
Stream #0:1(eng): Video: none (drmi / 0x696D7264), 640x478, 1389 kb/s, SAR 4:3 DAR 1280:717, 23.98 fps, 23.98 tbr, 2997 tbn, 2997 tbc (default)
Metadata:
creation_time : 2014-06-09 19:13:04
handler_name : Apple Video Media Handler
Stream #0:2(eng): Subtitle: none (p608 / 0x38303670), 853x478, 0 kb/s (default)
Metadata:
creation_time : 2014-06-09 19:13:04
handler_name : Apple Closed Caption Media Handler
Stream #0:3: Video: mjpeg, yuvj444p(pc, bt470bg), 1400x1400 [SAR 300:300 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
[AVFilterGraph @ 0x7fca61e133e0] No such filter: 'subtitles'
Error opening filters!
Korays-MacBook-Pro:~ koraytugay$
ffmpeg
I have a file called test.m4a and test.srt in the same folder.
How can I burn in the subtitles to m4a?
The output I am getting is :
Korays-MacBook-Pro:~ koraytugay$ ./ffmpeg -i test.m4v -vf subtitles=test.srt out.m4v
ffmpeg version 2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
built on Oct 8 2014 19:37:09 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --arch=x86_64 --enable-runtime-cpudetect
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fca6201e000] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fca6201e000] Could not find codec parameters for stream 1 (Video: none (drmi / 0x696D7264), 640x478, 1389 kb/s): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fca6201e000] Could not find codec parameters for stream 2 (Subtitle: none (p608 / 0x38303670), 853x478, 0 kb/s): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.m4v':
Metadata:
major_brand : M4V
minor_version : 0
compatible_brands: M4V mp42isom
creation_time : 2014-06-09 19:13:04
title : Day 1: 2:00 A.M. - 3:00 A.M.
artist : 24
album_artist : 24
album : 24
genre : Drama
track : 3
disc : 1/1
compilation : 0
gapless_playback: 0
date : 2001-11-20T08:00:00Z
copyright : © 2001 Twentieth Century Fox Film Corporation
description : Jack verifies the key card was encrypted on Nina's computer.
show : 24
episode_id : 1AFF02
season_number : 1
episode_sort : 3
media_type : 10
synopsis : Kimberly and Janet find themselves in great danger and must look for an escape route. In her search for Kimberly, Teri has found help from Janet's father Alan York. Meanwhile, Palmer attends a secret meeting about disturbing news that is about to break,
iTunMOVI : <?xml version="1.0" encoding="UTF-8"?>
: <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
: <plist version="1.0">
: <dict>
: <key>asset-info</key>
: <dict>
: <key>closed-captioned</key>
: <true/>
: <key>file-size</key>
: <integer>484838754</integer>
: <key>flavor</key>
: <string>4:640x480LC-128</string>
: <key>screen-format</key>
: <string>widescreen</string>
: </dict>
: </dict>
: </plist>
:
Duration: 00:42:30.01, start: 0.000000, bitrate: 1521 kb/s
Stream #0:0(eng): Audio: aac (drms / 0x736D7264), 44100 Hz, stereo, fltp, 124 kb/s (default)
Metadata:
creation_time : 2014-06-09 19:13:04
handler_name : Apple Sound Media Handler
Stream #0:1(eng): Video: none (drmi / 0x696D7264), 640x478, 1389 kb/s, SAR 4:3 DAR 1280:717, 23.98 fps, 23.98 tbr, 2997 tbn, 2997 tbc (default)
Metadata:
creation_time : 2014-06-09 19:13:04
handler_name : Apple Video Media Handler
Stream #0:2(eng): Subtitle: none (p608 / 0x38303670), 853x478, 0 kb/s (default)
Metadata:
creation_time : 2014-06-09 19:13:04
handler_name : Apple Closed Caption Media Handler
Stream #0:3: Video: mjpeg, yuvj444p(pc, bt470bg), 1400x1400 [SAR 300:300 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
[AVFilterGraph @ 0x7fca61e133e0] No such filter: 'subtitles'
Error opening filters!
Korays-MacBook-Pro:~ koraytugay$
ffmpeg
ffmpeg
edited Oct 24 '14 at 13:31
slhck
161k47447470
161k47447470
asked Oct 24 '14 at 12:08
Koray TugayKoray Tugay
78131429
78131429
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Like the wiki page mentions, your ffmpeg build needs to be compiled with the --enable-libass
option for the subtitle filter to work. Yours seems to be a build which unfortunately does not have that.
The easiest way would be to use Homebrew.
Then install ffmpeg:
brew install ffmpeg
Then, try again:
ffmpeg -i test.m4v -vf subtitles=test.srt -c:a copy out.m4v
Make sure to read the H.264 encoding guide to learn how to set the output quality.
Note that you cannot convert files that are DRM-encrypted, like the one in your example (see video codec drmi
). This is an open ticket for ffmpeg, but unlikely to be resolved.
I purchased the episode from itunes store but when I play on my ipod 30 gb I can not see the subtitles. This is why I am trying to burn-in.
– Koray Tugay
Oct 24 '14 at 16:40
I found a drm removal software and it worked but it only works for 5 minutes of video.. And it is 45 dollars.. But it worked.. Are there any free alternatives for removing drm? I really want to buy videos from itunes store instead of downloading from torrent but I really need the subtitles as well..
– Koray Tugay
Oct 24 '14 at 17:22
(And they wonder why people torrent videos…) I am not aware of a free solution. Unfortunately there's lots of (quite spammy) software out there, it seems. As far as I can see the iPod 30GB does not support the video format, so you'd have to re-encode the video anyway. Does the iPod even play other videos with subtitles you have, or is that the first you're trying?
– slhck
Oct 24 '14 at 17:33
I can import sd videos to ipod 30 gb directly, but not hd videos. I bought episode 3 of season 1 the show "24" and I can play it fine in my ipod 30gb, but unfortunatly no subtitle.. I also bought 1 episode Walking Dead but itunes says it is not compatible with ipod 30 gb.. But 24 is good enough for me..
– Koray Tugay
Oct 24 '14 at 17:38
This thread mentions an app (Requiem) that you can only get via Tor, and it should remove DRM too. From the looks of it, it doesn't work with iTunes 11 though. Unfortunately, I think that I can't help you any further since I don't have files to test with.
– slhck
Oct 24 '14 at 17:43
add a comment |
I ended up using vidcoder 1.5.22 in Windows running on Parallels.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f831094%2fhow-can-i-burn-in-subtitles-to-a-file-using-ffmpeg%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Like the wiki page mentions, your ffmpeg build needs to be compiled with the --enable-libass
option for the subtitle filter to work. Yours seems to be a build which unfortunately does not have that.
The easiest way would be to use Homebrew.
Then install ffmpeg:
brew install ffmpeg
Then, try again:
ffmpeg -i test.m4v -vf subtitles=test.srt -c:a copy out.m4v
Make sure to read the H.264 encoding guide to learn how to set the output quality.
Note that you cannot convert files that are DRM-encrypted, like the one in your example (see video codec drmi
). This is an open ticket for ffmpeg, but unlikely to be resolved.
I purchased the episode from itunes store but when I play on my ipod 30 gb I can not see the subtitles. This is why I am trying to burn-in.
– Koray Tugay
Oct 24 '14 at 16:40
I found a drm removal software and it worked but it only works for 5 minutes of video.. And it is 45 dollars.. But it worked.. Are there any free alternatives for removing drm? I really want to buy videos from itunes store instead of downloading from torrent but I really need the subtitles as well..
– Koray Tugay
Oct 24 '14 at 17:22
(And they wonder why people torrent videos…) I am not aware of a free solution. Unfortunately there's lots of (quite spammy) software out there, it seems. As far as I can see the iPod 30GB does not support the video format, so you'd have to re-encode the video anyway. Does the iPod even play other videos with subtitles you have, or is that the first you're trying?
– slhck
Oct 24 '14 at 17:33
I can import sd videos to ipod 30 gb directly, but not hd videos. I bought episode 3 of season 1 the show "24" and I can play it fine in my ipod 30gb, but unfortunatly no subtitle.. I also bought 1 episode Walking Dead but itunes says it is not compatible with ipod 30 gb.. But 24 is good enough for me..
– Koray Tugay
Oct 24 '14 at 17:38
This thread mentions an app (Requiem) that you can only get via Tor, and it should remove DRM too. From the looks of it, it doesn't work with iTunes 11 though. Unfortunately, I think that I can't help you any further since I don't have files to test with.
– slhck
Oct 24 '14 at 17:43
add a comment |
Like the wiki page mentions, your ffmpeg build needs to be compiled with the --enable-libass
option for the subtitle filter to work. Yours seems to be a build which unfortunately does not have that.
The easiest way would be to use Homebrew.
Then install ffmpeg:
brew install ffmpeg
Then, try again:
ffmpeg -i test.m4v -vf subtitles=test.srt -c:a copy out.m4v
Make sure to read the H.264 encoding guide to learn how to set the output quality.
Note that you cannot convert files that are DRM-encrypted, like the one in your example (see video codec drmi
). This is an open ticket for ffmpeg, but unlikely to be resolved.
I purchased the episode from itunes store but when I play on my ipod 30 gb I can not see the subtitles. This is why I am trying to burn-in.
– Koray Tugay
Oct 24 '14 at 16:40
I found a drm removal software and it worked but it only works for 5 minutes of video.. And it is 45 dollars.. But it worked.. Are there any free alternatives for removing drm? I really want to buy videos from itunes store instead of downloading from torrent but I really need the subtitles as well..
– Koray Tugay
Oct 24 '14 at 17:22
(And they wonder why people torrent videos…) I am not aware of a free solution. Unfortunately there's lots of (quite spammy) software out there, it seems. As far as I can see the iPod 30GB does not support the video format, so you'd have to re-encode the video anyway. Does the iPod even play other videos with subtitles you have, or is that the first you're trying?
– slhck
Oct 24 '14 at 17:33
I can import sd videos to ipod 30 gb directly, but not hd videos. I bought episode 3 of season 1 the show "24" and I can play it fine in my ipod 30gb, but unfortunatly no subtitle.. I also bought 1 episode Walking Dead but itunes says it is not compatible with ipod 30 gb.. But 24 is good enough for me..
– Koray Tugay
Oct 24 '14 at 17:38
This thread mentions an app (Requiem) that you can only get via Tor, and it should remove DRM too. From the looks of it, it doesn't work with iTunes 11 though. Unfortunately, I think that I can't help you any further since I don't have files to test with.
– slhck
Oct 24 '14 at 17:43
add a comment |
Like the wiki page mentions, your ffmpeg build needs to be compiled with the --enable-libass
option for the subtitle filter to work. Yours seems to be a build which unfortunately does not have that.
The easiest way would be to use Homebrew.
Then install ffmpeg:
brew install ffmpeg
Then, try again:
ffmpeg -i test.m4v -vf subtitles=test.srt -c:a copy out.m4v
Make sure to read the H.264 encoding guide to learn how to set the output quality.
Note that you cannot convert files that are DRM-encrypted, like the one in your example (see video codec drmi
). This is an open ticket for ffmpeg, but unlikely to be resolved.
Like the wiki page mentions, your ffmpeg build needs to be compiled with the --enable-libass
option for the subtitle filter to work. Yours seems to be a build which unfortunately does not have that.
The easiest way would be to use Homebrew.
Then install ffmpeg:
brew install ffmpeg
Then, try again:
ffmpeg -i test.m4v -vf subtitles=test.srt -c:a copy out.m4v
Make sure to read the H.264 encoding guide to learn how to set the output quality.
Note that you cannot convert files that are DRM-encrypted, like the one in your example (see video codec drmi
). This is an open ticket for ffmpeg, but unlikely to be resolved.
edited Feb 3 at 21:23
answered Oct 24 '14 at 13:30
slhckslhck
161k47447470
161k47447470
I purchased the episode from itunes store but when I play on my ipod 30 gb I can not see the subtitles. This is why I am trying to burn-in.
– Koray Tugay
Oct 24 '14 at 16:40
I found a drm removal software and it worked but it only works for 5 minutes of video.. And it is 45 dollars.. But it worked.. Are there any free alternatives for removing drm? I really want to buy videos from itunes store instead of downloading from torrent but I really need the subtitles as well..
– Koray Tugay
Oct 24 '14 at 17:22
(And they wonder why people torrent videos…) I am not aware of a free solution. Unfortunately there's lots of (quite spammy) software out there, it seems. As far as I can see the iPod 30GB does not support the video format, so you'd have to re-encode the video anyway. Does the iPod even play other videos with subtitles you have, or is that the first you're trying?
– slhck
Oct 24 '14 at 17:33
I can import sd videos to ipod 30 gb directly, but not hd videos. I bought episode 3 of season 1 the show "24" and I can play it fine in my ipod 30gb, but unfortunatly no subtitle.. I also bought 1 episode Walking Dead but itunes says it is not compatible with ipod 30 gb.. But 24 is good enough for me..
– Koray Tugay
Oct 24 '14 at 17:38
This thread mentions an app (Requiem) that you can only get via Tor, and it should remove DRM too. From the looks of it, it doesn't work with iTunes 11 though. Unfortunately, I think that I can't help you any further since I don't have files to test with.
– slhck
Oct 24 '14 at 17:43
add a comment |
I purchased the episode from itunes store but when I play on my ipod 30 gb I can not see the subtitles. This is why I am trying to burn-in.
– Koray Tugay
Oct 24 '14 at 16:40
I found a drm removal software and it worked but it only works for 5 minutes of video.. And it is 45 dollars.. But it worked.. Are there any free alternatives for removing drm? I really want to buy videos from itunes store instead of downloading from torrent but I really need the subtitles as well..
– Koray Tugay
Oct 24 '14 at 17:22
(And they wonder why people torrent videos…) I am not aware of a free solution. Unfortunately there's lots of (quite spammy) software out there, it seems. As far as I can see the iPod 30GB does not support the video format, so you'd have to re-encode the video anyway. Does the iPod even play other videos with subtitles you have, or is that the first you're trying?
– slhck
Oct 24 '14 at 17:33
I can import sd videos to ipod 30 gb directly, but not hd videos. I bought episode 3 of season 1 the show "24" and I can play it fine in my ipod 30gb, but unfortunatly no subtitle.. I also bought 1 episode Walking Dead but itunes says it is not compatible with ipod 30 gb.. But 24 is good enough for me..
– Koray Tugay
Oct 24 '14 at 17:38
This thread mentions an app (Requiem) that you can only get via Tor, and it should remove DRM too. From the looks of it, it doesn't work with iTunes 11 though. Unfortunately, I think that I can't help you any further since I don't have files to test with.
– slhck
Oct 24 '14 at 17:43
I purchased the episode from itunes store but when I play on my ipod 30 gb I can not see the subtitles. This is why I am trying to burn-in.
– Koray Tugay
Oct 24 '14 at 16:40
I purchased the episode from itunes store but when I play on my ipod 30 gb I can not see the subtitles. This is why I am trying to burn-in.
– Koray Tugay
Oct 24 '14 at 16:40
I found a drm removal software and it worked but it only works for 5 minutes of video.. And it is 45 dollars.. But it worked.. Are there any free alternatives for removing drm? I really want to buy videos from itunes store instead of downloading from torrent but I really need the subtitles as well..
– Koray Tugay
Oct 24 '14 at 17:22
I found a drm removal software and it worked but it only works for 5 minutes of video.. And it is 45 dollars.. But it worked.. Are there any free alternatives for removing drm? I really want to buy videos from itunes store instead of downloading from torrent but I really need the subtitles as well..
– Koray Tugay
Oct 24 '14 at 17:22
(And they wonder why people torrent videos…) I am not aware of a free solution. Unfortunately there's lots of (quite spammy) software out there, it seems. As far as I can see the iPod 30GB does not support the video format, so you'd have to re-encode the video anyway. Does the iPod even play other videos with subtitles you have, or is that the first you're trying?
– slhck
Oct 24 '14 at 17:33
(And they wonder why people torrent videos…) I am not aware of a free solution. Unfortunately there's lots of (quite spammy) software out there, it seems. As far as I can see the iPod 30GB does not support the video format, so you'd have to re-encode the video anyway. Does the iPod even play other videos with subtitles you have, or is that the first you're trying?
– slhck
Oct 24 '14 at 17:33
I can import sd videos to ipod 30 gb directly, but not hd videos. I bought episode 3 of season 1 the show "24" and I can play it fine in my ipod 30gb, but unfortunatly no subtitle.. I also bought 1 episode Walking Dead but itunes says it is not compatible with ipod 30 gb.. But 24 is good enough for me..
– Koray Tugay
Oct 24 '14 at 17:38
I can import sd videos to ipod 30 gb directly, but not hd videos. I bought episode 3 of season 1 the show "24" and I can play it fine in my ipod 30gb, but unfortunatly no subtitle.. I also bought 1 episode Walking Dead but itunes says it is not compatible with ipod 30 gb.. But 24 is good enough for me..
– Koray Tugay
Oct 24 '14 at 17:38
This thread mentions an app (Requiem) that you can only get via Tor, and it should remove DRM too. From the looks of it, it doesn't work with iTunes 11 though. Unfortunately, I think that I can't help you any further since I don't have files to test with.
– slhck
Oct 24 '14 at 17:43
This thread mentions an app (Requiem) that you can only get via Tor, and it should remove DRM too. From the looks of it, it doesn't work with iTunes 11 though. Unfortunately, I think that I can't help you any further since I don't have files to test with.
– slhck
Oct 24 '14 at 17:43
add a comment |
I ended up using vidcoder 1.5.22 in Windows running on Parallels.
add a comment |
I ended up using vidcoder 1.5.22 in Windows running on Parallels.
add a comment |
I ended up using vidcoder 1.5.22 in Windows running on Parallels.
I ended up using vidcoder 1.5.22 in Windows running on Parallels.
answered Oct 27 '14 at 14:26
Koray TugayKoray Tugay
78131429
78131429
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f831094%2fhow-can-i-burn-in-subtitles-to-a-file-using-ffmpeg%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown