Re: [FFmpeg-user] issues installing ffmpeg php

2017-02-03 Thread Reindl Harald



Am 03.02.2017 um 19:24 schrieb Arturo Calle:

Hello, I need some help to install ffmpeg php, I get this message


what is the "ffmpeg php" you refer to?
i am only aware about a for years dead horse with a similar name

however, since you are installing in a non-default location you need to 
tell any other software where it and the headers are - hence you should 
provide from the very begin *what* you are trying to build and it's 
compile errors and not your ffmpeg configure


keep in mind that this is in general the wrong mailing list because this 
is not the upstream of "ffmpeg php"



configure: "
*error: ffmpeg headers not found. Make sure ffmpeg is compiled as shared
libraries using the --enable-shared option"*
How I can compile ffmpeg with --enable-shared option? I followed this
instructions https://trac.ffmpeg.org/wiki/CompilationGuide/Centos, with
--enable-shared option, but I still getting that message. What I'm missing?
Do you need additional info?

I wrote this: PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
./configure --prefix="$HOME/ffmpeg_build"
--extra-cflags="-I$HOME/ffmpeg_build/include"
--extra-ldflags="-L$HOME/ffmpeg_build/lib -ldl" --bindir="$HOME/bin"
--pkg-config-flags="--static" --enable-gpl --enable-nonfree
--enable-libfdk_aac --enable-libfreetype --enable-libmp3lame
--enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libx265 --enable-shared

PHP 5.4.16
CentOS: centos-release-7-3.1611.el7.centos.x86_64

___
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] broken mp4 file from upd stream

2017-02-03 Thread Carl Eugen Hoyos
2017-02-02 10:14 GMT+01:00 Patrick :
> i'm using ffmpeg to record a tv stream from an udp multicast (mpeg-ts).

Seriously: What's wrong with tcpdump?
FFmpeg is (afaict) not a tool to dump network streams.

> most of the time it works very well but sometimes(1 of 10) the mp4 file
> is broken.
>
> it seems that the moov atom header will not be written or something else.

How do you stop recording?

Please remember to test current FFmpeg before reporting issues here,
nothing else is supported.

Carl Eugen
___
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] issues installing ffmpeg php

2017-02-03 Thread Carl Eugen Hoyos
2017-02-03 19:24 GMT+01:00 Arturo Calle :
> Hello, I need some help to install ffmpeg php

Unfortunately, this is the user mailing list for FFmpeg, we know
nothing about ffmpeg-php.

Carl Eugen
___
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] issues installing ffmpeg php

2017-02-03 Thread Arturo Calle
Hello, I need some help to install ffmpeg php, I get this message

configure: "
*error: ffmpeg headers not found. Make sure ffmpeg is compiled as shared
libraries using the --enable-shared option"*
How I can compile ffmpeg with --enable-shared option? I followed this
instructions https://trac.ffmpeg.org/wiki/CompilationGuide/Centos, with
--enable-shared option, but I still getting that message. What I'm missing?
Do you need additional info?

I wrote this: PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
./configure --prefix="$HOME/ffmpeg_build"
--extra-cflags="-I$HOME/ffmpeg_build/include"
--extra-ldflags="-L$HOME/ffmpeg_build/lib -ldl" --bindir="$HOME/bin"
--pkg-config-flags="--static" --enable-gpl --enable-nonfree
--enable-libfdk_aac --enable-libfreetype --enable-libmp3lame
--enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libx265 --enable-shared

PHP 5.4.16
CentOS: centos-release-7-3.1611.el7.centos.x86_64

Best,

Arturo
___
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] broken mp4 file from upd stream

2017-02-03 Thread Patrick
Hello

i'm using ffmpeg to record a tv stream from an udp multicast (mpeg-ts).

output is an codec copy mpeg-ts file and a html5 conform mp4 file
(faststart, h264, aac, ...)

most of the time it works very well but sometimes(1 of 10) the mp4 file
is broken.

it seems that the moov atom header will not be written or something else.

Does anyone have an idea?





ffmpeg -hide_banner -loglevel info -timeout 3000 -i
'udp://238.1.1.3:1234=2000' -codec copy -y
2017-02-01_19-55-38.ts -vcodec libx264 -preset ultrafast -profile:v
baseline -flags +cgop -bf 0 -crf 24 -pix_fmt yuv420p -g 25 -acodec aac
-strict experimental -ac 2 -ab 128k -ar 44100 -movflags +faststart -vb
2000k -y lores_2017-02-01_19-55-38.ts.mp4

ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8 (SUSE Linux)
  configuration: --prefix=/home/build/ffmpeg-static/target
--pkg-config-flags=--static
--extra-cflags='-I/home/build/ffmpeg-static/target/include -static'
--extra-ldflags='-L/home/build/ffmpeg-static/target/lib -static'
--bindir=/home/build/ffmpeg-static/bin --disable-ffplay
--disable-ffserver --enable-gpl --enable-libfdk-aac --enable-libfreetype
--enable-libmp3lame --enable-libopus --enable-libvpx --enable-libx264
--enable-nonfree
  libavutil  55. 34.100 / 55. 34.100
  libavcodec 57. 64.101 / 57. 64.101
  libavformat57. 56.100 / 57. 56.100
  libavdevice57.  1.100 / 57.  1.100
  libavfilter 6. 65.100 /  6. 65.100
  libswscale  4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc54.  1.100 / 54.  1.100

[mpeg2video @ 0x25e9300] Invalid frame dimensions 0x0.
Input #0, mpegts, from 'udp://238.1.1.3:1234=2000':
  Duration: N/A, start: 63424.941422, bitrate: 3692 kb/s
  Program 10067
Metadata:
  service_name: Bloomberg Europe TV
  service_provider: Bloomberg TV
Stream #0:0[0x528](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000
Hz, stereo, s16p, 192 kb/s
Stream #0:1[0x550]: Video: mpeg2video (Main) ([2][0][0][0] /
0x0002), yuv420p(tv, top first), 544x576 [SAR 32:17 DAR 16:9], 3500
kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
  Program 10030
Metadata:
  service_name: CNBC Europe
  service_provider: CNBC
  Program 10050
Metadata:
  service_name: BBC World
  service_provider: BBC
  Program 10099
Metadata:
  service_name: Data System
  service_provider: SES ASTRA
  Program 10079
Metadata:
  service_name: RMC Decouverte HD
  service_provider: SES ASTRA
  Program 10081
Metadata:
  service_name: RMC Decouverte HD
  service_provider: SES ASTRA
  Program 10080
Metadata:
  service_name: Sonlife Broadcasting Network
  service_provider: SES ASTRA
  Program 10082
Metadata:
  service_name: Algerie 3
  service_provider: TDA
  Program 10083
Metadata:
  service_name: Canal Algerie
  service_provider: TDA
Output #0, mpegts, to '2017-02-01_19-55-38.ts':
  Metadata:
encoder : Lavf57.56.100
Stream #0:0: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420p(tv, top first), 544x576 [SAR 32:17 DAR 16:9], q=2-31, 3500 kb/s,
25 fps, 25 tbr, 90k tbn, 90k tbc
Stream #0:1(eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, 192 kb/s
[libx264 @ 0x25e2560] using SAR=1/1
[libx264 @ 0x25e2560] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x25e2560] profile Constrained Baseline, level 3.0
[libx264 @ 0x25e2560] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft
2003-2016 - http://www.videolan.org/x264.html - options: cabac=0 ref=1
deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00
mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0
deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=11
lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=25
keyint_min=2 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=24.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
Output #1, mp4, to 'lores_2017-02-01_19-55-38.ts.mp4':
  Metadata:
encoder : Lavf57.56.100
Stream #1:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021),
yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 2000 kb/s, 25 fps, 12800
tbn, 25 tbc
Metadata:
  encoder : Lavc57.64.101 libx264
Side data:
  cpb: bitrate max/min/avg: 0/0/200 buffer size: 0 vbv_delay: -1
Stream #1:1(eng): Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100
Hz, stereo, fltp, 128 kb/s
Metadata:
  encoder : Lavc57.64.101 aac
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (copy)
  Stream #0:1 -> #1:0 (mpeg2video (native) -> h264 (libx264))
  Stream #0:0 -> #1:1 (mp2 (native) -> aac (native))
Press [q] to stop, [?] for help
frame=  203 fps= 66 q=-1.0 q=18.0 size=3848kB time=00:00:08.55
bitrate=3685.3kbits/s dup=16 drop=0 speed=2.78x
frame=  283 fps= 45 q=-1.0 q=19.0 size=5274kB time=00:00:11.75

Re: [FFmpeg-user] EVS compatible AVC Intra 100

2017-02-03 Thread Victor Diez
Hello all,


I finally solved this issue. First, the codec id is properly set when passing 
the arguments to ffmpeg directly instead of to lib264 using -x264opts.


ffmpeg10bit -i source.mxf -coder 0 -map 0 -c:v libx264 -r 25 -g 1 -pix_fmt 
yuv422p10le -vb 100M -flags +ildct+ilme -tune psnr -color_range 2 -top 1 
-avcintra-class 100 -color_primaries bt709 -color_trc bt709 -colorspace bt709 
-vtag ai12 -c:a copy tmp.mxf


That generates a mxf which seems to be correct with most software but I 
contacted EVS and the problem is they require an mxf with just one body 
partition in order to work. So, using bmx:


bmxtranswrap --ps-avcihead --min-part -o target.avci100.mxf tmp.mxf


With that, EVS finally accepted the file.


Cheers,

Victor



De: ffmpeg-user  en nombre de Erik Dobberkau 

Enviado: viernes, 27 de enero de 2017 11:00
Para: FFmpeg user questions
Asunto: Re: [FFmpeg-user] EVS compatible AVC Intra 100

Am Mittwoch, 25. Januar 2017 schrieb Victor Diez :

>
> Thanks for the answers.
>
>
> I didn't paste the output because I did not get any error. I already
> checked with EVS and just wanted to make sure I got the "standard"AVC Intra
> 100 parameters right and that I was not making any mistake before getting
> back to them.
>
>
> Erik, the mxf was one of my suspicions as well, that's why I rewrapped the
> file with bmxtranswrap so I could get v1.3 instead of 1.2.
>
>
> This is the output I'm getting, all seems ok to me.
>
> In principle if you guys can confirm me that nothing looks weird in my
> command line for an AVC Intra 100 transcode that would be great so I can
> check back with EVS more confidently :)
>
> Thanks,
> Victor
>
>
>
Unfortunately I can't tell you if everything is okay because I have too
little experience with transcoding to AVC-Intra. The variable framerate
(bit being set) does seem an issue to me, I remember when doing something
similar with XDCAM HD422 this was source of trouble.
The bulletproof test of transcoding results is when you can put the result
on an original medium (Pana P2 in your case) an play it back without issue
from a standard player (or camera).

Erik
___
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 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] Float formatting in drawtext

2017-02-03 Thread Wolfgang Hugemann

I have just had a look at the solution via subtitles:

Pro:
* It works and the SRT format is simple enough to be written by a script.

Cons:
* SRT subtitles are written time-based and not frame-based, which takes 
some calculations, starting the subtitles shortly before the frame and 
ending it within the frame.


* This does not seem to work at the start of the video (frames 1, 2).

* I seem to have no influence on where the subtitle is placed. It 
appears at the middle of the bottom.


...

The drawtext filter has an option to read text from a file, but I guess 
this cannot easily be used to read lines on a per-frame basis (?).


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