Re: [FFmpeg-user] Convert Single Image

2017-12-04 Thread Lou Logan
On Mon, Dec 4, 2017, at 10:42 AM, Damien Gallagher wrote: > Would the following look like a decent setup? > ffmpeg.exe -y -v error -loop 1 -framerate 24 -t 5 -i intro.jpg -vf > format=yuv420p -r 24/1 output.mp4 No need for the "-r 24/1" because you already set "-framerate 24". The output will use

[FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-04 Thread Edgar H
Thanks a lot for the help guys! The problem is now solved and it's working perfectly. Funny enough I was using a FFMPEG build from 2 days ago! Maybe it was erroneously compiled? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailma

Re: [FFmpeg-user] Convert Single Image

2017-12-04 Thread Carl Eugen Hoyos
2017-12-04 20:42 GMT+01:00 Damien Gallagher : > Would the following look like a decent setup? > ffmpeg.exe -y -v error -loop 1 -framerate 24 -t 5 -i intro.jpg -vf > format=yuv420p -r 24/1 output.mp4 A lower framerate should produce a smaller file. Please do not top-post here, Carl Eugen _

Re: [FFmpeg-user] Convert Single Image

2017-12-04 Thread Damien Gallagher
Would the following look like a decent setup? ffmpeg.exe -y -v error -loop 1 -framerate 24 -t 5 -i intro.jpg -vf format=yuv420p -r 24/1 output.mp4 On Mon, Dec 4, 2017 at 7:15 PM, Lou Logan wrote: > On Mon, Dec 4, 2017, at 08:45 AM, Damien Gallagher wrote: > > Hi > > > > I am trying to convert a

Re: [FFmpeg-user] Convert Single Image

2017-12-04 Thread Lou Logan
On Mon, Dec 4, 2017, at 08:45 AM, Damien Gallagher wrote: > Hi > > I am trying to convert a single jpg image to a video > I am creating a list of training videos and I want to an intro video > based > on images I create used Graphics2D in java > > When I run the following command - it runs fine >

Re: [FFmpeg-user] Convert Single Image

2017-12-04 Thread Reindl Harald
Am 04.12.2017 um 19:30 schrieb Damien Gallagher: Thank you for getting back to me Based on running the following command ffmpeg.exe -y -i intro.jpg -r 1/5 -pix_fmt yuv420p intro_1.mp4 years ago i wrote a PHP wrapper to get a image with a audio file merged and a lot of players did only show a

Re: [FFmpeg-user] Convert Single Image

2017-12-04 Thread Damien Gallagher
Hi Kieran Thank you for getting back to me Based on running the following command ffmpeg.exe -y -i intro.jpg -r 1/5 -pix_fmt yuv420p intro_1.mp4 I get this output ffmpeg version N-89343-g83ecdc9a92 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 7.2.0 (GCC) configuration: --enabl

Re: [FFmpeg-user] Convert Single Image

2017-12-04 Thread Kieran O Leary
Hi, On 4 Dec 2017 17:45, "Damien Gallagher" wrote: Hi I am trying to convert a single jpg image to a video I am creating a list of training videos and I want to an intro video based on images I create used Graphics2D in java When I run the following command - it runs fine ffmpeg.exe -y -v erro

[FFmpeg-user] unable to play recorded HEVC/H.265 video, possible bug in ffmpeg muxer or demuxer?

2017-12-04 Thread Anton Sviridenko
As no one has answered my post in libav-user list http://ffmpeg.org/pipermail/libav-user/2017-November/010762.html trying to get some help here. Short description: There is an IP camera from Dahua that can stream video encoded by HEVC. I am able to view RTSP live stream using ffplay, but when I

[FFmpeg-user] Convert Single Image

2017-12-04 Thread Damien Gallagher
Hi I am trying to convert a single jpg image to a video I am creating a list of training videos and I want to an intro video based on images I create used Graphics2D in java When I run the following command - it runs fine ffmpeg.exe -y -v error -i intro.jpg -r 1/5 intro_1.mp4 The file will play

[FFmpeg-user] ffmpeg and VC++

2017-12-04 Thread Peadar Ó'Colmáin
Hello all,         Could anybody suggest a worked example in any kind of C that shows how to read the sound from a microphone and compress it in any format with ffmpeg Please ?         I am working in Visual C++.         I got it to compress and decompress video using Direct Show under Wi

Re: [FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-04 Thread Moritz Barsnick
On Mon, Dec 04, 2017 at 15:01:41 +0100, Carl Eugen Hoyos wrote: > > Um, since the prompt tells us it's Windows/DOS, I'm sure the ffmpeg > > executable should be called with "ffmpeg\bin\ffmpeg" (i.e. backslaches > > as path separator). > > Or possibly "ffmpeg" alone which may explain the error mess

Re: [FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-04 Thread Carl Eugen Hoyos
2017-12-04 14:30 GMT+01:00 Moritz Barsnick : > On Mon, Dec 04, 2017 at 13:04:57 +0100, Edgar H wrote: >> C:\Users\myuser\myproject>java -jar streamer/streamer.jar 6 53122 | >> ffmpeg/bin/ffmpeg -f s16le -ar 48000 -ac 2 -i - -f ogg >> icecast://hackme:hackme@localhost:8000/streaming.ogg > > Um, si

Re: [FFmpeg-user] Extracting frames from 59.94 FPS video - only every other frame is different

2017-12-04 Thread Carl Eugen Hoyos
2017-12-04 14:41 GMT+01:00 Moritz Barsnick : > On Mon, Dec 04, 2017 at 14:29:25 +0100, Carl Eugen Hoyos wrote: >> 2017-12-04 14:25 GMT+01:00 Moritz Barsnick : >> > clear (to me) from the docs. >> >> Which one? > > The decimate filter's practical use isn't clear to me from the docs. It is an

Re: [FFmpeg-user] Extracting frames from 59.94 FPS video - only every other frame is different

2017-12-04 Thread Moritz Barsnick
On Mon, Dec 04, 2017 at 14:29:25 +0100, Carl Eugen Hoyos wrote: > 2017-12-04 14:25 GMT+01:00 Moritz Barsnick : > > clear (to me) from the docs. > > Which one? The decimate filter's practical use isn't clear to me from the docs. > The mpdecimate filter - as you wrote - produces vfr video >

Re: [FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-04 Thread Moritz Barsnick
On Mon, Dec 04, 2017 at 13:04:57 +0100, Edgar H wrote: > C:\Users\myuser\myproject>java -jar streamer/streamer.jar 6 53122 | > ffmpeg/bin/ffmpeg -f s16le -ar 48000 -ac 2 -i - -f ogg > icecast://hackme:hackme@localhost:8000/streaming.ogg Um, since the prompt tells us it's Windows/DOS, I'm sure th

Re: [FFmpeg-user] Extracting frames from 59.94 FPS video - only every other frame is different

2017-12-04 Thread Carl Eugen Hoyos
2017-12-04 14:25 GMT+01:00 Moritz Barsnick : > P.S.: I must try that filter again. Actually, looking at it more > precisely, I probably tried to use the decimate filter for > whatever I tried to achieve. Grrr. But its intent isn't totally > clear (to me) from the docs. Which one

Re: [FFmpeg-user] Extracting frames from 59.94 FPS video - only every other frame is different

2017-12-04 Thread Moritz Barsnick
On Mon, Dec 04, 2017 at 13:28:06 +0100, Carl Eugen Hoyos wrote: > 2017-12-04 11:02 GMT+01:00 Moritz Barsnick : > > "decimate" filter, but from its description, it can achieve > > what you require: Dropping "nearly identical" frames. > > The releveant filter is called "mpdecimate": > https://ffmpeg

Re: [FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-04 Thread Carl Eugen Hoyos
2017-12-04 13:04 GMT+01:00 Edgar H : > Sorry for that, didn't understand it at first... > > The command I'm exeucting is the following one... > > C:\Users\myuser\myproject>java -jar streamer/strea > mer.jar 6 53122 | ffmpeg/bin/ffmpeg -f s16le -ar 48000 -ac 2 -i - -f ogg > icecast > ://hackme:hackm

Re: [FFmpeg-user] Extracting frames from 59.94 FPS video - only every other frame is different

2017-12-04 Thread Carl Eugen Hoyos
2017-12-04 11:02 GMT+01:00 Moritz Barsnick : > I personally haven't had the greatest success with the > "decimate" filter, but from its description, it can achieve > what you require: Dropping "nearly identical" frames. The releveant filter is called "mpdecimate": https://ffmpeg.org/ffmpeg-filter

[FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-04 Thread Edgar H
Sorry for that, didn't understand it at first... The command I'm exeucting is the following one... C:\Users\myuser\myproject>java -jar streamer/strea mer.jar 6 53122 | ffmpeg/bin/ffmpeg -f s16le -ar 48000 -ac 2 -i - -f ogg icecast ://hackme:hackme@localhost:8000/streaming.ogg And the output...

Re: [FFmpeg-user] Extracting frames from 59.94 FPS video - only every other frame is different

2017-12-04 Thread Moritz Barsnick
On Mon, Dec 04, 2017 at 09:46:29 +, Will Price wrote: > It's a real shame that the GoPro does this without warning as it will > make our lives more challenging. We need to compute the optical flow > of the videos and without an easy method of determining whether > frames are 'duplicated' or no

Re: [FFmpeg-user] Extracting frames from 59.94 FPS video - only every other frame is different

2017-12-04 Thread Will Price
Thank you all for your valuable insights. It's a real shame that the GoPro does this without warning as it will make our lives more challenging. We need to compute the optical flow of the videos and without an easy method of determining whether frames are 'duplicated' or not we'll have to downs

Re: [FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-04 Thread Moritz Barsnick
On Mon, Dec 04, 2017 at 01:14:20 +0100, Edgar H wrote: > Now that I've changed the operator, the output shows again but it seems > that it's "Unable to find a suitable output format for '/bin/ffmpeg'", and > then it says "bin/ffmpeg: Invalid argument" > > Am I missing any parameter? Maybe just rem