Re: [FFmpeg-user] m3u8 = non-monotonous DTS

2016-10-14 Thread Louis Letourneau
> I don't use releases myself, but I always advise AV
> archivists, who implement FFmpeg in their workflow, to use
> the last release of an actively maintained branch. Why?
> Because for the people living outside our "gang" it is much
> easier to keep the software updated this way

So do you suggest I use master but as soon as 3.2 is released and if it
doesn't have the issue,  I switch to that tagged version?

Louis

Louis
___
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] Audio delayed with DeckLink

2016-10-14 Thread Marton Balint


On Fri, 14 Oct 2016, PSPunch wrote:


Hi Marton,

The suggested options fixed the sync issue in a snap.
Thank you, thank you, thank you!!

BTW, I understand from brief searching that the wallclock option is 
relatively new. Just curious how FFmpeg users dealt with Decklink boards 
until they were available??


Older generation cards were better, next gen cards like duo2 have more 
problems timestamp-wise.


Regards,
Marton
___
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] m3u8 = non-monotonous DTS

2016-10-14 Thread Reto Kromer
Moritz Barsnick wrote:

>Why do you need a release, anyway?

The question about the releases is asked from time to time.
I don't use releases myself, but I always advise AV
archivists, who implement FFmpeg in their workflow, to use
the last release of an actively maintained branch. Why?
Because for the people living outside our "gang" it is much
easier to keep the software updated this way (e.g. via
Brew). Therefore I am really grateful to the volunteers who
make this possible, even if I am not a direct beneficiary.

Best regards, Reto

___
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] m3u8 = non-monotonous DTS

2016-10-14 Thread Louis Letourneau
>
> "ffmpeg -loglevel verbose" at least shows you which segments are opened.
>

Well what do know, I should have tried that. Very useful on m3u8s.


> Why do you need a release, anyway? Do you rely on getting your ffmpeg
> from a distribution?
>

For development it doesn't really matter. For our production server we tend
to like tagged releases, not HEAD or a changeset somewhere in a branch.
This being said, since master is ok, I think I'll switch to master/HEAD
instead of going to 2.8.8 until 3.2 is released

(BTW, great instructions to reproduce, without any external
> dependencies or input files. Thanks for that!)
>

My pleasure. And thank you for the complete answer, it makes tons of sense.

Louis
___
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] ES info problem

2016-10-14 Thread Eugenijus Urbonas

Hello!

I am trying to generate still image with silent audio-track to push it 
to the DVB network. MPEG-ts stream is generating with this command:


~/bin/ffmpeg -loop 1 -i ~/image-mpeg4.jpg -f lavfi -i anullsrc -map 0:v -map 
1:a -c:a mp2 -b:a 128k -c:v libx264 -preset medium -profile:v baseline -level 
3.0 -tune stillimage -pix_fmt yuv420p -s 720x576 -framerate 25 -crf 1 -bufsize 
2000k -maxrate 2000k -f mpegts udp://239.31.5.205:1234

in the result I get correct SPTS with two ESs inside, but video-stream 
is not described as it should (there is no ES-info section): 
https://drive.google.com/open?id=0B27FBYXaYyqAQ2NmNHBKNXZMdXc


Input #0, mpegts, from 'udp://239.31.5.205:1234':

  Duration: N/A, start: 13590.794289, bitrate: N/A

  Program 1

Metadata:

  service_name: Service01

  service_provider: FFmpeg

Stream #0:0[0x100]: Video: h264 (Constrained Baseline) ([27][0][0][0] / 
0x001B), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc

Stream #0:1[0x101]: Audio: mp2 ([3][0][0][0] / 0x0003), 44100 Hz, stereo, 
s16p, 128 kb/s

For example, stream generated with vlc contains all info inside: 
https://drive.google.com/open?id=0B27FBYXaYyqATnVXX0p5dU8zY2s


Input #0, mpegts, from 'udp://239.31.5.206:1234':

  Duration: N/A, start: 90599.38, bitrate: N/A

  Program 1

Stream #0:0[0x43]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), 
yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc

Actually the same issue is present even if I try to wrap pre-generated 
h.264 file into MPEG-ts with command:


~/bin/ffmpeg -re -stream_loop 1 -i ~/video2.mpg -c:v copy -vsync drop -c:a copy 
-f mpegts udp://239.31.5.205:1234

So the question is, how could I set ES info? Could not find any useful 
information in documentation.


--
Ar cieņu, Eugenijus Urbonas

___
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] nvenc h264 encoding

2016-10-14 Thread Sven C. Dack

On 13/10/16 14:01, tyt xtreme wrote:

And what can i do on Windows to check these capabilities?
Btw the GPU is a Gainward 6 Gb nVidia GTX 980 Ti so i think this should
support the above formats.

Any idea why this encoding doesn't work?

$ ffmpeg -i perspective.mp4 -c:v h264_nvenc -profile:v high444p
-pixel_format yuv444p -preset default perspective_out.mp4

...
[h264_nvenc @ 01d84640] No free surfaces
Video encoding failed
Conversion failed!

I've now tried it on a GTX 960 (Maxwell GM 206) and there you can encode with 
yuv444p. The chip was the last of the Maxwell-series iirc and doesn't support 
10-bit depth. So either they snuck it in at the very last or it's an issue with 
the driver or libraries. This is with Video SDK 7.0.1 and CUDA 8.0. You can try 
to update the Nvidia driver and libraries and see if this changes anything.


$ ffmpeg -i 
../U-HD-Test-Videos/Harmonic_Snow_Monkeys_4k_\(Ultra_HD\)_-_DASH.webm -c:v 
h264_nvenc -pix_fmt:v yuv444p -profile:v high444p -preset:v default out5.mp4

ffmpeg version N-81995-ge62165b Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 6.2.1 (GCC) 20161013
  configuration: --prefix=/home/sven/av --enable-gpl --enable-version3 
--enable-nonfree --arch=x86_64 --cpu=native --enable-debug --enable-shared 
--enable-static --enable-libvorbis --enable-libopus --enable-libx264 
--enable-libx265 --enable-opengl --enable-opencl --enable-vaapi --enable-vdpau 
--enable-cuda --enable-cuvid --enable-nvenc --enable-libnpp 
--extra-cflags='-I/home/sven/av/include -I/usr/local/cuda/include 
-I/usr/local/Video_Codec_SDK_7.0.1/Samples/common/inc' 
--extra-ldflags='-L/home/sven/av/lib -L/usr/local/cuda/lib64' --ar=gcc-ar 
--nm=gcc-nm --ranlib=true

  libavutil  55. 32.100 / 55. 32.100
  libavcodec 57. 61.103 / 57. 61.103
  libavformat57. 52.100 / 57. 52.100
  libavdevice57.  0.102 / 57.  0.102
  libavfilter 6. 64.100 /  6. 64.100
  libswscale  4.  1.100 /  4.  1.100
  libswresample   2.  2.100 /  2.  2.100
  libpostproc54.  0.100 / 54.  0.100
Input #0, matroska,webm, from 
'../U-HD-Test-Videos/Harmonic_Snow_Monkeys_4k_(Ultra_HD)_-_DASH.webm':

  Metadata:
encoder : google
  Duration: 00:01:00.04, start: 0.00, bitrate: 25305 kb/s
Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv, 
bt709/unknown/unknown), 3840x2160, SAR 1:1 DAR 16:9, 59.94 fps, 59.94 tbr, 1k 
tbn, 1k tbc (default)

File 'out5.mp4' already exists. Overwrite ? [y/N] y
Output #0, mp4, to 'out5.mp4':
  Metadata:
encoder : Lavf57.52.100
Stream #0:0(eng): Video: h264 (*h264_nvenc*) (*High 4:4:4 Predictive*) 
([33][0][0][0] / 0x0021), *yuv444p*, 3840x2160 [SAR 1:1 DAR 16:9], q=-1--1, 2000 
kb/s, 59.94 fps, 19001 tbn, 59.94 tbc (default)

Metadata:
  encoder : Lavc57.61.103 h264_nvenc
Side data:
  cpb: bitrate max/min/avg: 0/0/200 buffer size: 400 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (vp9 (native) -> h264 (h264_nvenc))
Press [q] to stop, [?] for help


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