Re: [FFmpeg-user] Fwd: Cannot capture audio in screen recording

2018-09-11 Thread Joel Roth
On Tue, Sep 11, 2018 at 02:03:06PM +0200, Moritz Barsnick wrote: > On Tue, Sep 11, 2018 at 15:46:11 +0530, Abhijit Nathwani wrote: > > > > Could it be that your ALSA capture device's recording is muted? > > I don't know. How to ensure that? > > ALSA's command line tools' syntax is truly

Re: [FFmpeg-user] Using Hardware Accelerated Encoder Produce Bigger File

2018-09-11 Thread Ali Shirvani
Hi Moritz, Thanks for your helpful reply. I change the encoders settings and the file size now similar. Cheers, Ali On Tue, Sep 11, 2018 at 5:32 PM Moritz Barsnick wrote: > On Tue, Sep 11, 2018 at 16:38:37 +0430, Ali Shirvani wrote: > > Is this variation in output size normal? or should I

[FFmpeg-user] capture from camera (macOS) and pass video to ffplay

2018-09-11 Thread Peter Gusev
Hi there! I need to capture video from a camera (macOS) and then pass it through a file pipe to ffplay for displaying it. Can't figure out how to specify ffmpeg's output pixel format. When passing -pix_fmt argb ffmpeg says that the format is incompatible with the input device (?). I expect ffmpeg

Re: [FFmpeg-user] Wanna to apply effect and play video at same time

2018-09-11 Thread Lou Logan
On Tue, Sep 11, 2018, at 9:33 AM, shreyas vaghela wrote: > Wanna to apply effect and play video at same time, it is possible to do > same thing at one using Ffmpeg command line. You can use ffplay to apply effects and play at the same time: ffplay -vf negate,vflip input.foo

[FFmpeg-user] Wanna to apply effect and play video at same time

2018-09-11 Thread shreyas vaghela
Wanna to apply effect and play video at same time, it is possible to do same thing at one using Ffmpeg command line. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or

[FFmpeg-user] Dealing with incomplete HEVC/h265 video

2018-09-11 Thread Aviv Hurvitz
I am using a somewhat experimental evaluation board to record HEVC video. I converted the stream to mp4 using this command: ffmpeg -i input.bin -c:v copy out.mp4 I can play out.mp4, however I see the video skips at some point and plays at faster-than-life rate at another point. I think there are

Re: [FFmpeg-user] FFMPEG failing in AWS Lambda

2018-09-11 Thread Moritz Barsnick
On Tue, Sep 11, 2018 at 14:17:37 +, Zaid Amir wrote: > As I explained I tried both static and dynamic.. of course ldd does not work > on static binaries. Going one e-mail further back: 2018-09-10 10:19 GMT+02:00, Zaid Amir : > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/ec2-user/f1.mp4':

Re: [FFmpeg-user] FFMPEG failing in AWS Lambda

2018-09-11 Thread Carl Eugen Hoyos
2018-09-11 16:17 GMT+02:00, Zaid Amir : > As I explained I tried both static and dynamic.. of course ldd > does not work on static binaries. ldd works fine on static binaries, it tells you that they are static binaries. The point is that in your original mail, you gave the impression that FFmpeg

Re: [FFmpeg-user] FFMPEG failing in AWS Lambda

2018-09-11 Thread Zaid Amir
As I explained I tried both static and dynamic.. of course ldd does not work on static binaries. Get Outlook for Android From: ffmpeg-user on behalf of Carl Eugen Hoyos Sent: Tuesday, September 11, 2018 12:25:22 AM To: FFmpeg user

Re: [FFmpeg-user] [ffmpeg] how to merge two slices from independent two video TS

2018-09-11 Thread Carl Eugen Hoyos
2018-09-11 12:05 GMT+02:00, 杨阳 : > 1. merge 2 videos into 1 TS, I can do encoding if necessary, but > before encoding, how can i merge 2 videos TS without decode. This is not possible with FFmpeg, I doubt that it is possible at all. Please learn about quoting in emails and do it correctly.

[FFmpeg-user] ffserver & ffmpeg

2018-09-11 Thread Saito.k
Hi all I want to distribute the image of the USB camera to the web. I edited / etc / ffserver.conf as follows. HTTPPort 8090 # bind to all IPs aliased or not HTTPBindAddress 0.0.0.0 # max number of simultaneous clients MaxClients 10 # max bandwidth per-client (kb/s) MaxBandwidth 1000 # Suppress

[FFmpeg-user] Subsampling from MJPEG stream

2018-09-11 Thread Petteri Hintsanen
Dear all, I'm capturing an MJPEG stream to a file like this: ffmpeg -f mjpeg -i http://axis/mjpg/video.mjpg -c:v copy -f mjpeg foo.mjpeg The input stream has a frame rate of 25 FPS. I'd like to drop the output frame rate to 1 frame per second; that is, to write approximately every 25th frame

Re: [FFmpeg-user] Using Hardware Accelerated Encoder Produce Bigger File

2018-09-11 Thread Dennis Mungai
Also, related. Is there a way to determine encoder defaults? Does ffmpeg have such an option to print out encoder defaults? On Tue, Sep 11, 2018, 16:02 Moritz Barsnick wrote: > On Tue, Sep 11, 2018 at 16:38:37 +0430, Ali Shirvani wrote: > > Is this variation in output size normal? or should I

Re: [FFmpeg-user] Using Hardware Accelerated Encoder Produce Bigger File

2018-09-11 Thread Moritz Barsnick
On Tue, Sep 11, 2018 at 16:38:37 +0430, Ali Shirvani wrote: > Is this variation in output size normal? or should I tune some settings? Yes, it's normal - different encoders use different default settings. Yes, you should tune your settings. If you want to achieve similar size, use the "-b:v"

[FFmpeg-user] Using Hardware Accelerated Encoder Produce Bigger File

2018-09-11 Thread Ali Shirvani
Hi all, I encoded a raw YUV video once with h264_vaapi and once with libx264 codec. The output of h264_vaapi is about 4.8 MB, while the output of libx264 is 1.1 MB. Here is the commands: ffmpeg -loglevel trace -vaapi_device /dev/dri/renderD128 -video_size 1920x1080 -i raw_1080.yuv -vf

Re: [FFmpeg-user] Fwd: Cannot capture audio in screen recording

2018-09-11 Thread Moritz Barsnick
On Tue, Sep 11, 2018 at 15:46:11 +0530, Abhijit Nathwani wrote: > > Could it be that your ALSA capture device's recording is muted? > I don't know. How to ensure that? ALSA's command line tools' syntax is truly difficult (PITA, if you know what the term means). You can use the command "amixer"

[FFmpeg-user] Fwd: Cannot capture audio in screen recording

2018-09-11 Thread Abhijit Nathwani
Hi please find the inline content below. > ffmpeg version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developers This is a very old version, please consider using a recent one. (But this shouldn't be the issue.) > Input #1, alsa, from 'hw:0,1,0': > Duration: N/A, start:

Re: [FFmpeg-user] Reconnecting ffmpeg rtsp connection

2018-09-11 Thread Paul B Mahol
On 9/11/18, Michael Shaffer wrote: > Yea ffmpeg tends to crash every once in a while. I'm streaming 5 cameras to > youtube. I had to write a program to monitor the bandwidth usage and > restart ffmpeg automatically when it crashes. Closing != crashing. > > On Mon, Sep 10, 2018 at 10:46 PM,

Re: [FFmpeg-user] [ffmpeg] how to merge two slices from independent two video TS

2018-09-11 Thread 杨阳
Hi Moritz, Thanks for your replay. I want to explain my idea clearly. > I have a requirement about 2 udp videos(H264 TS) merge into 1 (HEVC > TS). Two videos show in left & right side screen at the same time. When you write "show", you mean to display with ffplay? >>I want to devide the process

[FFmpeg-user] Dynamic watermarking with SVG

2018-09-11 Thread Binary Buddha
How do you scale an input graphic when trying to do a watermark that scales according to the video resolution? So far, I got `ffmpeg -i $input -i $watermark -filter_complex "overlay=x=(main_w-overlay_w)/2:y=((main_h-overlay_h)/4)*4" $output`. But that requires a static image; i.e. a PNG I’m

Re: [FFmpeg-user] [ffmpeg] how to merge two slices from independent two video TS

2018-09-11 Thread Moritz Barsnick
Hi yiyi, On Tue, Sep 11, 2018 at 12:36:45 +0800, 杨阳 wrote: > I have a requirement about 2 udp videos(H264 TS) merge into 1 (HEVC > TS). Two videos show in left & right side screen at the same time. When you write "show", you mean to display with ffplay? > But I don't want to do decoder. Well,

Re: [FFmpeg-user] Reconnecting ffmpeg rtsp connection

2018-09-11 Thread Michael Shaffer
Yea ffmpeg tends to crash every once in a while. I'm streaming 5 cameras to youtube. I had to write a program to monitor the bandwidth usage and restart ffmpeg automatically when it crashes. On Mon, Sep 10, 2018 at 10:46 PM, YAYINCOMTR CANLI YAYIN HIZMETLERI < yayinco...@gmail.com> wrote: >

Re: [FFmpeg-user] Cannot capture audio in screen recording

2018-09-11 Thread Moritz Barsnick
On Tue, Sep 11, 2018 at 10:37:55 +0530, Abhijit Nathwani wrote: > ffmpeg version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg > developers This is a very old version, please consider using a recent one. (But this shouldn't be the issue.) > Input #1, alsa, from 'hw:0,1,0': >