[FFmpeg-user] embedded text subtitles
I was wondering if there's any way to read and display embedded text subtitles (like .srt) in a movie file (mov or mp4) with ffmpeg. As a reference, the movie I am trying opens with subtitles in vlc on windows (but not on linux). The movie in question is: http://www.filedropper.com/animschoolanimationstudentshowcase2015-omytilwh3dy I tried the following, with no success: $ ffplay movie.mov -vf "subtitles=movie.mov" I get: ffplay version N-85266-g1229007 Copyright (c) 2003-2017 the FFmpeg developers built with gcc 6.3.0 (GCC) configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxv -libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass bbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enabl e --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enabl --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis - vpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma lib libavutil 55. 59.100 / 55. 59.100 libavcodec 57. 90.100 / 57. 90.100 libavformat57. 72.100 / 57. 72.100 libavdevice57. 7.100 / 57. 7.100 libavfilter 6. 83.100 / 6. 83.100 libswscale 4. 7.100 / 4. 7.100 libswresample 2. 8.100 / 2. 8.100 libpostproc54. 6.100 / 54. 6.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'AnimSchool Animation Student Showcase 2015-OMYtIlwH3DY.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt encoder : Lavf56.40.101 Duration: 00:02:52.78, start: 0.00, bitrate: 3315 kb/s Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 3252 kb/s, 24 fps, 24 tbr, 12288 tbn, 4 ult) Metadata: handler_name: DataHandler encoder : Lavc56.60.100 libx264 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 63 kb/s (default) Metadata: handler_name: DataHandler [Parsed_subtitles_0 @ 02b4bd40] Shaper: FriBidi 0.19.6 (SIMPLE) [Parsed_subtitles_0 @ 02b4bd40] Unable to locate subtitle stream in movie.mov Error initializing filter 'subtitles' with args 'movie.mov' -- Gonzalo Garramuño ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] embedded text subtitles
2017-05-01 18:36 GMT+02:00 Gonzalo Garramuño : > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'AnimSchool Animation Student > Showcase 2015-OMYtIlwH3DY.mov': >Metadata: > major_brand : qt > minor_version : 512 > compatible_brands: qt > encoder : Lavf56.40.101 >Duration: 00:02:52.78, start: 0.00, bitrate: 3315 kb/s > Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, > 1280x720 [SAR 1:1 DAR 16:9], 3252 kb/s, 24 fps, 24 tbr, 12288 tbn, 4 > ult) > Metadata: >handler_name: DataHandler >encoder : Lavc56.60.100 libx264 > Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, > stereo, fltp, 63 kb/s (default) > Metadata: >handler_name: DataHandler > There are no subtitles in that file, as pointed out by the part I quoted (and confirmed by downloading the file). If you see subtitles in vlc on windows (which I don't), they come from somewhere else. Either it's a different file entirely, or there's a file with the same name and the .srt extension in the same directory, which VLC will happily pick automatically. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] embedded text subtitles
El 01/05/17 a las 15:24, Cley Faye escribió: There are no subtitles in that file, as pointed out by the part I quoted (and confirmed by downloading the file). If you see subtitles in vlc on windows (which I don't), they come from somewhere else. Either it's a different file entirely, or there's a file with the same name and the .srt extension in the same directory, which VLC will happily pick automatically. You are correct. I found the .srt file in the same directory. Sorry for the trouble. Thank you very much for checking this. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] creating a slideshow
Hello - Have a number of still pictures (jpg) that I would like to make into a slideshow. Using information at < https://trac.ffmpeg.org/wiki/Slideshow >, created a file "input.txt" with the format: first_image.jpg duration 5 second_image.jpg duration 5 last_image.jpg duration 5 last_image.jpg then ran the command: ffmpeg -f concat -i input.txt -vsync vfr -pix_fmt yuv420p test.mp4 This did work. "test.mp4" is a video with all the images, each displaying for about 5 seconds. But ffmpeg gave the following complaint for each image: [swscaler @ 0x9d13040] deprecated pixel format used, make sure you did set range correctly Tried the command without "-pix_fmt" ; gave same result Tried the command without either "-vsync" or "-pix_ftm"; also gave same result, but processing was much slower Then I converted all the jpg images to png and ran the command again. Same result. Questions: what is a "deprecated pixel format"? What does it mean to "set range" ? What negative effects, if any, might be expected from these warnings? thanks for any information - ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] creating a slideshow
2017-05-01 22:14 GMT+02:00 : > [swscaler @ 0x9d13040] deprecated pixel format used, > make sure you did set range correctly You cannot fix this warning and it should not trouble you. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".