Discussion:
[FFmpeg-user] Alpha Channel QT with SubTitles
Gandharv Bhagat
2018-01-11 21:42:45 UTC
Permalink
Hi,

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

Gandharv

p.s. The PNG was created in Photoshop
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with subject "u
Moritz Barsnick
2018-01-11 22:14:04 UTC
Permalink
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-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with subject "unsu
Gandharv Bhagat
2018-01-12 03:06:22 UTC
Permalink
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-***@ffmpeg.org> on behalf of Moritz Barsnick <***@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-***@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-***@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.
Gandharv Bhagat
2018-01-15 18:43:59 UTC
Permalink
Hope the output log helped, Any advice would be great !

> On Jan 11, 2018, at 22:06, Gandharv Bhagat <***@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-***@ffmpeg.org> on behalf of Moritz Barsnick <***@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-***@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-***@ffmpeg.org with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-***@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-***@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org
Carl Eugen Hoyos
2018-01-17 11:33:25 UTC
Permalink
2018-01-11 22:42 GMT+01:00 Gandharv Bhagat <***@hotmail.com>:

> I am trying to generate an alpha channel QT, with Apple animation
> codec, but the I get output has a white background.

How do you test the background?

The fact that there is a white background using media players
(which in many cases do not support transparency) does not
necessary mean no transparency was encoded.

> here is the command
>
> ffmpeg -r 23.976 -loop 1 -i Alpha_1920x1080.png

Unrelated:
Should be "-r 24000/1001"

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with subjec
Gandharv Bhagat
2018-01-17 16:34:38 UTC
Permalink
Carl,

Thanks for the frame rate multiplier correction, will make the change.

As for the file, I am checking in FCP 7. When alpha type is set to ‘none/ignore’ I see a white background and white text and the drop shadow. When the alpha type is set to ‘straight’, ‘black’, or ‘white’ I don’t see anything.

Perhaps I need to give the subtitles a color ?

Gandharv

> On Jan 17, 2018, at 06:34, Carl Eugen Hoyos <***@gmail.com> wrote:
>
> 2018-01-11 22:42 GMT+01:00 Gandharv Bhagat <***@hotmail.com>:
>
>> I am trying to generate an alpha channel QT, with Apple animation
>> codec, but the I get output has a white background.
>
> How do you test the background?
>
> The fact that there is a white background using media players
> (which in many cases do not support transparency) does not
> necessary mean no transparency was encoded.
>
>> here is the command
>>
>> ffmpeg -r 23.976 -loop 1 -i Alpha_1920x1080.png
>
> Unrelated:
> Should be "-r 24000/1001"
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-***@ffmpeg.org
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&data=02%7C01%7C%7C95521202c48f47d896bb08d55d9e3404%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636517856415394413&sdata=08LJSo18M71RNYLHNBdNkY95juhywgHzXn%2FydB0nGrM%3D&reserved=0
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-***@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org
Gandharv Bhagat
2018-02-05 10:13:29 UTC
Permalink
hi Carl,

Any update on this will be useful. I am also curious why the font size is not absolute, at it seems to change the size depending on the png size. the size 18 font renders as different size if the PNG size is not full 1920x1080.

Cheers
Gandharv
________________________________
From: ffmpeg-user <ffmpeg-user-***@ffmpeg.org> on behalf of Gandharv Bhagat <***@hotmail.com>
Sent: Wednesday, January 17, 2018 11:34 AM
To: FFmpeg user questions
Subject: Re: [FFmpeg-user] Alpha Channel QT with SubTitles

Carl,

Thanks for the frame rate multiplier correction, will make the change.

As for the file, I am checking in FCP 7. When alpha type is set to ‘none/ignore’ I see a white background and white text and the drop shadow. When the alpha type is set to ‘straight’, ‘black’, or ‘white’ I don’t see anything.

Perhaps I need to give the subtitles a color ?

Gandharv

> On Jan 17, 2018, at 06:34, Carl Eugen Hoyos <***@gmail.com> wrote:
>
> 2018-01-11 22:42 GMT+01:00 Gandharv Bhagat <***@hotmail.com>:
>
>> I am trying to generate an alpha channel QT, with Apple animation
>> codec, but the I get output has a white background.
>
> How do you test the background?
>
> The fact that there is a white background using media players
> (which in many cases do not support transparency) does not
> necessary mean no transparency was encoded.
>
>> here is the command
>>
>> ffmpeg -r 23.976 -loop 1 -i Alpha_1920x1080.png
>
> Unrelated:
> Should be "-r 24000/1001"
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-***@ffmpeg.org
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&data=02%7C01%7C%7C95521202c48f47d896bb08d55d9e3404%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636517856415394413&sdata=08LJSo18M71RNYLHNBdNkY95juhywgHzXn%2FydB0nGrM%3D&reserved=0
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-***@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&data=02%7C01%7C%7C073b2efb0b9c478f0f5a08d55dc83d46%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636518036954203059&sdata=rWgYqQTsYo3mKYIW%2Fln16ihxMRlP5HysS%2FIfcdsny40%3D&reserved=0

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with s
Carl Eugen Hoyos
2018-02-05 12:26:37 UTC
Permalink
2018-01-17 17:34 GMT+01:00 Gandharv Bhagat <***@hotmail.com>:

> Thanks for the frame rate multiplier correction, will make the change.
>
> As for the file, I am checking in FCP 7. When alpha type is set to
> ‘none/ignore’ I see a white background and white text and the drop
> shadow. When the alpha type is set to ‘straight’, ‘black’, or ‘white’
> I don’t see anything.

I wonder how it is possible not to "see anything" on a video screen...

The most relevant question from our point-of-view is if the following
command (or a variant) indicates transparency in your video:
$ ffmpeg -f lavfi -i testsrc=s=hd1080 -i Subs2.mov -filter_complex
overlay -qscale 2 -vcodec mpeg4 out.mov

The issue hitting you may be that a flag has to be set in the mov
file or the video bitstream to indicate the type of the transparency.

Please do not top-post here, Carl Eugen
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-re
Gandharv Bhagat
2018-02-06 10:01:19 UTC
Permalink
hey Carl,


I generated the test file and no subs are rendered from the subs2.mov file. I see the test pattern/colorbars/clock. Instead of using a transparent PNG, could I instead generate an alpha channel 1920x1080 canvas directly from ffmpeg? I wonder if my PNG file is causing the issue?


Gandharv


p.s. When I say I see nothing, I mean its a black image with no text.

________________________________
From: ffmpeg-user <ffmpeg-user-***@ffmpeg.org> on behalf of Carl Eugen Hoyos <***@gmail.com>
Sent: Monday, February 5, 2018 7:26:37 AM
To: FFmpeg user questions
Subject: Re: [FFmpeg-user] Alpha Channel QT with SubTitles

2018-01-17 17:34 GMT+01:00 Gandharv Bhagat <***@hotmail.com>:

> Thanks for the frame rate multiplier correction, will make the change.
>
> As for the file, I am checking in FCP 7. When alpha type is set to
> ‘none/ignore’ I see a white background and white text and the drop
> shadow. When the alpha type is set to ‘straight’, ‘black’, or ‘white’
> I don’t see anything.

I wonder how it is possible not to "see anything" on a video screen...

The most relevant question from our point-of-view is if the following
command (or a variant) indicates transparency in your video:
$ ffmpeg -f lavfi -i testsrc=s=hd1080 -i Subs2.mov -filter_complex
overlay -qscale 2 -vcodec mpeg4 out.mov

The issue hitting you may be that a flag has to be set in the mov
file or the video bitstream to indicate the type of the transparency.

Please do not top-post here, Carl Eugen
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&data=02%7C01%7C%7C4b8be448d4d84c27456108d56c949044%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636534307684783710&sdata=7XNGuBzb1jLhbuDHlEWcU3I5OpOs69Ginn55nCyJ5cc%3D&reserved=0

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg
Chris Davis
2018-11-05 17:07:33 UTC
Permalink
Gandharv,

I have come up with the following example that behaves as you are expecting
it to.

ffmpeg -r 23.976 -loop 1 -i {path_to_alphaOnly_PNG} -t 30 -vf
subtitles="{path_to_srt}:*alpha=1*:force_style='Fontsize=18,BorderStyle=1,Outline=0,Shadow=1,MarginV=25,PrimaryColour=&hffffff,FontName=Circular
Spotify Head'" -c:v prores_ks -profile:v 4 -pix_fmt yuva444p10 -y test.mov

The chief difference is the codec profile and the pix_format and the
"alpha=1" parameter in the subtitle filter.

Enjoy!
Chris Davis

On Tue, Feb 6, 2018 at 5:01 AM Gandharv Bhagat <***@hotmail.com> wrote:

> hey Carl,
>
>
> I generated the test file and no subs are rendered from the subs2.mov
> file. I see the test pattern/colorbars/clock. Instead of using a
> transparent PNG, could I instead generate an alpha channel 1920x1080 canvas
> directly from ffmpeg? I wonder if my PNG file is causing the issue?
>
>
> Gandharv
>
>
> p.s. When I say I see nothing, I mean its a black image with no text.
>
> ________________________________
> From: ffmpeg-user <ffmpeg-user-***@ffmpeg.org> on behalf of Carl
> Eugen Hoyos <***@gmail.com>
> Sent: Monday, February 5, 2018 7:26:37 AM
> To: FFmpeg user questions
> Subject: Re: [FFmpeg-user] Alpha Channel QT with SubTitles
>
> 2018-01-17 17:34 GMT+01:00 Gandharv Bhagat <***@hotmail.com>:
>
> > Thanks for the frame rate multiplier correction, will make the change.
> >
> > As for the file, I am checking in FCP 7. When alpha type is set to
> > ‘none/ignore’ I see a white background and white text and the drop
> > shadow. When the alpha type is set to ‘straight’, ‘black’, or ‘white’
> > I don’t see anything.
>
> I wonder how it is possible not to "see anything" on a video screen...
>
> The most relevant question from our point-of-view is if the following
> command (or a variant) indicates transparency in your video:
> $ ffmpeg -f lavfi -i testsrc=s=hd1080 -i Subs2.mov -filter_complex
> overlay -qscale 2 -vcodec mpeg4 out.mov
>
> The issue hitting you may be that a flag has to be set in the mov
> file or the video bitstream to indicate the type of the transparency.
>
> Please do not top-post here, Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-***@ffmpeg.org
>
> https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&data=02%7C01%7C%7C4b8be448d4d84c27456108d56c949044%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636534307684783710&sdata=7XNGuBzb1jLhbuDHlEWcU3I5OpOs69Ginn55nCyJ5cc%3D&reserved=0
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-***@ffmpeg.org with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-***@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-***@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg
Loading...