Re: [FFmpeg-user] ffmpeg ip cam stream with drawtext

2019-01-28 Thread frhun
Hi I try to put on the text image. ffmpeg -re -rtsp_transport tcp -i rtsp://admin:x@192.168.2.25:554/Streaming/Channels/1 -f image2 -loop 1 -i C:\k\v\T\A.bmp -filter_complex "overlay=10:10" -vcodec libx264 -pix_fmt yuv420p -f flv rtmp://a.rtmp.youtube.com/live2/x-x-x-x the image file

Re: [FFmpeg-user] redirect to 2 fifo files

2019-01-28 Thread Zoltan Kerenyi Nagy
$ ... -f wav pipe:3 -f wav pipe:4 3>fifo1 4>fifo2 That's impossible since: pipe:1 stdout pipe:2: sterr pipe:0 stdin I got it working this way: https://pastebin.com/neYPWejt The only thing have left is the video representation of the audio, which is a bonus to my sleep recorder experimental

Re: [FFmpeg-user] ffmpeg ip cam stream with drawtext

2019-01-28 Thread Carl Eugen Hoyos
2019-01-29 0:06 GMT+01:00, Michael Shaffer : > Hi, we are also streaming a Hikvision cctv camera to youtube. We're not > putting text on the image but are using the "-vf curves" command to > eliminate fog. The CPU was unable to do the curves filter at 30fps above > 1080p. We put my GeForce 1060

Re: [FFmpeg-user] ffmpeg creates white frames at end of encode

2019-01-28 Thread Carl Eugen Hoyos
2019-01-28 17:46 GMT+01:00, Frederico Cengarle : > ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers This is old an unsupported, please test current FFmpeg git head. (While FFmpeg simply cannot "add white frames", this could for example be an issue with an edit list, changes

Re: [FFmpeg-user] aresample=matrix_encoding=dplii output is still 5.1 ??

2019-01-28 Thread Carl Eugen Hoyos
2019-01-29 0:50 GMT+01:00, pehache : > Just checked, the output of: > > ffmpeg -i test.mkv -map 0:1 -af > aresample=matrix_encoding=dplii -t 300 a.wav > > is bit to bit identical to: > > ffmpeg -i test.mkv -map 0:1 -t 300 a.wav Complete, uncut console output missing. I just tested that - apart

Re: [FFmpeg-user] aresample=matrix_encoding=dplii output is still 5.1 ??

2019-01-28 Thread Carl Eugen Hoyos
2019-01-28 23:58 GMT+01:00, pehache : > Le 28/01/2019 à 14:11, Carl Eugen Hoyos a écrit : >> Note that the dplii conversion does not do a correct phase shift, (Sorry: "FFmpeg's dplii conversion") >> the output does not have optimal quality. > > Do you mean in general with the DPLII principle,

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-28 Thread Carl Eugen Hoyos
2019-01-29 2:16 GMT+01:00, Ulf Zibis : > Hi Carl Eugen, > > Am 19.01.19 um 14:02 schrieb Carl Eugen Hoyos: >>> $ ffmpeg -i CYD_copy.vob -vf idet -f null - >>> ffmpeg version 4.1-static https://johnvansickle.com/ffmpeg/ Copyright >> Not supported here! >> >>> (c) 2000-2018 the FFmpeg developers

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-28 Thread Ulf Zibis
Am 29.01.19 um 01:32 schrieb Moritz Barsnick: > On Mon, Jan 28, 2019 at 22:52:38 +0100, Ulf Zibis wrote: >>> LEDs and LCDs would give you headaches if they displayed alternating lines, >>> as the "afterglow" effect of CRTs, retaining the line's content, is not >>> present. >> If each 2nd line

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-28 Thread Ulf Zibis
Hi Carl Eugen, Am 19.01.19 um 14:02 schrieb Carl Eugen Hoyos: >> $ ffmpeg -i CYD_copy.vob -vf idet -f null - >> ffmpeg version 4.1-static https://johnvansickle.com/ffmpeg/ Copyright > Not supported here! > >> (c) 2000-2018 the FFmpeg developers >> built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1)

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-28 Thread Moritz Barsnick
On Mon, Jan 28, 2019 at 22:52:38 +0100, Ulf Zibis wrote: > > LEDs and LCDs would give you headaches if they displayed alternating lines, > > as the "afterglow" effect of CRTs, retaining the line's content, is not > > present. > > If each 2nd line would be empty (black) you may be right, but if

Re: [FFmpeg-user] redirect to 2 fifo files

2019-01-28 Thread Moritz Barsnick
On Mon, Jan 28, 2019 at 20:38:48 +0100, Zoltan Kerenyi Nagy wrote: > Anyhow your solution only creates files, not named pipes (fifo). You can tell ffmpeg to "overwrite" them by using "-y". It should just reuse them, not actually delete them and replace them with files. (Works for me.) > I'd like

Re: [FFmpeg-user] aresample=matrix_encoding=dplii output is still 5.1 ??

2019-01-28 Thread pehache
Le 28/01/2019 à 23:58, pehache a écrit : Le 28/01/2019 à 14:11, Carl Eugen Hoyos a écrit : 2019-01-28 9:00 GMT+01:00, pehache : Le 27/01/2019 à 16:53, Carl Eugen Hoyos a écrit : 2019-01-27 16:44 GMT+01:00, pehache : I used to apply a Dolby Pro Logic II encoding this way : Actual command

Re: [FFmpeg-user] ffmpeg ip cam stream with drawtext

2019-01-28 Thread Michael Shaffer
Hi, we are also streaming a Hikvision cctv camera to youtube. We're not putting text on the image but are using the "-vf curves" command to eliminate fog. The CPU was unable to do the curves filter at 30fps above 1080p. We put my GeForce 1060 3GB in the computer, and it doesn't use much CPU at all

Re: [FFmpeg-user] aresample=matrix_encoding=dplii output is still 5.1 ??

2019-01-28 Thread pehache
Le 28/01/2019 à 14:11, Carl Eugen Hoyos a écrit : 2019-01-28 9:00 GMT+01:00, pehache : Le 27/01/2019 à 16:53, Carl Eugen Hoyos a écrit : 2019-01-27 16:44 GMT+01:00, pehache : I used to apply a Dolby Pro Logic II encoding this way : Actual command line and complete, uncut console output

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-28 Thread Ulf Zibis
Am 19.01.19 um 23:29 schrieb Carl Eugen Hoyos: > (I don't see this email) What you mean by that? > This deinterlacing method is called "weave", this is not what CRT's > do (as Moritz explained), most people do not like the results. > (Although some do!) This method results in a 25 fps stream,

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-28 Thread Ulf Zibis
Am 19.01.19 um 17:30 schrieb Moritz Barsnick: >> Well, but the software player could send 50 frames per second with >> alternately updating only each 2nd top/bottom line. > It could. But if the display is anything else than an old CRT, it will first > deinterlace internally. Why should it do

Re: [FFmpeg-user] redirect to 2 fifo files

2019-01-28 Thread Zoltan Kerenyi Nagy
fifo1 and fifo2 are not really pipes or fifo-s This way it asks me if I want to overwrite them: #!/bin/bash set -x mkfifo fifo1 2>/dev/null mkfifo fifo2 2>/dev/null ffmpeg -f alsa -i hw:0,0 -f wav fifo1 -f wav fifo2 exit 0 On Mon, 28 Jan 2019 at 19:20, Zoltan Kerenyi Nagy <

[FFmpeg-user] ffmpeg ip cam stream with drawtext

2019-01-28 Thread frhun
Hi all I am new in the mail list. I from Hungary, I usualy helped sport competition, streaming to youtube... I hope someone helps me. I have a ip cam ( hikvision) , so far using only stream to youtube function. ( ffmpeg -re -rtsp_transport tcp -i

Re: [FFmpeg-user] redirect to 2 fifo files

2019-01-28 Thread Zoltan Kerenyi Nagy
If this tiny mistake is the root of the problem, than Ill buy you a beer :-) Im checking this out as soon as I got home On 2019. Jan 28., Mon at 19:11, Moritz Barsnick wrote: > On Mon, Jan 28, 2019 at 16:18:12 +0100, Zoltan Kerenyi Nagy wrote: > > This is how I create the 2 fifos: > > > >

Re: [FFmpeg-user] redirect to 2 fifo files

2019-01-28 Thread Moritz Barsnick
On Mon, Jan 28, 2019 at 16:18:12 +0100, Zoltan Kerenyi Nagy wrote: > This is how I create the 2 fifos: > > #!/bin/bash > > mkfifo fifo2 2>/dev/null > mkfifo fifo2 2>/dev/null You're creating the same fifo twice, by the way > ffmpeg -f alsa -i hw:0,0 -f wav pipe:1 > fifo1 -f wav pipe:1 > fifo2

Re: [FFmpeg-user] ArriRaw files - "Unsupported codec"

2019-01-28 Thread Harvey Pikelberger
Checking in -- hoping there's a way to work with ArriRaw using FFmpeg > On Jan 27, 2019, at 11:01 AM, Harvey Pikelberger wrote: > > Thanks Kieran, here you go: > https://drive.google.com/file/d/1jy60VfmYbzs53ox6honIS-Ja2o5QDC0u/view?usp=sharing > >

Re: [FFmpeg-user] ffmpeg creates white frames at end of encode

2019-01-28 Thread Frederico Cengarle
Hi Carl, thanks for the quick reply. I did also try the internal aac encoder but still have the same issue….seems for some reason that the audio track end up being longer than the video (even if I use the -shortest cmd) Here my console output Microsoft Windows [Version 6.1.7601] Copyright

[FFmpeg-user] What exactly is an "amplitude ratio"?

2019-01-28 Thread Josh McNeill
Hello, I'm using the silencedetect filter for a project, and I've been using an amplitude ratio for the threshold (i.e., n=), but I'm not sure what this actually refers to. My guess is that it's a percentage of the peak amplitude in the file (e.g., 0.01 is 1% of the highest amplitude), but

Re: [FFmpeg-user] ffmpeg creates white frames at end of encode

2019-01-28 Thread Carl Eugen Hoyos
2019-01-28 16:47 GMT+01:00, Frederico Cengarle : > ffmpeg -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=48000 -i Input > file -pix_fmt yuv420p -vcodec libx264 -profile:v main -color_primaries 1 > -color_trc 1 -colorspace 1 -b:v 10M -c:a libfdk_aac -b:a 192k -movflags > faststart

[FFmpeg-user] ffmpeg creates white frames at end of encode

2019-01-28 Thread Frederico Cengarle
Hi ffmpeg users, I’m having a little issue that I hope someone can help me with. I use FFmpeg to create an x264 mov file in which I add silence audio in it. When I look at the result, everything seem fine except from the fact that with frames are add at the end of the encode. From what I

[FFmpeg-user] record to files and stream at same time

2019-01-28 Thread Zoltan Kerenyi Nagy
Hi, As for the documentation I should be able to produce more than 2 outputs at the same time. The streaming is ok, but the recordings never gets segmented if I pull this script every five minutes with cron. Here is my /etc/ffserver.conf file: https://pastebin.com/aSfRiCCf And here is my test

[FFmpeg-user] redirect to 2 fifo files

2019-01-28 Thread Zoltan Kerenyi Nagy
Hi All, I'd like to send my laptop's sound to 2 fifo-s at the same time in order to read from that fifos later. For some reason if I read from those fifos, nothing happens: ffmpeg -i fifo1 -s 0 -t 5 out1.wav ffmpeg -i fifo2 -s 0 -t 5 out2.wav This is how I create the 2 fifos: #!/bin/bash

Re: [FFmpeg-user] Transcoding MPEG .ts results in slow playback speed

2019-01-28 Thread Carl Eugen Hoyos
2019-01-28 8:39 GMT+01:00, Peter B. : > Works with added "-r 25" before "-i": > $ ffmpeg-git -r 25 -i ORIGINAL.ts -c:v ffv1 -c:a copy out/test-fps25.avi > > But how come it requires the 25fps information Afaict, because the file has broken timestamps. The most important question would be how it

Re: [FFmpeg-user] aresample=matrix_encoding=dplii output is still 5.1 ??

2019-01-28 Thread Carl Eugen Hoyos
2019-01-28 9:00 GMT+01:00, pehache : > Le 27/01/2019 à 16:53, Carl Eugen Hoyos a écrit : >> 2019-01-27 16:44 GMT+01:00, pehache : >> >>> I used to apply a Dolby Pro Logic II encoding this way : >> >> Actual command line and complete, uncut console output missing. > > ffmpeg -i test.mkv -map 0:1

Re: [FFmpeg-user] aresample=matrix_encoding=dplii output is still 5.1 ??

2019-01-28 Thread pehache
Le 28/01/2019 à 09:00, pehache a écrit : Le 27/01/2019 à 16:53, Carl Eugen Hoyos a écrit : 2019-01-27 16:44 GMT+01:00, pehache : I used to apply a Dolby Pro Logic II encoding this way : Actual command line and complete, uncut console output missing. OK ffmpeg -i test.mkv -map 0:1 -c:a

Re: [FFmpeg-user] aresample=matrix_encoding=dplii output is still 5.1 ??

2019-01-28 Thread pehache
Le 27/01/2019 à 16:53, Carl Eugen Hoyos a écrit : 2019-01-27 16:44 GMT+01:00, pehache : I used to apply a Dolby Pro Logic II encoding this way : Actual command line and complete, uncut console output missing. OK ffmpeg -i test.mkv -map 0:1 -c:a aac -b:a 256k -af