Re: [FFmpeg-user] Alpha Channel QT with SubTitles

2018-01-17 Thread 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  wrote:
> 
> 2018-01-11 22:42 GMT+01:00 Gandharv Bhagat :
> 
>> 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-user@ffmpeg.org
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user=02%7C01%7C%7C95521202c48f47d896bb08d55d9e3404%7C84df9e7fe9f640afb435%7C1%7C0%7C636517856415394413=08LJSo18M71RNYLHNBdNkY95juhywgHzXn%2FydB0nGrM%3D=0
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
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] Quicktime reference files

2018-01-17 Thread Jim Shupert

On 1/17/2018 7:18 AM, Carl Eugen Hoyos wrote:

2018-01-04 9:52 GMT+01:00 Kasper Folman :


I’m having a hard time working something out with quicktime reference files.


I also have struggled with this .
The use of quicktime reference files. but it was some time ago .
indeed I gave up.

I would like to be able to do it.
I will be following this thread and looking for what I can do to help 
that cause.


best wishes
and greetings from Frozen N America
___
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] ffmpeg websocket connection

2018-01-17 Thread Carl Eugen Hoyos
2018-01-12 5:33 GMT+01:00 kamal shadi :

> Does ffmpeg support webrtc protocol to receive live stream?

Many (all?) of the necessary capabilities for webrtc, including
mulaw, alaw, opus and several video codecs, are implemented
within FFmpeg but FFmpeg so far does not implement the
whole webrtc standard.
FFmpeg is not a (video) conference software, it provides
libraries that can be used (and are used) by such software.

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".

Re: [FFmpeg-user] Screen capture is producing crackling noise

2018-01-17 Thread Abeba Tensai
Yes, the command:

> ffmpeg -y -f avfoundation -video_size 640x480  -pix_fmt yuyv422 -i "1:2"
-c:v h264_videotoolbox -b:v 7500k -c:a aac -b:a 64k -vsync 2 -async 1
out.mp4

produced the file: https://s3.amazonaws.com/testo12/out.mp4

On Wed, Jan 17, 2018 at 6:37 AM, Carl Eugen Hoyos 
wrote:

> 2018-01-17 12:35 GMT+01:00 Abeba Tensai :
>
> > ffmpeg version 3.3.5 Copyright (c) 2000-2017 the FFmpeg developers
>
> Is the issue reproducible with current FFmpeg git head?
>
> 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".
___
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] Screen capture is producing crackling noise

2018-01-17 Thread Abeba Tensai
Hi guys,

I am using a Mac (High Sierra 10.13.1).
Initially, I executed the following command to get the devices index:

> ffmpeg -f avfoundation  -list_devices true -i ""

ffmpeg version 3.3.5 Copyright (c) 2000-2017 the FFmpeg developers

  built with Apple LLVM version 9.0.0 (clang-900.0.39.2)

  configuration: --target-os=darwin --arch=x86_64 --enable-cross-compile
--disable-debug --enable-videotoolbox --disable-doc --enable-pic
--enable-protocol=https --enable-openssl --extra-cflags='-arch x86_64'
--extra-ldflags='-arch x86_64 -framework VideoToolbox' --disable-shared
--enable-static --pkg-config-flags=--static
--prefix=/Users/atensai/ffmpeg-3.3.5-x86_64

  libavutil  55. 58.100 / 55. 58.100

  libavcodec 57. 89.100 / 57. 89.100

  libavformat57. 71.100 / 57. 71.100

  libavdevice57.  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

[AVFoundation input device @ 0x7f89ff40d700] AVFoundation video devices:

[AVFoundation input device @ 0x7f89ff40d700] [0] FaceTime HD Camera

[AVFoundation input device @ 0x7f89ff40d700] [1] Capture screen 0

[AVFoundation input device @ 0x7f89ff40d700] AVFoundation audio devices:

[AVFoundation input device @ 0x7f89ff40d700] [0] Soundflower (64ch)

[AVFoundation input device @ 0x7f89ff40d700] [1] Built-in Microphone

[AVFoundation input device @ 0x7f89ff40d700] [2] Soundflower (2ch)

[AVFoundation input device @ 0x7f89ff40d700] [3] WavTap




Then I produced an audio capture (m4a) using the following command:
> ffmpeg -y -f avfoundation -i "1:2" -map 0:a -c:a aac_at -b:a 128k out.m4a
I get a file that sounds perfect

Then I tried to produce an audio/video file using the command:
> ffmpeg -y -f avfoundation -video_size 640x480  -pix_fmt yuyv422 -i "1:2"
-b:v 7500k -c:a aac -b:a 64k -vsync 2 -async 1 out.mp4
Everything looks good except that the audio has crackling noise which is
very pronounced when people are talking

Can someone help me with that?

Thanks.
___
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] Alpha Channel QT with SubTitles

2018-01-17 Thread Carl Eugen Hoyos
2018-01-11 22:42 GMT+01:00 Gandharv Bhagat :

> 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-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] best_effort_timestamp_time

2018-01-17 Thread Wolfgang Hugemann
> (Assuming the camera does not use FFmpeg as firmware
> which is very unlikely.)
> You have a problem here.
> The input you are analyzing is not the stream that was
> created by the traffic camera but a file created with FFmpeg.
> So while there may absolutely be an issue (that we may or
> may not be able to fix), this file cannot be used to prove
> anything in court, I strongly suggest you do not try.
> 
> The camera either produced a network stream or a raw
> H.264 stream. You hopefully still have access to it and
> FFmpeg may help you analyzing it.
> (Although H.264 timestamps are a known issue with
> FFmpeg and who knows if the camera manufacturer
> did any better with them than we did.)

Sorry - too much experimenting by me. In order to quicken the analysis, I 
cropped the original video with ffmpeg using "-vcodec copy -acodec copy" ...

So this is the output for the original video (I am on another computer now, 
running a slightly older version of ffmpeg) - the original question however 
remains the same:

ffprobe -show_frames -show_entries 
frame=best_effort_timestamp_time,key_frame,pict_type -i original.avi -of compact

ffprobe version 3.2.2 Copyright (c) 2007-2016 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx 
--enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig 
--enable-frei0r --enable-gnutls --enable-iconv --enable-libass 
--enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype 
--enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug 
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb 
--enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp 
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora 
--enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc 
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp 
--enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid 
--enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil  55. 34.100 / 55. 34.100
  libavcodec 57. 64.101 / 57. 64.101
  libavformat57. 56.100 / 57. 56.100
  libavdevice57.  1.100 / 57.  1.100
  libavfilter 6. 65.100 /  6. 65.100
  libswscale  4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc54.  1.100 / 54.  1.100
[avi @ 002eaee0] sample size (1) != block align (2)
Input #0, avi, from 'C:\Temp\___Motorradvideo\20150424_20_0301.avi':
  Duration: 00:05:01.00, start: 0.00, bitrate: 437 kb/s
Stream #0:0: Video: h264 (Constrained Baseline) (H264 / 0x34363248), 
yuv420p(progressive), 704x576, 304 kb/s, 6 fps, 6 tbr, 6 tbn, 12 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, 1 channels, 
s16, 128 kb/s

frame|key_frame=1|best_effort_timestamp_time=0.00
frame|key_frame=1|best_effort_timestamp_time=0.060125
frame|key_frame=1|best_effort_timestamp_time=0.00|pict_type=I
frame|key_frame=1|best_effort_timestamp_time=0.120250
frame|key_frame=1|best_effort_timestamp_time=0.180375
frame|key_frame=0|best_effort_timestamp_time=0.17|pict_type=P
frame|key_frame=1|best_effort_timestamp_time=0.240500
frame|key_frame=1|best_effort_timestamp_time=0.300625
frame|key_frame=1|best_effort_timestamp_time=0.360750
frame|key_frame=0|best_effort_timestamp_time=0.33|pict_type=P
frame|key_frame=1|best_effort_timestamp_time=0.420875
frame|key_frame=1|best_effort_timestamp_time=0.481000
frame|key_frame=1|best_effort_timestamp_time=0.541125
frame|key_frame=0|best_effort_timestamp_time=0.50|pict_type=P
frame|key_frame=1|best_effort_timestamp_time=0.601250
frame|key_frame=1|best_effort_timestamp_time=0.661375
frame|key_frame=0|best_effort_timestamp_time=0.67|pict_type=P
frame|key_frame=1|best_effort_timestamp_time=0.721500
frame|key_frame=1|best_effort_timestamp_time=0.781625
frame|key_frame=1|best_effort_timestamp_time=0.841750
frame|key_frame=0|best_effort_timestamp_time=0.83|pict_type=P
frame|key_frame=1|best_effort_timestamp_time=0.901875
frame|key_frame=1|best_effort_timestamp_time=0.962000
frame|key_frame=1|best_effort_timestamp_time=1.022125
frame|key_frame=1|best_effort_timestamp_time=1.00|pict_type=I
___
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".