Alpha Channel QT with SubTitles

Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Alpha Channel QT with SubTitles

Gandharv Bhagat
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
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Alpha Channel QT with SubTitles

Moritz Barsnick
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
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Alpha Channel QT with SubTitles

Gandharv Bhagat
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 <[hidden email]> on behalf of Moritz Barsnick <[hidden email]>
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
[hidden email]
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
[hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Alpha Channel QT with SubTitles

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

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

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Alpha Channel QT with SubTitles

Carl Eugen Hoyos-2
In reply to this post by Gandharv Bhagat
2018-01-11 22:42 GMT+01:00 Gandharv Bhagat <[hidden email]>:

> 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
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Alpha Channel QT with SubTitles

Gandharv Bhagat
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 <[hidden email]> wrote:
>
> 2018-01-11 22:42 GMT+01:00 Gandharv Bhagat <[hidden email]>:
>
>> 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
> [hidden email]
> 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
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".