[FFmpeg-user] Alpha Channel QT with SubTitles

Gandharv Bhagat fradac at hotmail.com
Mon Jan 15 20:43:59 EET 2018


Hope the output log helped, Any advice would be great ! 

> On Jan 11, 2018, at 22:06, Gandharv Bhagat <fradac at hotmail.com> wrote:
> 
> Moritz,
> 
> thanks for your reply, here is the output log
> 
> 
> Last login: Wed Jan 10 12:27:34 on ttys001
> 
> MacBook-Pro-2:~ Gandharv.Bhagat.PFT$ cd Des
> 
> -bash: cd: Des: No such file or directory
> 
> MacBook-Pro-2:~ Gandharv.Bhagat.PFT$ cd Desktop/
> 
> MacBook-Pro-2:Desktop Gandharv.Bhagat.PFT$ ks
> 
> -bash: ks: command not found
> 
> MacBook-Pro-2:Desktop Gandharv.Bhagat.PFT$ ls
> 
> AETN_Workflow
> 
> Alpha_1920x1080.png
> 
> AudioScript
> 
> Automator_Tools
> 
> Clear Development
> 
> IMF_Certificate-Gandharv.pdf
> 
> Marketing
> 
> Netflix
> 
> Notes
> 
> PFT OTT Solution for A STANFORD PRODUCTION V 0 3.docx
> 
> PFT_Documents
> 
> SF_Giants
> 
> Spotify
> 
> SubsQT.txt
> 
> Subtitle.srt
> 
> Vacation Request Form_Gandharv.pdf
> 
> alex-honnold-taft-point-yosemite-california.adapt.1900.1.jpg
> 
> iTunes
> 
> ~$ster QC Qualification- Eric Que.docx
> 
> MacBook-Pro-2:Desktop Gandharv.Bhagat.PFT$ ffmpeg -r 23.976 -loop 1 -i ./Alpha_1920x1080.png -c:v qtrle -t 00:00:30.000 -vf subtitles=“./Subtitle.srt:force_style='Fontsize=18,BorderStyle=1,Outline=0,Shadow=1,MarginV=25,FontName=Arial'" Subs2.mov
> 
>> 
> 
>> 
> 
>> 
> 
> MacBook-Pro-2:Desktop Gandharv.Bhagat.PFT$ ffmpeg -r 23.976 -loop 1 -i /Users/Gandharv.Bhagat.PFT/Desktop/Alpha_1920x1080.png  -c:v qtrle -t 00:00:30.000 -vf subtitles=“/Users/Gandharv.Bhagat.PFT/Desktop/Subtitle.srt:force_style='Fontsize=18,BorderStyle=1,Outline=0,Shadow=1,MarginV=25,FontName=Arial'" Subs2.mov
> 
> 
> 
> 
> 
> 
>> 
> 
> MacBook-Pro-2:Desktop Gandharv.Bhagat.PFT$
> 
> MacBook-Pro-2:Desktop Gandharv.Bhagat.PFT$
> 
> MacBook-Pro-2:Desktop Gandharv.Bhagat.PFT$
> 
> MacBook-Pro-2:Desktop Gandharv.Bhagat.PFT$ ffmpeg -r 23.976 -loop 1 -i /Users/Gandharv.Bhagat.PFT/Desktop/Alpha_1920x1080.png -c:v qtrle -t 00:00:30.000 -vf subtitles="/Users/Gandharv.Bhagat.PFT/Desktop/SVPROJ438_1_ENRIQUE_COV_010818_V14_LOCKED.srt:force_style='Fontsize=18,BorderStyle=1,Outline=0,Shadow=1,MarginV=25,FontName=Circular Spotify Head'" Subs2.mov
> 
> ffmpeg version 3.3.3-tessus Copyright (c) 2000-2017 the FFmpeg developers
> 
>  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
> 
>  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-libzvbi --enable-version3 --disable-ffplay --disable-indev=qtkit
> 
>  libavutil      55. 58.100 / 55. 58.100
> 
>  libavcodec     57. 89.100 / 57. 89.100
> 
>  libavformat    57. 71.100 / 57. 71.100
> 
>  libavdevice    57.  6.100 / 57.  6.100
> 
>  libavfilter     6. 82.100 /  6. 82.100
> 
>  libswscale      4.  6.100 /  4.  6.100
> 
>  libswresample   2.  7.100 /  2.  7.100
> 
>  libpostproc    54.  5.100 / 54.  5.100
> 
> [png_pipe @ 0x7fd19b000400] Stream #0: not enough frames to estimate rate; consider increasing probesize
> 
> Input #0, png_pipe, from '/Users/Gandharv.Bhagat.PFT/Desktop/Alpha_1920x1080.png':
> 
>  Duration: N/A, bitrate: N/A
> 
>    Stream #0:0: Video: png, rgba(pc), 1920x1080 [SAR 2835:2835 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
> 
> Stream mapping:
> 
>  Stream #0:0 -> #0:0 (png (native) -> qtrle (native))
> 
> Press [q] to stop, [?] for help
> 
> [Parsed_subtitles_0 @ 0x7fd19ae00520] Shaper: FriBidi 0.19.2 (SIMPLE)
> 
> [Parsed_subtitles_0 @ 0x7fd19ae00520] Unable to open /Users/Gandharv.Bhagat.PFT/Desktop/SVPROJ438_1_ENRIQUE_COV_010818_V14_LOCKED.srt
> 
> [AVFilterGraph @ 0x7fd19ad02f00] Error initializing filter 'subtitles' with args '/Users/Gandharv.Bhagat.PFT/Desktop/SVPROJ438_1_ENRIQUE_COV_010818_V14_LOCKED.srt:force_style=Fontsize=18,BorderStyle=1,Outline=0,Shadow=1,MarginV=25,FontName=Circular Spotify Head'
> 
> Error reinitializing filters!
> 
> Failed to inject frame into filter network: No such file or directory
> 
> Error while processing the decoded data for stream #0:0
> 
> Conversion failed!
> 
> MacBook-Pro-2:Desktop Gandharv.Bhagat.PFT$
> 
> MacBook-Pro-2:Desktop Gandharv.Bhagat.PFT$
> 
> MacBook-Pro-2:Desktop Gandharv.Bhagat.PFT$
> 
> MacBook-Pro-2:Desktop Gandharv.Bhagat.PFT$
> 
> MacBook-Pro-2:Desktop Gandharv.Bhagat.PFT$
> 
> MacBook-Pro-2:Desktop Gandharv.Bhagat.PFT$
> 
> MacBook-Pro-2:Desktop Gandharv.Bhagat.PFT$
> 
> MacBook-Pro-2:Desktop Gandharv.Bhagat.PFT$ ffmpeg -r 23.976 -loop 1 -i /Users/Gandharv.Bhagat.PFT/Desktop/Alpha_1920x1080.png -c:v qtrle -t 00:00:30.000 -vf subtitles="/Users/Gandharv.Bhagat.PFT/Desktop/Subtitle.srt:force_style='Fontsize=18,BorderStyle=1,Outline=0,Shadow=1,MarginV=25,FontName=Arial'" Subs2.mov
> 
> ffmpeg version 3.3.3-tessus Copyright (c) 2000-2017 the FFmpeg developers
> 
>  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
> 
>  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-libzvbi --enable-version3 --disable-ffplay --disable-indev=qtkit
> 
>  libavutil      55. 58.100 / 55. 58.100
> 
>  libavcodec     57. 89.100 / 57. 89.100
> 
>  libavformat    57. 71.100 / 57. 71.100
> 
>  libavdevice    57.  6.100 / 57.  6.100
> 
>  libavfilter     6. 82.100 /  6. 82.100
> 
>  libswscale      4.  6.100 /  4.  6.100
> 
>  libswresample   2.  7.100 /  2.  7.100
> 
>  libpostproc    54.  5.100 / 54.  5.100
> 
> [png_pipe @ 0x7faf95000000] Stream #0: not enough frames to estimate rate; consider increasing probesize
> 
> Input #0, png_pipe, from '/Users/Gandharv.Bhagat.PFT/Desktop/Alpha_1920x1080.png':
> 
>  Duration: N/A, bitrate: N/A
> 
>    Stream #0:0: Video: png, rgba(pc), 1920x1080 [SAR 2835:2835 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
> 
> File 'Subs2.mov' already exists. Overwrite ? [y/N] n
> 
> Not overwriting - exiting
> 
> MacBook-Pro-2:Desktop Gandharv.Bhagat.PFT$ clear
> 
> 
> MacBook-Pro-2:Desktop Gandharv.Bhagat.PFT$ ffmpeg -r 23.976 -loop 1 -i /Users/Gandharv.Bhagat.PFT/Desktop/Alpha_1920x1080.png -c:v qtrle -t 00:00:30.000 -vf subtitles="/Users/Gandharv.Bhagat.PFT/Desktop/Subtitle.srt:force_style='Fontsize=18,BorderStyle=1,Outline=0,Shadow=1,MarginV=25,FontName=Arial'" Subs2.mov
> 
> ffmpeg version 3.3.3-tessus Copyright (c) 2000-2017 the FFmpeg developers
> 
>  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
> 
>  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-libzvbi --enable-version3 --disable-ffplay --disable-indev=qtkit
> 
>  libavutil      55. 58.100 / 55. 58.100
> 
>  libavcodec     57. 89.100 / 57. 89.100
> 
>  libavformat    57. 71.100 / 57. 71.100
> 
>  libavdevice    57.  6.100 / 57.  6.100
> 
>  libavfilter     6. 82.100 /  6. 82.100
> 
>  libswscale      4.  6.100 /  4.  6.100
> 
>  libswresample   2.  7.100 /  2.  7.100
> 
>  libpostproc    54.  5.100 / 54.  5.100
> 
> [png_pipe @ 0x7f81dc800000] Stream #0: not enough frames to estimate rate; consider increasing probesize
> 
> Input #0, png_pipe, from '/Users/Gandharv.Bhagat.PFT/Desktop/Alpha_1920x1080.png':
> 
>  Duration: N/A, bitrate: N/A
> 
>    Stream #0:0: Video: png, rgba(pc), 1920x1080 [SAR 2835:2835 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
> 
> Stream mapping:
> 
>  Stream #0:0 -> #0:0 (png (native) -> qtrle (native))
> 
> Press [q] to stop, [?] for help
> 
> [Parsed_subtitles_0 @ 0x7f81dbd00000] Shaper: FriBidi 0.19.2 (SIMPLE)
> 
> [Parsed_subtitles_0 @ 0x7f81dbd00000] Using font provider coretext
> 
> Output #0, mov, to 'Subs2.mov':
> 
>  Metadata:
> 
>    encoder         : Lavf57.71.100
> 
>    Stream #0:0: Video: qtrle (rle  / 0x20656C72), argb, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 fps, 11988 tbn, 23.98 tbc
> 
>    Metadata:
> 
>      encoder         : Lavc57.89.100 qtrle
> 
> [Parsed_subtitles_0 @ 0x7f81dbd00000] fontselect: (Arial, 400, 0) -> /Library/Fonts/Arial.ttf, -1, ArialMT
> 
> frame=  719 fps= 63 q=-0.0 Lsize=    7461kB time=00:00:29.94 bitrate=2041.0kbits/s speed=2.61x
> 
> video:7457kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.051884%
> 
> MacBook-Pro-2:Desktop Gandharv.Bhagat.PFT$
> 
> 
> 
> 
> ________________________________
> From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> on behalf of Moritz Barsnick <barsnick at gmx.net>
> Sent: Thursday, January 11, 2018 5:14 PM
> To: FFmpeg user discussions
> Subject: Re: [FFmpeg-user] Alpha Channel QT with SubTitles
> 
>> On Thu, Jan 11, 2018 at 21:42:45 +0000, Gandharv Bhagat wrote:
>> I am trying to generate an alpha channel QT, with Apple animation codec, but the I get output has a white background. here is the command
>> 
>> ffmpeg -r 23.976 -loop 1 -i Alpha_1920x1080.png -c:v qtrle -t 00:00:30.000 -vf subtitles=“Subtitle.srt:force_style='Fontsize=18,BorderStyle=1,Outline=0,Shadow=1,MarginV=25,FontName=Arial'" Subs2.mov
> 
> First and foremost, please provide the complete, uncut console output
> of your command.
> 
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&data=02%7C01%7C%7C6a7548e338264032b5ca08d55940a5fd%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636513056549070262&sdata=neZEP%2FxV1PTV42ZV9ENLfJ7UfV9wjSrFi5N1pMqJxbg%3D&reserved=0
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&data=02%7C01%7C%7Cd47cbd5f229b4caee2ef08d559697e8f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636513231989283616&sdata=LJMfy5B4vOZWtDXcbqdbqh2TLJuHJxA%2BHZ3H7dL31lI%3D&reserved=0
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list