[FFmpeg-user] Error extracting srt

2020-08-05 Thread Alex Zachopoulos
Hi all,

I want to extract the SRT stream from mp4 files.
On my MacPro with High Sierra running ffmpeg 3.3 all is fine.
On my MacBook Pro with Catalina running ffmpeg 4.3 I keep getting an error.
This is the command I use to extract Stream #0:2 (subtitle) from file
1.mp4, on both computers:

ffmpeg -i 1.mp4 -vn -an -codec:s:0.2 srt 1.srt

On the MacBook Pro with Catalina and ffmpeg 4.3 is complains, twice:
First, somewhere down the middle of the dump it says:
*[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd3b4009800] stream 0, timescale not set*

Then at the end of the dump it says:
*[srt @ 0x7fd3b300ce00] Invalid stream specifier: s:0.2.*
*Last message repeated 1 times*

Like I said, the same command works without a hitch on the MacPro.
Anyone can help with any pointers, it'll be much appreciated.
Alex
___
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] ERROR: libass not found using pkg-config

2020-07-22 Thread shahrin zen via ffmpeg-user
Ok..now its workingThank you very much Mr Harald.


Sent from Yahoo Mail for iPhone


On Monday, July 20, 2020, 12:02 AM, Reindl Harald  
wrote:



Am 19.07.20 um 17:59 schrieb shahrin zen via ffmpeg-user:
> Hi, I am having error during compiling ffmpeg.
> 
> ERROR: libass not found using pkg-config

install the devel-package or don't use --enable-libass
doesn't sound that logical?
___
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] ERROR: libass not found using pkg-config

2020-07-19 Thread Reindl Harald


Am 19.07.20 um 17:59 schrieb shahrin zen via ffmpeg-user:
> Hi, I am having error during compiling ffmpeg.
> 
> ERROR: libass not found using pkg-config

install the devel-package or don't use --enable-libass
doesn't sound that logical?
___
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] Error while filtering: Cannot allocate memory Failed to inject frame into filter network: Cannot allocate memory

2020-06-04 Thread Carl Eugen Hoyos
Am Do., 4. Juni 2020 um 16:43 Uhr schrieb lagmoellertim
:

> Error while filtering: Cannot allocate memory
> Failed to inject frame into filter network: Cannot allocate memory
> Error while processing the decoded data for stream #0:1
>
> Here is the console output:
> https://gist.github.com/lagmoellertim/8ed94b05d127a4604b03649bd307b7c9
> 
>
> This is the command I used:
>
> ffmpeg -ss 240 -i video.mp4 -vsync 1 -async 1 -safe 0 -filter_complex_script
> filter_script -y -map '[vout]' -map '[aout]' out.mp4
>
> And here is the filter script:
> https://gist.github.com/lagmoellertim/b1d7bd4b898c06ffcade9176733376f0

For future questions: Please do not use external references for a few lines
of code and console output.

Either buy more memory or use the concat demuxer.

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] Error while filtering: Cannot allocate memory Failed to inject frame into filter network: Cannot allocate memory

2020-06-04 Thread Mark Filipak

On 06/04/2020 10:43 AM, lagmoellertim wrote:

Hello,

currently, I'm getting this error:

Error while filtering: Cannot allocate memory
Failed to inject frame into filter network: Cannot allocate memory
Error while processing the decoded data for stream #0:1

Here is the console output:
https://gist.github.com/lagmoellertim/8ed94b05d127a4604b03649bd307b7c9


This is the command I used:

ffmpeg -ss 240 -i video.mp4 -vsync 1 -async 1 -safe 0 -filter_complex_script
filter_script -y -map '[vout]' -map '[aout]' out.mp4

And here is the filter script:
https://gist.github.com/lagmoellertim/b1d7bd4b898c06ffcade9176733376f0


I have not analyzed your console output. However, I can tell you that the only time I've received a 
"Cannot allocate memory" error was when I accidentally tried to process a video via an '-ss' delay 
that was past the end of the video. Are you sure that '-ss 240' is what you intend? That's 4 minutes.


Hope this helps.
Mark.
___
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] Error while filtering: Cannot allocate memory Failed to inject frame into filter network: Cannot allocate memory

2020-06-04 Thread lagmoellertim
Hello,

currently, I'm getting this error:

Error while filtering: Cannot allocate memory
Failed to inject frame into filter network: Cannot allocate memory
Error while processing the decoded data for stream #0:1

Here is the console output: 
https://gist.github.com/lagmoellertim/8ed94b05d127a4604b03649bd307b7c9
  

This is the command I used: 

ffmpeg -ss 240 -i video.mp4 -vsync 1 -async 1 -safe 0 -filter_complex_script
filter_script -y -map '[vout]' -map '[aout]' out.mp4

And here is the filter script:
https://gist.github.com/lagmoellertim/b1d7bd4b898c06ffcade9176733376f0



--
Sent from: http://www.ffmpeg-archive.org/
___
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] Error when reading file as stream

2020-05-05 Thread adam smith via ffmpeg-user

> On 5 May 2020, at 17:15, Carl Eugen Hoyos  wrote:
> 
> Am Di., 5. Mai 2020 um 14:19 Uhr schrieb adam smith via ffmpeg-user
> :
> 
>> That will not resolve 3rd party files
> 
> What's wrong with using qtfaststart on them (or on all files)?
> 

The problem is that the platform running ffmpeg is a container that can 
accesses the source media stored in s3 object storage through the aws command 
line stream copy. This enables FFmpeg to start transcoding immediately from any 
S3 bucket it has the account details for.
I presumed that the qtfaststart running on the same platform would also run 
into the problem with the source only being accessible through the aws command 
line.

Testing using…

aws s3 cp s3://storage/source/abc-6a-test_mov_34_1588580170874.mov - --quiet | 
qt-faststart - /data/temporary/transcode_20200505-993-j7flu0/testqtfaststart.mov

was unsuccessful and resulted in -: No such file or directory.

So if I am going to need to localise the file to use qt-faststart I might as 
well go straight to ffmpeg transcode.
Thanks for your help, I have learnt about a new tool which looks really useful 
for batch fixing archive mp4 for example.

Thanks
Adam

___
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] Error when reading file as stream

2020-05-05 Thread Carl Eugen Hoyos
Am Di., 5. Mai 2020 um 14:19 Uhr schrieb adam smith via ffmpeg-user
:

> That will not resolve 3rd party files

What's wrong with using qtfaststart on them (or on all files)?

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] Error when reading file as stream

2020-05-05 Thread adam smith via ffmpeg-user


> On 4 May 2020, at 16:23, Carl Eugen Hoyos  wrote:
> 
> The result is very similar, but qtfaststart takes an existing mov file and
> only moves the index in front of the file, leaving everything else exactly
> identical while ffmpeg -i input -movflags +faststart out.mov writes a
> new file (with different properties) that has the index already moved
> to the beginning of the file.

Thanks for confirming Carl.

I thought I was adding the correct flags to my mp4 files but after a lot of 
testing it seems that because I am output using the tee function the flags I am 
adding are ignored and the output inherits the flags of the source.
Tee is currently -f tee "[f=mp4:use_fifo=1]
I am hoping I can add flags too, I will have a look about I am sure I will find 
something online.

That will not resolve 3rd party files but at least I will be producing media 
encoded as intended :)

thanks
Adam

___
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] Error when reading file as stream

2020-05-04 Thread Carl Eugen Hoyos
Am Mo., 4. Mai 2020 um 14:35 Uhr schrieb adam smith via ffmpeg-user
:

> > Use qtfaststart to “fix” mov files, so they don’t require seeking anymore.
>
> Thanks, I use -flags +global_header -movflags +faststart on mp4 files I
> create using ffmpeg, is that the same thing?

The result is very similar, but qtfaststart takes an existing mov file and
only moves the index in front of the file, leaving everything else exactly
identical while ffmpeg -i input -movflags +faststart out.mov writes a
new file (with different properties) that has the index already moved
to the beginning of the file.

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] Error when reading file as stream

2020-05-04 Thread adam smith via ffmpeg-user
Thanks Carl,
Thanks for stopping me going down a never ending rabbit hole.

> On 4 May 2020, at 13:18, Carl Eugen Hoyos  wrote:
> 
> Many files, esp. some mov/mp4 files, require seeking. Seeking is impossible 
> if you provide the input through a pipe, this is not a limitation of FFmpeg.

Good to know, makes sense and confirms the whole input as a stream being the 
issue and why mxf wrapped media works and some mp4.
I will have to think about how I can most efficiently resolve this.

If I mount the S3 bucket using S3FS I can read the file as normal which works, 
but requires the server to run S3FS and so require bespoke set up - which I am 
trying to avoid.

Perhaps I could write some code to localise the file if the first attempt fails 
with the error message…
pipe:: Invalid data found when processing input
Cannot determine format of input stream 0:0 after EOF
Error marking filters as finished.
That would work as I would be able to stream source when possible and fall back 
when not possible,  but it's not very elegant as requires a fail first.

If the issue is missing information from the source, is there a way I can pass 
information into ffmpeg at start up that I have extracted using ffprobe that 
would resolve the issue maybe?


> 
> Use qtfaststart to “fix” mov files, so they don’t require seeking anymore.

Thanks, I use -flags +global_header -movflags +faststart on mp4 files I create 
using ffmpeg, is that the same thing?
I add for that for instant playback in browsers.
but I need to be able to accept files for transcode from third party providers 
so cannot guarantee they will be formatted using the faststart flag.

> 
> 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] Error when reading file as stream

2020-05-04 Thread Carl Eugen Hoyos


> Am 04.05.2020 um 11:38 schrieb adam smith via ffmpeg-user 
> :
> 
> When passing the same source to ffmpeg as a stream, through pipe; I am 
> getting errors. This is not for all files, eg mxf files containing DV50, 
> XDCAMHD422 etc have not shown any issue, neither do many mp4 files.
> All files are probed before the transcode and all come back as probe score 
> 100.

Many files, esp. some mov/mp4 files, require seeking. Seeking is impossible if 
you provide the input through a pipe, this is not a limitation of FFmpeg.

Use qtfaststart to “fix” mov files, so they don’t require seeking anymore.

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] Error when reading file as stream

2020-05-04 Thread adam smith via ffmpeg-user
Hi you lovely people,

I have another question that I cannot find a resolution for, so I am hoping 
somebody can shed a little light on the subject.
When passing the source as a file into ffmpeg from regular storage, my ffmpeg 
commands are working correctly and I am happy with the output.
When passing the same source to ffmpeg as a stream, through pipe; I am getting 
errors. This is not for all files, eg mxf files containing DV50, XDCAMHD422 etc 
have not shown any issue, neither do many mp4 files.
All files are probed before the transcode and all come back as probe score 100.

The error I get complains about…
pipe:: Invalid data found when processing input
Cannot determine format of input stream 0:0 after EOF

This is the whole command and output…

/usr/src/app # aws s3 cp 
s3://blah-blah-blah/source/14249/20200504/abc-6a-test_mov_34_1588580170874.mov 
- --quiet | ffmpeg -y -i -  -filter_complex 
"[0:0]fifo[vout];[0:1]afifo[01_afifo]" -map "[vout]" -map "[01_afifo]" -pix_fmt 
yuv420p -c:v libx264 -s 1280x720 -profile:v 
main -level:v 3.1  -refs:v 3 -keyint_min 50 -b:v 6436k -r 25 -ac 2 -bsf:a 
aac_adtstoasc -c:a libfdk_aac -ar 44100 -b:a 192k -flags +global_header 
-movflags +faststart -f tee 
"[f=mp4:use_fifo=1]/data/temporary/transcode_20200504-26984-c69lmq/mov_source_1725.mp4"
ffmpeg version 4.2 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.4.0 (Alpine 6.4.0)
  configuration: --disable-debug --disable-doc --disable-ffplay --enable-shared 
--enable-avresample --enable-libopencore-amrnb --enable-libopencore-amrwb 
--enable-gpl --enable-libass --enable-libfreetype --enable-libvidstab 
--enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libtheora 
--enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 
--enable-libxvid --enable-libx264 --enable-nonfree --enable-openssl 
--enable-libfdk_aac --enable-libkvazaar --enable-libaom --extra-libs=-lpthread 
--enable-postproc --enable-small --enable-version3 
--extra-cflags=-I/opt/ffmpeg/include --extra-ldflags=-L/opt/ffmpeg/lib 
--extra-libs=-ldl --prefix=/opt/ffmpeg
  libavutil  56. 31.100 / 56. 31.100
  libavcodec 58. 54.100 / 58. 54.100
  libavformat58. 29.100 / 58. 29.100
  libavdevice58.  8.100 / 58.  8.100
  libavfilter 7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale  5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc55.  5.100 / 55.  5.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x556d07ec4000] stream 1, offset 0x30: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x556d07ec4000] Could not find codec parameters for 
stream 0 (Video: h264 (avc1 / 0x31637661), none(bt709), 1024x576, 6241 kb/s): 
unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'pipe:':
  Metadata:
major_brand : qt  
minor_version   : 537199360
compatible_brands: qt  
creation_time   : 2010-11-17T13:05:57.00Z
  Duration: 00:00:30.00, start: 0.00, bitrate: N/A
Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), none(bt709), 1024x576, 
6241 kb/s, 25 fps, 25 tbr, 2500 tbn, 5k tbc (default)
Metadata:
  creation_time   : 2010-11-17T13:05:57.00Z
  handler_name: Apple Video Media Handler
  encoder : H.264
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 
250 kb/s (default)
Metadata:
  creation_time   : 2010-11-17T13:05:57.00Z
  handler_name: Apple Sound Media Handler
Stream mapping:
  Stream #0:0 (h264) -> fifo
  Stream #0:1 (aac) -> afifo
  fifo -> Stream #0:0 (libx264)
  afifo -> Stream #0:1 (libfdk_aac)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x556d07ec4000] stream 1, offset 0x30: partial file
pipe:: Invalid data found when processing input
Cannot determine format of input stream 0:0 after EOF
Error marking filters as finished
Conversion failed!

I did try adding  ffmpeg -y -analyzeduration 100 -probesize 1000 -i -  
-filter_complex
But the same error occurred.

This is probably something to do with the fact that I am streaming the input, 
but I am not sure how to resolve it.
Any ideas will be warmly received

Thanks in advance
Adam
___
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] Error ‘can’t open stats file’ using 2 pass encoding with multiple audio inputs

2020-03-14 Thread Carl Eugen Hoyos
Am Sa., 14. März 2020 um 21:06 Uhr schrieb Carl Eugen Hoyos
:

> The problem gets worse by the fact that in general, neither ffmpeg nor x264 
> can
> detect that you are using different settings for the two passes (x264 
> sometimes
> crashes if the passes do not fit, I always wondered if this isn't a good 
> thing).

The crash - that gives you a chance to realize the encoding quality is bad -
is described in issue 2846.

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] Error ‘can’t open stats file’ using 2 pass encoding with multiple audio inputs

2020-03-14 Thread Carl Eugen Hoyos
Am Sa., 14. März 2020 um 22:53 Uhr schrieb Jeff Langston :

> Right -an in the first pass is referenced in the docs "On pass 1, you may
> just deactivate audio and set output to null"

Let me repeat:
The problem is not only that you get a completely broken encode (wrong
frames get higher bitrates) but that neither ffmpeg nor x264 can realize
that there is an issue (at least not before encoding ends). Note that
while the issue does not appear on every encode, it happens particularly
often with mov and mp4 output. It should not happen with mkv output.

The issue cannot happen with MEncoder and avi output which was the
likely original source of all two-pass documentation.

Please remember that top-posting is not welcome 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] Error ‘can’t open stats file’ using 2 pass encoding with multiple audio inputs

2020-03-14 Thread Jeff Langston
Right -an in the first pass is referenced in the docs "On pass 1, you may
just deactivate audio and set output to null"

Which looking closer at the docs and some further experimentation I was
able to sort out my issue. I didn't realize the -pass argument also took a
stream specifier which was what I needed. To add additional -pass:0 1
-pass:1 1 and -pass:0 2
 -pass:1 2 etc as arguments to include the stream specifier in the pass
arguments for each of the different mappings / outputs I was looking to
generate. Oddly it's working without that and multiple -passlogfile
references when I am not including multiple audio tracks but I'm relieved I
was able to sort this out and thank you all for taking the time to look at
my issue and hopefully this will would be able to help anyone else if they
were trying to do the same thing.

Thanks again to all who contribute to ffmpeg and associated tools so
useful.


On Sat, Mar 14, 2020 at 3:07 PM Reindl Harald 
wrote:

>
>
> Am 14.03.20 um 21:06 schrieb Carl Eugen Hoyos:
> > name to x264) but in general you cannot do this, you have to use the
> same output
> > format and especially the same audio for pass one and two. The reason is
> that
> > ffmpeg (the application) may duplicate (or drop) frames to keep a/v sync
> and if
> > you use different audio (like audio and no audio) for pass one and
> > two, the different
> > sync will completely brake two-pass encoding.
>
> simply no - using "-an" here for 10 years now *always* for the first pass
> ___
> 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] Error ‘can’t open stats file’ using 2 pass encoding with multiple audio inputs

2020-03-14 Thread Reindl Harald


Am 14.03.20 um 21:06 schrieb Carl Eugen Hoyos:
> name to x264) but in general you cannot do this, you have to use the same 
> output
> format and especially the same audio for pass one and two. The reason is that
> ffmpeg (the application) may duplicate (or drop) frames to keep a/v sync and 
> if
> you use different audio (like audio and no audio) for pass one and
> two, the different
> sync will completely brake two-pass encoding.

simply no - using "-an" here for 10 years now *always* for the first pass
___
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] Error ‘can’t open stats file’ using 2 pass encoding with multiple audio inputs

2020-03-14 Thread Carl Eugen Hoyos
Am Sa., 14. März 2020 um 20:09 Uhr schrieb Jeff Langston :
>
> Hi,
>
> Here's the input commands boiled down to the simplest reproducible
> versions.
>
> Here's links to the input files https://s3.amazonaws.com/Jlangston/bunny.mp4
> https://s3.amazonaws.com/Jlangston/track1.m4a
> Trying either without the 2nd audio input or without rendering multiple
> video versions with multiple audio tracks seems to work but the combination
> of multiple input audio tracks and multiple output versions is hitting.
> Which I am guessing might be around the usage of the -passlogfile option.
>
> [libx264 @ 0x5562fa469c80] ratecontrol_init: can't open stats file
> Error initializing output stream 0:2 -- Error while opening encoder for
> output stream #0:2 - maybe incorrect parameters such as bit_rate, rate,
> width or height
>
> If I leave out the -passlogfile option I get a message about failure to
> rename log file in pass1.
>
> [libx264 @ 0x5621f1bcdfc0] failed to rename "ffmpeg2pass-0.log.temp" to
> "ffmpeg2pass-0.log"
> [libx264 @ 0x5621f1bcdfc0] failed to rename "ffmpeg2pass-0.log.mbtree.temp"
> to "ffmpeg2pass-0.log.mbtree"
>
> Here's the commands and their outputs below. Thank you in advance for any
> assitance or guidance you might be able to provide as well as everyone's
> work on ffmpeg.
>
> Pass 1:
> ffmpeg \
> -i ./bunny.mp4 \
> -i ./track1.m4a \
> -loglevel debug -v verbose \
> -map 0:a \
> -metadata:s:a:0 language=en \
> -metadata:s:a:0 title=track_one \
> -map 1:a \
> -metadata:s:a:1 language=ch \
> -metadata:s:a:1 title=track_two \
> -f dash \
> -map 0:v:0 \
> -s:v:0 1920x1080 \
> -b:v:0 1460k \
> -passlogfile:0 1080p \
> -map 0:v:0 \
> -b:v:1 683k \
> -s:v:1 1280x720 \
> -passlogfile:1 720p \
> -c:v libx264 \
> -profile:v baseline \
> -movflags faststart \
> -r 30 \
> -seg_duration 4 \
> -single_file 1 \
> -hls_playlist 1 \
> -streaming 1 \
> -dash_segment_type mp4 \
> -pass 1 \
> -an \
> -f mp4 /dev/null
>
> Pass 2:
> ffmpeg -y \
> -i ./bunny.mp4 \
> -i ./track1.m4a \
> -loglevel debug -v verbose \
> -map 0:a \
> -metadata:s:a:0 language=en \
> -metadata:s:a:0 title=track_two \
> -map 1:a \
> -metadata:s:a:1 language=ch \
> -metadata:s:a:1 title=track_one \
> -f dash \
> -map 0:v:0 \
> -s:v:0 1920x1080 \
> -b:v:0 1460k \
> -passlogfile:0 1080p \
> -map 0:v:0 \
> -b:v:1 683k \
> -s:v:1 1280x720 \
> -passlogfile:1 720p \
> -profile:v baseline \
> -movflags faststart \
> -r 30 \
> -seg_duration 4 \
> -single_file 1 \
> -hls_playlist 1 \
> -streaming 1 \
> -dash_segment_type mp4 \
> -pass 2 ./out/out.mpd

I don't know if this is the issue here (or if dash simply doesn't
forward the passlogfile
name to x264) but in general you cannot do this, you have to use the same output
format and especially the same audio for pass one and two. The reason is that
ffmpeg (the application) may duplicate (or drop) frames to keep a/v sync and if
you use different audio (like audio and no audio) for pass one and
two, the different
sync will completely brake two-pass encoding.

The problem gets worse by the fact that in general, neither ffmpeg nor x264 can
detect that you are using different settings for the two passes (x264 sometimes
crashes if the passes do not fit, I always wondered if this isn't a good thing).

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] Error ‘can’t open stats file’ using 2 pass encoding with multiple audio inputs

2020-03-14 Thread Jeff Langston
Hi,

Here's the input commands boiled down to the simplest reproducible
versions.

Here's links to the input files https://s3.amazonaws.com/Jlangston/bunny.mp4
https://s3.amazonaws.com/Jlangston/track1.m4a
Trying either without the 2nd audio input or without rendering multiple
video versions with multiple audio tracks seems to work but the combination
of multiple input audio tracks and multiple output versions is hitting.
Which I am guessing might be around the usage of the -passlogfile option.

[libx264 @ 0x5562fa469c80] ratecontrol_init: can't open stats file
Error initializing output stream 0:2 -- Error while opening encoder for
output stream #0:2 - maybe incorrect parameters such as bit_rate, rate,
width or height

If I leave out the -passlogfile option I get a message about failure to
rename log file in pass1.

[libx264 @ 0x5621f1bcdfc0] failed to rename "ffmpeg2pass-0.log.temp" to
"ffmpeg2pass-0.log"
[libx264 @ 0x5621f1bcdfc0] failed to rename "ffmpeg2pass-0.log.mbtree.temp"
to "ffmpeg2pass-0.log.mbtree"

Here's the commands and their outputs below. Thank you in advance for any
assitance or guidance you might be able to provide as well as everyone's
work on ffmpeg.

Pass 1:
ffmpeg \
-i ./bunny.mp4 \
-i ./track1.m4a \
-loglevel debug -v verbose \
-map 0:a \
-metadata:s:a:0 language=en \
-metadata:s:a:0 title=track_one \
-map 1:a \
-metadata:s:a:1 language=ch \
-metadata:s:a:1 title=track_two \
-f dash \
-map 0:v:0 \
-s:v:0 1920x1080 \
-b:v:0 1460k \
-passlogfile:0 1080p \
-map 0:v:0 \
-b:v:1 683k \
-s:v:1 1280x720 \
-passlogfile:1 720p \
-c:v libx264 \
-profile:v baseline \
-movflags faststart \
-r 30 \
-seg_duration 4 \
-single_file 1 \
-hls_playlist 1 \
-streaming 1 \
-dash_segment_type mp4 \
-pass 1 \
-an \
-f mp4 /dev/null

Pass 2:
ffmpeg -y \
-i ./bunny.mp4 \
-i ./track1.m4a \
-loglevel debug -v verbose \
-map 0:a \
-metadata:s:a:0 language=en \
-metadata:s:a:0 title=track_two \
-map 1:a \
-metadata:s:a:1 language=ch \
-metadata:s:a:1 title=track_one \
-f dash \
-map 0:v:0 \
-s:v:0 1920x1080 \
-b:v:0 1460k \
-passlogfile:0 1080p \
-map 0:v:0 \
-b:v:1 683k \
-s:v:1 1280x720 \
-passlogfile:1 720p \
-profile:v baseline \
-movflags faststart \
-r 30 \
-seg_duration 4 \
-single_file 1 \
-hls_playlist 1 \
-streaming 1 \
-dash_segment_type mp4 \
-pass 2 ./out/out.mpd

Output from pass 1:

ffmpeg version N-96963-gfa5bff611d Copyright (c) 2000-2020 the FFmpeg
developers
  built with gcc 9.2.1 (Arch Linux 9.2.1+20200130-2) 20200130
  configuration: --prefix=/usr --disable-debug --disable-static
--disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls
--enable-gpl --enable-ladspa --enable-libaom --enable-libass
--enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype
--enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack
--enable-libmfx --enable-libmodplug --enable-libmp3lame
--enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg
--enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex
--enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab
--enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid
--enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
  libavutil  56. 42.100 / 56. 42.100
  libavcodec 58. 75.100 / 58. 75.100
  libavformat58. 41.100 / 58. 41.100
  libavdevice58.  9.103 / 58.  9.103
  libavfilter 7. 77.100 /  7. 77.100
  libswscale  5.  6.101 /  5.  6.101
  libswresample   3.  6.100 /  3.  6.100
  libpostproc55.  6.100 / 55.  6.100
Splitting the commandline.
Reading option '-i' ... matched as input url with argument '../bunny.mp4'.
Reading option '-i' ... matched as input url with argument '../track1.m4a'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level) with argument 'debug'.
Reading option '-v' ... matched as option 'v' (set logging level) with
argument 'verbose'.
Reading option '-map' ... matched as option 'map' (set input stream
mapping) with argument '0:a'.
Reading option '-metadata:s:a:0' ... matched as option 'metadata' (add
metadata) with argument 'language=en'.
Reading option '-metadata:s:a:0' ... matched as option 'metadata' (add
metadata) with argument 'title=track_one'.
Reading option '-map' ... matched as option 'map' (set input stream
mapping) with argument '1:a'.
Reading option '-metadata:s:a:1' ... matched as option 'metadata' (add
metadata) with argument 'language=ch'.
Reading option '-metadata:s:a:1' ... matched as option 'metadata' (add
metadata) with argument 'title=track_two'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'dash'.
Reading option '-map' ... matched as option 'map' (set input stream
mapping) with argument '0:v:0'.
Reading option '-s:v:0' ... matched as option 's' (set frame size (WxH or
abbreviation)) with argument '1920x1080'.
Reading option '-b:v:0' ... matched as option 'b' 

Re: [FFmpeg-user] Error ‘can’t open stats file’ using 2 pass encoding with multiple audio inputs

2020-03-14 Thread Carl Eugen Hoyos
Am Sa., 14. März 2020 um 06:04 Uhr schrieb Jeff Langston :

> I'm trying to sort out an issue  I've run into with ffmpeg on the cli and
> was wondering if anyone might be able to help. I am trying to leverage 2
> pass encoding as well as inputting additional audio tracks to generate
> multiple output versions  (MPEG-DASH/HLS/MP4/MP3).
>
> During the 2nd pass I'm hitting an error `ratecontrol_init: can't open
> stats file` The same command when done in a single pass seems to work ok
> but yields larger rendered file sizes than what 2 pass encoding generates
>
> Would anyone have any idea if it should be expected to be able to leverage
> 2 pass encoding in this fashion to support multiple audio inputs or if
> there are changes I might need to make to the cli args ?
>
> Full commands and their output avail here https://pastebin.com/GDcAR1rV

Please test current FFmpeg git head and provide all necessary information
(like command line including complete, uncut console output) here on the
mailing list, only use external resources for input files.

And please try to simplify your example.

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] Error ‘can’t open stats file’ using 2 pass encoding with multiple audio inputs

2020-03-13 Thread Jeff Langston
Hi all,

I'm trying to sort out an issue  I've run into with ffmpeg on the cli and
was wondering if anyone might be able to help. I am trying to leverage 2
pass encoding as well as inputting additional audio tracks to generate
multiple output versions  (MPEG-DASH/HLS/MP4/MP3).

During the 2nd pass I'm hitting an error `ratecontrol_init: can't open
stats file` The same command when done in a single pass seems to work ok
but yields larger rendered file sizes than what 2 pass encoding generates

Would anyone have any idea if it should be expected to be able to leverage
2 pass encoding in this fashion to support multiple audio inputs or if
there are changes I might need to make to the cli args ?

Full commands and their output avail here https://pastebin.com/GDcAR1rV

Any input or help would be greatly  appreciated.
___
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] Error implementing the AFFTDN filter with a noise type of w

2020-02-05 Thread tmason
HI Moritz,

Thank you for your assistance.  I will make sure in the future to include the 
full console in my posts.  

This change in command worked for me.

Kind Regards,
Tim Mason

-Original Message-
From: ffmpeg-user  On Behalf Of Moritz Barsnick
Sent: Wednesday, February 05, 2020 9:44 AM
To: FFmpeg user discussions 
Subject: Re: [FFmpeg-user] Error implementing the AFFTDN filter with a noise 
type of w

On Wed, Feb 05, 2020 at 08:53:29 -0500, tma...@trueprobity.com wrote:
> I have not been able to find an example of the AFFTDN filter 
> implemented and working. Based on other examples I tried this command line 
> code.
>
> ffmpeg -i C:\Media\test.wav afftdn="'nt=w':om='o'" 
> C:\media\test_clean.wav

We usually kindly ask you to show us the complete, uncut console output of your 
ffmpeg command.

Though in this case:

> When I run this Unalbe to find a suitable output format for
> afftdn="'nt=w':om='o'": Invalid argument.

You didn't tell ffmpeg that this section is a filter command. You need to 
prefix it with "-af", otherwise it is interpreted as the name of an output.

$ ffmpeg -i C:\Media\test.wav -af afftdn="'nt=w':om='o'" C:\media\test_clean.wav


You have too much quoting as well, though it does not hurt. You can also do:

$ ffmpeg -i C:\Media\test.wav -af afftdn=nt=w:om=o C:\media\test_clean.wav (Use 
more quotation marks depending on content.)

Cheers,
Moritz
___
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] Error implementing the AFFTDN filter with a noise type of w

2020-02-05 Thread Moritz Barsnick
On Wed, Feb 05, 2020 at 08:53:29 -0500, tma...@trueprobity.com wrote:
> I have not been able to find an example of the AFFTDN filter implemented and
> working. Based on other examples I tried this command line code.
>
> ffmpeg -i C:\Media\test.wav afftdn="'nt=w':om='o'" C:\media\test_clean.wav

We usually kindly ask you to show us the complete, uncut console output
of your ffmpeg command.

Though in this case:

> When I run this Unalbe to find a suitable output format for
> afftdn="'nt=w':om='o'": Invalid argument.

You didn't tell ffmpeg that this section is a filter command. You need
to prefix it with "-af", otherwise it is interpreted as the name of an
output.

$ ffmpeg -i C:\Media\test.wav -af afftdn="'nt=w':om='o'" C:\media\test_clean.wav


You have too much quoting as well, though it does not hurt. You can
also do:

$ ffmpeg -i C:\Media\test.wav -af afftdn=nt=w:om=o C:\media\test_clean.wav
(Use more quotation marks depending on content.)

Cheers,
Moritz
___
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] Error implementing the AFFTDN filter with a noise type of w

2020-02-05 Thread tmason
Hello,

 

I am trying to clean up an audio file which contains background noise using
the AFFTDN filter with a noise type of white noise.

I have not been able to find an example of the AFFTDN filter implemented and
working. Based on other examples I tried this command line code.

ffmpeg -i C:\Media\test.wav afftdn="'nt=w':om='o'" C:\media\test_clean.wav

When I run this Unalbe to find a suitable output format for
afftdn="'nt=w':om='o'": Invalid argument.

 

Thank you in advance for your help.

 

Tim Mason

 

___
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] Error playing an rtsp stream with ffplay:

2020-01-18 Thread Paolo Meridiani
I've compiled 4.2.2, same error. I attach here the full log with the trace
option if it can help any developer to give some hint on this. The issue is
in the opening of the stream.
(the streaming works nice with vlc and with onvifer on android)

https://drive.google.com/open?id=1VMWeQEqFcpTo4ZSgL1HPj0OvXSJ1tS98

P.

On Thu, Jan 16, 2020 at 10:06 PM Paolo Meridiani 
wrote:

> Thanks Carl for the answer. I've installed on ubuntu version 4.1.4 and I
> still get the same error:
> ffplay version n4.1.4 Copyright (c) 2003-2019 the FFmpeg developers
>   built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
>   configuration: --prefix= --prefix=/usr --disable-debug --disable-doc
> --disable-static --enable-avisynth --enable-cuda --enable-cuvid
> --enable-libdrm --enable-ffplay --enable-gnutls --enable-gpl
> --enable-libass --enable-libfdk-aac --enable-libfontconfig
> --enable-libfreetype --enable-libmp3lame --enable-libopencore_amrnb
> --enable-libopencore_amrwb --enable-libopus --enable-libpulse --enable-sdl2
> --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libv4l2
> --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
> --enable-libxcb --enable-libxvid --enable-nonfree --enable-nvenc
> --enable-omx --enable-openal --enable-opencl --enable-runtime-cpudetect
> --enable-shared --enable-vaapi --enable-vdpau --enable-version3
> --enable-xlib
>   libavutil  56. 22.100 / 56. 22.100
>   libavcodec 58. 35.100 / 58. 35.100
>   libavformat58. 20.100 / 58. 20.100
>   libavdevice58.  5.100 / 58.  5.100
>   libavfilter 7. 40.101 /  7. 40.101
>   libswscale  5.  3.100 /  5.  3.100
>   libswresample   3.  3.100 /  3.  3.100
>   libpostproc55.  3.100 / 55.  3.100
> Initialized opengl renderer.
> [tcp @ 0x7f76c0002fc0] No default whitelist set
> [tcp @ 0x7f76c0002fc0] Original list of addresses:
> [tcp @ 0x7f76c0002fc0] Address X.X.X.X port 554
> [tcp @ 0x7f76c0002fc0] Interleaved list of addresses:
> [tcp @ 0x7f76c0002fc0] Address X.X.X.X port 554
> [tcp @ 0x7f76c0002fc0] Starting connection attempt to X.X.X.X port 554
> [tcp @ 0x7f76c0002fc0] Successfully connected to X.X.X.X port 554
> [rtsp @ 0x7f76cb80] SDP:aq=0KB vq=0KB sq=0B f=0/0
> v=0
> o=- -1335752903 -1335752903 IN IP4 X.X.X.X
> t=0 0
> c=IN IP4 X.X.X.X
> a=packetization-supported:Puwell
> m=video 0 RTP/AVP 96
> a=control:trackID=0
> a=rtpmap:96 H264/9
> a=framerate:0S
> a=fmtp:96 profile-level-id=640028; packetization-mode=1;
> sprop-parameter-sets=Z2QAKKw7UDwBE/LCAAADAAIAAAMAUQg=,aO484QBCQgCEhARMUhuTxXyfk/k/J8nm5MkkLCJCkJyeT6/J/X5PrycmpMA=
> m=audio 0 RTP/AVP 8
> a=control:trackID=1
> a=rtpmap:8 PCMA/8000
>
> [rtsp @ 0x7f76cb80] video codec set to: h264
> [rtsp @ 0x7f76cb80] RTP Profile IDC: 64 Profile IOP: 0 Level: 28
> [rtsp @ 0x7f76cb80] RTP Packetization Mode: 1
> [rtsp @ 0x7f76cb80] Extradata set to 0x7f76c0003380 (size: 75)
> [rtsp @ 0x7f76cb80] audio codec set to: pcm_alaw
> [rtsp @ 0x7f76cb80] audio samplerate set to: 8000
> [rtsp @ 0x7f76cb80] audio channels set to: 1
> rtsp://X.X.X.X:554/: Invalid data found when processing input
>
>
>
> On Thu, Jan 16, 2020 at 6:33 PM Carl Zwanzig  wrote:
>
>> On 1/16/2020 2:02 AM, Paolo Meridiani wrote:
>> > ffplay version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2003-2019 the FFmpeg
>>
>> That version is quite old and not officially supported here. Please get a
>> current version and try with that.
>>
>> 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".
>
>
___
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] Error playing an rtsp stream with ffplay:

2020-01-16 Thread Paolo Meridiani
Thanks Carl for the answer. I've installed on ubuntu version 4.1.4 and I
still get the same error:
ffplay version n4.1.4 Copyright (c) 2003-2019 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
  configuration: --prefix= --prefix=/usr --disable-debug --disable-doc
--disable-static --enable-avisynth --enable-cuda --enable-cuvid
--enable-libdrm --enable-ffplay --enable-gnutls --enable-gpl
--enable-libass --enable-libfdk-aac --enable-libfontconfig
--enable-libfreetype --enable-libmp3lame --enable-libopencore_amrnb
--enable-libopencore_amrwb --enable-libopus --enable-libpulse --enable-sdl2
--enable-libspeex --enable-libtheora --enable-libtwolame --enable-libv4l2
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
--enable-libxcb --enable-libxvid --enable-nonfree --enable-nvenc
--enable-omx --enable-openal --enable-opencl --enable-runtime-cpudetect
--enable-shared --enable-vaapi --enable-vdpau --enable-version3
--enable-xlib
  libavutil  56. 22.100 / 56. 22.100
  libavcodec 58. 35.100 / 58. 35.100
  libavformat58. 20.100 / 58. 20.100
  libavdevice58.  5.100 / 58.  5.100
  libavfilter 7. 40.101 /  7. 40.101
  libswscale  5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc55.  3.100 / 55.  3.100
Initialized opengl renderer.
[tcp @ 0x7f76c0002fc0] No default whitelist set
[tcp @ 0x7f76c0002fc0] Original list of addresses:
[tcp @ 0x7f76c0002fc0] Address X.X.X.X port 554
[tcp @ 0x7f76c0002fc0] Interleaved list of addresses:
[tcp @ 0x7f76c0002fc0] Address X.X.X.X port 554
[tcp @ 0x7f76c0002fc0] Starting connection attempt to X.X.X.X port 554
[tcp @ 0x7f76c0002fc0] Successfully connected to X.X.X.X port 554
[rtsp @ 0x7f76cb80] SDP:aq=0KB vq=0KB sq=0B f=0/0
v=0
o=- -1335752903 -1335752903 IN IP4 X.X.X.X
t=0 0
c=IN IP4 X.X.X.X
a=packetization-supported:Puwell
m=video 0 RTP/AVP 96
a=control:trackID=0
a=rtpmap:96 H264/9
a=framerate:0S
a=fmtp:96 profile-level-id=640028; packetization-mode=1;
sprop-parameter-sets=Z2QAKKw7UDwBE/LCAAADAAIAAAMAUQg=,aO484QBCQgCEhARMUhuTxXyfk/k/J8nm5MkkLCJCkJyeT6/J/X5PrycmpMA=
m=audio 0 RTP/AVP 8
a=control:trackID=1
a=rtpmap:8 PCMA/8000

[rtsp @ 0x7f76cb80] video codec set to: h264
[rtsp @ 0x7f76cb80] RTP Profile IDC: 64 Profile IOP: 0 Level: 28
[rtsp @ 0x7f76cb80] RTP Packetization Mode: 1
[rtsp @ 0x7f76cb80] Extradata set to 0x7f76c0003380 (size: 75)
[rtsp @ 0x7f76cb80] audio codec set to: pcm_alaw
[rtsp @ 0x7f76cb80] audio samplerate set to: 8000
[rtsp @ 0x7f76cb80] audio channels set to: 1
rtsp://X.X.X.X:554/: Invalid data found when processing input



On Thu, Jan 16, 2020 at 6:33 PM Carl Zwanzig  wrote:

> On 1/16/2020 2:02 AM, Paolo Meridiani wrote:
> > ffplay version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2003-2019 the FFmpeg
>
> That version is quite old and not officially supported here. Please get a
> current version and try with that.
>
> 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".
___
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] Error playing an rtsp stream with ffplay:

2020-01-16 Thread Carl Zwanzig

On 1/16/2020 2:02 AM, Paolo Meridiani wrote:

ffplay version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2003-2019 the FFmpeg


That version is quite old and not officially supported here. Please get a 
current version and try with that.


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

[FFmpeg-user] Error playing an rtsp stream with ffplay:

2020-01-16 Thread Paolo Meridiani
The stream is from a camera (victure PC530) and works nicely with VLC:

Looking more in detail:
ffplay  rtsp://XX-loglevel verbose
ffplay version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2003-2019 the FFmpeg
developers
  built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
  configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping
--enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcdio --enable-libflite --enable-libfontconfig
--enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm
--enable-libmp3lame --enable-libmysofa --enable-libopenjpeg
--enable-libopenmpt --enable-libopus --enable-libpulse
--enable-librubberband --enable-librsvg --enable-libshine
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh
--enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2
--enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx
--enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394
--enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r
--enable-libopencv --enable-libx264 --enable-shared
  libavutil  55. 78.100 / 55. 78.100
  libavcodec 57.107.100 / 57.107.100
  libavformat57. 83.100 / 57. 83.100
  libavdevice57. 10.100 / 57. 10.100
  libavfilter 6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale  4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc54.  7.100 / 54.  7.100
Initialized opengl renderer.
[rtsp @ 0x7f2aec000b80] SDP:aq=0KB vq=0KB sq=0B f=0/0
v=0
o=- -1375660018 -1375660018 IN IP4 192.168.1.113
t=0 0
c=IN IP4 192.168.1.113
a=packetization-supported:Puwell
m=video 0 RTP/AVP 96
a=control:trackID=0
a=rtpmap:96 H264/9
a=framerate:0S
a=fmtp:96 profile-level-id=640028; packetization-mode=1;
sprop-parameter-sets=Z2QAKKw7UDwBE/LCAAADAAIAAAMAUQg=,aO484QBCQgCEhARMUhuTxXyfk/k/J8nm5MkkLCJCkJyeT6/J/X5PrycmpMA=
m=audio 0 RTP/AVP 8
a=control:trackID=1
a=rtpmap:8 PCMA/8000

rtsp:///: Invalid data found when processing input

With the trace log level the command ends like this:
[rtsp @ 0x7fab4b80] line='x-Dynamic-Rate: 1'
]rtsp @ 0x7fab4b80] ret=1 c=0d [
[rtsp @ 0x7fab4b80] ret=1 c=0a [
]
[rtsp @ 0x7fab4b80] line=''
rtsp://X: Invalid data found when processing input
nan:  0.000 fd=   0 aq=0KB vq=0KB sq=0B f=0/0

I suspect it is something connected to the "empty line". Is there a way to
skip this error ot has someone any clue?

Best

P.
___
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] Error Encoding AAC to HLS Using ffmpeg

2019-12-02 Thread andrei ka
you don't need groups here, just make a master index.m3u8 with :

index.m3u8 :
#
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=128000
index_low.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH= 256000
index_high.m3u8
#

and

ffmpeg -re  -i aac_file -vn  -filter_complex
"[0:a]volume=6dB,asetrate=sample_rate=48000,split=2[src1][src2] \
-map [src1] -c:a fdk_aac -b:a:0 128k \
-flags -global_header  -hls_segment_filename index_ld_%05d.ts  -timeout 2
-reconnect_delay_max 1 -f hls -hls_time 4 -hls_list_size 8 -hls_flags
delete_segments+append_list+omit_endlist+discont_start+split_by_time
-hls_allow_cache 0 -start_number 1 'index_low.m3u8'  \
  -map [src2] -c:a fdk_aac -b:a:1 256k   \
-flags -global_header   -hls_segment_filename index_sd_%05d.ts  -timeout 2
-reconnect_delay_max 1 -f hls -hls_time 4 -hls_list_size 8 -hls_flags
delete_segments+append_list+omit_endlist+discont_start+split_by_time
-hls_allow_cache 0 -start_number 1 'index_high.m3u8'

i didn't try it, but i do video transcoding in this way, so you may need to
edit this cmdline a bit



>ffmpeg -re -i input.aac -b:a:0 128k -af volume=6dB -ar 48000 -hls_time 20
-vn -hls_list_size 0 -b:a:1 256k -af volume=6dB -ar 48000  -hls_time 20 -vn
>-hls_list_size 0 -map 0:a -map 0:a -f hls -var_stream_map
"a:0,agroup:aud_low a:1,agroup:aud_high" -master_pl_name index.m3u8
index_%v.m3u8

On Mon, Dec 2, 2019 at 1:37 PM Ashish Jha  wrote:

> I want to encode an AAC formatted audio file into multi bitrate HLS using
> ffmpeg:
>
>
> fmpeg -re -i input.aac -b:a:0 128k -af volume=6dB -ar 48000 -hls_time 20
> -vn -hls_list_size 0 -b:a:1 256k -af volume=6dB -ar 48000  -hls_time 20 -vn
> -hls_list_size 0 -map 0:a -map 0:a -f hls -var_stream_map
> "a:0,agroup:aud_low a:1,agroup:aud_high" -master_pl_name index.m3u8
> index_%v.m3u8
>
> This lets me get 1 master manifest and 2 child manifests, which are
> playable on android. However, this does not play on desktop using chrome. I
> found these 2 lines in master manifest that seem to cause the issue. When
> manually removed, it plays perfectly.
>
>
>
> #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_aud_low",NAME="audio_0",DEFAULT=YES,URI="master0.m3u8"
>
> #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_aud_high",NAME="audio_1",DEFAULT=YES,URI="master1.m3u8"
>
> Is there a way to encode audio in multibitrate that avoids this issue?
>
>
> ___
> 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] Error Encoding AAC to HLS Using ffmpeg

2019-12-02 Thread Ashish Jha
I want to encode an AAC formatted audio file into multi bitrate HLS using 
ffmpeg:


fmpeg -re -i input.aac -b:a:0 128k -af volume=6dB -ar 48000 -hls_time 20 -vn 
-hls_list_size 0 -b:a:1 256k -af volume=6dB -ar 48000  -hls_time 20 -vn 
-hls_list_size 0 -map 0:a -map 0:a -f hls -var_stream_map 
"a:0,agroup:aud_low a:1,agroup:aud_high" -master_pl_name index.m3u8 
index_%v.m3u8

This lets me get 1 master manifest and 2 child manifests, which are playable on 
android. However, this does not play on desktop using chrome. I found these 2 
lines in master manifest that seem to cause the issue. When manually removed, 
it plays perfectly.


#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_aud_low",NAME="audio_0",DEFAULT=YES,URI="master0.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_aud_high",NAME="audio_1",DEFAULT=YES,URI="master1.m3u8"

Is there a way to encode audio in multibitrate that avoids this issue?


___
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] error in Codec AVOption b

2019-11-13 Thread Carl Eugen Hoyos


> Am 14.11.2019 um 03:08 schrieb Michele Salerno :
> 
> I have this command:
> 
> ffmpeg -y -hide_banner -threads 8 -hwaccel nvdec
> -hwaccel_output_format cuda -i INPUT.mp4 \
> -vf scale_cuda=-1:360 -c:v h264_nvenc -rc vbr -minrate 400k -maxrate
> 1500k -bufsize 1500k \
> -acodec aac -strict experimental -ar 44100 -b:a 64k \
> -preset slow -flags +loop -cmp chroma -subq 6 -me_range 16 -g 250
> -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 \
> -map 0:v -map 0:a? OUTPUT.mp4
> 
> I have this messages:
> Codec AVOption b (set bitrate (in bits/s)) specified for output file
> #0 has not been used for any stream. The most likely reason is either
> wrong type (e.g. a video option with no video streams) or that it is a
> private option of some encoder which was not actually used for any
> stream.
> 
> In OUTPUT-mp4 the audio is stripped
> Because?

Complete, uncut console output missing, please don’t forget to remove 
“hide_banner” from your command as we are unable to understand the console 
output if that option is used.

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] error in Codec AVOption b

2019-11-13 Thread Michele Salerno
I have this command:

ffmpeg -y -hide_banner -threads 8 -hwaccel nvdec
-hwaccel_output_format cuda -i INPUT.mp4 \
 -vf scale_cuda=-1:360 -c:v h264_nvenc -rc vbr -minrate 400k -maxrate
1500k -bufsize 1500k \
 -acodec aac -strict experimental -ar 44100 -b:a 64k \
 -preset slow -flags +loop -cmp chroma -subq 6 -me_range 16 -g 250
-keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 \
-map 0:v -map 0:a? OUTPUT.mp4

I have this messages:
Codec AVOption b (set bitrate (in bits/s)) specified for output file
#0 has not been used for any stream. The most likely reason is either
wrong type (e.g. a video option with no video streams) or that it is a
private option of some encoder which was not actually used for any
stream.

In OUTPUT-mp4 the audio is stripped
Because?

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] error compiling ffmpeg ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

2019-10-22 Thread pasha-19
The ffnvcodec problem appears to be resolved.  However I now have a problem
with nvcc that according to some webpages is not compatible with msys2/mingw
will need to consider compiling using visual studio where I have had setup
problems (if I remember correctly being unable to find visual studio (maybe
because I installed the ide version and not the command line version.) 
Thanks for the offers of help.



--
Sent from: http://www.ffmpeg-archive.org/
___
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] error compiling ffmpeg ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

2019-10-21 Thread pasha-19
That fixed the error you found but not the error I reported.  Thanks for
solving a problem I had not yet identified.



--
Sent from: http://www.ffmpeg-archive.org/
___
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] error compiling ffmpeg ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

2019-10-21 Thread Moritz Barsnick
On Mon, Oct 21, 2019 at 16:42:16 -0500, pasha-19 wrote:
> $ pkg-config --list-all
> ...
> ffnvcodec   ffnvcodec - FFmpeg version of Nvidia Codec SDK headers
[...]
> ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

That's peculiar, because config.log says ffnvcodec was okay:

[...]
check_pkg_config ffnvcodec ffnvcodec >= 9.0.18.0 ffnvcodec/nvEncodeAPI.h 
ffnvcodec/dynlink_cuda.h ffnvcodec/dynlink_cuviddec.h 
ffnvcodec/dynlink_nvcuvid.h
test_pkg_config ffnvcodec ffnvcodec >= 9.0.18.0 ffnvcodec/nvEncodeAPI.h 
ffnvcodec/dynlink_cuda.h ffnvcodec/dynlink_cuviddec.h 
ffnvcodec/dynlink_nvcuvid.h
pkg-config --exists --print-errors ffnvcodec >= 9.0.18.0
check_func_headers ffnvcodec/nvEncodeAPI.h ffnvcodec/dynlink_cuda.h 
ffnvcodec/dynlink_cuviddec.h ffnvcodec/dynlink_nvcuvid.h  
-ID:/Portable/msys64/usr/local/include
test_ld cc -ID:/Portable/msys64/usr/local/include
test_cc -ID:/Portable/msys64/usr/local/include
BEGIN /tmp/ffconf.wKsH8Szh/test.c
1   #include 
2   #include 
3   #include 
4   #include 
5   #include 
6   int main(void) { int ret = 0;
7   return ret; }
END /tmp/ffconf.wKsH8Szh/test.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1 -D__printf__=__gnu_printf__ 
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -I/usr/local/CUDA/include 
-std=c11 -fomit-frame-pointer -ID:/Portable/msys64/usr/local/include -c -o 
/tmp/ffconf.wKsH8Szh/test.o /tmp/ffconf.wKsH8Szh/test.c
gcc -L/usr/local/CUDA/lib/x64 -Wl,--nxcompat,--dynamicbase -Wl,--as-needed 
-ID:/Portable/msys64/usr/local/include -o /tmp/ffconf.wKsH8Szh/test.exe 
/tmp/ffconf.wKsH8Szh/test.o
[...]

Moritz
___
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] error compiling ffmpeg ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

2019-10-21 Thread pasha-19
Tried the pkg-config before and after the configure.  The pkg-config found
ffnvcodec both before and after however it still is reported as not found in
the configure process.

$ cd /d/dev/cpp

$ PREFIX="ffmpeg"

$ PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"

$ pkg-config --list-all
...
ffnvcodec   ffnvcodec - FFmpeg version of Nvidia Codec SDK headers
...

$ $PREFIX/src/configure  --arch=native --cpu=native
--target-path=$PREFIX/bld/ --logfile=$PREFIX/bld/log/config.log 
--bindir=$PREFIX/bin/ --docdir=$PREFIX/doc/ --enable-nonfree --enable-cuda
--enable-cuvid --enable-nvdec --enable-nvenc --enable-libnpp
--extra-cflags=-I/usr/local/CUDA/include
--extra-ldflags=-L/usr/local/CUDA/lib/x64
ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffmpeg/bld/log/config.log" produced by configure as
this will help
solve the problem.

$ pkg-config --list-all
...
ffnvcodec   ffnvcodec - FFmpeg version of Nvidia Codec SDK headers
...




--
Sent from: http://www.ffmpeg-archive.org/
___
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] error compiling ffmpeg ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

2019-10-21 Thread pasha-19
Additional information -- 
I learned to use pkg-config --list-all  note the results below ffnvcodec was
found.

using MSYS2 mingw 64-bit I generated the following:

$ cd /d/dev/cpp

$ PREFIX="ffmpeg"

$ PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"

$ pkg-config --list-all
...
ffnvcodec   ffnvcodec - FFmpeg version of Nvidia Codec SDK headers
...



--
Sent from: http://www.ffmpeg-archive.org/
___
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] error in make test

2019-10-03 Thread Carl Eugen Hoyos


> Am 04.10.2019 um 02:31 schrieb S Andreason :
> 
> extra-ldflags=-L/usr/lib/i386-linux-gnu

The test is inherently broken on i386 (it tests for identical float behaviour 
which is not guaranteed), you can wait until it gets fixed or test 
--extra-cflags=-msse2
(There is a setting that changes float behaviour on i386, not sure if this is 
the right one but it doesn’t matter: The test is definitely broken.)

Sorry for not understanding this issue earlier, 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] error in make test

2019-10-03 Thread S Andreason

Carl Eugen Hoyos wrote:

Am Sa., 28. Sept. 2019 um 21:01 Uhr schrieb S Andreason :


TESTlavf-gray.fits
--- ./tests/ref/lavf/gray.fits2019-06-30 20:40:14.0 -0700
+++ tests/data/fate/lavf-gray.fits2019-09-28 10:42:08.360464015 -0700
@@ -1,3 +1,3 @@
   d76b46a5a336b56f73451817cdf3897c *tests/data/lavf/lavf.gray.fits
   2664000 tests/data/lavf/lavf.gray.fits
-tests/data/lavf/lavf.gray.fits CRC=0x7aa0122f
+tests/data/lavf/lavf.gray.fits CRC=0xcea576a0
Test lavf-gray.fits failed. Look at tests/data/fate/lavf-gray.fits.err
for details.
tests/Makefile:240: recipe for target 'fate-lavf-gray.fits' failed
make: *** [fate-lavf-gray.fits] Error 1

Should be fixed, please test again.


After figuring out the first make SAMPLES command is a prerequisite, or 
move fate-suite/ to the current build directory, I have re-run the test...


TEST    lavf-pgmpipe
TEST    lavf-ppmpipe
TEST    lavf-apng
TEST    lavf-apng.png
TEST    lavf-gray.fits
--- ./tests/ref/lavf/gray.fits    2019-06-30 20:40:14.0 -0700
+++ tests/data/fate/lavf-gray.fits    2019-10-03 17:27:03.989005117 -0700
@@ -1,3 +1,3 @@
 d76b46a5a336b56f73451817cdf3897c *tests/data/lavf/lavf.gray.fits
 2664000 tests/data/lavf/lavf.gray.fits
-tests/data/lavf/lavf.gray.fits CRC=0x7aa0122f
+tests/data/lavf/lavf.gray.fits CRC=0xcea576a0
Test lavf-gray.fits failed. Look at tests/data/fate/lavf-gray.fits.err 
for details.

tests/Makefile:240: recipe for target 'fate-lavf-gray.fits' failed
make: *** [fate-lavf-gray.fits] Error 1

$ cat tests/data/fate/lavf-gray.fits.err
ffmpeg version N-95213-g379e5d29d5 Copyright (c) 2000-2019 the FFmpeg 
developers

  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --prefix=/usr/local --enable-gpl --enable-libmp3lame 
--enable-libvorbis --enable-libx264 --enable-libopenjpeg 
--enable-libfreetype --disable-doc --disable-htmlpages 
--disable-podpages --enable-shared --enable-libvpx 
--extra-cflags=-I/usr/include --extra-ldflags=-L/usr/lib/i386-linux-gnu 
--enable-libass --enable-libtesseract

  libavutil  56. 35.100 / 56. 35.100
  libavcodec 58. 59.101 / 58. 59.101
  libavformat    58. 33.100 / 58. 33.100
  libavdevice    58.  9.100 / 58.  9.100
  libavfilter 7. 61.100 /  7. 59.100
  libswscale  5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
Input #0, image2, from 
'/usr/share/audvid/src-git/ffmpeg-build-20191003/tests/vsynth1/%02d.pgm':

  Duration: 00:00:02.00, start: 0.00, bitrate: N/A
    Stream #0:0: Video: pgmyuv, yuv420p, 352x288, 25 fps, 25 tbr, 25 
tbn, 25 tbc

Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (pgmyuv (native) -> fits (native))
Output #0, fits, to 
'/usr/share/audvid/src-git/ffmpeg-build-20191003/tests/data/lavf/lavf.gray.fits':

  Metadata:
    title   : lavftest
    Stream #0:0: Video: fits, gray, 352x288, q=2-31, 200 kb/s, 25 fps, 
25 tbn, 25 tbc

    Metadata:
  encoder : Lavc fits
frame=   25 fps=0.0 q=-0.0 Lsize=    2602kB time=00:00:01.00 
bitrate=21312.0kbits/s speed=  32x
video:2531kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB 
muxing overhead: 2.78%
ffmpeg version N-95213-g379e5d29d5 Copyright (c) 2000-2019 the FFmpeg 
developers

  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --prefix=/usr/local --enable-gpl --enable-libmp3lame 
--enable-libvorbis --enable-libx264 --enable-libopenjpeg 
--enable-libfreetype --disable-doc --disable-htmlpages 
--disable-podpages --enable-shared --enable-libvpx 
--extra-cflags=-I/usr/include --extra-ldflags=-L/usr/lib/i386-linux-gnu 
--enable-libass --enable-libtesseract

  libavutil  56. 35.100 / 56. 35.100
  libavcodec 58. 59.101 / 58. 59.101
  libavformat    58. 33.100 / 58. 33.100
  libavdevice    58.  9.100 / 58.  9.100
  libavfilter 7. 61.100 /  7. 59.100
  libswscale  5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
Input #0, fits, from 
'/usr/share/audvid/src-git/ffmpeg-build-20191003/tests/data/lavf/lavf.gray.fits':

  Duration: N/A, start: 0.00, bitrate: N/A
    Stream #0:0: Video: fits, gray, 352x288, 1 fps, 1 tbr, 1 tbn, 1 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (fits (native) -> rawvideo (native))
Output #0, crc, to 
'/usr/share/audvid/src-git/ffmpeg-build-20191003/tests/data/lavf-gray.fits.lavf.crc':

  Metadata:
    encoder : Lavf58.33.100
    Stream #0:0: Video: rawvideo (Y800 / 0x30303859), gray, 352x288, 
q=2-31, 811 kb/s, 1 fps, 1 tbn, 1 tbc

    Metadata:
  encoder : Lavc58.59.101 rawvideo
frame=   25 fps=0.0 q=-0.0 Lsize=   0kB time=00:00:25.00 bitrate=   
0.0kbits/s speed= 369x
video:2475kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB 
muxing overhead: unknown



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


Re: [FFmpeg-user] ERROR RTSP - TIMESTAMPS ARE UNSET

2019-09-29 Thread Alejandro Escudero
So if stream works we don’t have to care about that message right?

Thanks!

Descarga Outlook para iOS<https://aka.ms/o0ukef>

De: ffmpeg-user  en nombre de Carl Eugen Hoyos 

Enviado: Sunday, September 29, 2019 3:15:35 PM
Para: FFmpeg user questions 
Asunto: Re: [FFmpeg-user] ERROR RTSP - TIMESTAMPS ARE UNSET

Am Fr., 27. Sept. 2019 um 01:03 Uhr schrieb Alejandro Escudero
:
> I am getting an RTSP stream from a DLink camera but I am getting this error: 
> Timestamps
> are unset in a packet for stream 0. This is deprecated and will stop working 
> in the future.
> Fix your code to set the timestamps properly

There is nothing you can do about this message.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-userdata=02%7C01%7C%7Cdd74164d1b194820459408d74519d65f%7C84df9e7fe9f640afb435%7C1%7C0%7C637053849587742229sdata=L3u%2BcM5sPkrts27LG7%2FG%2FOl0ec1RtK8RjoQ66yEkPxA%3Dreserved=0

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] error in make test

2019-09-29 Thread Carl Eugen Hoyos
Am Sa., 28. Sept. 2019 um 21:01 Uhr schrieb S Andreason :

> TESTlavf-gray.fits
> --- ./tests/ref/lavf/gray.fits2019-06-30 20:40:14.0 -0700
> +++ tests/data/fate/lavf-gray.fits2019-09-28 10:42:08.360464015 -0700
> @@ -1,3 +1,3 @@
>   d76b46a5a336b56f73451817cdf3897c *tests/data/lavf/lavf.gray.fits
>   2664000 tests/data/lavf/lavf.gray.fits
> -tests/data/lavf/lavf.gray.fits CRC=0x7aa0122f
> +tests/data/lavf/lavf.gray.fits CRC=0xcea576a0
> Test lavf-gray.fits failed. Look at tests/data/fate/lavf-gray.fits.err
> for details.
> tests/Makefile:240: recipe for target 'fate-lavf-gray.fits' failed
> make: *** [fate-lavf-gray.fits] Error 1

Should be fixed, please test again.

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] ERROR RTSP - TIMESTAMPS ARE UNSET

2019-09-29 Thread Carl Eugen Hoyos
Am Fr., 27. Sept. 2019 um 01:03 Uhr schrieb Alejandro Escudero
:
> I am getting an RTSP stream from a DLink camera but I am getting this error: 
> Timestamps
> are unset in a packet for stream 0. This is deprecated and will stop working 
> in the future.
> Fix your code to set the timestamps properly

There is nothing you can do about this message.

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] ERROR RTSP - TIMESTAMPS ARE UNSET

2019-09-29 Thread Alejandro Escudero


Hi

I am getting an RTSP stream from a DLink camera but I am getting this error: 
Timestamps are unset in a packet for stream 0. This is deprecated and will stop 
working in the future. Fix your code to set the timestamps properly

This is the command: (I also tried adding -fflags +genpts but i still get the 
error)

ffmpeg -rtsp_transport tcp -i “rtsp://admin:password@ip:554/play1.sdp” -c copy 
dlink.mp4


This is the console output:



C:\Users\User\Desktop\ejemplosff>ffmpeg -rtsp_transport tcp -i 
"rtsp://admin:pass@ip:554/play1.sdp" -c copy dlink.mp4

ffmpeg version N-94423-ga0c1970781 Copyright (c) 2000-2019 the FFmpeg developers

  built with gcc 9.1.1 (GCC) 20190716

  configuration: --enable-gpl --enable-version3 --enable-sdl2 
--enable-fontconfig --enable-gnutls --enable-iconv --enable-libass 
--enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame 
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg 
--enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr 
--enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack 
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 
--enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab 
--enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex 
--enable-libxvid --enable-libaom --enable-libmfx --enable-amf 
--enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc 
--enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt

  libavutil  56. 32.100 / 56. 32.100

  libavcodec 58. 55.100 / 58. 55.100

  libavformat58. 30.100 / 58. 30.100

  libavdevice58.  9.100 / 58.  9.100

  libavfilter 7. 58.100 /  7. 58.100

  libswscale  5.  6.100 /  5.  6.100

  libswresample   3.  6.100 /  3.  6.100

  libpostproc55.  6.100 / 55.  6.100

Input #0, rtsp, from 'rtsp://admin:pass@ip:554/play1.sdp':

  Metadata:

title   : Session streamed by D-Link

comment : play1.sdp

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

Stream #0:0: Video: h264 (Baseline), yuv420p(progressive), 320x176, 15.17 
tbr, 90k tbn, 180k tbc

Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp

File 'dlink.mp4' already exists. Overwrite ? [y/N] y

Output #0, mp4, to 'dlink.mp4':

  Metadata:

title   : Session streamed by D-Link

comment : play1.sdp

encoder : Lavf58.30.100

Stream #0:0: Video: h264 (Baseline) (avc1 / 0x31637661), 
yuv420p(progressive), 320x176, q=2-31, 15.17 tbr, 90k tbn, 90k tbc

Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp

Stream mapping:

  Stream #0:0 -> #0:0 (copy)

  Stream #0:1 -> #0:1 (copy)

Press [q] to stop, [?] for help

[mp4 @ 01cd9711f0c0] Timestamps are unset in a packet for stream 0. This is 
deprecated and will stop working in the future. Fix your code to set the 
timestamps properly

frame=  168 fps= 22 q=-1.0 Lsize= 209kB time=00:00:11.17 bitrate= 
153.5kbits/s speed=1.47x

video:161kB audio:42kB subtitle:0kB other streams:0kB global headers:0kB muxing 
overhead: 3.117589%

Exiting normally, received signal 2.



Thanks for your help!


Alejandro


[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]
  Libre de virus. 
www.avast.com
___
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] error in make test

2019-09-29 Thread Carl Eugen Hoyos


> Am 28.09.2019 um 21:01 schrieb S Andreason :
> 
> Hi, I have current ffmpeg by git, updated yesterday, running on Debian 
> desktop.
> 
> I was successful in configure, make, and make install, but when trying to get 
> ass to work (not the issue for this email) I ran make test and it stopped 
> with this error, and it looks reportable to me, and I can't get to the test 
> I'm concerned about without getting past this point.
> Complete output is rather long, so I'll guess which task to do so from.
> 
> [...]
> TESTlavf-ppmpipe
> TESTlavf-apng
> TESTlavf-apng.png
> TESTlavf-gray.fits
> --- ./tests/ref/lavf/gray.fits2019-06-30 20:40:14.0 -0700
> +++ tests/data/fate/lavf-gray.fits2019-09-28 10:42:08.360464015 -0700
> @@ -1,3 +1,3 @@
>  d76b46a5a336b56f73451817cdf3897c *tests/data/lavf/lavf.gray.fits
>  2664000 tests/data/lavf/lavf.gray.fits
> -tests/data/lavf/lavf.gray.fits CRC=0x7aa0122f
> +tests/data/lavf/lavf.gray.fits CRC=0xcea576a0
> Test lavf-gray.fits failed. Look at tests/data/fate/lavf-gray.fits.err for 
> details.
> tests/Makefile:240: recipe for target 'fate-lavf-gray.fits' failed
> make: *** [fate-lavf-gray.fits] Error 1

A patch was posted that will most likely fix this issue in the next days.

Sorry for not testing this enough myself, 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] error in make test

2019-09-28 Thread Carl Eugen Hoyos
Am Sa., 28. Sept. 2019 um 21:01 Uhr schrieb S Andreason :
>
> Hi, I have current ffmpeg by git, updated yesterday, running on Debian
> desktop.
>
> I was successful in configure, make, and make install, but when trying
> to get ass to work (not the issue for this email) I ran make test and it

Not related:
If you really want to test ffmpeg, run:
$ make SAMPLES=fate-suite fate-rsync
$ make SAMPLES=fate-suite fate

iirc, make test does something less relevant.

> stopped with this error, and it looks reportable to me, and I can't get
> to the test I'm concerned about without getting past this point.
> Complete output is rather long, so I'll guess which task to do so from.
>
> [...]
> TESTlavf-ppmpipe
> TESTlavf-apng
> TESTlavf-apng.png
> TESTlavf-gray.fits
> --- ./tests/ref/lavf/gray.fits2019-06-30 20:40:14.0 -0700
> +++ tests/data/fate/lavf-gray.fits2019-09-28 10:42:08.360464015 -0700
> @@ -1,3 +1,3 @@
>   d76b46a5a336b56f73451817cdf3897c *tests/data/lavf/lavf.gray.fits
>   2664000 tests/data/lavf/lavf.gray.fits
> -tests/data/lavf/lavf.gray.fits CRC=0x7aa0122f
> +tests/data/lavf/lavf.gray.fits CRC=0xcea576a0
> Test lavf-gray.fits failed. Look at tests/data/fate/lavf-gray.fits.err
> for details.
> tests/Makefile:240: recipe for target 'fate-lavf-gray.fits' failed
> make: *** [fate-lavf-gray.fits] Error 1

I cannot reproduce, make SAMPLES=fate-suite fate-fits works fine here.

> $ cat lavf-gray.fits.err
> ffmpeg version N-95129-g04858650b1 Copyright (c) 2000-2019 the FFmpeg
> developers
>built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
>configuration: --prefix=/usr/local --enable-gpl --enable-postproc
> --enable-swscale --enable-libmp3lame --enable-libvorbis --enable-libx264

--enable-postproc, --enable-swscale and --enable-pthreads
have no effect and make debugging more difficult (because
of the length of the configure line).

> --enable-pthreads --enable-libopenjpeg --enable-nonfree

--enable-nonfree does have an effect, I believe you don't like it.
(Please remove the option)

> --enable-libfreetype --disable-doc --disable-htmlpages
> --disable-podpages --enable-shared --enable-libvpx
> --extra-cflags=-I/usr/include --extra-ldflags=-L/usr/lib/i386-linux-gnu

> --disable-x86asm --enable-libass --enable-libtesseract

Why are you using --disable-x86asm?

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] error in make test

2019-09-28 Thread S Andreason
Hi, I have current ffmpeg by git, updated yesterday, running on Debian 
desktop.


I was successful in configure, make, and make install, but when trying 
to get ass to work (not the issue for this email) I ran make test and it 
stopped with this error, and it looks reportable to me, and I can't get 
to the test I'm concerned about without getting past this point.

Complete output is rather long, so I'll guess which task to do so from.

[...]
TEST    lavf-ppmpipe
TEST    lavf-apng
TEST    lavf-apng.png
TEST    lavf-gray.fits
--- ./tests/ref/lavf/gray.fits    2019-06-30 20:40:14.0 -0700
+++ tests/data/fate/lavf-gray.fits    2019-09-28 10:42:08.360464015 -0700
@@ -1,3 +1,3 @@
 d76b46a5a336b56f73451817cdf3897c *tests/data/lavf/lavf.gray.fits
 2664000 tests/data/lavf/lavf.gray.fits
-tests/data/lavf/lavf.gray.fits CRC=0x7aa0122f
+tests/data/lavf/lavf.gray.fits CRC=0xcea576a0
Test lavf-gray.fits failed. Look at tests/data/fate/lavf-gray.fits.err 
for details.

tests/Makefile:240: recipe for target 'fate-lavf-gray.fits' failed
make: *** [fate-lavf-gray.fits] Error 1

$ cat lavf-gray.fits.err
ffmpeg version N-95129-g04858650b1 Copyright (c) 2000-2019 the FFmpeg 
developers

  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --prefix=/usr/local --enable-gpl --enable-postproc 
--enable-swscale --enable-libmp3lame --enable-libvorbis --enable-libx264 
--enable-pthreads --enable-libopenjpeg --enable-nonfree 
--enable-libfreetype --disable-doc --disable-htmlpages 
--disable-podpages --enable-shared --enable-libvpx 
--extra-cflags=-I/usr/include --extra-ldflags=-L/usr/lib/i386-linux-gnu 
--disable-x86asm --enable-libass --enable-libtesseract

  libavutil  56. 35.100 / 56. 35.100
  libavcodec 58. 59.101 / 58. 59.101
  libavformat    58. 33.100 / 58. 33.100
  libavdevice    58.  9.100 / 58.  9.100
  libavfilter 7. 59.100 /  7. 59.100
  libswscale  5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
Input #0, image2, from 
'/usr/share/audvid/src-git/ffmpeg-build-20190927/tests/vsynth1/%02d.pgm':

  Duration: 00:00:02.00, start: 0.00, bitrate: N/A
    Stream #0:0: Video: pgmyuv, yuv420p, 352x288, 25 fps, 25 tbr, 25 
tbn, 25 tbc

Please use -q:a or -q:v, -qscale is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (pgmyuv (native) -> fits (native))
Output #0, fits, to 
'/usr/share/audvid/src-git/ffmpeg-build-20190927/tests/data/lavf/lavf.gray.fits':

  Metadata:
    title   : lavftest
    Stream #0:0: Video: fits, gray, 352x288, q=2-31, 200 kb/s, 25 fps, 
25 tbn, 25 tbc

    Metadata:
  encoder : Lavc fits
frame=   25 fps=0.0 q=-0.0 Lsize=    2602kB time=00:00:01.00 
bitrate=21312.0kbits/s speed=12.6x
video:2531kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB 
muxing overhead: 2.78%
ffmpeg version N-95129-g04858650b1 Copyright (c) 2000-2019 the FFmpeg 
developers

  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --prefix=/usr/local --enable-gpl --enable-postproc 
--enable-swscale --enable-libmp3lame --enable-libvorbis --enable-libx264 
--enable-pthreads --enable-libopenjpeg --enable-nonfree 
--enable-libfreetype --disable-doc --disable-htmlpages 
--disable-podpages --enable-shared --enable-libvpx 
--extra-cflags=-I/usr/include --extra-ldflags=-L/usr/lib/i386-linux-gnu 
--disable-x86asm --enable-libass --enable-libtesseract

  libavutil  56. 35.100 / 56. 35.100
  libavcodec 58. 59.101 / 58. 59.101
  libavformat    58. 33.100 / 58. 33.100
  libavdevice    58.  9.100 / 58.  9.100
  libavfilter 7. 59.100 /  7. 59.100
  libswscale  5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
Input #0, fits, from 
'/usr/share/audvid/src-git/ffmpeg-build-20190927/tests/data/lavf/lavf.gray.fits':

  Duration: N/A, start: 0.00, bitrate: N/A
    Stream #0:0: Video: fits, gray, 352x288, 1 fps, 1 tbr, 1 tbn, 1 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (fits (native) -> rawvideo (native))
Output #0, crc, to 
'/usr/share/audvid/src-git/ffmpeg-build-20190927/tests/data/lavf-gray.fits.lavf.crc':

  Metadata:
    encoder : Lavf58.33.100
    Stream #0:0: Video: rawvideo (Y800 / 0x30303859), gray, 352x288, 
q=2-31, 811 kb/s, 1 fps, 1 tbn, 1 tbc

    Metadata:
  encoder : Lavc58.59.101 rawvideo
frame=   25 fps=0.0 q=-0.0 Lsize=   0kB time=00:00:25.00 bitrate=   
0.0kbits/s speed= 419x
video:2475kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB 
muxing overhead: unknown



Stewart
___
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] ERROR RTSP - TIMESTAMPS ARE UNSET

2019-09-26 Thread Alejandro Escudero
Hi

I am getting an RTSP stream from a DLink camera but I am getting this error: 
Timestamps are unset in a packet for stream 0. This is deprecated and will stop 
working in the future. Fix your code to set the timestamps properly

This is the command: (I also tried adding -fflags +genpts but i still get the 
error)

ffmpeg -rtsp_transport tcp -i “rtsp://admin:password@ip:554/play1.sdp” -c copy 
dlink.mp4


This is the console output:



C:\Users\User\Desktop\ejemplosff>ffmpeg -rtsp_transport tcp -i 
"rtsp://admin:pass@ip:554/play1.sdp" -c copy dlink.mp4

ffmpeg version N-94423-ga0c1970781 Copyright (c) 2000-2019 the FFmpeg developers

  built with gcc 9.1.1 (GCC) 20190716

  configuration: --enable-gpl --enable-version3 --enable-sdl2 
--enable-fontconfig --enable-gnutls --enable-iconv --enable-libass 
--enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame 
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg 
--enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr 
--enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack 
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 
--enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab 
--enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex 
--enable-libxvid --enable-libaom --enable-libmfx --enable-amf 
--enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc 
--enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt

  libavutil  56. 32.100 / 56. 32.100

  libavcodec 58. 55.100 / 58. 55.100

  libavformat58. 30.100 / 58. 30.100

  libavdevice58.  9.100 / 58.  9.100

  libavfilter 7. 58.100 /  7. 58.100

  libswscale  5.  6.100 /  5.  6.100

  libswresample   3.  6.100 /  3.  6.100

  libpostproc55.  6.100 / 55.  6.100

Input #0, rtsp, from 'rtsp://admin:pass@ip:554/play1.sdp':

  Metadata:

title   : Session streamed by D-Link

comment : play1.sdp

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

Stream #0:0: Video: h264 (Baseline), yuv420p(progressive), 320x176, 15.17 
tbr, 90k tbn, 180k tbc

Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp

File 'dlink.mp4' already exists. Overwrite ? [y/N] y

Output #0, mp4, to 'dlink.mp4':

  Metadata:

title   : Session streamed by D-Link

comment : play1.sdp

encoder : Lavf58.30.100

Stream #0:0: Video: h264 (Baseline) (avc1 / 0x31637661), 
yuv420p(progressive), 320x176, q=2-31, 15.17 tbr, 90k tbn, 90k tbc

Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp

Stream mapping:

  Stream #0:0 -> #0:0 (copy)

  Stream #0:1 -> #0:1 (copy)

Press [q] to stop, [?] for help

[mp4 @ 01cd9711f0c0] Timestamps are unset in a packet for stream 0. This is 
deprecated and will stop working in the future. Fix your code to set the 
timestamps properly

frame=  168 fps= 22 q=-1.0 Lsize= 209kB time=00:00:11.17 bitrate= 
153.5kbits/s speed=1.47x

video:161kB audio:42kB subtitle:0kB other streams:0kB global headers:0kB muxing 
overhead: 3.117589%

Exiting normally, received signal 2.



Thanks for your help!


Alejandro

___
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] Error in audiotoolboxenc.o when compiling on OS X 10.6.8

2019-08-12 Thread Jonathan Alland
> I wonder what you need this binary for.

Nothing so important! I have a deep fondness for Snow Leopard, and I'm trying 
to see how much of the software I regularly use can be made to work. Static 
binaries are also just a strong preference.

> Use --disable-audiotoolbox (and possibly --disable-videotoolbox)

Thank you! I'm somewhat embarrassed I didn't figure that out myself. I might 
try that Macports patch later.

Fwiw, I didn't need to use --disable-videotoolbox. I did need to switch to 
gcc8, and disable html-docs and ffprobe (I put zero effort into getting ffprobe 
to work, as I never use it.)

The compilation went through, but it looks like the resulting binary still 
relies on several .dylib's (tested by moving to a fresh machine). I have been 
using MacPorts to install ffmpeg's dependencies. Do I need to go through and 
manually recompile all of them with --disable-shared and/or --enable-static? I 
will if I have to, but I'm not looking forward to it...

> On Aug 12, 2019, at 4:55 AM, Moritz Barsnick  wrote:
> 
> On Mon, Aug 12, 2019 at 00:25:14 +0200, Carl Eugen Hoyos wrote:
>> Am Mo., 12. Aug. 2019 um 00:16 Uhr schrieb Jonathan Alland 
>> :
>>> I am trying to compile a build of ffmpeg on macOS X 10.6.8. My hope is to 
>>> eventually get a
>>> statically linked binary which is also Snow Leopard compatible.
> [...]
>>> libavcodec/audiotoolboxenc.c:70:20: error: use of undeclared identifier
>>>  'kAudioFormatMPEG4AAC_ELD'
>>>return kAudioFormatMPEG4AAC_ELD;
>> 
>> Use --disable-audiotoolbox (and possibly --disable-videotoolbox)
> 
> MacPorts apparently had a patch for this:
> https://trac.macports.org/changeset/148793/
> https://trac.macports.org/browser/trunk/dports/multimedia/ffmpeg-devel/files/patch-libavcodec-audiotoolboxenc.c.diff?rev=148793
> 
> but eventually they just disabled toolbox for OS X < 10.7:
> https://trac.macports.org/changeset/148816/
> 
> Not sure which of the two is correct - just saying.
> 
> Cheers,
> Moritz
> ___
> 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] Error in audiotoolboxenc.o when compiling on OS X 10.6.8

2019-08-12 Thread Moritz Barsnick
On Mon, Aug 12, 2019 at 00:25:14 +0200, Carl Eugen Hoyos wrote:
> Am Mo., 12. Aug. 2019 um 00:16 Uhr schrieb Jonathan Alland 
> :
> > I am trying to compile a build of ffmpeg on macOS X 10.6.8. My hope is to 
> > eventually get a
> > statically linked binary which is also Snow Leopard compatible.
[...]
> > libavcodec/audiotoolboxenc.c:70:20: error: use of undeclared identifier
> >   'kAudioFormatMPEG4AAC_ELD'
> > return kAudioFormatMPEG4AAC_ELD;
>
> Use --disable-audiotoolbox (and possibly --disable-videotoolbox)

MacPorts apparently had a patch for this:
https://trac.macports.org/changeset/148793/
https://trac.macports.org/browser/trunk/dports/multimedia/ffmpeg-devel/files/patch-libavcodec-audiotoolboxenc.c.diff?rev=148793

but eventually they just disabled toolbox for OS X < 10.7:
https://trac.macports.org/changeset/148816/

Not sure which of the two is correct - just saying.

Cheers,
Moritz
___
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] Error in audiotoolboxenc.o when compiling on OS X 10.6.8

2019-08-11 Thread Carl Eugen Hoyos
Am Mo., 12. Aug. 2019 um 00:16 Uhr schrieb Jonathan Alland
:

> I am trying to compile a build of ffmpeg on macOS X 10.6.8. My hope is to 
> eventually get a
> statically linked binary which is also Snow Leopard compatible.

I wonder what you need this binary for.

> I am using the following options:
>
> ./configure --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus 
> --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass 
> --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug 
> --enable-libmp3lame --enable-libopenjpeg --enable-libopus 
> --enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libspeex 
> --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx 
> --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 
> --enable-libxvid --enable-libzmq --enable-version3 
> --pkg-config-flags=--static --enable-nonfree --enable-libfdk-aac 
> --extra-ldflags=-L/opt/local/lib
>
> The compilation fails at libavcodec/audiotoolboxenc.o. The last few lines are:
>
> CC  libavcodec/audiotoolboxenc.o
> warning: unknown warning option: -Werror=partial-availability
> warning: unknown warning option: -Wempty-body
> warning: unknown warning option: -Wno-unused-const-variable
> warning: unknown warning option: -Wno-bool-operation
> libavcodec/audiotoolboxenc.c:70:20: error: use of undeclared identifier
>   'kAudioFormatMPEG4AAC_ELD'
> return kAudioFormatMPEG4AAC_ELD;

Use --disable-audiotoolbox (and possibly --disable-videotoolbox)

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] Error in audiotoolboxenc.o when compiling on OS X 10.6.8

2019-08-11 Thread Jonathan Alland
Hello!

I am trying to compile a build of ffmpeg on macOS X 10.6.8. My hope is to 
eventually get a statically linked binary which is also Snow Leopard compatible.

I am using the following options:

./configure --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus 
--enable-avisynth --enable-fontconfig --enable-gpl --enable-libass 
--enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug 
--enable-libmp3lame --enable-libopenjpeg --enable-libopus 
--enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libspeex 
--enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx 
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 
--enable-libxvid --enable-libzmq --enable-version3 --pkg-config-flags=--static 
--enable-nonfree --enable-libfdk-aac --extra-ldflags=-L/opt/local/lib

The compilation fails at libavcodec/audiotoolboxenc.o. The last few lines are:

CC  libavcodec/audiotoolboxenc.o
warning: unknown warning option: -Werror=partial-availability
warning: unknown warning option: -Wempty-body
warning: unknown warning option: -Wno-unused-const-variable
warning: unknown warning option: -Wno-bool-operation
libavcodec/audiotoolboxenc.c:70:20: error: use of undeclared identifier
  'kAudioFormatMPEG4AAC_ELD'
return kAudioFormatMPEG4AAC_ELD;
   ^
libavcodec/audiotoolboxenc.c:154:8: warning: 'cold' attribute ignored
static av_cold int get_channel_label(int channel)
   ^
./libavutil/attributes.h:82:36: note: instantiated from:
#define av_cold __attribute__((cold))
   ^
libavcodec/audiotoolboxenc.c:234:8: warning: 'cold' attribute ignored
static av_cold int ffat_init_encoder(AVCodecContext *avctx)
   ^
./libavutil/attributes.h:82:36: note: instantiated from:
#define av_cold __attribute__((cold))
   ^
libavcodec/audiotoolboxenc.c:567:8: warning: 'cold' attribute ignored
static av_cold void ffat_encode_flush(AVCodecContext *avctx)
   ^
./libavutil/attributes.h:82:36: note: instantiated from:
#define av_cold __attribute__((cold))
   ^
libavcodec/audiotoolboxenc.c:575:8: warning: 'cold' attribute ignored
static av_cold int ffat_close_encoder(AVCodecContext *avctx)
   ^
./libavutil/attributes.h:82:36: note: instantiated from:
#define av_cold __attribute__((cold))
   ^
5 diagnostics generated.
make: *** [libavcodec/audiotoolboxenc.o] Error 1

Complete console output can be found at 
https://gist.github.com/Wowfunhappy/e62bcf1c108edbf557198bb95c47491c

Please let me know if there's anything I can try. If Snow Leopard is just too 
old to work, please let me know that too! Thank you!
___
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] Error psz_cqm_file=8-0-8

2019-07-16 Thread Ted Park
> I would like to know the difference between psz_cqm_file and cqmfile.

This is more of an x264 question than an ffmpeg one, but if I were to guess 
they changed the parameter name at some point because, like, what does 
psz_cqm_file even stand for, right?
___
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] Error psz_cqm_file=8-0-8

2019-07-16 Thread abhishek punjabi
Dear Sir,

As referred by Moritz below command is working fine for FFmpeg 4.1
-x264opts cqmfile=filename

I would like to know the difference between psz_cqm_file and cqmfile.
From notes I got

/* JM format reads the external quantization matrix file in JM format,
automatically ignores other -cqm option */
uint8_t cqm_4iy[16]; /* used only if i_cqm_preset == X264_CQM_CUSTOM */
uint8_t cqm_4ic[16];

Thanks Regards
Abhishek Punjabi


On Mon, Jul 15, 2019 at 8:54 PM Moritz Barsnick  wrote:

> On Mon, Jul 15, 2019 at 18:57:00 +0530, abhishek punjabi wrote:
> > I want to use the above parameter for FFmpeg 4.1
> > Its working fine in FFmpeg 2.6 version but not supported by 4.1 version.
> > Please provide a solution and asap to include parameter in
> > psz_cqm_file=8-0-8.
>
> As Ted pointed out, that probably needed to be a file name.
>
> Nevertheless, kindly show us the actual working ffmpeg-2.6 command
> line. As far as I can tell, psz_cqm_file was never an ffmpeg option. It
> may have been an x264 option, which is now called cqmfile in the
> command line tool.
>
> You can pass that option from ffmpeg using
> "-x264opts cqmfile=filename".
>
> Cheers,
> Moritz
> ___
> 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".



-- 

*Abhishek Punjabi,*
*B.Tech, Student CLOUD BASED APPLICATION,*

*Department of Computer Science and Engineering, Institute of Computer
Technology,*
*Ganpat University,*

*Ahmedabad*
   *Contact : +91 9913001667*
*abhishek.cba1...@ict.gnu.ac.in *
___
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] Error psz_cqm_file=8-0-8

2019-07-15 Thread Moritz Barsnick
On Mon, Jul 15, 2019 at 18:57:00 +0530, abhishek punjabi wrote:
> I want to use the above parameter for FFmpeg 4.1
> Its working fine in FFmpeg 2.6 version but not supported by 4.1 version.
> Please provide a solution and asap to include parameter in
> psz_cqm_file=8-0-8.

As Ted pointed out, that probably needed to be a file name.

Nevertheless, kindly show us the actual working ffmpeg-2.6 command
line. As far as I can tell, psz_cqm_file was never an ffmpeg option. It
may have been an x264 option, which is now called cqmfile in the
command line tool.

You can pass that option from ffmpeg using
"-x264opts cqmfile=filename".

Cheers,
Moritz
___
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] Error psz_cqm_file=8-0-8

2019-07-15 Thread Ted Park
> Dear Sir,
> I want to use the above parameter for FFmpeg 4.1
> Its working fine in FFmpeg 2.6 version but not supported by 4.1 version.
> Please provide a solution and asap to include parameter in
> psz_cqm_file=8-0-8.
Does that mean you have a file named "8-0-8”? In that case maybe try replacing 
the parameter with cqmfile
___
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] Error psz_cqm_file=8-0-8

2019-07-15 Thread abhishek punjabi
Dear Sir,
I want to use the above parameter for FFmpeg 4.1
Its working fine in FFmpeg 2.6 version but not supported by 4.1 version.
Please provide a solution and asap to include parameter in
psz_cqm_file=8-0-8.

Thanks and Regards

*Abhishek Punjabi,*
*Contact : +91 8849272165*
___
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] Error while decoding stream

2019-04-26 Thread Moritz Barsnick
On Fri, Apr 26, 2019 at 13:23:14 +0300, Ivan Kirillov wrote:
> https://i.gyazo.com/a5beb3f0798b7423d2bb7e773b0521c1.png
> here is an outpot after start

(You should copy the text from the console into the email instead of
creating a screenshot.)

You are using a very old version of ffmpeg. Please get hold of a newer
one and try that first.

If your system doesn't provide alternative packages, you can grab a
static binary here:

https://johnvansickle.com/ffmpeg/

We recommend you to use one of the builds from the left hand "git"
column, i.e. ffmpeg-git-amd64-static.tar.xz in your case.

I can't promise that your issue will go away, but it's not worth trying
to chase bugs in old ffmpeg versions which may long have been solved.

Thanks,
Moritz
___
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] Error while decoding stream

2019-04-26 Thread Ivan Kirillov

https://i.gyazo.com/a5beb3f0798b7423d2bb7e773b0521c1.png

here is an outpot after start

26.04.2019 1:01, Carl Zwanzig пишет:

On 4/25/2019 5:21 AM, Ivan Kirillov wrote:

pls explain to me how can i fix this ?


pls (please) post the command output; it's OK to remove some duplicate 
lines but people need to know about the config, streams, etc.


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

___
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] Error while decoding stream

2019-04-25 Thread Carl Zwanzig

On 4/25/2019 5:21 AM, Ivan Kirillov wrote:

pls explain to me how can i fix this ?


pls (please) post the command output; it's OK to remove some duplicate lines 
but people need to know about the config, streams, etc.


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

[FFmpeg-user] Error while decoding stream

2019-04-25 Thread Ivan Kirillov
hey guys im trying to get stream from url then decode it and sent to my 
local rtmp:


ffmpeg -i "`streamlink --stream-url --default-stream 720p 
https://www.twitch.tv/mystream`; -f alsa -f flv -ac 2 -ar 44100 -vcodec 
libx264 -g 60 -keyint_min 30 -b:v 3000k -minrate 3000k -maxrate 3000k 
-pix_fmt yuv420p -s 1280x720 -preset fast -tune film -acodec aac 
-threads 2 -strict -2 -bufsize 3000k rtmp://127.0.0.1/live3


after 10 minutes im getting multiple warnings like

Past duration xxx too large

and after some hours im getting

errors like

Error while decoding stream #0:0: Invalid argument1:06:45.20 
bitrate=3054.0kbits/s dup=0 drop=17

    Last message repeated 33 times

stream works but sound is lost :(

pls explain to me how can i fix this ?

___
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] Error message when combining -vf and -af in command line

2019-03-13 Thread Christian Ebert

* Kieran O'Leary on Wednesday, March 13, 2019 at 15:27:21 +:

It appears that this is ticket 7712: https://trac.ffmpeg.org/ticket/7712


Ah, right, for some reaseon I didn't catch that when searching the bug
tracker.


and it was introduced here: 
https://github.com/FFmpeg/FFmpeg/commit/301cee61fa61c55b1c178ebfbc590872e8b033e6
 as an attempt to fix an existing bug: https://trac.ffmpeg.org/ticket/4184


Indeed, I kind of guessed that this is meant to warn about
duplicate -vf or -af.

--
LAST SHIP HOME
Die Weltumsegelung der Peter von Danzig
Ein Film von Michael Weber und Christian Ebert
--->> https://lastshiphome.de
___
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] Error message when combining -vf and -af in command line

2019-03-13 Thread Kieran O'Leary
It appears that this is ticket 7712: https://trac.ffmpeg.org/ticket/7712 and it 
was introduced here: 
https://github.com/FFmpeg/FFmpeg/commit/301cee61fa61c55b1c178ebfbc590872e8b033e6
 as an attempt to fix an existing bug: https://trac.ffmpeg.org/ticket/4184 

Best,

Kieran.
___
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] Error message when combining -vf and -af in command line

2019-03-13 Thread Christian Ebert

Hi,

Using -vf and -af in 1 command results in this error message:

Only '-vf scale' read, ignoring remaining -vf options: Use ',' to separate 
filters
Only '-af aresample' read, ignoring remaining -af options: Use ',' to separate 
filters

The message does not have any consequences.

Happens also with -filter:v plus -filter:a

Does not happen with -filter_complex

Does this mean that -vf plus -af is deprecated? Or is it a bug?

ffmpeg -i BigBuckBunny_640x360.m4v -vf scale -af aresample out.mpeg
ffmpeg version N-93330-g7ff89574c7 Copyright (c) 2000-2019 the FFmpeg developers
 built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
 configuration: --enable-gpl --enable-nonfree --enable-shared --enable-openssl 
--enable-pic --enable-libspeex --enable-libopus --enable-libfdk-aac 
--enable-libx265 --enable-libx264 --enable-libmp3lame --enable-libtheora 
--enable-libvorbis --enable-libvpx --enable-libvidstab --enable-libfreetype 
--enable-libzimg --enable-libass --extra-cflags=-I/sw/include 
--extra-libs='-L/sw/lib -L/sw/lib/freetype219/lib -L/sw/lib/gcc7/lib'
 libavutil  56. 26.100 / 56. 26.100
 libavcodec 58. 47.103 / 58. 47.103
 libavformat58. 26.101 / 58. 26.101
 libavdevice58.  6.101 / 58.  6.101
 libavfilter 7. 48.100 /  7. 48.100
 libswscale  5.  4.100 /  5.  4.100
 libswresample   3.  4.100 /  3.  4.100
 libpostproc55.  4.100 / 55.  4.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'BigBuckBunny_640x360.m4v':
 Metadata:
   major_brand : M4V 
   minor_version   : 1

   compatible_brands: M4V M4A mp42isom
   creation_time   : 2008-06-03T05:23:28.00Z
   copyright   : © 2008 Blender Foundation | www.bigbuckbunny.org
   title   : Big Buck Bunny
   artist  : Peach Open Movie Team
   composer: Sacha Goedegebure / Ton Roosendaal
   date: 2008
 Duration: 00:09:56.46, start: 0.00, bitrate: 1626 kb/s
   Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, 
fltp, 127 kb/s (default)
   Metadata:
 creation_time   : 2008-06-03T05:23:28.00Z
 handler_name: Apple Sound Media Handler
   Stream #0:1(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), 
yuv420p(tv, smpte170m/smpte170m/bt709), 640x359, 1495 kb/s, 24 fps, 24 tbr, 
2400 tbn, 4800 tbc (default)
   Metadata:
 creation_time   : 2008-06-03T05:23:28.00Z
 handler_name: Apple Video Media Handler
Only '-vf scale' read, ignoring remaining -vf options: Use ',' to separate 
filters
Only '-af aresample' read, ignoring remaining -af options: Use ',' to separate 
filters
Stream mapping:
 Stream #0:1 -> #0:0 (h264 (native) -> mpeg1video (native))
 Stream #0:0 -> #0:1 (aac (native) -> mp2 (native))
Press [q] to stop, [?] for help
[mpeg @ 0x7f84ee004e00] VBV buffer size not set, using default size of 230KB
If you want the mpeg file to be compliant to some specification
Like DVD, VCD or others, make sure you set the correct buffer size
Output #0, mpeg, to 'out.mpeg':
 Metadata:
   major_brand : M4V 
   minor_version   : 1

   compatible_brands: M4V M4A mp42isom
   date: 2008
   copyright   : © 2008 Blender Foundation | www.bigbuckbunny.org
   title   : Big Buck Bunny
   artist  : Peach Open Movie Team
   composer: Sacha Goedegebure / Ton Roosendaal
   encoder : Lavf58.26.101
   Stream #0:0(eng): Video: mpeg1video, yuv420p, 640x359, q=2-31, 200 kb/s, 24 
fps, 90k tbn, 24 tbc (default)
   Metadata:
 creation_time   : 2008-06-03T05:23:28.00Z
 handler_name: Apple Video Media Handler
 encoder : Lavc58.47.103 mpeg1video
   Side data:
 cpb: bitrate max/min/avg: 0/0/20 buffer size: 0 vbv_delay: -1
   Stream #0:1(eng): Audio: mp2, 44100 Hz, stereo, s16, 384 kb/s (default)
   Metadata:
 creation_time   : 2008-06-03T05:23:28.00Z
 handler_name: Apple Sound Media Handler
 encoder : Lavc58.47.103 mp2
frame=14316 fps=1218 q=31.0 Lsize=   47920kB time=00:09:56.46 bitrate= 
658.1kbits/s speed=50.7x
video:19500kB audio:27960kB subtitle:0kB other streams:0kB global headers:0kB 
muxing overhead: 0.968647%


TIA

Christian

--
LAST SHIP HOME
Die Weltumsegelung der Peter von Danzig
Ein Film von Michael Weber und Christian Ebert
--->> https://lastshiphome.de
___
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] Error while building recent FFmpeg from source

2019-03-07 Thread Lou Logan
On Thu, Mar 7, 2019, at 4:16 AM, Venkateswaran.S wrote:
> Hi Team,
> 
> I'm building FFmpeg from below github source.
> https://github.com/FFmpeg/FFmpeg.git
> 
> Configure script :
> ./configure --enable-gpl --enable-version3 --disable-static --enable-shared
> --enable-small --enable-avisynth --enable-chromaprint --enable-frei0r
> --enable-gmp --enable-gnutls --enable-ladspa --enable-libaom
> --enable-libass --enable-libcaca --enable-libcdio --enable-libcodec2
> --enable-libfontconfig --enable-libfreetype --enable-libfribidi
> --enable-libgme --enable-libgsm --enable-libjack --enable-libmodplug
> --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopenmpt
> --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband
> --enable-librtmp --enable-libshine --enable-libsmbclient --enable-libsnappy
> --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtesseract
> --enable-libtheora --enable-libtwolame --enable-libv4l2
> --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
> --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
> --enable-libxvid --enable-libxml2 --enable-libzmq --enable-libzvbi
> --enable-lv2 --enable-libmysofa --enable-openal --enable-opencl
> --enable-opengl --enable-libdrm

Why are you enabling so much stuff? Are you really going to use gsm, modplug, 
amr, etc? Seems like a waste of time and effort. Just enable what you need.
___
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] Error while building recent FFmpeg from source

2019-03-07 Thread Moritz Barsnick
On Thu, Mar 07, 2019 at 14:38:30 +0100, Paul B Mahol wrote:
> On 3/7/19, Venkateswaran.S  wrote:
> > I'hv libmysofa0 latest version - 0.6, also I've installed libmysofa-dev and
> > libmysofa-utils. I'm using Ubuntu 18.04 OS.
> >
> 
> No you are not using latest version.

In other words, that API mysofa_neighborhood_init_withstepdefine() is
available on git master of libmysofa, but not in a release.

Since libmysofa seems not to bump their (API) version macros properly
(I see some 0.5.1, last changed 2 years ago), ffmpeg's configure should
probably check for this particular API, instead of failing during
build.

Moritz
___
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] Error while building recent FFmpeg from source

2019-03-07 Thread Paul B Mahol
On 3/7/19, Venkateswaran.S  wrote:
> I'hv libmysofa0 latest version - 0.6, also I've installed libmysofa-dev and
> libmysofa-utils. I'm using Ubuntu 18.04 OS.
>

No you are not using latest version.

> On Thu, Mar 7, 2019 at 6:51 PM Paul B Mahol  wrote:
>
>> On 3/7/19, Venkateswaran.S  wrote:
>> > Hi Team,
>> >
>> > I'm building FFmpeg from below github source.
>> > https://github.com/FFmpeg/FFmpeg.git
>> >
>> > Configure script :
>> > ./configure --enable-gpl --enable-version3 --disable-static
>> --enable-shared
>> > --enable-small --enable-avisynth --enable-chromaprint --enable-frei0r
>> > --enable-gmp --enable-gnutls --enable-ladspa --enable-libaom
>> > --enable-libass --enable-libcaca --enable-libcdio --enable-libcodec2
>> > --enable-libfontconfig --enable-libfreetype --enable-libfribidi
>> > --enable-libgme --enable-libgsm --enable-libjack --enable-libmodplug
>> > --enable-libmp3lame --enable-libopencore-amrnb
>> > --enable-libopencore-amrwb
>> > --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopenmpt
>> > --enable-libopus --enable-libpulse --enable-librsvg
>> --enable-librubberband
>> > --enable-librtmp --enable-libshine --enable-libsmbclient
>> --enable-libsnappy
>> > --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtesseract
>> > --enable-libtheora --enable-libtwolame --enable-libv4l2
>> > --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
>> > --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
>> > --enable-libxvid --enable-libxml2 --enable-libzmq --enable-libzvbi
>> > --enable-lv2 --enable-libmysofa --enable-openal --enable-opencl
>> > --enable-opengl --enable-libdrm
>> >
>> > I'm getting below error while make.
>> >
>> > libavfilter/af_sofalizer.c: In function ‘preload_sofa’:
>> > libavfilter/af_sofalizer.c:164:32: error: implicit declaration of
>> function
>> > ‘mysofa_neighborhood_init_withstepdefine’; did you mean
>> > ‘mysofa_neighborhood_init’? [-Werror=implicit-function-declaration]
>> >  s->sofa.neighborhood =
>> > mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
>> > ^~~
>> > mysofa_neighborhood_init
>> > libavfilter/af_sofalizer.c:164:30: warning: assignment makes pointer
>> > from
>> > integer without a cast [-Wint-conversion]
>> >  s->sofa.neighborhood =
>> > mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
>> >   ^
>> > cc1: some warnings being treated as errors
>> > ffbuild/common.mak:60: recipe for target 'libavfilter/af_sofalizer.o'
>> failed
>> > make: *** [libavfilter/af_sofalizer.o] Error 1
>> >
>>
>> Build with latest libmysofa library.
>>
>> > Regards,
>> > Venkateswaran.S
>> > ___
>> > 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 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] Error while building recent FFmpeg from source

2019-03-07 Thread Venkateswaran.S
I'hv libmysofa0 latest version - 0.6, also I've installed libmysofa-dev and
libmysofa-utils. I'm using Ubuntu 18.04 OS.

On Thu, Mar 7, 2019 at 6:51 PM Paul B Mahol  wrote:

> On 3/7/19, Venkateswaran.S  wrote:
> > Hi Team,
> >
> > I'm building FFmpeg from below github source.
> > https://github.com/FFmpeg/FFmpeg.git
> >
> > Configure script :
> > ./configure --enable-gpl --enable-version3 --disable-static
> --enable-shared
> > --enable-small --enable-avisynth --enable-chromaprint --enable-frei0r
> > --enable-gmp --enable-gnutls --enable-ladspa --enable-libaom
> > --enable-libass --enable-libcaca --enable-libcdio --enable-libcodec2
> > --enable-libfontconfig --enable-libfreetype --enable-libfribidi
> > --enable-libgme --enable-libgsm --enable-libjack --enable-libmodplug
> > --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
> > --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopenmpt
> > --enable-libopus --enable-libpulse --enable-librsvg
> --enable-librubberband
> > --enable-librtmp --enable-libshine --enable-libsmbclient
> --enable-libsnappy
> > --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtesseract
> > --enable-libtheora --enable-libtwolame --enable-libv4l2
> > --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
> > --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
> > --enable-libxvid --enable-libxml2 --enable-libzmq --enable-libzvbi
> > --enable-lv2 --enable-libmysofa --enable-openal --enable-opencl
> > --enable-opengl --enable-libdrm
> >
> > I'm getting below error while make.
> >
> > libavfilter/af_sofalizer.c: In function ‘preload_sofa’:
> > libavfilter/af_sofalizer.c:164:32: error: implicit declaration of
> function
> > ‘mysofa_neighborhood_init_withstepdefine’; did you mean
> > ‘mysofa_neighborhood_init’? [-Werror=implicit-function-declaration]
> >  s->sofa.neighborhood =
> > mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
> > ^~~
> > mysofa_neighborhood_init
> > libavfilter/af_sofalizer.c:164:30: warning: assignment makes pointer from
> > integer without a cast [-Wint-conversion]
> >  s->sofa.neighborhood =
> > mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
> >   ^
> > cc1: some warnings being treated as errors
> > ffbuild/common.mak:60: recipe for target 'libavfilter/af_sofalizer.o'
> failed
> > make: *** [libavfilter/af_sofalizer.o] Error 1
> >
>
> Build with latest libmysofa library.
>
> > Regards,
> > Venkateswaran.S
> > ___
> > 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 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] Error while building recent FFmpeg from source

2019-03-07 Thread Paul B Mahol
On 3/7/19, Venkateswaran.S  wrote:
> Hi Team,
>
> I'm building FFmpeg from below github source.
> https://github.com/FFmpeg/FFmpeg.git
>
> Configure script :
> ./configure --enable-gpl --enable-version3 --disable-static --enable-shared
> --enable-small --enable-avisynth --enable-chromaprint --enable-frei0r
> --enable-gmp --enable-gnutls --enable-ladspa --enable-libaom
> --enable-libass --enable-libcaca --enable-libcdio --enable-libcodec2
> --enable-libfontconfig --enable-libfreetype --enable-libfribidi
> --enable-libgme --enable-libgsm --enable-libjack --enable-libmodplug
> --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopenmpt
> --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband
> --enable-librtmp --enable-libshine --enable-libsmbclient --enable-libsnappy
> --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtesseract
> --enable-libtheora --enable-libtwolame --enable-libv4l2
> --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
> --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
> --enable-libxvid --enable-libxml2 --enable-libzmq --enable-libzvbi
> --enable-lv2 --enable-libmysofa --enable-openal --enable-opencl
> --enable-opengl --enable-libdrm
>
> I'm getting below error while make.
>
> libavfilter/af_sofalizer.c: In function ‘preload_sofa’:
> libavfilter/af_sofalizer.c:164:32: error: implicit declaration of function
> ‘mysofa_neighborhood_init_withstepdefine’; did you mean
> ‘mysofa_neighborhood_init’? [-Werror=implicit-function-declaration]
>  s->sofa.neighborhood =
> mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
> ^~~
> mysofa_neighborhood_init
> libavfilter/af_sofalizer.c:164:30: warning: assignment makes pointer from
> integer without a cast [-Wint-conversion]
>  s->sofa.neighborhood =
> mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
>   ^
> cc1: some warnings being treated as errors
> ffbuild/common.mak:60: recipe for target 'libavfilter/af_sofalizer.o' failed
> make: *** [libavfilter/af_sofalizer.o] Error 1
>

Build with latest libmysofa library.

> Regards,
> Venkateswaran.S
> ___
> 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] Error while building recent FFmpeg from source

2019-03-07 Thread Venkateswaran.S
Hi Team,

I'm building FFmpeg from below github source.
https://github.com/FFmpeg/FFmpeg.git

Configure script :
./configure --enable-gpl --enable-version3 --disable-static --enable-shared
--enable-small --enable-avisynth --enable-chromaprint --enable-frei0r
--enable-gmp --enable-gnutls --enable-ladspa --enable-libaom
--enable-libass --enable-libcaca --enable-libcdio --enable-libcodec2
--enable-libfontconfig --enable-libfreetype --enable-libfribidi
--enable-libgme --enable-libgsm --enable-libjack --enable-libmodplug
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopenmpt
--enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband
--enable-librtmp --enable-libshine --enable-libsmbclient --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libssh --enable-libtesseract
--enable-libtheora --enable-libtwolame --enable-libv4l2
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxvid --enable-libxml2 --enable-libzmq --enable-libzvbi
--enable-lv2 --enable-libmysofa --enable-openal --enable-opencl
--enable-opengl --enable-libdrm

I'm getting below error while make.

libavfilter/af_sofalizer.c: In function ‘preload_sofa’:
libavfilter/af_sofalizer.c:164:32: error: implicit declaration of function
‘mysofa_neighborhood_init_withstepdefine’; did you mean
‘mysofa_neighborhood_init’? [-Werror=implicit-function-declaration]
 s->sofa.neighborhood =
mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
^~~
mysofa_neighborhood_init
libavfilter/af_sofalizer.c:164:30: warning: assignment makes pointer from
integer without a cast [-Wint-conversion]
 s->sofa.neighborhood =
mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
  ^
cc1: some warnings being treated as errors
ffbuild/common.mak:60: recipe for target 'libavfilter/af_sofalizer.o' failed
make: *** [libavfilter/af_sofalizer.o] Error 1

Regards,
Venkateswaran.S
___
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] Error read format to my program.

2019-02-24 Thread Carl Eugen Hoyos
2019-02-22 17:19 GMT+01:00, ABDALLAH Moussa :

> I don't know if it's the good place to ask that but I have a problem with my
> program. It's a program to try to save a stream video from an ip camera to a
> file. When I try to execute my program this is the error that's returns on
> the console :
>
> [root@localhost Téléchargements]# ./my_streamer
> [ingenient @ 0xbeec60] Could not find codec parameters for stream 0

This indicates that either you don't feed the input data into the demuxer
or that your libavformat version is old.

[...]

> Is there a way to force the program to read a mjpeg video
> if it don't find it ?

Note that (as you can see from the console output you posted)
that your input is not mjpeg format.

Please use the correct mailing list, 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] Error read format to my program.

2019-02-24 Thread ABDALLAH Moussa
Up

> Le 22 févr. 2019 à 17:19, ABDALLAH Moussa  a 
> écrit :
> 
> Hello,
> 
> I don't know if it's the good place to ask that but I have a problem with my 
> program. It's a program to try to save a stream video from an ip camera to a 
> file. When I try to execute my program this is the error that's returns on 
> the console :
> 
> [root@localhost Téléchargements]# ./my_streamer
> [ingenient @ 0xbeec60] Could not find codec parameters for stream 0 (Video: 
> mjpeg, none(bt470bg/unknown/unknown)): unspecified size
> Consider increasing the value for the 'analyzeduration' and 'probesize' 
> options
> [root@localhost Téléchargements]#
> 
> Is there a way to force the program to read a mjpeg video if it don't find it 
> ?
> 
> When I write the command line bellow everythings works fine :
> 
> [root@localhost Téléchargements]# ffmpeg -i 
> http://192.9.200.121/ipcam/mjpeg.cgi -y -map 0 -t 5 -c copy -f matroska  
> _capture.mkv
> ffmpeg version N-48170-gc8bc9d1380-static https://johnvansickle.com/ffmpeg/  
> Copyright (c) 2000-2019 the FFmpeg developers
>  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
>  configuration: --enable-gpl --enable-version3 --enable-static 
> --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio 
> --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp 
> --enable-gray --enable-libaom --enable-libfribidi --enable-libass 
> --enable-libvmaf --enable-libfreetype --enable-libmp3lame 
> --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg 
> --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis 
> --enable-libopus --enable-libtheora --enable-libvidstab 
> --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 
> --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid 
> --enable-libzvbi --enable-libzimg
>  libavutil  56. 26.100 / 56. 26.100
>  libavcodec 58. 47.102 / 58. 47.102
>  libavformat58. 26.101 / 58. 26.101
>  libavdevice58.  6.101 / 58.  6.101
>  libavfilter 7. 48.100 /  7. 48.100
>  libswscale  5.  4.100 /  5.  4.100
>  libswresample   3.  4.100 /  3.  4.100
>  libpostproc55.  4.100 / 55.  4.100
> Input #0, mpjpeg, from 'http://192.9.200.121/ipcam/mjpeg.cgi':
>  Duration: N/A, bitrate: N/A
>Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, 
> bt470bg/unknown/unknown), 1920x1080 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
> Output #0, matroska, to '_capture.mkv':
>  Metadata:
>encoder : Lavf58.26.101
>Stream #0:0: Video: mjpeg (Baseline) (MJPG / 0x47504A4D), yuvj420p(pc, 
> bt470bg/unknown/unknown), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 tbr, 1k 
> tbn, 25 tbc
> Stream mapping:
>  Stream #0:0 -> #0:0 (copy)
> Press [q] to stop, [?] for help
> frame=  125 fps= 23 q=-1.0 Lsize=   16528kB time=00:00:04.96 
> bitrate=27292.4kbits/s speed=0.914x
> video:16521kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB 
> muxing overhead: 0.039828%
> [root@localhost Téléchargements]#
> 
> Thanks a lot for your help !
> 
> This is my source (I take it on the web it is only to test to save a stream 
> video to a file like I said before):
> 
> #include 
> #include 
> #include 
> #include 
> #include 
> 
> extern "C" {
> #include 
> #include 
> #include 
> #include 
> }
> 
> int main(int argc, char** argv) {
> 
>// Open the initial context variables that are needed
>SwsContext *img_convert_ctx;
>AVFormatContext* format_ctx = avformat_alloc_context();
>AVCodecContext* codec_ctx = NULL;
>int video_stream_index;
> 
>// Register everything
>av_register_all();
>avformat_network_init();
> 
>//open RTSP
>if (avformat_open_input(_ctx, 
> "http://192.9.200.121/ipcam/mjpeg.cgi;,
>NULL, NULL) != 0) {
>return EXIT_FAILURE;
>}
> 
>if (avformat_find_stream_info(format_ctx, NULL) < 0) {
>return EXIT_FAILURE;
>}
> 
>//search video stream
>for (int i = 0; i < format_ctx->nb_streams; i++) {
>if (format_ctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO)
>video_stream_index = i;
>}
> 
>AVPacket packet;
>av_init_packet();
> 
>//open output file
>AVFormatContext* output_ctx = avformat_alloc_context();
> 
>AVStream* stream = NULL;
>int cnt = 0;
> 
>//start reading packets from stream and write them to file
>av_read_play(format_ctx);//play RTSP
> 
>// Get the codec
>AVCodec *codec = NULL;
>codec = avcodec_find_decoder(AV_CODEC_ID_H264);
>if (!codec) {
>exit(1);
>}
> 
>// Add this to allocate the context by codec
>codec_ctx = avcodec_alloc_context3(codec);
> 
>avcodec_get_context_defaults3(codec_ctx, codec);
>avcodec_copy_context(codec_ctx, 
> format_ctx->streams[video_stream_index]->codec);
>std::ofstream output_file;
> 
>if (avcodec_open2(codec_ctx, codec, NULL) < 0)
>exit(1);
> 
>img_convert_ctx = 

[FFmpeg-user] Error read format to my program.

2019-02-22 Thread ABDALLAH Moussa
Hello,

I don't know if it's the good place to ask that but I have a problem with my 
program. It's a program to try to save a stream video from an ip camera to a 
file. When I try to execute my program this is the error that's returns on the 
console :

[root@localhost Téléchargements]# ./my_streamer
[ingenient @ 0xbeec60] Could not find codec parameters for stream 0 (Video: 
mjpeg, none(bt470bg/unknown/unknown)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[root@localhost Téléchargements]#

Is there a way to force the program to read a mjpeg video if it don't find it ?

When I write the command line bellow everythings works fine :

[root@localhost Téléchargements]# ffmpeg -i 
http://192.9.200.121/ipcam/mjpeg.cgi -y -map 0 -t 5 -c copy -f matroska  
_capture.mkv
ffmpeg version N-48170-gc8bc9d1380-static https://johnvansickle.com/ffmpeg/  
Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug 
--disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 
--enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-gray 
--enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf 
--enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband 
--enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus 
--enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx 
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 
--enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil  56. 26.100 / 56. 26.100
  libavcodec 58. 47.102 / 58. 47.102
  libavformat58. 26.101 / 58. 26.101
  libavdevice58.  6.101 / 58.  6.101
  libavfilter 7. 48.100 /  7. 48.100
  libswscale  5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc55.  4.100 / 55.  4.100
Input #0, mpjpeg, from 'http://192.9.200.121/ipcam/mjpeg.cgi':
  Duration: N/A, bitrate: N/A
Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, 
bt470bg/unknown/unknown), 1920x1080 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
Output #0, matroska, to '_capture.mkv':
  Metadata:
encoder : Lavf58.26.101
Stream #0:0: Video: mjpeg (Baseline) (MJPG / 0x47504A4D), yuvj420p(pc, 
bt470bg/unknown/unknown), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 tbr, 1k tbn, 
25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame=  125 fps= 23 q=-1.0 Lsize=   16528kB time=00:00:04.96 
bitrate=27292.4kbits/s speed=0.914x
video:16521kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB 
muxing overhead: 0.039828%
[root@localhost Téléchargements]#

Thanks a lot for your help !

This is my source (I take it on the web it is only to test to save a stream 
video to a file like I said before):

#include 
#include 
#include 
#include 
#include 

extern "C" {
#include 
#include 
#include 
#include 
}

int main(int argc, char** argv) {

// Open the initial context variables that are needed
SwsContext *img_convert_ctx;
AVFormatContext* format_ctx = avformat_alloc_context();
AVCodecContext* codec_ctx = NULL;
int video_stream_index;

// Register everything
av_register_all();
avformat_network_init();

//open RTSP
if (avformat_open_input(_ctx, "http://192.9.200.121/ipcam/mjpeg.cgi;,
NULL, NULL) != 0) {
return EXIT_FAILURE;
}

if (avformat_find_stream_info(format_ctx, NULL) < 0) {
return EXIT_FAILURE;
}

//search video stream
for (int i = 0; i < format_ctx->nb_streams; i++) {
if (format_ctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO)
video_stream_index = i;
}

AVPacket packet;
av_init_packet();

//open output file
AVFormatContext* output_ctx = avformat_alloc_context();

AVStream* stream = NULL;
int cnt = 0;

//start reading packets from stream and write them to file
av_read_play(format_ctx);//play RTSP

// Get the codec
AVCodec *codec = NULL;
codec = avcodec_find_decoder(AV_CODEC_ID_H264);
if (!codec) {
exit(1);
}

// Add this to allocate the context by codec
codec_ctx = avcodec_alloc_context3(codec);

avcodec_get_context_defaults3(codec_ctx, codec);
avcodec_copy_context(codec_ctx, 
format_ctx->streams[video_stream_index]->codec);
std::ofstream output_file;

if (avcodec_open2(codec_ctx, codec, NULL) < 0)
exit(1);

img_convert_ctx = sws_getContext(codec_ctx->width, codec_ctx->height,
codec_ctx->pix_fmt, codec_ctx->width, codec_ctx->height, 
AV_PIX_FMT_RGB24,
SWS_BICUBIC, NULL, NULL, NULL);

int size = avpicture_get_size(AV_PIX_FMT_YUV420P, codec_ctx->width,
codec_ctx->height);
uint8_t* 

Re: [FFmpeg-user] error with hero 7 white gopro audio stream

2018-12-27 Thread Harry Levinson
It seems that even though there is an error message, the audio stream is
copied to the output file with no perceptible loss.  I thought I had a
different outcome before I posted.

As far as hardware acceleration (hwaccel) is concerned, I found a couple of
useful links and have successfully used my macbook air hardware with the
following command.

$ ffmpeg -y -threads 2 -i GH010087.MP4 -vf
"lenscorrection=cx=0.5:cy=0.5:k1=-0.211:k2=0.0"  -vcodec h264_videotoolbox
-b:v 1K  out.mp4

Adjust the bitrate (-b:v) and threads as appropriate for your desired
results.

Elsewhere (
https://stackoverflow.com/questions/30832248/is-there-a-way-to-remove-gopro-fisheye-using-ffmpeg)
I found recommended values for GoPro correction to be k1=-0.227 and
k2=-0.022. After running a test grid image through ffmpeg at different
settings I settled on the settings in the example command.

I found these two links helpful for figuring out a working use of hardware
acceleration.
https://forum.videohelp.com/threads/386398-ffmpeg-videotoolbox-options
https://www.reddit.com/r/ffmpeg/comments/59qglv/your_experiences_with_h264_videotoolbox/

I need to do some more research to see if opencl can be used. When I tried,
it errored out but so did my attempts with videotoolbox until I found the
above links for guidance.


On Wed, Dec 26, 2018 at 7:58 PM Harry Levinson  wrote:

> I am trying to use ffmpeg to defish my gopro videos on a mac.  The lens
> correction is working reasonably well though eventually I'd like to have
> hardware acceleration working, but first I am having a more basic problem.
> When ffmpeg gets to the audio stream it complains about the audio stream.
>
> Error while decoding stream #0:1: Invalid argument:00:47.31
>
> I tried a few stream mapping options but no success.  Below is the most
> basic command and resulting output. I tried another MP4 file and it worked
> fine.
>
> Thanks,
> Harry
>
>
> $ ffmpeg  -i GH010087.MP4out.MP4
> ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
>   built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
>   configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1_1 --enable-shared
> --enable-pthreads --enable-version3 --enable-hardcoded-tables
> --enable-avresample --cc=clang --host-cflags= --host-ldflags=
> --enable-ffplay --enable-gpl --enable-libmp3lame --enable-libopus
> --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx
> --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma
> --enable-opencl --enable-videotoolbox
>   libavutil  56. 22.100 / 56. 22.100
>   libavcodec 58. 35.100 / 58. 35.100
>   libavformat58. 20.100 / 58. 20.100
>   libavdevice58.  5.100 / 58.  5.100
>   libavfilter 7. 40.101 /  7. 40.101
>   libavresample   4.  0.  0 /  4.  0.  0
>   libswscale  5.  3.100 /  5.  3.100
>   libswresample   3.  3.100 /  3.  3.100
>   libpostproc55.  3.100 / 55.  3.100
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'GH010087.MP4':
>   Metadata:
> major_brand : mp41
> minor_version   : 538120216
> compatible_brands: mp41
> creation_time   : 2018-02-08T17:33:57.00Z
> firmware: H18.02.01.21.00
>   Duration: 00:00:47.49, start: 0.00, bitrate: 30131 kb/s
> Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc,
> smpte170m), 1920x1440, 30025 kb/s, 30 fps, 30 tbr, 90k tbn, 60 tbc (default)
> Metadata:
>   creation_time   : 2018-02-08T17:33:57.00Z
>   handler_name: GoPro AVC
>   encoder : GoPro AVC encoder
>   timecode: 00:23:00:11
> Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
> stereo, fltp, 127 kb/s (default)
> Metadata:
>   creation_time   : 2018-02-08T17:33:57.00Z
>   handler_name: GoPro AAC
>   timecode: 00:23:00:11
> Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
> Metadata:
>   creation_time   : 2018-02-08T17:33:57.00Z
>   handler_name: GoPro TCD
>   timecode: 00:23:00:11
> Stream #0:3(eng): Data: bin_data (gpmd / 0x646D7067), 30 kb/s (default)
> Metadata:
>   creation_time   : 2018-02-08T17:33:57.00Z
>   handler_name: GoPro MET
> Stream #0:4(eng): Data: none (fdsc / 0x63736466), 10 kb/s (default)
> Metadata:
>   creation_time   : 2018-02-08T17:33:57.00Z
>   handler_name: GoPro SOS
> File 'out.MP4' already exists. Overwrite ? [y/N] Stream mapping:
>   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
>   Stream #0:1 -> #0:1 (aac (native) -> aac (native))
> Press [q] to stop, [?] for help
> [libx264 @ 0x7fa020818200] using cpu capabilities: MMX2 SSE2Fast SSSE3
> SSE4.2 AVX FMA3 BMI2 AVX2
> [libx264 @ 0x7fa020818200] profile High, level 5.0
> [libx264 @ 0x7fa020818200] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC
> codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options:
> cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 

Re: [FFmpeg-user] Error with mp4 files moov atom (\moov\trak\mdia\minf\stbl\sgpd)

2018-12-13 Thread Karen Norton
On Thu, Dec 13, 2018 at 3:40 PM Moritz Barsnick  wrote:

> Hi Karen,
>
> On Thu, Dec 13, 2018 at 15:04:15 -0500, Karen Norton wrote:
>
> > I only see the error when opening the output files with MP4 Inspector
> > otherwise the files play fine (ex: in VLC) and show no issues in
> > mediainfo.
>
> So basically, it's not an issue at all, *except* for MP4 Inspector?
>
> > I wouldn't have even know this was an issue because everything appears
> fine
> > with V90893. I only discovered this because I just downloaded MP4
> Inspector
> > to try.
>
> See what I mean. ;-)
>
> > The exact error in MP4 Inspector is:
> > Failed on reading box header, parent box path
> > "\moov\trak\mdia\minf\stbl\sgpd", stream position "0x1C7362678B6399",
> > reason "The box size 0 exceeds the remaining file length
> > -8,008,165,506,864,740." (I have attached a screenshot of the error).
>
> I don't want to seem rude - but why would you trust a tool which
> reports negative file sizes?
>
> In other words: Why should MP4 Inspector be more correct than ffmpeg?
> Perhaps they have a bugfix release? ;-)
>
> Now, seriously:
>
> > ffmpeg 90893 (not working in MP4 Inspector):
> > Command: ffmpeg -i inputs01e01.mp4 -metadata media_type="10" -metadata
> > title="Law & Order" -metadata show="Prescription For Death" -metadata
> > season_number="1" -metadata genre="Crime, Drama, Mystery" -metadata
> > episode_id="66209" -metadata episode_sort="1" -metadata:s:a:0
> language=eng
> > -c:v libx264 -vf hflip -c:a copy outputs01e01.mp4
>
> Can you create such files ("broken" for MP4 Inspector) with arbitrary
> input? I.e. with
> $ ffmpeg -f lavfi -i testsrc -t 1 -c:v libx264 output.mp4
>
> Or does it depend on your particular input?
>
> Too bad MP4 Inspector doesn't run under Wine, otherwise I'd try to
> reproduce...
>
> Cheers,
> Moritz


Hey Moritz,

Thanks for the speedy reply. I guess I should have said that this isn't
necessarily an ffmpeg issue it's just that ffmpeg N-85588 seems to fix that
atom (whether it's supposed to or not) but N-90893 doesn't so I'm curious
as to what has changed between the versions in so far as how the moov atom
is handled or is the error not even moov related?

It's hard for me to know exactly what is going on with the broken files
because MP4 Inspector won't even open them. In the few tests I ran with
different files where the input file already has the error I found that all
of them still have the error in the output file using N-90893. If I take
the same input files and run the same command under N-85588 then the moov
atom seems to be fixed and the output files open fine in MP4 Inspector.

I have only recently started going deep into video files to understand how
they are constructed and it was recommended in some posts on other forums
that MP4 Inspector is a good app to see the innards of the files which is
why I started to use it. There was another app that was mentioned in the
forums called atomic parsley. I haven't tried that yet.

You  mentioned whether I can create broken files. I'm assuming I was
supposed to try that command line exactly as you provided? If so the output
file opens fine when created under N-90893.

Cheers.


K
___
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] Error with mp4 files moov atom (\moov\trak\mdia\minf\stbl\sgpd)

2018-12-13 Thread Moritz Barsnick
Hi Karen,

On Thu, Dec 13, 2018 at 15:04:15 -0500, Karen Norton wrote:

> I only see the error when opening the output files with MP4 Inspector
> otherwise the files play fine (ex: in VLC) and show no issues in
> mediainfo.

So basically, it's not an issue at all, *except* for MP4 Inspector?

> I wouldn't have even know this was an issue because everything appears fine
> with V90893. I only discovered this because I just downloaded MP4 Inspector
> to try.

See what I mean. ;-)

> The exact error in MP4 Inspector is:
> Failed on reading box header, parent box path
> "\moov\trak\mdia\minf\stbl\sgpd", stream position "0x1C7362678B6399",
> reason "The box size 0 exceeds the remaining file length
> -8,008,165,506,864,740." (I have attached a screenshot of the error).

I don't want to seem rude - but why would you trust a tool which
reports negative file sizes?

In other words: Why should MP4 Inspector be more correct than ffmpeg?
Perhaps they have a bugfix release? ;-)

Now, seriously:

> ffmpeg 90893 (not working in MP4 Inspector):
> Command: ffmpeg -i inputs01e01.mp4 -metadata media_type="10" -metadata
> title="Law & Order" -metadata show="Prescription For Death" -metadata
> season_number="1" -metadata genre="Crime, Drama, Mystery" -metadata
> episode_id="66209" -metadata episode_sort="1" -metadata:s:a:0 language=eng
> -c:v libx264 -vf hflip -c:a copy outputs01e01.mp4

Can you create such files ("broken" for MP4 Inspector) with arbitrary
input? I.e. with
$ ffmpeg -f lavfi -i testsrc -t 1 -c:v libx264 output.mp4

Or does it depend on your particular input?

Too bad MP4 Inspector doesn't run under Wine, otherwise I'd try to
reproduce...

Cheers,
Moritz
___
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] Error compiling ffmpeg 4.1 with librtmp

2018-11-19 Thread Dmitry Menshikov
Hi! Check the following solution for the similar issue.

https://stackoverflow.com/questions/12629042/g-4-6-real-error-unrecognized-option-r

пн, 19 нояб. 2018 г., 23:54 Eduardo Alarcón ealarc...@gmail.com:

> Hello,
> i'm trying to compile ffmpeg various libs, including librtmp but i have
> been unable to. I have done it before, but this is a new system
> The last error is always
> ERROR: librtmp not found using pkg-config
>
> So i checked the config.log and the last lines are:
> require_pkg_config librtmp librtmp librtmp/rtmp.h RTMP_Socket
> check_pkg_config librtmp librtmp librtmp/rtmp.h RTMP_Socket
> test_pkg_config librtmp librtmp librtmp/rtmp.h RTMP_Socket
> pkg-config --exists --print-errors librtmp
> check_func_headers librtmp/rtmp.h RTMP_Socket -I/usr/include/p11-kit-1
> -lrtmp -lz -lgmp -lgnutls -lz -R/usr/lib/x86_64-linux-gnu -lp11-kit -lgmp
> -ltasn1 -lidn -lp11-kit -lz -lhogweed -lgmp -lnettle
> test_ld cc -I/usr/include/p11-kit-1 -lrtmp -lz -lgmp -lgnutls -lz
> -R/usr/lib/x86_64-linux-gnu -lp11-kit -lgmp -ltasn1 -lidn -lp11-kit -lz
> -lhogweed -lgmp -lnettle
> test_cc -I/usr/include/p11-kit-1 -R/usr/lib/x86_64-linux-gnu
> BEGIN /tmp/ffconf.LARHQ5JE/test.c
> 1 #include 
> 2 #include 
> 3 long check_RTMP_Socket(void) { return (long) RTMP_Socket; }
> 4 int main(void) { int ret = 0;
> 5 ret |= ((intptr_t)check_RTMP_Socket) & 0x;
> 6 return ret; }
> END /tmp/ffconf.LARHQ5JE/test.c
> gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC
> -I/root/ffmpeg_build/include -std=c11 -fomit-frame-pointer -fPIC -pthread
> -I/usr/include/harfbuzz -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
> -I/usr/include/fribidi -I/usr/include/freetype2
> -I/root/ffmpeg_build/include -I/usr/include/freetype2
> -I/root/ffmpeg_build/include/opus -I/root/ffmpeg_build/include/opus
> -I/usr/include/p11-kit-1 -R/usr/lib/x86_64-linux-gnu -c -o
> /tmp/ffconf.LARHQ5JE/test.o /tmp/ffconf.LARHQ5JE/test.c
> gcc: error: unrecognized command line option '-R'; did you mean '-R'?
> ERROR: librtmp not found using pkg-config
>
> I think the cause is  *gcc: error: unrecognized command line option '-R';
> did you mean '-R'?*
> but i don't know how to solve it
>
> The configure options are:
> # ./configure --prefix=/root/ffmpeg_build --pkg-config-flags=--static
> --extra-cflags=-I/root/ffmpeg_build/include
> --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin
> --enable-openssl --enable-gpl --enable-libass --enable-libfdk-aac
> --enable-librtmp --enable-libmp3lame --enable-libtheora --enable-libvorbis
> --enable-libvpx --enable-libx264 --enable-libfreetype --enable-libopus
> --enable-nonfree
>
> Thanks in advance
> ___
> 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".

[FFmpeg-user] Error compiling ffmpeg 4.1 with librtmp

2018-11-19 Thread Eduardo Alarcón
Hello,
i'm trying to compile ffmpeg various libs, including librtmp but i have
been unable to. I have done it before, but this is a new system
The last error is always
ERROR: librtmp not found using pkg-config

So i checked the config.log and the last lines are:
require_pkg_config librtmp librtmp librtmp/rtmp.h RTMP_Socket
check_pkg_config librtmp librtmp librtmp/rtmp.h RTMP_Socket
test_pkg_config librtmp librtmp librtmp/rtmp.h RTMP_Socket
pkg-config --exists --print-errors librtmp
check_func_headers librtmp/rtmp.h RTMP_Socket -I/usr/include/p11-kit-1
-lrtmp -lz -lgmp -lgnutls -lz -R/usr/lib/x86_64-linux-gnu -lp11-kit -lgmp
-ltasn1 -lidn -lp11-kit -lz -lhogweed -lgmp -lnettle
test_ld cc -I/usr/include/p11-kit-1 -lrtmp -lz -lgmp -lgnutls -lz
-R/usr/lib/x86_64-linux-gnu -lp11-kit -lgmp -ltasn1 -lidn -lp11-kit -lz
-lhogweed -lgmp -lnettle
test_cc -I/usr/include/p11-kit-1 -R/usr/lib/x86_64-linux-gnu
BEGIN /tmp/ffconf.LARHQ5JE/test.c
1 #include 
2 #include 
3 long check_RTMP_Socket(void) { return (long) RTMP_Socket; }
4 int main(void) { int ret = 0;
5 ret |= ((intptr_t)check_RTMP_Socket) & 0x;
6 return ret; }
END /tmp/ffconf.LARHQ5JE/test.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC
-I/root/ffmpeg_build/include -std=c11 -fomit-frame-pointer -fPIC -pthread
-I/usr/include/harfbuzz -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/fribidi -I/usr/include/freetype2
-I/root/ffmpeg_build/include -I/usr/include/freetype2
-I/root/ffmpeg_build/include/opus -I/root/ffmpeg_build/include/opus
-I/usr/include/p11-kit-1 -R/usr/lib/x86_64-linux-gnu -c -o
/tmp/ffconf.LARHQ5JE/test.o /tmp/ffconf.LARHQ5JE/test.c
gcc: error: unrecognized command line option '-R'; did you mean '-R'?
ERROR: librtmp not found using pkg-config

I think the cause is  *gcc: error: unrecognized command line option '-R';
did you mean '-R'?*
but i don't know how to solve it

The configure options are:
# ./configure --prefix=/root/ffmpeg_build --pkg-config-flags=--static
--extra-cflags=-I/root/ffmpeg_build/include
--extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin
--enable-openssl --enable-gpl --enable-libass --enable-libfdk-aac
--enable-librtmp --enable-libmp3lame --enable-libtheora --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libfreetype --enable-libopus
--enable-nonfree

Thanks in advance
___
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] Error when downloading video via m3u8 playlist: Application provided duration...

2018-10-31 Thread Peter Wetz
I use the following command to download an m3u8-playlist.

ffmpeg.exe -i "
http://7dcdn.ivideo.sina.com.cn/7d.ivideo.sina.com.cn/app/record/subIndex/live_1713429_0_24864_1480654200_1480680600_web_sina_sd.m3u8?fid=1-1540912585486-1221-d4008b60bef4=1713429_null_1540978916089_3510_9060;
-c copy "outputtest.mp4"

I got the m3u8 file from this website:
http://video.sina.com.cn/l/p/1713429.html

During downloading, I get the following errors very often:
[mp4 @ 018137a6fb80] Application provided duration: 4446283915 /
timestamp: 4578421928 is out of range for mov/mp4 format

Furthermore I get two types of warnings:
1) [mp4 @ 018137a6fb80] "pts has no value"
2) [mp4 @ 018137a6fb80] Non-monotonous DTS in output stream 0:0;
previous: 8584539879, current: 29793240; changing to 8584539880. This may
result in incorrect timestamps in the output file.

The initial output after starting ffmpeg looks like this:
C:\Program Files (x86)\ffmpeg>ffmpeg.exe -i "
http://7dcdn.ivideo.sina.com.cn/7d.ivideo.sina.com.cn/app/record/subIndex/live_1713429_0_24864_1480654200_1480680600_web_sina_sd.m3u8?fid=1-1540912585486-1221-d4008b60bef4=1713429_null_1540978916089_3510_9060;
-c copy "outputtest.mp4"
ffmpeg version N-92308-g32d021cfa6 Copyright (c) 2000-2018 the FFmpeg
developers
  built with gcc 8.2.1 (GCC) 20181017
  configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
--enable-libbluray --enable-libfreetype --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
--enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2
--enable-libzimg --enable-lzma --enable-zlib --enable-gmp
--enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc
--enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom
--enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid
--enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2
--enable-avisynth
  libavutil  56. 21.100 / 56. 21.100
  libavcodec 58. 34.100 / 58. 34.100
  libavformat58. 19.102 / 58. 19.102
  libavdevice58.  4.106 / 58.  4.106
  libavfilter 7. 38.100 /  7. 38.100
  libswscale  5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc55.  2.100 / 55.  2.100
[hls,applehttp @ 0197a76da700] Opening '
http://7dcdn.ivideo.sina.com.cn/mtv.ivideo.sina.com.cn/live/24864_sd/1480656250.ts?record=1'
for reading
[hls,applehttp @ 0197a76da700] Opening '
http://7dcdn.ivideo.sina.com.cn/mtv.ivideo.sina.com.cn/live/24864_sd/1480656255.ts?record=1'
for reading
Input #0, hls,applehttp, from '
http://7dcdn.ivideo.sina.com.cn/7d.ivideo.sina.com.cn/app/record/subIndex/live_1713429_0_24864_1480654200_1480680600_web_sina_sd.m3u8?fid=1-1540912585486-1221-d4008b60bef4=1713429_null_1540978916089_3510_9060
':
  Duration: N/A, start: 2221.55, bitrate: N/A
  Program 0
Metadata:
  variant_bitrate : 0
Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p,
960x540 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Metadata:
  variant_bitrate : 0
Stream #0:1: Audio: aac (HE-AACv2) ([15][0][0][0] / 0x000F), 44100 Hz,
stereo, fltp
Metadata:
  variant_bitrate : 0

Result: The resulting video file is 45 minutes long, but if you look at the
video via the website (http://video.sina.com.cn/l/p/1713429.html) you can
see that it is ~7 hours long.

Question: How can I download the complete video with ffmpeg?

I think, first, I need to get rid of the timestamp error mentioned above.
Any help is appreciated.
___
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] Error Message not Understood - Help Please

2018-07-02 Thread Moritz Barsnick
On Mon, Jul 02, 2018 at 23:14:51 +0100, Budge wrote:
> I still do not understand, however, why I am getting the segmentation
> fault from AtomicParsley but will try again after running ffmpeg
> using -vn.

Is AtomicParsley not segfaulting for you on each and every file? Even
though it properly reports the atoms?

I had that, and found it to be a quite obvious bug. I crafted my own
patch around 2015, but only in 2018 did someone open a bug ticket:

https://bitbucket.org/wez/atomicparsley/issues/58/segmentation-fault

My fix is attached. Perhaps it's for the same segfault as yours.
(Otherwise: build AtomicParsley with debug symbols and run under gdb.)

Cheers,
Moritz
diff -ur wez-atomicparsley-da2f6e4fc120/src/util.cpp 
wez-atomicparsley-da2f6e4fc120-segfault/src/util.cpp
--- wez-atomicparsley-da2f6e4fc120/src/util.cpp 2014-03-03 20:18:56.0 
+0100
+++ wez-atomicparsley-da2f6e4fc120-segfault/src/util.cpp2015-05-12 
11:26:24.0 +0200
@@ -112,8 +112,12 @@
file_opened = true;
}
} else {
+   if ( !open && !file_opened ) {
+   fprintf(stderr, "AtomicParsley internal warning: can't 
close %s, already closed\n", utf8file);
+   } else {
fclose(source_file);
file_opened = false;
+   }
}
return source_file;
 }
___
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] Error Message not Understood - Help Please

2018-07-02 Thread Carl Eugen Hoyos
2018-07-03 0:14 GMT+02:00, Budge :
> I still do not understand, however, why I am getting the
> segmentation fault from AtomicParsley

Not sure if anybody here will know the answer...

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] Error Message not Understood - Help Please

2018-07-02 Thread Budge

On 02/07/18 18:19, Carl Eugen Hoyos wrote:

2018-07-02 17:57 GMT+02:00, Budge :

If I run AtomicParsley I also get a segmentation fault reported.
I read through my previous notes and found the moov atom issue and, as
before, putting this at the front of the file fixed the problem


So your issue is already solved?


@ibmserver2:~/Working/remuxing> ffmpeg -i
Composer_of_the_Week_-_Claudio_Monteverdi_1567-1643_Episode_1_b00zm2rd_default.m4a
-c copy
Composer_of_the_Week_-_Claudio_Monteverdi_1567-1643_New_Episode_1.m4a
ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 4.8 (SUSE Linux)
configuration: --prefix=/usr --libdir=/usr/lib64
--shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg
--extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -g'
--optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -g'
--disable-htmlpages --enable-pic --disable-stripping --enable-shared
--disable-static --enable-gpl --disable-openssl --enable-avresample
--enable-libcdio --enable-gnutls --enable-ladspa --enable-libass
--enable-libbluray --enable-libcelt --enable-libcdio --enable-libdc1394
--enable-libfreetype --enable-libgsm --enable-libmp3lame
--enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvorbis --enable-libvpx --enable-libwebp --enable-libzvbi
--enable-vaapi --enable-vdpau --enable-libfdk_aac --enable-nonfree
--enable-libx264 --enable-libx265 --enable-libxvid
libavutil  55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat57. 83.100 / 57. 83.100
libavdevice57. 10.100 / 57. 10.100
libavfilter 6.107.100 /  6.107.100
libavresample   3.  7.  0 /  3.  7.  0
libswscale  4.  8.100 /  4.  8.100
libswresample   2.  9.100 /  2.  9.100
libpostproc54.  7.100 / 54.  7.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xb02180] stream 0, timescale not set
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'Composer_of_the_Week_-_Claudio_Monteverdi_1567-1643_Episode_1_b00zm2rd_default.m4a':
Metadata:
  major_brand : M4A
  minor_version   : 512
  compatible_brands: isomiso2
  creation_time   : 1970-01-01T00:00:00.00Z
  encoder : Lavf53.24.2
  media_type  : 1
  copyright   : � 2012 British Broadcasting Corporation, all
rights reserved
  title   : Claudio Monteverdi  (1567-1643): Episode 1
  artist  : BBC Radio 3
  album_artist: BBC Radio
  album   : Composer of the Week
  grouping: Factual,Arts, Culture & the Media,Music,Classical
  composer: BBC iPlayer
  genre   : Factual
  comment : Donald Macleod discusses Monteverdi's musical
obsession with sex and violence.
  date: 2011
  track   : 1
  lyrics  : Donald Macleod follows Monteverdi on the road to
stardom at the court of Mantua and uncovers, in this first programme, a
musical obsession with sex and violence.
  :
  : EPISODE
  :
http://www.bbc.co.uk/iplayer/episode/b00zm2rd/Composer_of_the_Week_Claudio_Monteverdi_(15671643)_Episode_1/
  :
  : SERIES
  :   http://www.bbc.co.uk/programmes/b00zm2rd.html
  disc: 0
Duration: 02:59:00.37, start: 0.00, bitrate: 322 kb/s
  Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 319 kb/s (default)
  Metadata:
creation_time   : 1970-01-01T00:00:00.00Z
handler_name: SoundHandler
  Stream #0:1: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown),
150x84 [SAR 100:100 DAR 25:14], 90k tbr, 90k tbn, 90k tbc
[ipod @ 0xbb05e0] Could not find tag for codec mjpeg in stream #0, codec
not currently supported in container


Your old FFmpeg version does not support putting the jpg file that is
attached to the input file into an output file of type "m4a / ipod", this
may or may not have improved since, work-around is to use "-vn".

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



Hi Carl,
Very many thanks.  I can follow your point about my using an old version 
and will do as you suggest.  I still do not understand, however, why I 
am getting the segmentation fault from AtomicParsley but will try again 
after running ffmpeg using -vn.

Many thanks once more.
Budge
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] Error Message not Understood - Help Please

2018-07-02 Thread Carl Eugen Hoyos
2018-07-02 17:57 GMT+02:00, Budge :
> If I run AtomicParsley I also get a segmentation fault reported.
> I read through my previous notes and found the moov atom issue and, as
> before, putting this at the front of the file fixed the problem

So your issue is already solved?

> @ibmserver2:~/Working/remuxing> ffmpeg -i
> Composer_of_the_Week_-_Claudio_Monteverdi_1567-1643_Episode_1_b00zm2rd_default.m4a
> -c copy
> Composer_of_the_Week_-_Claudio_Monteverdi_1567-1643_New_Episode_1.m4a
> ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
>built with gcc 4.8 (SUSE Linux)
>configuration: --prefix=/usr --libdir=/usr/lib64
> --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg
> --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -fstack-clash-protection -g'
> --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -fstack-clash-protection -g'
> --disable-htmlpages --enable-pic --disable-stripping --enable-shared
> --disable-static --enable-gpl --disable-openssl --enable-avresample
> --enable-libcdio --enable-gnutls --enable-ladspa --enable-libass
> --enable-libbluray --enable-libcelt --enable-libcdio --enable-libdc1394
> --enable-libfreetype --enable-libgsm --enable-libmp3lame
> --enable-libopenjpeg --enable-libopus --enable-libpulse
> --enable-libspeex --enable-libtheora --enable-libtwolame
> --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libzvbi
> --enable-vaapi --enable-vdpau --enable-libfdk_aac --enable-nonfree
> --enable-libx264 --enable-libx265 --enable-libxvid
>libavutil  55. 78.100 / 55. 78.100
>libavcodec 57.107.100 / 57.107.100
>libavformat57. 83.100 / 57. 83.100
>libavdevice57. 10.100 / 57. 10.100
>libavfilter 6.107.100 /  6.107.100
>libavresample   3.  7.  0 /  3.  7.  0
>libswscale  4.  8.100 /  4.  8.100
>libswresample   2.  9.100 /  2.  9.100
>libpostproc54.  7.100 / 54.  7.100
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb02180] stream 0, timescale not set
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
> 'Composer_of_the_Week_-_Claudio_Monteverdi_1567-1643_Episode_1_b00zm2rd_default.m4a':
>Metadata:
>  major_brand : M4A
>  minor_version   : 512
>  compatible_brands: isomiso2
>  creation_time   : 1970-01-01T00:00:00.00Z
>  encoder : Lavf53.24.2
>  media_type  : 1
>  copyright   : � 2012 British Broadcasting Corporation, all
> rights reserved
>  title   : Claudio Monteverdi  (1567-1643): Episode 1
>  artist  : BBC Radio 3
>  album_artist: BBC Radio
>  album   : Composer of the Week
>  grouping: Factual,Arts, Culture & the Media,Music,Classical
>  composer: BBC iPlayer
>  genre   : Factual
>  comment : Donald Macleod discusses Monteverdi's musical
> obsession with sex and violence.
>  date: 2011
>  track   : 1
>  lyrics  : Donald Macleod follows Monteverdi on the road to
> stardom at the court of Mantua and uncovers, in this first programme, a
> musical obsession with sex and violence.
>  :
>  : EPISODE
>  :
> http://www.bbc.co.uk/iplayer/episode/b00zm2rd/Composer_of_the_Week_Claudio_Monteverdi_(15671643)_Episode_1/
>  :
>  : SERIES
>  :   http://www.bbc.co.uk/programmes/b00zm2rd.html
>  disc: 0
>Duration: 02:59:00.37, start: 0.00, bitrate: 322 kb/s
>  Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
> stereo, fltp, 319 kb/s (default)
>  Metadata:
>creation_time   : 1970-01-01T00:00:00.00Z
>handler_name: SoundHandler
>  Stream #0:1: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown),
> 150x84 [SAR 100:100 DAR 25:14], 90k tbr, 90k tbn, 90k tbc
> [ipod @ 0xbb05e0] Could not find tag for codec mjpeg in stream #0, codec
> not currently supported in container

Your old FFmpeg version does not support putting the jpg file that is
attached to the input file into an output file of type "m4a / ipod", this
may or may not have improved since, work-around is to use "-vn".

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] Error Message not Understood - Help Please

2018-07-02 Thread Budge

Running OpenSUSE Leap 42.3 and ffmpeg 3.4.2 and showing my ignorance here:

I have a downloaded file which plays on VLC or SMPlayer but will not 
play on a Linn DS device and tends to crash my android control point 
BubbleDS Next.


I had a similar issue a while ago which I eventually guessed was due to 
moov atom not being at the start of the file.  Running qt-faststart 
fixed this, the file then played OK and at that time I looked no further.


Now I have a bunch of files with similar problem.  I had forgotten about 
the moov atom issue and first tried to clean up the files using ffmpeg. 
This gave me the error messages I need help with (and a zero sized 
output file!)


If I run AtomicParsley I also get a segmentation fault reported.
I read through my previous notes and found the moov atom issue and, as 
before, putting this at the front of the file fixed the problem but I 
really would like to understand what I should be doing to clean up these 
files correctly so I do not get the error messages.


Here is the result of running ffmpeg:-

@ibmserver2:~/Working/remuxing> ffmpeg -i 
Composer_of_the_Week_-_Claudio_Monteverdi_1567-1643_Episode_1_b00zm2rd_default.m4a 
-c copy 
Composer_of_the_Week_-_Claudio_Monteverdi_1567-1643_New_Episode_1.m4a

ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 4.8 (SUSE Linux)
  configuration: --prefix=/usr --libdir=/usr/lib64 
--shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg 
--extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall 
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
-fasynchronous-unwind-tables -fstack-clash-protection -g' 
--optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall 
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
-fasynchronous-unwind-tables -fstack-clash-protection -g' 
--disable-htmlpages --enable-pic --disable-stripping --enable-shared 
--disable-static --enable-gpl --disable-openssl --enable-avresample 
--enable-libcdio --enable-gnutls --enable-ladspa --enable-libass 
--enable-libbluray --enable-libcelt --enable-libcdio --enable-libdc1394 
--enable-libfreetype --enable-libgsm --enable-libmp3lame 
--enable-libopenjpeg --enable-libopus --enable-libpulse 
--enable-libspeex --enable-libtheora --enable-libtwolame 
--enable-libvorbis --enable-libvpx --enable-libwebp --enable-libzvbi 
--enable-vaapi --enable-vdpau --enable-libfdk_aac --enable-nonfree 
--enable-libx264 --enable-libx265 --enable-libxvid

  libavutil  55. 78.100 / 55. 78.100
  libavcodec 57.107.100 / 57.107.100
  libavformat57. 83.100 / 57. 83.100
  libavdevice57. 10.100 / 57. 10.100
  libavfilter 6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale  4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc54.  7.100 / 54.  7.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xb02180] stream 0, timescale not set
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 
'Composer_of_the_Week_-_Claudio_Monteverdi_1567-1643_Episode_1_b00zm2rd_default.m4a':

  Metadata:
major_brand : M4A
minor_version   : 512
compatible_brands: isomiso2
creation_time   : 1970-01-01T00:00:00.00Z
encoder : Lavf53.24.2
media_type  : 1
copyright   : � 2012 British Broadcasting Corporation, all 
rights reserved

title   : Claudio Monteverdi  (1567-1643): Episode 1
artist  : BBC Radio 3
album_artist: BBC Radio
album   : Composer of the Week
grouping: Factual,Arts, Culture & the Media,Music,Classical
composer: BBC iPlayer
genre   : Factual
comment : Donald Macleod discusses Monteverdi's musical 
obsession with sex and violence.

date: 2011
track   : 1
lyrics  : Donald Macleod follows Monteverdi on the road to 
stardom at the court of Mantua and uncovers, in this first programme, a 
musical obsession with sex and violence.

:
: EPISODE
: 
http://www.bbc.co.uk/iplayer/episode/b00zm2rd/Composer_of_the_Week_Claudio_Monteverdi_(15671643)_Episode_1/

:
: SERIES
:   http://www.bbc.co.uk/programmes/b00zm2rd.html
disc: 0
  Duration: 02:59:00.37, start: 0.00, bitrate: 322 kb/s
Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, 
stereo, fltp, 319 kb/s (default)

Metadata:
  creation_time   : 1970-01-01T00:00:00.00Z
  handler_name: SoundHandler
Stream #0:1: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 
150x84 [SAR 100:100 DAR 25:14], 90k tbr, 90k tbn, 90k tbc
[ipod @ 0xbb05e0] Could not find tag for codec mjpeg in stream #0, codec 
not currently supported in container
Could not write header for output file #0 (incorrect codec parameters 
?): Invalid argument

Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (copy)
Last message 

Re: [FFmpeg-user] error: 'x265_api_get' undeclared (first use in this function)

2018-06-11 Thread lx
Thank you. I fix it.

2018-06-11 11:55 GMT+08:00 Lou Logan :

> On Sun, Jun 10, 2018, at 5:53 PM, lx wrote:
> > hg clone https://bitbucket.org/multicoreware/x265
> > cd x265
> > hg checkout 0.8
>
> According to the FFmpeg configure file:
>
> X265_BUILD >= 68
>
> The x265 0.8 tag is probably too old, so reset to the "default" branch and
> avoid checking out old, unsupported tags.
> ___
> 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] error: 'x265_api_get' undeclared (first use in this function)

2018-06-10 Thread Lou Logan
On Sun, Jun 10, 2018, at 5:53 PM, lx wrote:
> hg clone https://bitbucket.org/multicoreware/x265
> cd x265
> hg checkout 0.8

According to the FFmpeg configure file:

X265_BUILD >= 68

The x265 0.8 tag is probably too old, so reset to the "default" branch and 
avoid checking out old, unsupported tags.
___
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] error: 'x265_api_get' undeclared (first use in this function)

2018-06-10 Thread lx
hi all:
  I compile FFmpeg which support x265 by these steps:


sudo apt-get install mercurial cmake cmake-curses-gui build-essential
# Note: if the packaged yasm is older than 1.2, you must download yasm-1.2
and build it

hg clone https://bitbucket.org/multicoreware/x265
cd x265
hg checkout 0.8
cd x265/build/linux
./make-Makefiles.bash
make
sudo make install
sudo ldconfig
###

then I configure FFmpeg
###
./configure --enable-libx264 --enable-libx265 --enable-gpl
###

This step fail.and the error messages is:
###
require_pkg_config libx265 x265 x265.h x265_api_get
check_pkg_config libx265 x265 x265.h x265_api_get
test_pkg_config libx265 x265 x265.h x265_api_get
pkg-config --exists --print-errors x265
check_func_headers x265.h x265_api_get -I/usr/local/include
-L/usr/local/lib -lx265
test_ld cc -I/usr/local/include -L/usr/local/lib -lx265
test_cc -I/usr/local/include -L/usr/local/lib
BEGIN /tmp/ffconf.6WfbgmBw/test.c
1 #include 
2 #include 
3 long check_x265_api_get(void) { return (long) x265_api_get; }
4 int main(void) { int ret = 0;
5 ret |= ((intptr_t)check_x265_api_get) & 0x;
6 return ret; }
END /tmp/ffconf.6WfbgmBw/test.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -std=c11
-fomit-frame-pointer -fPIC -pthread -I/usr/local/include
-I/usr/local/include -L/usr/local/lib -c -o /tmp/ffconf.6WfbgmBw/test.o
/tmp/ffconf.6WfbgmBw/test.c
/tmp/ffconf.6WfbgmBw/test.c: In function 'check_x265_api_get':
/tmp/ffconf.6WfbgmBw/test.c:3:47: *error: 'x265_api_get' undeclared (first
use in this function)*
 long check_x265_api_get(void) { return (long) x265_api_get; }
   ^
/tmp/ffconf.6WfbgmBw/test.c:3:47: note: each undeclared identifier is
reported only once for each function it appears in
*ERROR: x265 not found using pkg-config*
###
These messages is from ffbuild/config.log

This is why? How to solve it?
Thank you.

btw:
FFmpeg version: 4.0
ubuntu version:16.04
___
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] Error: librtmp not found using pkg-config

2018-05-20 Thread Reindl Harald


Am 20.05.2018 um 22:14 schrieb Ken's CCCOMM Email:
> Please help me understand why I got this error when Downloading & compiling
> FFMPEG (Latest Version). 

--enable-librtmp

remove it or install the devel-package

> I'm new to this so I don't know how to "Include the log file
> "ffbuild/config.log"

well, you where asked to attach that file from the buildfolder

also don't attach office documents for just paste plaintext
___
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] Error: librtmp not found using pkg-config

2018-05-20 Thread Ken's CCCOMM Email
Please help me understand why I got this error when Downloading & compiling
FFMPEG (Latest Version). 

I'm new to this so I don't know how to "Include the log file
"ffbuild/config.log"". Please advise if you need this and how I can get it
for you. Thank you in advance.

 

 

Ken Thomas



Error.odt
Description: application/vnd.oasis.opendocument.text
___
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] ERROR: rubberband >= 1.8.1 not found using pkg-config

2018-05-14 Thread 桃源老師
Hello, Moritz-san,

> 2018/05/15 午前0:10、Moritz Barsnick のメール:
> 
> On Mon, May 14, 2018 at 23:50:22 +0900, 桃源老師 wrote:
>> ld: symbol(s) not found for architecture x86_64
>> clang: error: linker command failed with exit code 1 (use -v to see 
>> invocation)
>> ERROR: rubberband >= 1.8.1 not found using pkg-config
> 
> This librubberband has a dependency on libvdsp (or whatever it is
> called), but apparently, the pkg-config file (rubberband.pc) does not
> reflect this. You may need to fix rubberband.pc. I don't think setting
> "--extra-ldflags" on the ffmpeg command line would help.

Thank you very much.  I noticed this error means vdsp functions themselves 
can't call, but don't know how should I fix it.

By adding "-framework Accelerate" to Libs line in rubberband.pc, the error have 
gone!!
(On macOS, vdsp functions are defined in Accelerate.framework)

- Libs: -L${libdir} -lrubberband
+ Libs: -L${libdir} -lrubberband -framework Accelerate

I'm so happy!!!

P.S.
I have tested rubberband function as follows:
./ffplay -i ~/Movies/test.mp4 -af rubberband=tempo=2

It's fun!!!


Best Regards,


// Miya aka. TougenRoushi



smime.p7s
Description: S/MIME cryptographic signature
___
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] ERROR: rubberband >= 1.8.1 not found using pkg-config

2018-05-14 Thread Moritz Barsnick
On Mon, May 14, 2018 at 23:50:22 +0900, 桃源老師 wrote:
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> ERROR: rubberband >= 1.8.1 not found using pkg-config

This librubberband has a dependency on libvdsp (or whatever it is
called), but apparently, the pkg-config file (rubberband.pc) does not
reflect this. You may need to fix rubberband.pc. I don't think setting
"--extra-ldflags" on the ffmpeg command line would help.

Moritz
___
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] ERROR: rubberband >= 1.8.1 not found using pkg-config

2018-05-14 Thread 桃源老師
Hello ffmpeg experts, 

I can't build ffmpeg with rubberband.   The error appeared on console is 
"ERROR: rubberband >= 1.8.1 not found using pkg-config".
I'm on macOS High Sierra.
Here's seems to error portion of ffbuild/config.log.

gcc -L/Volumes/ffmpeg_compile/lib -lc++ -Wl,-dynamic,-search_paths_first 
-I/Volumes/ffmpeg_compile/include -L/Volumes/ffmpeg_compile/lib -o 
/var/folders/qn/tqwy6z3j5nj4rfcwc198_7swgn/T//ffconf.PlWioPrY/test 
/var/folders/qn/tqwy6z3j5nj4rfcwc198_7swgn/T//ffconf.PlWioPrY/test.o 
-lrubberband -lstdc++
Undefined symbols for architecture x86_64:
  "_vDSP_create_fftsetup", referenced from:
  RubberBand::FFTs::D_VDSP::initFloat() in librubberband.a(FFT.o)
  "_vDSP_create_fftsetupD", referenced from:
  RubberBand::FFTs::D_VDSP::initDouble() in librubberband.a(FFT.o)
  "_vDSP_ctoz", referenced from:
(SNIP)

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ERROR: rubberband >= 1.8.1 not found using pkg-config

How can I solve this issue?  Please Please Help me!!


// Miya aka. TougenRoushi



smime.p7s
Description: S/MIME cryptographic signature
___
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] ERROR: x265 not found using pkg-config

2018-05-10 Thread Lou Logan
On Wed, May 9, 2018, at 11:13 AM, Marcus Monroe wrote:
> Marcus Monroe has shared a OneDrive for Business file with you. To view 
> it, click the link below.
> 
> 
> 
> [https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]
> 
> config.log

These links require an account. Please use a host that doesn't require an 
account or just attach config.log to your email.
___
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] ERROR: x265 not found using pkg-config

2018-05-10 Thread Marcus Monroe
Marcus Monroe has shared a OneDrive for Business file with you. To view it, 
click the link below.



[https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]

config.log




Hello,


I'm attempting to compile on Ubuntu (16.04) using the instructions from 
http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu


I'm running into the error mentioned in the subject line when performing the 
ffmpeg steps. I've made sure to install the latest git as suggested by the 
error message and am attaching my config.log.


Any suggestions?


Thanks,


Marcus Monroe
___
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] ERROR: libfdk_aac not found

2018-04-15 Thread Carl Eugen Hoyos
2018-04-15 15:25 GMT+02:00, La poste :

> git clone https://github.com/FFmpeg/FFmpeg.git
>
> cd FFmpeg
>
> ./configure --prefix=/usr/local --arch=armel --target-os=linux
> --enable-omx-rpi --enable-nonfree --enable-gpl --enable-libfdk-aac
> --enable-mmal --enable-libx264 --enable-decoder=h264 --enable-network
> --enable-protocol=tcp --enable-demuxer=rtsp
>
> And :
>
> ERROR: libfdk_aac not found
>
> If you think configure made a mistake, make sure you are using the latest
> version from Git.  If the latest version fails, report the problem to the
> ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.

I believe more text gets printed here...

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] ERROR: libfdk_aac not found

2018-04-15 Thread Gralfus
Did you install libfdk_aac first before configuring ffmpeg?

In my version of linux, that is done with 
sudo apt-get install libfdk-aac-dev

Or you can follow the guide for setting up ffmpeg which includes how to
install the options you like:
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu





--
Sent from: http://www.ffmpeg-archive.org/
___
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] ERROR: libfdk_aac not found

2018-04-15 Thread Reindl Harald


Am 15.04.2018 um 15:25 schrieb La poste:
> Hi ! I was installing ffmpeg with this page : 
> https://github.com/KhaosT/homebridge-camera-ffmpeg/wiki/Raspberry-PI 
> 
> 
> git clone https://github.com/FFmpeg/FFmpeg.git 
> 
> 
> cd FFmpeg
> 
> ./configure --prefix=/usr/local --arch=armel --target-os=linux 
> --enable-omx-rpi --enable-nonfree --enable-gpl --enable-libfdk-aac 
> --enable-mmal --enable-libx264 --enable-decoder=h264 --enable-network 
> --enable-protocol=tcp --enable-demuxer=rtsp
> 
> And :
> 
> ERROR: libfdk_aac not found

so why don't you just install the devel-package or don't use
--enable-libfdk-aac
___
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] ERROR: libfdk_aac not found

2018-04-15 Thread La poste
Hi ! I was installing ffmpeg with this page : 
https://github.com/KhaosT/homebridge-camera-ffmpeg/wiki/Raspberry-PI 


git clone https://github.com/FFmpeg/FFmpeg.git 


cd FFmpeg

./configure --prefix=/usr/local --arch=armel --target-os=linux --enable-omx-rpi 
--enable-nonfree --enable-gpl --enable-libfdk-aac --enable-mmal 
--enable-libx264 --enable-decoder=h264 --enable-network --enable-protocol=tcp 
--enable-demuxer=rtsp

And :

ERROR: libfdk_aac not found

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.



___
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] Error when trying to compile FFmpeg with libaom

2018-03-30 Thread Victor Carneiro Fardim
When trying to build the latest Git build of FFmpeg with libaom enabled, I'm 
getting the following error:

CC  libavcodec/libaomdec.o
In file included from

./libavutil/common.h:105:0

,
 from

libavcodec/libaomdec.c:29

:

./config.h:38:0:

warning:

"ARCH_X86" redefined
 #define ARCH_X86 1

In file included from

/usr/local/include/aom/aom_image.h:38:0

,
 from

/usr/local/include/aom/aom_codec.h:47

,
 from

/usr/local/include/aom/aom_decoder.h:33

,
 from

libavcodec/libaomdec.c:26

:

/usr/local/include/aom/aom_config.h:15:0:

note:

this is the location of the previous definition
 #define ARCH_X86 0

In file included from

./libavutil/common.h:105:0

,
 from

libavcodec/libaomdec.c:29

:

./config.h:563:0:

warning:

"CONFIG_PIC" redefined
 #define CONFIG_PIC 1

In file included from

/usr/local/include/aom/aom_image.h:38:0

,
 from

/usr/local/include/aom/aom_codec.h:47

,
 from

/usr/local/include/aom/aom_decoder.h:33

,
 from

libavcodec/libaomdec.c:26

:

/usr/local/include/aom/aom_config.h:109:0:

note:

this is the location of the previous definition
 #define CONFIG_PIC 0

libavcodec/libaomdec.c:

In function ‘

set_pix_fmt

’:

libavcodec/libaomdec.c:92:35:

error:

‘

struct aom_image

’ has no member named ‘

cp

’; did you mean ‘

cs

’?
 avctx->color_primaries = img->

cp

;

^~

cs

libavcodec/libaomdec.c:93:29:

error:

‘

struct aom_image

’ has no member named ‘

mc

’
 avctx->colorspace  = img

->

mc;

^~

libavcodec/libaomdec.c:94:29:

error:

‘

struct aom_image

’ has no member named ‘

tc

’
 avctx->color_trc   = img

->

tc;

^~

libavcodec/libaomdec.c:

In function ‘

aom_decode

’:

libavcodec/libaomdec.c:176:9:

error:

too few arguments to function ‘

aom_codec_decode

’
 if (

aom_codec_decode

(>decoder, avpkt->data, avpkt->size, NULL) !=

^~~~

In file included from

libavcodec/libaomdec.c:26:0

:

/usr/local/include/aom/aom_decoder.h:218:17:

note:

declared here
 aom_codec_err_t

aom_codec_decode

(aom_codec_ctx_t *ctx, const uint8_t *data,

^~~~

make: *** [ffbuild/common.mak:60: libavcodec/libaomdec.o] Error 1

My configure/make command looks like this:

sudo -H bash -c 'make clean && export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ 
&& ./configure --enable-gpl --enable-version3 --enable-libopus 
--enable-libcodec2 --enable-libmp3lame --enable-libx265 --enable-libaom 
--enable-libfreetype --enable-libvpx --enable-libv4l2 --enable-libx264 
--enable-libass --enable-libpulse --enable-libvorbis --enable-libwebp 
--enable-libtheora && nice make && nice make install && notify-send "FFmpeg 
build done"'

I've built the latest Git build of aom with cmake and default settings. I don't 
know what's wrong. But from the looks of it, this might be a bug in libavcodec, 
since the corresponding function in libaom that's throwing the error takes 5 
arguments instead of 4.

I'd appreciate if somebody could help me with this.
___
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] Error with vmaf: libvmaf not found

2018-03-14 Thread Carl Eugen Hoyos
2018-03-14 14:17 GMT+01:00, Pinar Akyazi :

> ERROR: libvmaf >= 0.6.2 not found using pkg-config
>
> If you think configure made a mistake, make sure you are using the latest
> version from Git.  If the latest version fails, report the problem to the
> ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
> Include the log file "ffbuild/config.log" produced by configure as this will
> help
> solve the problem.
>
> I’m sending the log file as requested by ffmpeg.

I don't see it here:
http://ffmpeg.org/pipermail/ffmpeg-user/2018-March/039182.html

But you will most likely have to uninstall libvmaf and compile
it yourself.

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] Error with vmaf: libvmaf not found

2018-03-14 Thread Reindl Harald



Am 14.03.2018 um 14:17 schrieb Pinar Akyazi:

Hello,

I’m trying to run vmaf library in ffmpeg. I’ve pulled the latest version of 
ffmpeg from GitHub today.

My system specs are below, i.e., using uname -a

Linux grebsrv5 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 
2016 x86_64 x86_64 x86_64 GNU/Linux

I’m having problems using the command ./configure --enable-libvmaf 
--enable-version3

pinar@grebsrv5:~/data_folder/pinar_aom/ffmpeg$ ./configure --enable-libvmaf 
--enable-version3
ERROR: libvmaf >= 0.6.2 not found using pkg-config


and you have libvmaf-dev installed and does your horrible outdated OS 
with a 2 years old kernel have version >= 0.6.2?

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

<    1   2   3   4   5   >