Re: [FFmpeg-user] Problems trying to compile FFmpeg on MinGW under Cygwin - dependency contamination or something else?

2019-03-14 Thread Hashim Aziz
What kind of response is that? I'm obviously trying to install libaom, that's 
why I'm here in what is apparently the only official FFmpeg avenue and asking 
for help with it. Did you actually read my questions?


From: ffmpeg-user  on behalf of James Darnley 

Sent: 14 March 2019 7:14 PM
To: FFmpeg user questions
Subject: Re: [FFmpeg-user] Problems trying to compile FFmpeg on MinGW under 
Cygwin - dependency contamination or something else?

On 2019-03-14 17:50, Hashim Aziz wrote:
> ERROR: aom >= 1.0.0 not found using pkg-config

What is ambiguous about this message?  Either install libaom or don't
enable it.

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://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 muxing over HTTP

2019-03-14 Thread Carl Zwanzig

On 3/14/2019 2:30 PM, wolfe.t.glenn wrote:

@ Carl - sure, but I do not think you understand my question.


I'm not sure you understand HTTP; how do you _send_ http without it being 
_requested_? AFAIK, one end has to request the data and thus open the 
stream. Generally setting an IP of 0.0.0.0 indicates to listen on the port.


The -f mpegts indicates to use that output format, which would go over tcp 
or udp (don't know why it accepts http, not going into the code at the moment).


You may need to investigate other streaming protocols like rtp or rtsp, or 
setting up hls (which I think is what you really need).


Also, take a look at https://trac.ffmpeg.org/wiki/StreamingGuide


On Thu, Mar 14, 2019 at 11:56 AM Carl Eugen Hoyos 
wrote:

[...]

Please avoid top-posting here


still a good idea (as is removing the old message footers)

Also, AFAIK, we haven't seen the full command _with_ the output; among other 
things, it tells everyone which version of ffmpeg you're using and what 
options it was built with.


z!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://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 : images to mp4 -> exact framerate required

2019-03-14 Thread Carl Eugen Hoyos
2019-03-14 19:04 GMT+01:00, Lars Michaelis :
> Hi,
>
> I'm creating a mp4 file from several images by following ffmpeg call.
>
>  ffmpeg.exe -y -framerate 25 -i img_%08d.png -vcodec libx264 -pix_fmt
> yuv420p -preset veryslow -crf 25 out.mp4

Complete, uncut console output missing.

> Each image displays a timestamp in milliseconds(for output framerate =
> 25 fps).
>
> img_.png => 0
> img_0001.png => 40
> img_0002.png => 80
> img_0003.png => 120
> img_0004.png => 160
> img_.png => 240
> img_.png => 320
> img_.png => 360
>
> and so on.
>
> The problem is, I need an exact framerate of 25 fps, this means every
> 40ms the image shall change.

This is - as far as the output video is concerned - guaranteed by
your command line.

> But when I am playing the created video and pause inbetween, I can see a
> time difference of up to 200ms between the playtime and the time
> displayed in the video itself.

I don't understand how you pause the video and - at the same time -
can measure a time difference in a video.

Please elaborate, Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://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 muxing over HTTP

2019-03-14 Thread wolfe.t.glenn
@ Carl - sure, but I do not think you understand my question.

HTTP uses TCP, yes. But I am saying that I want the output stream to be
encapsulated in L7 packets rather than still sent over L4.

I am not asking about lower level transport. I simply need HTTP
encapsulation.

While the FFmpeg protocols documentation seems to indicate that muxing over
HTTP is quite possible, I am not seeing expected behavior as there is no
encapsulation happening.



On Thu, Mar 14, 2019 at 11:56 AM Carl Eugen Hoyos 
wrote:

>
>
> > Am 14.03.2019 um 16:21 schrieb wolfe.t.glenn :
> >
> > Even when I run this command:
> >
> > `ffmpeg -re -i hq-video.mp4 -c:v libx264 -an -s 1280x720 -f h264
> > http://my-server/push` 
> >
> > It is still sending the data only over *TCP*. Why is this the case??
>
> Because while http does not strictly require tcp iirc, it is always used
> over tcp afaik. I don’t think my-server would accept anything else.
> If you want udp (or rtp) tell FFmpeg so.
>
> Please avoid top-posting here, Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] FFmpeg: how to output over HTTP

2019-03-14 Thread Glenn W
I am trying to send FFmpeg output over HTTP stream to a web server backend.

The FFmpeg client is sitting behind a NAT so I need to stream outbound to
server, rather than have server request stream.

So far, while testing on my local network I am using these commands, which
works, but uses TCP rather than HTTP. I need to use HTTP only.

From Client:

`ffmpeg -re -i hq-video.mp4 -c:v libx264 -an -bsf h264_mp4toannexb -f
mpegts -chunked_post 1 http://0.0.0.0:5558/mpegts`

Using Wireshark, I see that the output is being sent still over TCP, rather
than HTTP.

Please help me understand what I can do to force HTTP output. The desired
behavior is to send HTTP output direct to server (without server first
sending out request to client) using PUT or POST headers.

Thank You,

Glenn W
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Problems trying to compile FFmpeg on MinGW under Cygwin - dependency contamination or something else?

2019-03-14 Thread James Darnley
On 2019-03-14 17:50, Hashim Aziz wrote:
> ERROR: aom >= 1.0.0 not found using pkg-config

What is ambiguous about this message?  Either install libaom or don't
enable it.



signature.asc
Description: OpenPGP digital signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] ffmpeg : images to mp4 -> exact framerate required

2019-03-14 Thread Lars Michaelis

Hi,

I'm creating a mp4 file from several images by following ffmpeg call.

ffmpeg.exe -y -framerate 25 -i img_%08d.png -vcodec libx264 -pix_fmt 
yuv420p -preset veryslow -crf 25 out.mp4


Each image displays a timestamp in milliseconds(for output framerate = 
25 fps).


img_.png => 0
img_0001.png => 40
img_0002.png => 80
img_0003.png => 120
img_0004.png => 160
img_.png => 240
img_.png => 320
img_.png => 360

and so on.

The problem is, I need an exact framerate of 25 fps, this means every 
40ms the image shall change.


But when I am playing the created video and pause inbetween, I can see a 
time difference of up to 200ms between the playtime and the time 
dispalyed in the video itself. Allowed is only gap of 40ms. I checked 
with different players, so the problem is in the video itself.


I tried several different options, but could not solve this.

Is there any parameter available, which ensures, that each picture is 
shown exactly 40 ms.


Thanks





___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] H264 timecode

2019-03-14 Thread Carl Eugen Hoyos


> Am 14.03.2019 um 15:45 schrieb Enrico Vittorini :
> 
> i tried the showinfo but h264 timeode is not shown.

Command line including complete, uncut console output missing.
Your sample may be needed, too.

Please do not top-post here, Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://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 muxing over HTTP

2019-03-14 Thread Carl Eugen Hoyos


> Am 14.03.2019 um 16:21 schrieb wolfe.t.glenn :
> 
> Even when I run this command:
> 
> `ffmpeg -re -i hq-video.mp4 -c:v libx264 -an -s 1280x720 -f h264
> http://my-server/push`
> 
> It is still sending the data only over *TCP*. Why is this the case??

Because while http does not strictly require tcp iirc, it is always used over 
tcp afaik. I don’t think my-server would accept anything else.
If you want udp (or rtp) tell FFmpeg so.

Please avoid top-posting here, Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://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 muxing over HTTP

2019-03-14 Thread wolfe.t.glenn
Even when I run this command:

`ffmpeg -re -i hq-video.mp4 -c:v libx264 -an -s 1280x720 -f h264
http://my-server/push`

It is still sending the data only over *TCP*. Why is this the case??

How can I just get FFmpeg to send the data over *HTTP*??



On Thu, Mar 14, 2019 at 3:57 AM Carl Eugen Hoyos  wrote:

> 2019-03-14 6:51 GMT+01:00, Glenn W :
> > I need to SEND h264 packets efficiently as possible, and
> > over HTTP.
>
> Then why don't you send AnnexB? It seems hard to believe
> that it has more overhead than rtsp...
>
> > I don't understand why this should not be possible, as FFmpeg
> > can use RTSP protocol to request over HTTP when demuxing.
>
> (That's not exactly a strong argument...)
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] H264 timecode

2019-03-14 Thread Enrico Vittorini
i tried the showinfo but h264 timeode is not shown. checking the doc 
https://www.ffmpeg.org/ffmpeg-all.html#showinfo
i did not find anything related to timecode

any clue?


From: Enrico Vittorini 
Sent: Thursday, March 14, 2019 9:07 AM
To: FFmpeg user questions
Subject: Ris: [FFmpeg-user] H264 timecode


Thanks for the reply. Can you suggest an example am?

 Messaggio originale 
Oggetto: Re: [FFmpeg-user] H264 timecode
Da: Carl Eugen Hoyos
A: FFmpeg user questions
CC:

2019-03-14 8:04 GMT+01:00, Enrico Vittorini :

> i see that version 4.1 support "S12M timecode decoding in h264".
> Can someone explain me how to use it wiht a TS input file?

The showinfo filter should display the timecode.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Problem with -vf fillborders on 16 bit image

2019-03-14 Thread Ulf Zibis
Am 12.03.19 um 05:45 schrieb Gyan:

>
> No, in here:
>
> static const AVFilterPad fillborders_inputs[] = {
>     {
>     .name   = "default",
>     .type   = AVMEDIA_TYPE_VIDEO,
>     .config_props   = config_input,
>     .filter_frame   = filter_frame,
>     .needs_writable = 1,
>     },
>     { NULL }
> };

Ooh, much thanks for your finding Gyan.

I'm pretty sure I have searched the source code for "writable". I'm now
wondering why I didn't find anything. Maybe it was a typo like "writeble".

-Ulf

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://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 crash when transcoding with vpp_qsv and pad filters

2019-03-14 Thread qw
Hi


The simplified command is:
ffmpeg -hwaccel qsv -c:v h264_qsv -i football_avc_600p_24fps_1000k.flv -an -c:v 
h264_qsv -r 15/1 -vb 100 -minrate 100 -maxrate 150 -bufsize 200 
-preset fast -profile:v main \
-vf "vpp_qsv, pad='1280:720:128:64'" -f flv 
football_avc_600p_24fps_1000k_output.flv




Regards


andrew



At 2019-03-13 22:21:44, "Li, Zhong"  wrote:
>> From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of
>> qw
>> Sent: Wednesday, March 13, 2019 9:57 PM
>> To: ffmpeg-user@ffmpeg.org
>> Subject: [FFmpeg-user] ffmpeg crash when transcoding with vpp_qsv and
>> pad filters
>> 
>> hi,
>> 
>> 
>> I use the following command, and ffmpeg 4.0 will crash:
>> 
>> 
>> ffmpeg -v trace -hwaccel qsv -c:v h264_qsv -i
>> test-clips/football_avc_600p_24fps_1000k.flv \ -rw_timeout 1000
>> -acodec libfdk_aac -profile:a aac_he -ar 44100 -ac 2 -ab 64000 -c:v
>> h264_qsv -vb 100 -r 15/1 -force_key_frames "expr:gte(t,n_forced*5)" \
>> -minrate 100 -maxrate 150 -bufsize 200 -preset fast -profile:v
>> main \ -vf "vpp_qsv, pad='1280:720:128:64'" -max_muxing_queue_size 2000
>> \ -f flv football_avc_600p_24fps_1000k_output.flv
>> 
>> 
>> it's a bug, isn't it?
>
>1. Please simplify your command line as possible as you can to reproduce the 
>bug. As far as I can see, it is due to vpp_qsv can' support pad.
>2. If you think it is a bug, please report your issue to 
>https://trac.ffmpeg.org with detail description. 
>
>___
>ffmpeg-user mailing list
>ffmpeg-user@ffmpeg.org
>https://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
https://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 muxing over HTTP

2019-03-14 Thread Carl Eugen Hoyos
2019-03-14 6:51 GMT+01:00, Glenn W :
> I need to SEND h264 packets efficiently as possible, and
> over HTTP.

Then why don't you send AnnexB? It seems hard to believe
that it has more overhead than rtsp...

> I don't understand why this should not be possible, as FFmpeg
> can use RTSP protocol to request over HTTP when demuxing.

(That's not exactly a strong argument...)

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] H264 timecode

2019-03-14 Thread Carl Eugen Hoyos
2019-03-14 8:04 GMT+01:00, Enrico Vittorini :

> i see that version 4.1 support "S12M timecode decoding in h264".
> Can someone explain me how to use it wiht a TS input file?

The showinfo filter should display the timecode.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] H264 timecode

2019-03-14 Thread Enrico Vittorini
Hello guys,
i see that version 4.1 support "S12M timecode decoding in h264". Can someone 
explain me how to use it wiht a TS input file?
Is it possible to play a TS with ffplay and show the timecode in overlay?

thanks!

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".