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

[FFmpeg-user] Error while playing record audio from webcam

2021-01-18 Thread Vijay Rakesh Munganda
Hi All, 

I’m using below command to create video and audio files for real time streaming 
to the cloud.

ffmpeg -f alsa -channels 1 -thread_queue_size 1024 -i hw:1 -f video4linux2 -i 
/dev/video0 -c:a aac -ar 48k -t 0:10 -segment_time 00:00.08 -f stream_segment 
sample-%003d.aac -c:v h264 -force_key_frames "expr:gte(t,n_forced*0.08)" 
-pix_fmt yuv420p -s:v 640x480 -t 0:10 -r 25 -g 1 -segment_time 00:00.08 -f 
stream_segment frame-%003d.h264

When I use ffplay on video clips it is playing, but when I run audio clips I 
get different errors for different segmented output as follows, and some clips 
play for more than 13s when segment given as 80ms. 

Error:
Error: sample-000.aac: Invalid data found when processing input 0B f=0/0

[mpegts @ 0x7f6f3b80] Format mpegts detected only with low score of 2, 
misdetection possible! 

[mpegts @ 0x7f6f3b80] Could not detect TS packet size, defaulting to 
non-FEC/DVHS sample-001.aac: could not find codec parameters

Did I miss anything in the command? 

Thanks & Regards,
Vijay Rakesh


Thanks & Regards,
Vijay Rakesh
___
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 Capturing MJPEG Stream from Linux version

2021-02-05 Thread Alejandro Escudero

Hi,



Please your help,  I am on Linux (Centos 7) trying to capture a MJPEG stream 
from an IP Camera and save it as MP4, but I am getting this error:


[ingenient @ 0x2637be0] 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


Note: On windows 10 FFmpeg version I don´t have this problem (ffmpeg version 
N-94423-ga0c1970781 Copyright (c) 2000-2019 the FFmpeg developers  built with 
gcc 9.1.1 (GCC) 20190716)




Command (Linux):


ffmpeg -t 58 -i 
"http://user:pass@cameraip:8080/video.cgi";<%22http:/user:pass@cameraip:8080/video.cgi%22>
 -f segment -segment_time 16 -strftime 1 
'/var/www/myrecordings/%Y-%m-%d_%H:%M:%S.mp4'


Response (Linux):


ffmpeg version 2.8.15 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg 
--incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man 
--arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
-grecord-gcc-switches -m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro ' 
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc 
--enable-version3 --enable-bzlib --disable-crystalhd --enable-gnutls 
--enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 
--enable-libfdk-aac --enable-nonfree --disable-indev=jack --enable-libfreetype 
--enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg 
--enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr 
--enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 
--enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab 
--enable-avfilter --enable-avresample --enable-postproc --enable-pthreads 
--disable-static --enable-shared --enable-gpl --disable-debug 
--disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
  libavutil  54. 31.100 / 54. 31.100
  libavcodec 56. 60.100 / 56. 60.100
  libavformat56. 40.101 / 56. 40.101
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc53.  3.100 / 53.  3.100
[ingenient @ 0x2637be0] 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
"http://user:pass@cameraip:8080/video.cgi";<%22http:/user:pass@cameraip:8080/video.cgi%22>:
 could not find codec parameters
Input #0, ingenient, from 
"http://user:pass@cameraip:8080/video.cgi";<%22http:/user:pass@cameraip:8080/video.cgi%22>:
  Duration: N/A, bitrate: N/A
Stream #0:0: Video: mjpeg, none(bt470bg/unknown/unknown), 25 tbr, 1200k 
tbn, 25 tbc
Output #0, segment, to '/var/www/myrecordings/%Y-%m-%d_%H:%M:%S.mp4':
Output file #0 does not contain any stream



Thanks for your help

Regards


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

[FFmpeg-user] Error decoding RTSP stream using h264_cuvid vcodec

2021-03-09 Thread Nishant Trivedi via ffmpeg-user
Hello,

I am trying to decode a RTSP video stream using ffmpeg while using
h264_cuvid vcodec to take advantage of hardware acceleration on a machine
with NVIDIA GPU. I am seeing an error with the message Unknown encoder
'h264_cuvid'. I've made sure that I compiled ffmpeg with cuvid enabled.
Here is the output of "ffmpeg -version" command:
$ ffmpeg -version
ffmpeg version n4.1.6-5-g7f0db52c53 Copyright (c) 2000-2020 the FFmpeg
developers
built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
configuration: --enable-cuda-sdk --enable-cuvid --enable-nvenc
--enable-nonfree --enable-libnpp --enable-protocol=file
--enable-protocol=rtsp --enable-protocol=hls --enable-openssl
--extra-cflags=-I/usr/local/cuda/include
--extra-ldflags=-L/usr/local/cuda/lib64
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

To rule out problems with the stream, I checked it using ffplay and I'm
able to visualize it. But when I run the following command
ffmpeg -rtsp_transport tcp -hide_banner -loglevel debug -stimeout 100
-rtsp_flags prefer_tcp -allowed_media_types video -i
rtsp:///onvif/profile1/media.smp -vsync 0 -err_detect explode
-surfaces 8 -vcodec h264_cuvid output.avi
I consistently get the encoder error. Removing the vcodec argument works
but I lose out on hardware acceleration. I'm attaching the full debug
output of the ffmpeg command herewith.

I dug around for possible resolutions but didn't find anything meaningful.
Appreciate any help on this.

Thanks,
- Nishant.
Splitting the commandline.
Reading option '-rtsp_transport' ... matched as AVOption 'rtsp_transport' with 
argument 'tcp'.
Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show 
program banner) with argument '1'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) 
with argument 'debug'.
Reading option '-stimeout' ... matched as AVOption 'stimeout' with argument 
'100'.
Reading option '-rtsp_flags' ... matched as AVOption 'rtsp_flags' with argument 
'prefer_tcp'.
Reading option '-allowed_media_types' ... matched as AVOption 
'allowed_media_types' with argument 'video'.
Reading option '-i' ... matched as input url with argument 
'rtsp:///onvif/profile1/media.smp'.
Reading option '-vsync' ... matched as option 'vsync' (video sync method) with 
argument '0'.
Reading option '-err_detect' ...Routing option err_detect to both codec and 
muxer layer
 matched as AVOption 'err_detect' with argument 'explode'.
Reading option '-surfaces' ... matched as AVOption 'surfaces' with argument '8'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec 
('copy' to copy stream)) with argument 'h264_cuvid'.
Reading option 'output.avi' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option hide_banner (do not show program banner) with argument 1.
Applying option loglevel (set logging level) with argument debug.
Applying option vsync (video sync method) with argument 0.
Successfully parsed a group of options.
Parsing a group of options: input url rtsp:///onvif/profile1/media.smp.
Successfully parsed a group of options.
Opening an input file: rtsp:///onvif/profile1/media.smp.
[tcp @ 0x55951d8790c0] No default whitelist set
[tcp @ 0x55951d8790c0] Original list of addresses:
[tcp @ 0x55951d8790c0] Address  port 
[tcp @ 0x55951d8790c0] Interleaved list of addresses:
[tcp @ 0x55951d8790c0] Address  port 
[tcp @ 0x55951d8790c0] Starting connection attempt to  port 
[tcp @ 0x55951d8790c0] Successfully connected to  port 
[rtsp @ 0x55951d876a80] SDP:
v=0
o=- 0 0 IN IP4 
s=Media Presentation
i=samsung
c=IN IP4 0.0.0.0
b=AS:6216
t=0 0
a=control:rtsp:///onvif/profile1/media.smp
a=range:npt=now-
m=video 45032 RTP/AVP 26
b=AS:6144
a=rtpmap:26 JPEG/9
a=control:rtsp:///onvif/profile1/media.smp/trackID=v
a=cliprect:0,0,1080,1920
a=framesize:26 1920-1080
a=framerate:2.0
m=application 45036 RTP/AVP 107
b=AS:8
a=rtpmap:107 vnd.onvif.metadata/9
a=control:rtsp:///onvif/profile1/media.smp/trackID=m
a=recvonly

[rtsp @ 0x55951d876a80] video codec set to: mjpeg
[rtsp @ 0x55951d876a80] setting jitter buffer size to 0
[rtsp @ 0x55951d876a80] hello state=0
[mjpeg @ 0x55951d87c000] marker=d8 avail_size_in_buf=137286
[mjpeg @ 0x55951d87c000] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x55951d87c000] marker=e0 avail_size_in_buf=137284
[mjpeg @ 0x55951d87c000] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x55951d87c000] marker=db avail_size_in_buf=137266
[mjpeg @ 0x55951d87c000] index=0
[mjpeg @ 0x55951d87c000] qscale[0]: 4
[mjpeg @ 0x55951d87c000] index=1
[mjpeg @ 0x55951d87c000] qscale[1]: 9
[mjpeg @ 0x55951d87c000] marker parser used 132 bytes (1056 bits)
[mjpeg @ 0x55951d87c000] marker=c4 avail_size_in_buf=137132
[mjpeg @ 0x55951d87c000] marker pa

[FFmpeg-user] Error Message: sps_id 1 out of range

2021-04-02 Thread Simone Croci
Hi All,

I am decoding an MVC H.264 video and I get a lot of error messages "sps_id
1 out of range". What is the problem? is it caused by the fact that ffmpeg
does not support MVC H.264?

Regards,
Simon
___
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 reading 10bit H264 in Matroska

2015-07-15 Thread Carl Eugen Hoyos
Leo Izen  gmail.com> writes:

> I have a peculiar case. I have a matroska file that's 
> got an h264 stream inside. When I play this file with 
> ffplay, it plays fine. However, ffmpeg cannot read it 
> correctly.

Please provide the sample.

Carl Eugen

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


Re: [FFmpeg-user] Error reading 10bit H264 in Matroska

2015-07-15 Thread Leo Izen

On 07/15/2015 11:12 AM, Carl Eugen Hoyos wrote:

Leo Izen  gmail.com> writes:


I have a peculiar case. I have a matroska file that's
got an h264 stream inside. When I play this file with
ffplay, it plays fine. However, ffmpeg cannot read it
correctly.


Please provide the sample.

Carl Eugen


When I cut the sample file down to 10 MB in size, it stops playing with 
ffplay and it's not reproducable. However, if I cut it down to 20 MB, 
the same error as previously described appears. According to 
https://www.ffmpeg.org/bugreports.html, you don't want samples larger 
than 10 MB.


The 10 MB sample gets stuck demuxing with:
[matroska,webm @ 0x7fab58c0] Read error

(Full, uncut output of ffplay: http://pastebin.com/ChEq2YZB)
(ffmpeg has the same output as before basically)

This is unsurprisng given than it's an HD (Bluray quality) file and 10 
MB isn't enough to seek. What this does suggest is that ffplay is 
somehow looking ahead into the second ten megabytes in order to 
determine the file parameters and FFplay isn't.


Should I make an exception and upload the 20 MB file instead?

-Leo

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


Re: [FFmpeg-user] Error reading 10bit H264 in Matroska

2015-07-15 Thread Paul B Mahol
Dana 15. 7. 2015. 20:59 osoba "Leo Izen"  napisala je:
>
> On 07/15/2015 11:12 AM, Carl Eugen Hoyos wrote:
>>
>> Leo Izen  gmail.com> writes:
>>
>>> I have a peculiar case. I have a matroska file that's
>>> got an h264 stream inside. When I play this file with
>>> ffplay, it plays fine. However, ffmpeg cannot read it
>>> correctly.
>>
>>
>> Please provide the sample.
>>
>> Carl Eugen
>
>
> When I cut the sample file down to 10 MB in size, it stops playing with
ffplay and it's not reproducable. However, if I cut it down to 20 MB, the
same error as previously described appears. According to
https://www.ffmpeg.org/bugreports.html, you don't want samples larger than
10 MB.
>
> The 10 MB sample gets stuck demuxing with:
> [matroska,webm @ 0x7fab58c0] Read error
>
> (Full, uncut output of ffplay: http://pastebin.com/ChEq2YZB)
> (ffmpeg has the same output as before basically)
>
> This is unsurprisng given than it's an HD (Bluray quality) file and 10 MB
isn't enough to seek. What this does suggest is that ffplay is somehow
looking ahead into the second ten megabytes in order to determine the file
parameters and FFplay isn't.
>
> Should I make an exception and upload the 20 MB file instead?

Upload it somewhere.

>
> -Leo
>
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error reading 10bit H264 in Matroska

2015-07-15 Thread Leo Izen

On 07/15/2015 03:57 PM, Paul B Mahol wrote:

Dana 15. 7. 2015. 20:59 osoba "Leo Izen"  napisala je:


On 07/15/2015 11:12 AM, Carl Eugen Hoyos wrote:


Leo Izen  gmail.com> writes:


I have a peculiar case. I have a matroska file that's
got an h264 stream inside. When I play this file with
ffplay, it plays fine. However, ffmpeg cannot read it
correctly.


Please provide the sample.

Carl Eugen


When I cut the sample file down to 10 MB in size, it stops playing with
ffplay and it's not reproducable. However, if I cut it down to 20 MB, the
same error as previously described appears. According to
https://www.ffmpeg.org/bugreports.html, you don't want samples larger than
10 MB.
Should I make an exception and upload the 20 MB file instead?


Upload it somewhere.



I've put the 20 MB file here:

https://dl.dropboxusercontent.com/u/51080973/h264_pixfmt_matroska.mkv

-Leo Izen


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


Re: [FFmpeg-user] Error reading 10bit H264 in Matroska

2015-07-15 Thread Moritz Barsnick
On Wed, Jul 15, 2015 at 16:10:17 -0400, Leo Izen wrote:
> I've put the 20 MB file here:
> https://dl.dropboxusercontent.com/u/51080973/h264_pixfmt_matroska.mkv

> This is unsurprisng given than it's an HD (Bluray quality) file and 10
> MB isn't enough to seek. What this does suggest is that ffplay is
> somehow looking ahead into the second ten megabytes in order to
> determine the file parameters and FFplay isn't.

To confim your assumption: Running ffmpeg and ffprobe with
"-analyzeduration 20M -probesize 20M" does seem to work:

  Duration: 00:01:30.05, start: 0.00, bitrate: 1819 kb/s
Stream #0:0(jpn): Video: h264 (High 10), yuv420p10le(tv, bt709), 1920x1080 
[SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)

I get a read error after 5 seconds, probably because that's the length
you truncated the video to.

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


Re: [FFmpeg-user] Error reading 10bit H264 in Matroska

2015-07-15 Thread Carl Eugen Hoyos
Leo Izen  gmail.com> writes:

> https://dl.dropboxusercontent.com/u/51080973/h264_pixfmt_matroska.mkv

I opened ticket #4725, thank you for the sample!

The size limit of course assumes that the length 
is sufficient to reproduce the original issue, a 
10G sample was uploaded once because nobody knew 
how to reproduce with a smaller sample.

Carl Eugen

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


Re: [FFmpeg-user] Error compiling ffmpeg 2.7.2 with VS2015

2015-08-06 Thread James Darnley
On 2015-08-06 23:39, Bernhard Döbler wrote:
> Hi,
> 
> I have a setup to compile ffmpeg with Microsoft Visual Studio in an
> msys2 environment. Today I tried to compile with the new VS2015 and
> received an eror very late during compile. (Error message in German btw.)
> 
> CC  ffmpeg.o
> ffmpeg.c
> ffmpeg.c(394): error C2039: "_cnt": Ist kein Element von "_iobuf"

> 
> I entered this error into an internet search engine and found out this
> error was reported after an early community preview had been released.
> Now that RTM has appeared I wonder what's the status of this patch:
> https://ffmpeg.org/pipermail/ffmpeg-devel/2015-March/169831.html --- or
> if there's a solution.

I'm not sure how that patch is related to your error message which is
about ffmpeg.c.  Anyway, I think your problem was fixed in this commit
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=99f8fc725de4de7dcb8f125220e17082ea4b81cc

I assume it was after 2.7.2.  Use the latest git head and you should not
get that error.




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


Re: [FFmpeg-user] Error compiling ffmpeg 2.7.2 with VS2015

2015-08-07 Thread Jan Ehrhardt
Bernhard Döbler in gmane.comp.video.ffmpeg.user (Thu, 06 Aug 2015 23:39:23
+0200):
>I have a setup to compile ffmpeg with Microsoft Visual Studio in an 
>msys2 environment. Today I tried to compile with the new VS2015 and 
>received an eror very late during compile. (Error message in German btw.)
>
>CC  ffmpeg.o
>ffmpeg.c
>ffmpeg.c(394): error C2039: "_cnt": Ist kein Element von "_iobuf"
>C:\Program Files (x86)\Windows 
>Kits\10\include\10.0.10150.0\ucrt\corecrt_wstdio.h(26): note: Siehe 
>Deklaration von "_iobuf"

Could it be that you are including *.libs that are built with VS2013 or
earlier? They cannot be mixed.

Jan

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


Re: [FFmpeg-user] Error compiling ffmpeg 2.7.2 with VS2015

2015-08-07 Thread Bernhard Döbler

Am 07.08.2015 um 22:58 schrieb Jan Ehrhardt:

Bernhard Döbler in gmane.comp.video.ffmpeg.user (Thu, 06 Aug 2015 23:39:23
+0200):


CC  ffmpeg.o
ffmpeg.c
ffmpeg.c(394): error C2039: "_cnt": Ist kein Element von "_iobuf"
C:\Program Files (x86)\Windows
Kits\10\include\10.0.10150.0\ucrt\corecrt_wstdio.h(26): note: Siehe
Deklaration von "_iobuf"


Could it be that you are including *.libs that are built with VS2013 or
earlier? They cannot be mixed.


This led to a similar error stating snprintf, vsprintf etc. are not 
available...


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


[FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-11 Thread jun
Dear all, I have been using ffmpeg to embed subtitles into videos for
sometime now. Recently, I reinstalled my ubuntustudio 14.04.3 and
reinstalled ffmpeg-2.8.4. 


jun@X201:~/Videos/TEST VIDS$ ffmpeg -i input.mp4 -vf ass=subtitle.ass
output.mp4
ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration: 
  libavutil  54. 31.100 / 54. 31.100
  libavcodec 56. 60.100 / 56. 60.100
  libavformat56. 40.101 / 56. 40.101
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 40.101 /  5. 40.101
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
major_brand : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.4.100
  Duration: 00:01:00.18, start: 0.00, bitrate: 233 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], 228 kb/s, 60 fps, 60 tbr, 15360 tbn, 120 tbc
(default)
Metadata:
  handler_name: VideoHandler
File 'output.mp4' already exists. Overwrite ? [y/N] y
[AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'jun@X201:~/Videos/TEST
VIDS$ ffmpeg -i input.mp4 -vf ass=subtitle.ass output.mp4
ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration: 
  libavutil  54. 31.100 / 54. 31.100
  libavcodec 56. 60.100 / 56. 60.100
  libavformat56. 40.101 / 56. 40.101
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 40.101 /  5. 40.101
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
major_brand : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.4.100
  Duration: 00:01:00.18, start: 0.00, bitrate: 233 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], 228 kb/s, 60 fps, 60 tbr, 15360 tbn, 120 tbc
(default)
Metadata:
  handler_name: VideoHandler
File 'output.mp4' already exists. Overwrite ? [y/N] y
[AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

Any suggestion how to solve this?





--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Error-AVFilterGraph-0xabe1cc0-No-such-filter-ass-tp4673994.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-11 Thread jun
I use ubuntustudio and ffmpeg to embed subtitles into videos. I've been doing
this combo for almost 2 years now. Recently I reinstalled ubuntustudio
14.04.3 and then ffmpeg-2.8.4 and now I cant seem to get it to work. I get
this error mesg:

"[AVFilterGraph @ 0xabe1cc0] No such filter: 'ass' " 

here is what I get

$ ffmpeg -i input.mp4 -vf ass=subtitle.ass output.mp4
ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration: 
  libavutil  54. 31.100 / 54. 31.100
  libavcodec 56. 60.100 / 56. 60.100
  libavformat56. 40.101 / 56. 40.101
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 40.101 /  5. 40.101
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
major_brand : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.4.100
  Duration: 00:01:00.18, start: 0.00, bitrate: 233 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], 228 kb/s, 60 fps, 60 tbr, 15360 tbn, 120 tbc
(default)
Metadata:
  handler_name: VideoHandler
File 'output.mp4' already exists. Overwrite ? [y/N] y
[AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'
Error opening filters!
jun@X201:~/Videos/TEST VIDS$ ffmpeg -i input.mp4 -vf ass=subtitle.ass
output.mp4
ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration: 
  libavutil  54. 31.100 / 54. 31.100
  libavcodec 56. 60.100 / 56. 60.100
  libavformat56. 40.101 / 56. 40.101
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 40.101 /  5. 40.101
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
major_brand : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.4.100
  Duration: 00:01:00.18, start: 0.00, bitrate: 233 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], 228 kb/s, 60 fps, 60 tbr, 15360 tbn, 120 tbc
(default)
Metadata:
  handler_name: VideoHandler
File 'output.mp4' already exists. Overwrite ? [y/N] y
[AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'
Error opening filters!

Any suggestions hot to get it working again? how can I enable the ass
filter?

Thanks in advance





--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Error-AVFilterGraph-0xabe1cc0-No-such-filter-ass-tp4673995.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] Error when using v4l2 to encode H264

2016-05-16 Thread Bogdan Mariesan
FFmpeg command:
 ./ffmpeg -f v4l2 -video_size 640x360 -rtbufsize 702000k -framerate 30 -i
/dev/video0 -r 30 -threads 4 -vcodec libx264 -pix_fmt yuv420p -tune
zerolatency -preset ultrafast test.avi


FFMpeg log:

user@chrysaor-info-ubuntu-14041-desktop-amd64:~/ffmpeg/FFmpeg$ ./ffmpeg -f
v4l2 -video_size 640x360 -rtbufsize 702000k -framerate 30 -i /dev/video0 -r
30 -threads 4 -vcodec libx264 -pix_fmt yuv420p -tune zerolatency -preset
ultrafast test.avi
ffmpeg version N-80003-g2f76157 Copyright (c) 2000-2016 the FFmpeg
developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
  configuration: --enable-nonfree --enable-gpl --enable-libx264
--enable-x11grab --enable-zlib
  libavutil  55. 24.100 / 55. 24.100
  libavcodec 57. 42.100 / 57. 42.100
  libavformat57. 36.100 / 57. 36.100
  libavdevice57.  0.101 / 57.  0.101
  libavfilter 6. 45.100 /  6. 45.100
  libswscale  4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc54.  0.100 / 54.  0.100
Input #0, video4linux2,v4l2, from '/dev/video0':
  Duration: N/A, bitrate: 110592 kb/s
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x360,
110592 kb/s, 30 fps, 30 tbr, 1000k tbn
[libx264 @ 0x38be2c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
AVX FMA3
[libx264 @ 0x38be2c0] profile Constrained Baseline, level 3.0
[avi @ 0x38bca20] Using AVStream.codec to pass codec parameters to muxers
is deprecated, use AVStream.codecpar instead.
Output #0, avi, to 'test.avi':
  Metadata:
ISFT: Lavf57.36.100
Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 640x360, q=2-31,
30 fps, 30 tbn
Metadata:
  encoder : Lavc57.42.100 libx264
Side data:
  cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Could not write header for output file #0 (incorrect codec parameters ?):
Immediate exit requested

When going through ffserver my capture was hanging so I tried to output it
to a file. It still hangs and when I try to stop it I get the log above.

*Bogdan Emil Mariesan*
Senior Software Engineer

*BuddyGuard UG* (haftungsbeschränkt)
Dircksenstr. 40
10178 Berlin

m: +40 743 901 331
w.   www.buddyguard.io
___
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 - HEVC bitstream malformed, no startcode found

2016-06-24 Thread jay...@epix.net
I just installed ffmpeg
ffmpeg version 2.7.6-0  ubuntu  0.15.10.1
I have an H265 mp4 file that I downloaded from a site. I can view this file 
using VLC on my MAC.
I want to stream this file, multicast encapsulated as a TS.The command line I 
am using is

  ffmpeg -re -i  uscenes_coral_garden_uhd_5-1_h-265_8bit.mp4 -c:v libx265 
-vcodec copy -acodec copy -f mpegts udp://239.194.0.201:10002
Following output is displayed

ffmpeg version 2.7.6-0ubuntu0.15.10.1 Copyright (c) 2000-2016 the FFmpeg 
developers  built with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010  
configuration: --prefix=/usr --extra-version=0ubuntu0.15.10.1 
--build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu 
--incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared 
--disable-stripping --enable-avresample --enable-avisynth --enable-frei0r 
--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-libmodplug --enable-libmp3lame --enable-libopenjpeg 
--enable-openal --enable-libopus --enable-libpulse --enable-librtmp 
--enable-libschroedinger --enable-libshine --enable-libspeex --enable-libtheora 
--enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack 
--enable-libwebp --enable-libxvid --enable-libzvbi --enable-opengl 
--enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq 
--enable-libssh --enable-libsoxr --enable-libx264 --enable-libopencv 
--enable-libx265  libavutil      54. 27.100 / 54. 27.100  libavcodec     56. 
41.100 / 56. 41.100  libavformat    56. 36.100 / 56. 36.100  libavdevice    56. 
 4.100 / 56.  4.100  libavfilter     5. 16.101 /  5. 16.101  libavresample   2. 
 1.  0 /  2.  1.  0  libswscale      3.  1.101 /  3.  1.101  libswresample   1. 
 2.100 /  1.  2.100  libpostproc    53.  3.100 / 53.  3.100Input #0, 
mov,mp4,m4a,3gp,3g2,mj2, from 'uscenes_coral_garden_uhd_5-1_h-265_8bit.mp4':  
Metadata:    major_brand     : mp42    minor_version   : 0    
compatible_brands: mp42mp41    creation_time   : 2016-02-03 05:48:43  Duration: 
00:20:00.92, start: 0.00, bitrate: 983 kb/s    Stream #0:0(eng): Video: 
hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 3840x2160 [SAR 1:1 DAR 
16:9], 8230 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 23.98 tbc (default)    
Metadata:      creation_time   : 2016-02-03 05:48:43      handler_name    : 
Alias Data Handler    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 
48000 Hz, 5.1, fltp, 317 kb/s (default)    Metadata:      creation_time   : 
2016-02-03 05:48:43      handler_name    : Alias Data HandlerOutput #0, mpegts, 
to 'udp://239.194.0.201:10002':  Metadata:    major_brand     : mp42    
minor_version   : 0    compatible_brands: mp42mp41    encoder         : 
Lavf56.36.100    Stream #0:0(eng): Video: hevc (hvc1 / 0x31637668), yuvj420p, 
3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 8230 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 
23.98 tbc (default)    Metadata:      creation_time   : 2016-02-03 05:48:43     
 handler_name    : Alias Data Handler    Stream #0:1(eng): Audio: aac (mp4a / 
0x6134706D), 48000 Hz, 5.1, 317 kb/s (default)    Metadata:      creation_time  
 : 2016-02-03 05:48:43      handler_name    : Alias Data HandlerStream mapping: 
 Stream #0:0 -> #0:0 (copy)  Stream #0:1 -> #0:1 (copy)Press [q] to stop, [?] 
for help[mpegts @ 0x223da60] HEVC bitstream malformed, no startcode 
foundav_interleaved_write_frame(): Not yet implemented in FFmpeg, patches 
welcome[mpegts @ 0x223da60] HEVC bitstream malformed, no startcode foundframe=  
 10 fps=0.0 q=-1.0 Lsize=       0kB time=00:00:00.33 bitrate=   0.0kbits/s    
video:455kB audio:1kB subtitle:0kB other streams:0kB global headers:0kB muxing 
overhead: unknownConversion failed!



Any suggestions on overcoming this issue ?  

Thank youJas
___
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 in ffmpeg install on UBUNTU 14.04

2016-06-27 Thread WY

Dear ffmpeg users,

I am tring to install ffmpeg on UBUNTU 14.04, however could NOT install. 
The install process is the following:


#install PPA
sudo add-apt-repository ppa:mc3man/trusty-media

sudo apt-get update

W: GPG error: http://ppa.launchpad.net trusty Release: The following 
signatures couldn't be verified because the public key is not available: 
NO_PUBKEY 632D16BB0C713DA6



#install ffmpeg
sudo apt-get install ffmpeg

sudo ln -sf /opt/ffmpeg/bin/ffmpeg /usr/bin/ffmpeg

# check install
$ ffmpeg -codecs 2>&1 | grep PPM
DEV D  ppm PPM (Portable PixelMap) image
$ rpm -qi ffmpeg

following info shows:

package ffmpeg is not installed


I am wondering if it is a correct way to install ffmpeg, pls anyone 
kindly indicate on this.


BTW, I could NOT find any search toolbar in user-archives, will it be 
modified?



Many thx,
___
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: opus not found using pkg-config

2016-08-25 Thread Ashutosh Kumar
Hi,
 I am getting error on ff-mpeg installing time.


ERROR: opus 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
ff-mpeg-u...@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.


-- 
Thanks
Ashutosh Kumar
___
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 when I compile Microsoft ffmpeginterop

2017-01-12 Thread Carl Eugen Hoyos
2017-01-12 18:26 GMT+01:00 Alfred :
> There is some errors when I compile ffmpeginterop.

This is not software supported by FFmpeg (from a
quick look, it seems to be software supported by Microsoft).

> I do follow the
> https://trac.ffmpeg.org/wiki/CompilationGuide/WinRT#CompilingforWindows10

> and try to just BuildFFmpeg.bat.

Please understand that scripts are not supported here,
only configure lines.

> The first method,the error print is cl is unable to create an executable 
> file.
> C compiler test failed.
> The second method ,the error is

> GNU assembler not found, install/update gas-preprocessor

Did you try this?

> I complie the arch=x64 and x86 is ok and can be used,just
> arch=arm is error.

> All the software is the newest.FFMPEG is version 3.2.2.

This is not the newest FFmpeg, it is ten weeks old.

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 when I compile Microsoft ffmpeginterop

2017-01-12 Thread Reindl Harald



Am 12.01.2017 um 23:35 schrieb Carl Eugen Hoyos:

All the software is the newest.FFMPEG is version 3.2.2.


This is not the newest FFmpeg, it is ten weeks old


then release more often then 10 weeks or more

when do you realize that ffmpeg is the only mailing list and project on 
this planet where people are supposed to use snapshots?


according to https://ffmpeg.org/releases/ *it is* the newest release
___
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 when I compile Microsoft ffmpeginterop

2017-01-13 Thread Carl Eugen Hoyos
2017-01-13 3:42 GMT+01:00 Reindl Harald :
>
> Am 12.01.2017 um 23:35 schrieb Carl Eugen Hoyos:
>>>
>>> All the software is the newest.FFMPEG is version 3.2.2.
>>
>> This is not the newest FFmpeg, it is ten weeks old
>
> then release more often then 10 weeks or more

The avconv supporters claim that we already release too often...

> when do you realize that ffmpeg is the only mailing list and project
> on this planet where people are supposed to use snapshots?

When did I contradict?
(I don't know if FFmpeg is the only project which strongly suggests
using snapshots if at all possible and that requires testing snapshots
before reporting issues.)

> according to https://ffmpeg.org/releases/ *it is* the newest release

Which gets some (limited) support on Linux, but not on Windows.
(Why would a Windows user install a version of FFmpeg that is
known to contain more bugs and less features but for which he will
not get any support?)

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 when I compile Microsoft ffmpeginterop

2017-01-13 Thread Reindl Harald

Am 14.01.2017 um 06:16 schrieb Carl Eugen Hoyos:

2017-01-13 3:42 GMT+01:00 Reindl Harald :


Am 12.01.2017 um 23:35 schrieb Carl Eugen Hoyos:


All the software is the newest.FFMPEG is version 3.2.2.


This is not the newest FFmpeg, it is ten weeks old


then release more often then 10 weeks or more


The avconv supporters claim that we already release too often...


they also claimed that ffmpeg is dead and the ffmpeg cli command is 
deprecated - the only reason why they claim something is because their 
fork failed and they pretend it is still vital



when do you realize that ffmpeg is the only mailing list and project
on this planet where people are supposed to use snapshots?


When did I contradict?
(I don't know if FFmpeg is the only project which strongly suggests
using snapshots if at all possible and that requires testing snapshots
before reporting issues.)


at least the only project where it is claimed that nothing else than the 
current snapshot is supported



according to https://ffmpeg.org/releases/ *it is* the newest release


Which gets some (limited) support on Linux, but not on Windows.
(Why would a Windows user install a version of FFmpeg that is
known to contain more bugs and less features but for which he will
not get any support?)


since there are no official binaries at all and on a typical windows 
machine no build environment exists nor has the typical windows user a 
clue how to compile software at all that's pointless

___
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: libwebp not found using pkg-config

2017-10-12 Thread Edward Shi
Hi, FFMPEG professor:


I tried to enable webp for ffmpeg, and got below error:


configure:

./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-libopus --enable-libsnappy --enable-libsoxr 
--enable-libspeex --enable-libtheora --enable-libvidstab  --enable-libvorbis 
--enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 
--enable-libxvid --enable-libzmq --enable-version3 --disable-ffplay 
--disable-indev=qtkit --enable-libopenjpeg  --enable-libopenh264  
--enable-libkvazaar --enable-libilbc  --enable-libfdk-aac --enable-nonfree 
--enable-encoder=aac --enable-libwebp


ERROR: libwebp not found using pkg-config




actually, I have install libwebp.a

both under

   /usr/local/lib

   and

/usr/local/Cellar/webp/0.6.0_2/lib/


could someone help?


thanks!



Best regards

Edward Shi

___
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 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(&format_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(&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_

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

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

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

[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 when installed ffmpeg from git

2014-10-20 Thread Reindl Harald


Am 20.10.2014 um 10:19 schrieb Binathi Bingi:

I installed ffmpeg from git on my machine which runs on Ubuntu14.04.
I followed the instructions given in the below compilation guide.
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

Instead of using the git snapshot as mentioned in the documentation, I did

git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg

ffmpeg is installed, but when i typed ffserver at command prompt, it gave
me the error "Could not open the configuration file '/etc/ffserver.conf'
Error reading configuration file '/etc/ffserver.conf': No such file or
directory"


so what - a config file don't exist magically :-)
PEBCAK

https://www.google.at/search?q=ffserver.conf
http://www.ffmpeg.org/sample.html



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


Re: [FFmpeg-user] Error when installed ffmpeg from git

2014-10-20 Thread Binathi Bingi
I couldn't find the file /etc but could locate the ffserver.conf in
~/ffmpeg_sources/ffmpeg/doc
I copied it from ~/ffmpeg_sources/ffmpeg/doc to /etc
But I am not sure if this was the right thing to do.

Binathi

On Mon, Oct 20, 2014 at 2:16 PM, Reindl Harald 
wrote:

>
> Am 20.10.2014 um 10:19 schrieb Binathi Bingi:
>
>  I installed ffmpeg from git on my machine which runs on Ubuntu14.04.
>> I followed the instructions given in the below compilation guide.
>> https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
>>
>> Instead of using the git snapshot as mentioned in the documentation, I did
>>
>> git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
>>
>> ffmpeg is installed, but when i typed ffserver at command prompt, it gave
>> me the error "Could not open the configuration file '/etc/ffserver.conf'
>> Error reading configuration file '/etc/ffserver.conf': No such file or
>> directory"
>>
>
> so what - a config file don't exist magically :-)
> PEBCAK
>
> https://www.google.at/search?q=ffserver.conf
> http://www.ffmpeg.org/sample.html
>
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error when installed ffmpeg from git

2014-10-20 Thread Reindl Harald



Am 20.10.2014 um 10:52 schrieb Binathi Bingi:

I couldn't find the file /etc


/etc is not a file
/etc is the folder with configurations on unix


but could locate the ffserver.conf in
~/ffmpeg_sources/ffmpeg/doc
I copied it from ~/ffmpeg_sources/ffmpeg/doc to /etc
But I am not sure if this was the right thing to do.


uhm read some manpages

start here
https://www.google.at/search?q=ffserver.conf

you need to configure it for *your needs*
that's why it is a config file


On Mon, Oct 20, 2014 at 2:16 PM, Reindl Harald 
wrote:



Am 20.10.2014 um 10:19 schrieb Binathi Bingi:

I installed ffmpeg from git on my machine which runs on Ubuntu14.04.

I followed the instructions given in the below compilation guide.
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

Instead of using the git snapshot as mentioned in the documentation, I did

git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg

ffmpeg is installed, but when i typed ffserver at command prompt, it gave
me the error "Could not open the configuration file '/etc/ffserver.conf'
Error reading configuration file '/etc/ffserver.conf': No such file or
directory"



so what - a config file don't exist magically :-)
PEBCAK

https://www.google.at/search?q=ffserver.conf
http://www.ffmpeg.org/sample.html




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


Re: [FFmpeg-user] Error when installed ffmpeg from git

2014-10-20 Thread Binathi Bingi
Sorry, that was a typo error, I meant I couldnot find the file in /etc .

On Mon, Oct 20, 2014 at 2:25 PM, Reindl Harald 
wrote:

>
>
> Am 20.10.2014 um 10:52 schrieb Binathi Bingi:
>
>> I couldn't find the file /etc
>>
>
> /etc is not a file
> /etc is the folder with configurations on unix
>
>  but could locate the ffserver.conf in
>> ~/ffmpeg_sources/ffmpeg/doc
>> I copied it from ~/ffmpeg_sources/ffmpeg/doc to /etc
>> But I am not sure if this was the right thing to do.
>>
>
> uhm read some manpages
>
> start here
> https://www.google.at/search?q=ffserver.conf
>
> you need to configure it for *your needs*
> that's why it is a config file
>
>
>  On Mon, Oct 20, 2014 at 2:16 PM, Reindl Harald 
>> wrote:
>>
>>
>>> Am 20.10.2014 um 10:19 schrieb Binathi Bingi:
>>>
>>> I installed ffmpeg from git on my machine which runs on Ubuntu14.04.
>>>
 I followed the instructions given in the below compilation guide.
 https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

 Instead of using the git snapshot as mentioned in the documentation, I
 did

 git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg

 ffmpeg is installed, but when i typed ffserver at command prompt, it
 gave
 me the error "Could not open the configuration file '/etc/ffserver.conf'
 Error reading configuration file '/etc/ffserver.conf': No such file or
 directory"


>>> so what - a config file don't exist magically :-)
>>> PEBCAK
>>>
>>> https://www.google.at/search?q=ffserver.conf
>>> http://www.ffmpeg.org/sample.html
>>>
>>
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error when installed ffmpeg from git

2014-10-20 Thread Nicolas George
Le nonidi 29 vendémiaire, an CCXXIII, Binathi Bingi a écrit :
> I couldn't find the file /etc but could locate the ffserver.conf in
> ~/ffmpeg_sources/ffmpeg/doc
> I copied it from ~/ffmpeg_sources/ffmpeg/doc to /etc
> But I am not sure if this was the right thing to do.

That was definitely NOT the right thing to do. You should never use the root
privileges lightly.

The right thing to do is to read the documentation. FFserver's documentation
is available online:

http://ffmpeg.org/ffserver.html

And you also have a copy of the same documentation in the doc/ directory in
the compilation tree.

The documentation is quite long, but there is a nice table of contents in
the HTML version, and the title "3.3 How do I make it work?" looks
promising.

> On Mon, Oct 20, 2014 at 2:16 PM, Reindl Harald 
> wrote:

Please remember that this mailing-list's netiquette strongly discourage
top-posting.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error when installed ffmpeg from git

2014-10-20 Thread Reindl Harald



Am 20.10.2014 um 10:59 schrieb Binathi Bingi:

Sorry, that was a typo error, I meant I couldnot find the file in /etc .


well, that is what the error message says in your first post

> Error reading configuration file '/etc/ffserver.conf':
> No such file or directory"

you don't want that file to be installed automatically
or do you wan't to get your config overwritten with updates


On Mon, Oct 20, 2014 at 2:25 PM, Reindl Harald 
wrote:


Am 20.10.2014 um 10:52 schrieb Binathi Bingi:


I couldn't find the file /etc



/etc is not a file
/etc is the folder with configurations on unix

  but could locate the ffserver.conf in

~/ffmpeg_sources/ffmpeg/doc
I copied it from ~/ffmpeg_sources/ffmpeg/doc to /etc
But I am not sure if this was the right thing to do.


uhm read some manpages

start here
https://www.google.at/search?q=ffserver.conf

you need to configure it for *your needs*
that's why it is a config file

  On Mon, Oct 20, 2014 at 2:16 PM, Reindl Harald 

wrote:



Am 20.10.2014 um 10:19 schrieb Binathi Bingi:

I installed ffmpeg from git on my machine which runs on Ubuntu14.04.


I followed the instructions given in the below compilation guide.
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

Instead of using the git snapshot as mentioned in the documentation, I
did

git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg

ffmpeg is installed, but when i typed ffserver at command prompt, it
gave
me the error "Could not open the configuration file '/etc/ffserver.conf'
Error reading configuration file '/etc/ffserver.conf': No such file or
directory"



so what - a config file don't exist magically :-)
PEBCAK

https://www.google.at/search?q=ffserver.conf
http://www.ffmpeg.org/sample.html




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


[FFmpeg-user] Error with parameterization using h264 with profiles

2014-11-28 Thread S. John

Hi everybody!

I'm struggling with a simple task. Converting an .avi containing a 
single cvid

video stream with rgb24 color model to a .mp4 with h264 encoding.

For some reason, ffmpeg won't let me use any other h264 profile other than
high444. With every other profile i use, the encoder still seems to use 
yuv444p

pixel format (which is only allowed in high444). Doing so /
 ffmpeg -i input.avi -vcodec libx264 -vprofile main -pix_fmt yuv420p 
out.mp4/

results in an error:

Output #0, mp4, to 'out.mp4':
Stream #0:0: Video: h264, yuv444p, 320x240, q=-1--1, 90k tbn, 15 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (cinepak -> libx264)
/Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width o//r height/

I can circumvent the problem by manually specifying the correct pixel 
format:
/ffmpeg -i input.avi -vcodec libx264 -vprofile main -pix_fmt yuv420p 
out.mp4/


Is this an intended behavior? For what I read in the documentation, I 
expected
ffmpeg to automatically choose parameters in accordance to the selected 
profile.
Or is the profile selection more like an assert, just telling me 
whenever I'm not

in accordance with the constraints of a selected profile?

Thank you for any information on this topic!
Stefan
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] Error: "Non-monotonous DTS in output stream"

2014-12-22 Thread Dâniel Fraga
I'm using GIT ffmpeg and now I'm getting the following error
(-report output below):

ffmpeg started on 2014-12-22 at 20:49:12
Report written to "ffmpeg-20141222-204912.log"
Command line:
/usr/local/bin/ffmpeg -report -xerror -loglevel info -f x11grab -framerate 25 
-video_size 1920x1200 -i :0.0+0,0 -dcodec copy -f alsa -i pulse 
-audio_service_type co -vol 512 -vcodec libx264 -acodec libmp3lame -y 
/home/fraga/src/qx11grab.mp4
ffmpeg version N-68650-gfe439c2 Copyright (c) 2000-2014 the FFmpeg developers
  built on Dec 22 2014 20:35:32 with gcc 4.9.2 (GCC)
  configuration: --enable-shared --extra-ldflags=-L/usr/local/lib64 
--enable-gpl --enable-postproc --enable-x11grab --enable-libx264 
--enable-libx265 --enable-libvorbis --enable-nonfree --enable-libfaac 
--enable-libmp3lame --enable-libbluray --disable-ffserver --enable-libvpx 
--enable-libpulse
  libavutil  54. 15.100 / 54. 15.100
  libavcodec 56. 16.100 / 56. 16.100
  libavformat56. 16.101 / 56. 16.101
  libavdevice56.  3.100 / 56.  3.100
  libavfilter 5.  4.100 /  5.  4.100
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  3.100 / 53.  3.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) 
with argument '1'.
Reading option '-xerror' ... matched as option 'xerror' (exit on error) with 
argument '1'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) 
with argument 'info'.
Reading option '-f' ... matched as option 'f' (force format) with argument 
'x11grab'.
Reading option '-framerate' ... matched as AVOption 'framerate' with argument 
'25'.
Reading option '-video_size' ... matched as AVOption 'video_size' with argument 
'1920x1200'.
Reading option '-i' ... matched as input file with argument ':0.0+0,0'.
Reading option '-dcodec' ... matched as option 'dcodec' (force data codec 
('copy' to copy stream)) with argument 'copy'.
Reading option '-f' ... matched as option 'f' (force format) with argument 
'alsa'.
Reading option '-i' ... matched as input file with argument 'pulse'.
Reading option '-audio_service_type' ... matched as AVOption 
'audio_service_type' with argument 'co'.
Reading option '-vol' ... matched as option 'vol' (change audio volume 
(256=normal)) with argument '512'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec 
('copy' to copy stream)) with argument 'libx264'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec 
('copy' to copy stream)) with argument 'libmp3lame'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with 
argument '1'.
Reading option '/home/fraga/src/qx11grab.mp4' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Applying option xerror (exit on error) with argument 1.
Applying option loglevel (set logging level) with argument info.
Applying option vol (change audio volume (256=normal)) with argument 512.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file :0.0+0,0.
Applying option f (force format) with argument x11grab.
Successfully parsed a group of options.
Opening an input file: :0.0+0,0.
[x11grab @ 0x1c25980] All info found
Input #0, x11grab, from ':0.0+0,0':
  Duration: N/A, start: 1419288553.031415, bitrate: N/A
Stream #0:0, 1, 1/100: Video: rawvideo (BGR[0] / 0x524742), bgr0, 
1920x1200, 25 fps, 25 tbr, 1000k tbn, 25 tbc
Successfully opened the file.
Parsing a group of options: input file pulse.
Applying option dcodec (force data codec ('copy' to copy stream)) with argument 
copy.
Applying option f (force format) with argument alsa.
Successfully parsed a group of options.
Opening an input file: pulse.
[alsa @ 0x1c2cc40] All info found
Guessed Channel Layout for  Input Stream #1.0 : stereo
Input #1, alsa, from 'pulse':
  Duration: N/A, start: 1419288553.038738, bitrate: 1536 kb/s
Stream #1:0, 1, 1/100: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 
1536 kb/s
Successfully opened the file.
Parsing a group of options: output file /home/fraga/src/qx11grab.mp4.
Applying option vcodec (force video codec ('copy' to copy stream)) with 
argument libx264.
Applying option acodec (force audio codec ('copy' to copy stream)) with 
argument libmp3lame.
Successfully parsed a group of options.
Opening an output file: /home/fraga/src/qx11grab.mp4.
Successfully opened the file.
detected 8 logical cores
[graph 0 input from stream 0:0 @ 0x1c1bca0] Setting 'video_size' to value 
'1920x1200'
[graph 0 input from stream 0:0 @ 0x1c1bca0] Setting 'pix_fmt' to value '298'
[graph 0 input from stream 0:0 @ 0x1c1bca0] Setting 'time_base' to value 
'1/100'
[graph 0 input from stream 0:0 @ 0x1c1bca0] Setting 'pixel_aspect' to value 
'0/1'
[graph 0 input from stream 0:0 @ 0x1c1bca0] Setting 'sws_param' 

Re: [FFmpeg-user] Error Message: sps_id 1 out of range

2021-04-03 Thread Carl Eugen Hoyos


> Am 02.04.2021 um 23:54 schrieb Simone Croci :
> 
> I am decoding an MVC H.264 video and I get a lot of error messages "sps_id
> 1 out of range". What is the problem?


> is it caused by the fact that ffmpeg
> does not support MVC H.264?

Yes.

As Carl wrote:
When asking questions on this mailing list, always provide the command line you 
tested together with the complete, uncut console output, do not use external 
resources if possible.

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 Message: sps_id 1 out of range

2021-04-03 Thread Simone Croci
On Sat, 3 Apr 2021 at 21:20, Carl Zwanzig  wrote:

> On 4/3/2021 1:18 PM, Simone Croci wrote:
> > This is the command:
>
> need the output (-always- include the output, in the email, not attached
> nor
> linked to another site).
>

I have run again the command after restarting the computer, and I haven't
seen any error message this time.

This is the error message I got the first time I run the command:

[h264 @ 0153dc5d4280] sps_id 1 out of range


Apparently, the problem has been solved by simply rebooting the PC. Btw, my
OS is Windows 10.

Simone


> ___
> 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: libbluray not found using pkg-config

2021-04-16 Thread Giovanni Musto
Solved by installing liblzma-dev.
___
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: zimg >= 2.7.0 not found using pkg-config

2022-01-13 Thread Matt C
Hi, when compiling, is there a good way to fix the

ERROR: zimg >= 2.7.0 not found using pkg-config

Was using this guide

https://zimg.buaa.us/documents/install/

With this Git

git clone https://github.com/buaazp/zimg -b master –depth=1

and ffmpeg 4.4

https://ffmpeg.org/releases/ffmpeg-4.4.tar.bz2

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 while hardcoding subtitles (Invalid object location)

2022-01-24 Thread Carl Zwanzig

On 1/24/2022 6:22 AM, Sergey_S wrote:

Please kindly advise/ Thanks.


Upgrade to a modern version of ffmpeg, try again, then post the 
complete/unedited output of the command.


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

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


Re: [FFmpeg-user] Error while hardcoding subtitles (Invalid object location)

2022-01-24 Thread Sergey_S
C:\Users\shuts\Downloads\ffmpeg-2022-01-19-git-dd17c86aa1-essentials_build\bin>ffmpeg
-i C:\Users\shuts\Desktop\Ep1.ts -vcodec libx264 -s 720x576 -g 50
-keyint_min 50 -sc_threshold 0 -vprofile main -level 4.1 -b:v 3000K
-maxrate 3000K -bufsize 6000K -r 25.000 -acodec aac -ar 48000 -ac 2 -ab
128k -async 2 -filter_complex "[0:v][0:s:1]overlay[v]" -map "[v]" -map 0:a
-f mpegts C:\Users\shuts\Desktop\8.ts
ffmpeg version 2022-01-19-git-dd17c86aa1-essentials_build-www.gyan.dev
Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 11.2.0 (Rev5, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static
--disable-w32threads --disable-autodetect --enable-fontconfig
--enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib
--enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq
--enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg
--enable-libvpx --enable-mediafoundation --enable-libass
--enable-libfreetype --enable-libfribidi --enable-libvidstab
--enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm
--enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc
--enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme
--enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame
--enable-libtheora --enable-libvo-amrwbenc --enable-libgsm
--enable-libopencore-amrnb --enable-libopus --enable-libspeex
--enable-libvorbis --enable-librubberband
  libavutil  57. 18.100 / 57. 18.100
  libavcodec 59. 20.100 / 59. 20.100
  libavformat59. 17.101 / 59. 17.101
  libavdevice59.  5.100 / 59.  5.100
  libavfilter 8. 26.100 /  8. 26.100
  libswscale  6.  5.100 /  6.  5.100
  libswresample   4.  4.100 /  4.  4.100
  libpostproc56.  4.100 / 56.  4.100
Input #0, mpegts, from 'C:\Users\shuts\Desktop\Ep1.ts':
  Duration: 00:03:23.17, start: 0.177656, bitrate: 52106 kb/s
  Program 1
  Stream #0:0[0x100]: Video: mpeg2video (4:2:2) ([2][0][0][0] / 0x0002),
yuv422p(tv, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 5 kb/s, 25 fps,
25 tbr, 90k tbn
Side data:
  cpb: bitrate max/min/avg: 5000/0/0 buffer size: 47185920
vbv_delay: N/A
  Stream #0:1[0x101](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
5.1(side), fltp, 448 kb/s
  Stream #0:2[0x106](ell): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
  Stream #0:3[0x102](ell): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Stream mapping:
  Stream #0:0 (mpeg2video) -> overlay (graph 0)
  Stream #0:3 (dvbsub) -> overlay (graph 0)
  overlay:default (graph 0) -> Stream #0:0 (libx264)
  Stream #0:1 -> #0:1 (ac3 (native) -> aac (native))
Press [q] to stop, [?] for help
[mpegts @ 01cafa6dd4c0] sub2video: using 1920x1080 canvas
[libx264 @ 01cafa6e6040] using SAR=64/45
[libx264 @ 01cafa6e6040] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 01cafa6e6040] profile Main, level 4.1, 4:2:0, 8-bit
-async is forwarded to lavfi similarly to -af
aresample=async=2:min_hard_comp=0.10:first_pts=0.
Output #0, mpegts, to 'C:\Users\shuts\Desktop\8.ts':
  Metadata:
encoder : Lavf59.17.101
  Stream #0:0: Video: h264, yuv420p(tv, progressive), 720x576 [SAR 64:45
DAR 16:9], q=2-31, 3000 kb/s, 25 fps, 90k tbn
Metadata:
  encoder : Lavc59.20.100 libx264
Side data:
  cpb: bitrate max/min/avg: 300/0/300 buffer size: 600
vbv_delay: N/A
  Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
Metadata:
  encoder : Lavc59.20.100 aac
[dvbsub @ 01cafab897c0] Invalid object location! 526-526 0-60
002744.5kbits/s speed=0.933x
[dvbsub @ 01cafab897c0] Invalid object location! 526-526 1-60 00
[dvbsub @ 01cafab897c0] Invalid object location! 280-280 0-76
003195.2kbits/s speed=0.914x
[dvbsub @ 01cafab897c0] Invalid object location! 280-280 1-76 00
[dvbsub @ 01cafab897c0] Invalid object location! 280-280 0-76
003185.5kbits/s speed=0.898x
[dvbsub @ 01cafab897c0] Invalid object location! 280-280 1-76 00
[dvbsub @ 01cafab897c0] Invalid object location! 963-963 0-76
003180.2kbits/s speed=0.891x
[dvbsub @ 01cafab897c0] Invalid object location! 963-963 1-76 00
[dvbsub @ 01cafab897c0] Invalid object location! 145-145 0-76
003166.4kbits/s speed=0.886x
[dvbsub @ 01cafab897c0] Invalid object location! 145-145 1-76 00
[dvbsub @ 01cafab897c0] Invalid object location! 952-952 0-161
00178.4kbits/s speed=0.882x
[dvbsub @ 01cafab897c0] Invalid object location! 952-952 1-161 00
[dvbsub @ 01cafab897c0] Invalid object location! 722-722 0-77
003179.5kbits/s speed=0.88x
[dvbsub @ 01cafab897c0] Invalid object location! 722-722 1-77 00
[dvbsub @ 01cafab897c0] Invalid object location! 375-375 0-75
003177.3kbits/s speed=0.88x
[dvbsub @ 01cafab897c0] Invalid object location! 375-375 1-75 00
[dvbsub @ 01cafab897c0] Invalid object location! 375-375 0-76

Re: [FFmpeg-user] Error while hardcoding subtitles (Invalid object location)

2022-01-25 Thread Sergey_S
C:\Users\shuts\Downloads\ffmpeg-2022-01-19-git-dd17c86aa1-essentials_build\bin>ffmpeg
-i C:\Users\shuts\Desktop\Ep1.ts -vcodec libx264 -s 720x576 -g 50
-keyint_min 50 -sc_threshold 0 -vprofile main -level 4.1 -b:v 3000K
-maxrate 3000K -bufsize 6000K -r 25.000 -acodec aac -ar 48000 -ac 2 -ab
128k -async 2 -filter_complex "[0:v][0:s:1]overlay[v]" -map "[v]" -map 0:a
-f mpegts C:\Users\shuts\Desktop\8.ts
ffmpeg version 2022-01-19-git-dd17c86aa1-essentials_build-www.gyan.dev
Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 11.2.0 (Rev5, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static
--disable-w32threads --disable-autodetect --enable-fontconfig
--enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib
--enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq
--enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg
--enable-libvpx --enable-mediafoundation --enable-libass
--enable-libfreetype --enable-libfribidi --enable-libvidstab
--enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm
--enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc
--enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme
--enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame
--enable-libtheora --enable-libvo-amrwbenc --enable-libgsm
--enable-libopencore-amrnb --enable-libopus --enable-libspeex
--enable-libvorbis --enable-librubberband
  libavutil  57. 18.100 / 57. 18.100
  libavcodec 59. 20.100 / 59. 20.100
  libavformat59. 17.101 / 59. 17.101
  libavdevice59.  5.100 / 59.  5.100
  libavfilter 8. 26.100 /  8. 26.100
  libswscale  6.  5.100 /  6.  5.100
  libswresample   4.  4.100 /  4.  4.100
  libpostproc56.  4.100 / 56.  4.100
Input #0, mpegts, from 'C:\Users\shuts\Desktop\Ep1.ts':
  Duration: 00:03:23.17, start: 0.177656, bitrate: 52106 kb/s
  Program 1
  Stream #0:0[0x100]: Video: mpeg2video (4:2:2) ([2][0][0][0] / 0x0002),
yuv422p(tv, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 5 kb/s, 25 fps,
25 tbr, 90k tbn
Side data:
  cpb: bitrate max/min/avg: 5000/0/0 buffer size: 47185920
vbv_delay: N/A
  Stream #0:1[0x101](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
5.1(side), fltp, 448 kb/s
  Stream #0:2[0x106](ell): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
  Stream #0:3[0x102](ell): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Stream mapping:
  Stream #0:0 (mpeg2video) -> overlay (graph 0)
  Stream #0:3 (dvbsub) -> overlay (graph 0)
  overlay:default (graph 0) -> Stream #0:0 (libx264)
  Stream #0:1 -> #0:1 (ac3 (native) -> aac (native))
Press [q] to stop, [?] for help
[mpegts @ 01cafa6dd4c0] sub2video: using 1920x1080 canvas
[libx264 @ 01cafa6e6040] using SAR=64/45
[libx264 @ 01cafa6e6040] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 01cafa6e6040] profile Main, level 4.1, 4:2:0, 8-bit
-async is forwarded to lavfi similarly to -af
aresample=async=2:min_hard_comp=0.10:first_pts=0.
Output #0, mpegts, to 'C:\Users\shuts\Desktop\8.ts':
  Metadata:
encoder : Lavf59.17.101
  Stream #0:0: Video: h264, yuv420p(tv, progressive), 720x576 [SAR 64:45
DAR 16:9], q=2-31, 3000 kb/s, 25 fps, 90k tbn
Metadata:
  encoder : Lavc59.20.100 libx264
Side data:
  cpb: bitrate max/min/avg: 300/0/300 buffer size: 600
vbv_delay: N/A
  Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
Metadata:
  encoder : Lavc59.20.100 aac
[dvbsub @ 01cafab897c0] Invalid object location! 526-526 0-60
002744.5kbits/s speed=0.933x
[dvbsub @ 01cafab897c0] Invalid object location! 526-526 1-60 00
[dvbsub @ 01cafab897c0] Invalid object location! 280-280 0-76
003195.2kbits/s speed=0.914x
[dvbsub @ 01cafab897c0] Invalid object location! 280-280 1-76 00
[dvbsub @ 01cafab897c0] Invalid object location! 280-280 0-76
003185.5kbits/s speed=0.898x
[dvbsub @ 01cafab897c0] Invalid object location! 280-280 1-76 00
[dvbsub @ 01cafab897c0] Invalid object location! 963-963 0-76
003180.2kbits/s speed=0.891x
[dvbsub @ 01cafab897c0] Invalid object location! 963-963 1-76 00
[dvbsub @ 01cafab897c0] Invalid object location! 145-145 0-76
003166.4kbits/s speed=0.886x
[dvbsub @ 01cafab897c0] Invalid object location! 145-145 1-76 00
[dvbsub @ 01cafab897c0] Invalid object location! 952-952 0-161
00178.4kbits/s speed=0.882x
[dvbsub @ 01cafab897c0] Invalid object location! 952-952 1-161 00
[dvbsub @ 01cafab897c0] Invalid object location! 722-722 0-77
003179.5kbits/s speed=0.88x
[dvbsub @ 01cafab897c0] Invalid object location! 722-722 1-77 00
[dvbsub @ 01cafab897c0] Invalid object location! 375-375 0-75
003177.3kbits/s speed=0.88x
[dvbsub @ 01cafab897c0] Invalid object location! 375-375 1-75 00
[dvbsub @ 01cafab897c0] Invalid object location! 375-375 0-76

Re: [FFmpeg-user] Error while hardcoding subtitles (Invalid object location)

2022-01-26 Thread Carl Eugen Hoyos
Am Mo., 24. Jan. 2022 um 19:46 Uhr schrieb Sergey_S :
>
> C:\Users\shuts\Downloads\ffmpeg-2022-01-19-git-dd17c86aa1-essentials_build\bin>ffmpeg
> -i C:\Users\shuts\Desktop\Ep1.ts -vcodec libx264 -s 720x576 -g 50
> -keyint_min 50 -sc_threshold 0 -vprofile main -level 4.1 -b:v 3000K
> -maxrate 3000K -bufsize 6000K -r 25.000 -acodec aac -ar 48000 -ac 2 -ab
> 128k -async 2 -filter_complex "[0:v][0:s:1]overlay[v]" -map "[v]" -map 0:a

Does the error disappear if you don't use "-s" if you are using "filter_complex"
(as you have to)?

> -f mpegts C:\Users\shuts\Desktop\8.ts

"-f mpegts" looks strange in this command line (but that may only be me).

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 hardcoding subtitles (Invalid object location)

2022-01-27 Thread Bo Berglund
On Wed, 26 Jan 2022 23:34:26 +0100, Carl Eugen Hoyos  wrote:

>Does the error disappear if you don't use "-s" if you are using 
>"filter_complex"
>(as you have to)?
>
>> -f mpegts C:\Users\shuts\Desktop\8.ts
>
>"-f mpegts" looks strange in this command line (but that may only be me).

Docs: 
https://ffmpeg.org/ffmpeg-all.html#toc-mpegts-1



-- 
Bo Berglund
Developer in Sweden

___
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 hardcoding subtitles (Invalid object location)

2022-01-27 Thread Sergey_S
Yes, even if i remove -s the error persists

On Thu, 27 Jan 2022, 20:04 Bo Berglund,  wrote:

> On Wed, 26 Jan 2022 23:34:26 +0100, Carl Eugen Hoyos 
> wrote:
>
> >Does the error disappear if you don't use "-s" if you are using
> "filter_complex"
> >(as you have to)?
> >
> >> -f mpegts C:\Users\shuts\Desktop\8.ts
> >
> >"-f mpegts" looks strange in this command line (but that may only be me).
>
> Docs:
> https://ffmpeg.org/ffmpeg-all.html#toc-mpegts-1
>
>
>
> --
> Bo Berglund
> Developer in Sweden
>
> ___
> 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: libvmaf >= 2.0.0 not found using pkg-config

2022-02-03 Thread 桃源老師
Hello,

I experienced funny ffmpeg compille error "ERROR: libvmaf >= 2.0.0 not found 
using pkg-config".  The reason why I feel funny is that ffmpeg commit of 
"06a54a4ec73ea6eb8cec41b7af75367bafb075e0(Date: Sat Jan 22 10:32:34 2022 
+0100)" can configure and make correctly, but current git head can't configure. 
 I suppose something wrong was happened after 2022/01/22.

I'm trying to build ffmpeg on macOS 12.2.

The seems to error portion on config.log is:

/var/folders/1d/qk_hczkn68xfv_7gdbkmhwx4gn/T//ffconf.DmkkrFIx/test.c:3:44: 
error: use of undeclared identifier 'vmaf_init'
long check_vmaf_init(void) { return (long) vmaf_init; }
   ^
1 error generated.
ERROR: libvmaf >= 2.0.0 not found using pkg-config


Any help is appreciated...

smime.p7s
Description: S/MIME cryptographic signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


Re: [FFmpeg-user] Error decoding DTS-HD MA audio files

2022-08-26 Thread Paul B Mahol
On Fri, Aug 26, 2022 at 4:12 PM  wrote:

> Hello
>
> Am trying to extract DTS-HD MA audio files from the following Blu-Ray
> (which
> I physically purchased)
>
> KARL RICHTER - J.S. Bach: Cantatas - Pure Audio Recordings
> <
> https://pureaudiorecordings.com/en/product/karl-richter-j-s-bach-cantatas/
> >
>
>
> I am getting the same result both with DVDAE and with MakeMKV / MMH which I
> believe both use ffmpeg to extract DTS-HD MA. About 80% of the tracks are
> correctly extracted to 24/192kHz files and around 20% of the tracks are
> extracted to 24/48kHz files which play back at ¼ speed. I then corrected
> the
> speed using
>
>
>
> ffmpeg -i 1.flac -af asetrate=192000 2.flac
>
>
>
> This now works on some of my playback equipment. However when I launch
> playback of a converted file, it shows 0/192kHz for around 5 seconds and
> only then locks to the 24/192kHz stream and plays back. This happens with
> files that were correctly extracted to 192kHz and to those that I had to
> speed up after the fact. So there seems to be something fundamentally wrong
> with the ffmpeg extraction of this BluRay
>
>
>
> I have prepared some sample files on one drive
>
> https://1drv.ms/u/s!AmpEbEYrlrk5lWGskTYvPp0iv4L3?e=U7kCRC
>
> Chapter 4 extracts correctly to 192kHz
>
> Chapter 5 extracts to 48kHz
>
> Both flac extract to not play back correctly on dCS Rossini
>
>
>
> Could you please take a look at this? Thanks a lot
>
>
File is password protected.


> Rudi
>
>
>
> ___
> 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 decoding DTS-HD MA audio files

2022-08-26 Thread rfischer56
Password is 'homer'
Sorry

-Original Message-
From: ffmpeg-user  On Behalf Of Paul B Mahol
Sent: Friday, 26. August 2022 17:21
To: FFmpeg user questions 
Subject: Re: [FFmpeg-user] Error decoding DTS-HD MA audio files

On Fri, Aug 26, 2022 at 4:12 PM  wrote:

> Hello
>
> Am trying to extract DTS-HD MA audio files from the following Blu-Ray 
> (which I physically purchased)
>
> KARL RICHTER - J.S. Bach: Cantatas - Pure Audio Recordings < 
> https://pureaudiorecordings.com/en/product/karl-richter-j-s-bach-canta
> tas/
> >
>
>
> I am getting the same result both with DVDAE and with MakeMKV / MMH 
> which I believe both use ffmpeg to extract DTS-HD MA. About 80% of the 
> tracks are correctly extracted to 24/192kHz files and around 20% of 
> the tracks are extracted to 24/48kHz files which play back at ¼ speed. 
> I then corrected the speed using
>
>
>
> ffmpeg -i 1.flac -af asetrate=192000 2.flac
>
>
>
> This now works on some of my playback equipment. However when I launch 
> playback of a converted file, it shows 0/192kHz for around 5 seconds 
> and only then locks to the 24/192kHz stream and plays back. This 
> happens with files that were correctly extracted to 192kHz and to 
> those that I had to speed up after the fact. So there seems to be 
> something fundamentally wrong with the ffmpeg extraction of this 
> BluRay
>
>
>
> I have prepared some sample files on one drive
>
> https://1drv.ms/u/s!AmpEbEYrlrk5lWGskTYvPp0iv4L3?e=U7kCRC
>
> Chapter 4 extracts correctly to 192kHz
>
> Chapter 5 extracts to 48kHz
>
> Both flac extract to not play back correctly on dCS Rossini
>
>
>
> Could you please take a look at this? Thanks a lot
>
>
File is password protected.


> Rudi
>
>
>
> ___
> 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 decoding DTS-HD MA audio files

2022-08-26 Thread Paul B Mahol
On Fri, Aug 26, 2022 at 4:12 PM  wrote:

> Hello
>
> Am trying to extract DTS-HD MA audio files from the following Blu-Ray
> (which
> I physically purchased)
>
> KARL RICHTER - J.S. Bach: Cantatas - Pure Audio Recordings
> <
> https://pureaudiorecordings.com/en/product/karl-richter-j-s-bach-cantatas/
> >
>
>
> I am getting the same result both with DVDAE and with MakeMKV / MMH which I
> believe both use ffmpeg to extract DTS-HD MA. About 80% of the tracks are
> correctly extracted to 24/192kHz files and around 20% of the tracks are
> extracted to 24/48kHz files which play back at ¼ speed. I then corrected
> the
> speed using
>
>
>
> ffmpeg -i 1.flac -af asetrate=192000 2.flac
>
>
>
> This now works on some of my playback equipment. However when I launch
> playback of a converted file, it shows 0/192kHz for around 5 seconds and
> only then locks to the 24/192kHz stream and plays back. This happens with
> files that were correctly extracted to 192kHz and to those that I had to
> speed up after the fact. So there seems to be something fundamentally wrong
> with the ffmpeg extraction of this BluRay
>
>
>
> I have prepared some sample files on one drive
>
> https://1drv.ms/u/s!AmpEbEYrlrk5lWGskTYvPp0iv4L3?e=U7kCRC
>
> Chapter 4 extracts correctly to 192kHz
>
> Chapter 5 extracts to 48kHz
>

The Chapter 5 file dts-hd-ma have certain delay. Thus you get with ffmpeg
first few frames in only dts core at 48kHz 16bit and later full dts-hd-ma
kicks in
with 192kHz and 32bit, but because filtering is not supporting changing of
sample rate and/or sample format at runtime all remaining frames are
filtered
back to 48kHz and 16bit. This is evident if you run ffmpeg with '-v debug'
flag.

Workaround is to force filtering at 192kHz and 32bit right at start with
this command:

ffmpeg -i Title1\ -\ Chapter\ 05.dts -af aformat=f=s32p:r=192000:cl=stereo
out.flac




>
> Both flac extract to not play back correctly on dCS Rossini
>

Hardware playback of 24bit flac at 192000 Hz is not widely supported AFAIK.


>
>
>
> Could you please take a look at this? Thanks a lot
>
> Rudi
>
>
>
> ___
> 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 decoding DTS-HD MA audio files

2022-08-26 Thread rfischer56
Thanks, Paul
You are a genius. Your command worked with the two files I had sent you. I am 
now getting playback on the dCS Rossini from the beginning and (as far as I can 
hear) gapless playback between 4 and 5.
However, I still have an inkling that not all is well
I have attached the log of the two conversions that I did. Chapter 4 seems to 
convert ok with some messages but (as I see it) nothing serious. However 
Chapter 5 (the one that previously converted to 48kHz) has some serious error 
messages. Playback of the flac file seems ok.
The dts file was extracted from the BluRay using DVDAE and the 'direct stream 
demux' option.  Ffmpeg has more issues with some extracted "dts files than with 
others. Could it be that the issue is already at the stage of the 'direct 
stream demux' option?
As I am getting exactly the same results (same files extract @48kHz) using 
MakeMKV / MMH, there could be a problem at the ripping stage of the BluRay and 
not primarily with ffmpeg? What do you think?
Best regards
Rudi




-Original Message-
From: ffmpeg-user  On Behalf Of Paul B Mahol
Sent: Friday, 26. August 2022 21:57
To: FFmpeg user questions 
Subject: Re: [FFmpeg-user] Error decoding DTS-HD MA audio files

On Fri, Aug 26, 2022 at 4:12 PM  wrote:

> Hello
>
> Am trying to extract DTS-HD MA audio files from the following Blu-Ray 
> (which I physically purchased)
>
> KARL RICHTER - J.S. Bach: Cantatas - Pure Audio Recordings < 
> https://pureaudiorecordings.com/en/product/karl-richter-j-s-bach-canta
> tas/
> >
>
>
> I am getting the same result both with DVDAE and with MakeMKV / MMH 
> which I believe both use ffmpeg to extract DTS-HD MA. About 80% of the 
> tracks are correctly extracted to 24/192kHz files and around 20% of 
> the tracks are extracted to 24/48kHz files which play back at ¼ speed. 
> I then corrected the speed using
>
>
>
> ffmpeg -i 1.flac -af asetrate=192000 2.flac
>
>
>
> This now works on some of my playback equipment. However when I launch 
> playback of a converted file, it shows 0/192kHz for around 5 seconds 
> and only then locks to the 24/192kHz stream and plays back. This 
> happens with files that were correctly extracted to 192kHz and to 
> those that I had to speed up after the fact. So there seems to be 
> something fundamentally wrong with the ffmpeg extraction of this 
> BluRay
>
>
>
> I have prepared some sample files on one drive
>
> https://1drv.ms/u/s!AmpEbEYrlrk5lWGskTYvPp0iv4L3?e=U7kCRC
>
> Chapter 4 extracts correctly to 192kHz
>
> Chapter 5 extracts to 48kHz
>

The Chapter 5 file dts-hd-ma have certain delay. Thus you get with ffmpeg first 
few frames in only dts core at 48kHz 16bit and later full dts-hd-ma kicks in 
with 192kHz and 32bit, but because filtering is not supporting changing of 
sample rate and/or sample format at runtime all remaining frames are filtered 
back to 48kHz and 16bit. This is evident if you run ffmpeg with '-v debug'
flag.

Workaround is to force filtering at 192kHz and 32bit right at start with this 
command:

ffmpeg -i Title1\ -\ Chapter\ 05.dts -af aformat=f=s32p:r=192000:cl=stereo 
out.flac




>
> Both flac extract to not play back correctly on dCS Rossini
>

Hardware playback of 24bit flac at 192000 Hz is not widely supported AFAIK.


>
>
>
> Could you please take a look at this? Thanks a lot
>
> Rudi
>
>
>
> ___
> 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".

D:\RF My Videos\ffmpeg Convert>rem this batch processes all files in folder 
'input' and puts the result in folder 'output'

D:\RF My Videos\ffmpeg Convert>FOR /F "tokens=*" %G IN ('dir /b /s *.dts') DO 
ffmpeg -i "%G" -af aformat=f=s32p:r=192000:cl=stereo "D:\RF My Videos\ffmpeg 
Convert\output\%~nG.flac"

D:\RF My Videos\ffmpeg Convert>ffmpeg -i "D:\RF My Videos\ffmpeg 
Convert\input\4.dts" -af aformat=f=s32p:r=192000:cl=stereo "D:\RF My 
Videos\ffmpeg Convert\output\4.flac"
ffmpeg version 2022-08-22-git-f23e3ce858-essentials_build-www.gyan.dev 
Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static 
--disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv 
--enable-g

Re: [FFmpeg-user] Error decoding DTS-HD MA audio files

2022-08-26 Thread Paul B Mahol
On Fri, Aug 26, 2022 at 10:23 PM  wrote:

> Thanks, Paul
> You are a genius. Your command worked with the two files I had sent you. I
> am now getting playback on the dCS Rossini from the beginning and (as far
> as I can hear) gapless playback between 4 and 5.
> However, I still have an inkling that not all is well
> I have attached the log of the two conversions that I did. Chapter 4 seems
> to convert ok with some messages but (as I see it) nothing serious. However
> Chapter 5 (the one that previously converted to 48kHz) has some serious
> error messages. Playback of the flac file seems ok.
> The dts file was extracted from the BluRay using DVDAE and the 'direct
> stream demux' option.  Ffmpeg has more issues with some extracted "dts
> files than with others. Could it be that the issue is already at the stage
> of the 'direct stream demux' option?
> As I am getting exactly the same results (same files extract @48kHz) using
> MakeMKV / MMH, there could be a problem at the ripping stage of the BluRay
> and not primarily with ffmpeg? What do you think?
> Best regards
> Rudi
>
>
I do not think it is ripping stage. It is how content was originally
produced.
I also noticed some strange error at end of chapter 5. So to be 100% sure
it is still ok, check for gapless between chapter 5 and 6 (if there is 6
chapter or whatever comes next).
There is very slight chance that there is no delay in any of dts files but
I doubt that because decoder follows specification 100% AFAIK.


>
>
>
> -Original Message-
> From: ffmpeg-user  On Behalf Of Paul B
> Mahol
> Sent: Friday, 26. August 2022 21:57
> To: FFmpeg user questions 
> Subject: Re: [FFmpeg-user] Error decoding DTS-HD MA audio files
>
> On Fri, Aug 26, 2022 at 4:12 PM  wrote:
>
> > Hello
> >
> > Am trying to extract DTS-HD MA audio files from the following Blu-Ray
> > (which I physically purchased)
> >
> > KARL RICHTER - J.S. Bach: Cantatas - Pure Audio Recordings <
> > https://pureaudiorecordings.com/en/product/karl-richter-j-s-bach-canta
> > tas/
> > >
> >
> >
> > I am getting the same result both with DVDAE and with MakeMKV / MMH
> > which I believe both use ffmpeg to extract DTS-HD MA. About 80% of the
> > tracks are correctly extracted to 24/192kHz files and around 20% of
> > the tracks are extracted to 24/48kHz files which play back at ¼ speed.
> > I then corrected the speed using
> >
> >
> >
> > ffmpeg -i 1.flac -af asetrate=192000 2.flac
> >
> >
> >
> > This now works on some of my playback equipment. However when I launch
> > playback of a converted file, it shows 0/192kHz for around 5 seconds
> > and only then locks to the 24/192kHz stream and plays back. This
> > happens with files that were correctly extracted to 192kHz and to
> > those that I had to speed up after the fact. So there seems to be
> > something fundamentally wrong with the ffmpeg extraction of this
> > BluRay
> >
> >
> >
> > I have prepared some sample files on one drive
> >
> > https://1drv.ms/u/s!AmpEbEYrlrk5lWGskTYvPp0iv4L3?e=U7kCRC
> >
> > Chapter 4 extracts correctly to 192kHz
> >
> > Chapter 5 extracts to 48kHz
> >
>
> The Chapter 5 file dts-hd-ma have certain delay. Thus you get with ffmpeg
> first few frames in only dts core at 48kHz 16bit and later full dts-hd-ma
> kicks in with 192kHz and 32bit, but because filtering is not supporting
> changing of sample rate and/or sample format at runtime all remaining
> frames are filtered back to 48kHz and 16bit. This is evident if you run
> ffmpeg with '-v debug'
> flag.
>
> Workaround is to force filtering at 192kHz and 32bit right at start with
> this command:
>
> ffmpeg -i Title1\ -\ Chapter\ 05.dts -af aformat=f=s32p:r=192000:cl=stereo
> out.flac
>
>
>
>
> >
> > Both flac extract to not play back correctly on dCS Rossini
> >
>
> Hardware playback of 24bit flac at 192000 Hz is not widely supported AFAIK.
>
>
> >
> >
> >
> > Could you please take a look at this? Thanks a lot
> >
> > Rudi
> >
> >
> >
> > ___
> > 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 decoding DTS-HD MA audio files

2022-08-26 Thread rfischer56
I have now ripped the whole Vol 1 of the first BluRay (87 tracks) with the 
'direct stream demux' method and then converted to flac with ffmpeg using your 
command parameters. The resulting flac files play ok. Most transitions are 
perfectly gapless, but there are a few that have a slight click at the track 
change (amongst others between 5 and 6).

Next, I tested playback with my Oppo BDP93 via HDMI to an Onkyo AVR. 
Interesting result. Playback is @192kHz and gapless. However when I skip to 
tracks 5 and 6 (who both showed issues when converting to flac), the Oppo 
counter increments (showing playback in progress), but output stays silent. If 
I play tracks 4, 5 and 6 in one go without skipping forward, playback is ok and 
gapless. So there definitely seems to be a production issue on DG's side.

Your workaround is priceless, thank you. I will now get back to Deutsche 
Grammophon to see if I can get the 192kHz files as a download from them
Best regards
Rudi





-Original Message-
From: ffmpeg-user  On Behalf Of Paul B Mahol
Sent: Friday, 26. August 2022 22:37
To: FFmpeg user questions 
Subject: Re: [FFmpeg-user] Error decoding DTS-HD MA audio files

On Fri, Aug 26, 2022 at 10:23 PM  wrote:

> Thanks, Paul
> You are a genius. Your command worked with the two files I had sent 
> you. I am now getting playback on the dCS Rossini from the beginning 
> and (as far as I can hear) gapless playback between 4 and 5.
> However, I still have an inkling that not all is well I have attached 
> the log of the two conversions that I did. Chapter 4 seems to convert 
> ok with some messages but (as I see it) nothing serious. However 
> Chapter 5 (the one that previously converted to 48kHz) has some 
> serious error messages. Playback of the flac file seems ok.
> The dts file was extracted from the BluRay using DVDAE and the 'direct 
> stream demux' option.  Ffmpeg has more issues with some extracted "dts 
> files than with others. Could it be that the issue is already at the 
> stage of the 'direct stream demux' option?
> As I am getting exactly the same results (same files extract @48kHz) 
> using MakeMKV / MMH, there could be a problem at the ripping stage of 
> the BluRay and not primarily with ffmpeg? What do you think?
> Best regards
> Rudi
>
>
I do not think it is ripping stage. It is how content was originally produced.
I also noticed some strange error at end of chapter 5. So to be 100% sure it is 
still ok, check for gapless between chapter 5 and 6 (if there is 6 chapter or 
whatever comes next).
There is very slight chance that there is no delay in any of dts files but I 
doubt that because decoder follows specification 100% AFAIK.


>
>
>
> -Original Message-
> From: ffmpeg-user  On Behalf Of Paul B 
> Mahol
> Sent: Friday, 26. August 2022 21:57
> To: FFmpeg user questions 
> Subject: Re: [FFmpeg-user] Error decoding DTS-HD MA audio files
>
> On Fri, Aug 26, 2022 at 4:12 PM  wrote:
>
> > Hello
> >
> > Am trying to extract DTS-HD MA audio files from the following 
> > Blu-Ray (which I physically purchased)
> >
> > KARL RICHTER - J.S. Bach: Cantatas - Pure Audio Recordings < 
> > https://pureaudiorecordings.com/en/product/karl-richter-j-s-bach-can
> > ta
> > tas/
> > >
> >
> >
> > I am getting the same result both with DVDAE and with MakeMKV / MMH 
> > which I believe both use ffmpeg to extract DTS-HD MA. About 80% of 
> > the tracks are correctly extracted to 24/192kHz files and around 20% 
> > of the tracks are extracted to 24/48kHz files which play back at ¼ speed.
> > I then corrected the speed using
> >
> >
> >
> > ffmpeg -i 1.flac -af asetrate=192000 2.flac
> >
> >
> >
> > This now works on some of my playback equipment. However when I 
> > launch playback of a converted file, it shows 0/192kHz for around 5 
> > seconds and only then locks to the 24/192kHz stream and plays back. 
> > This happens with files that were correctly extracted to 192kHz and 
> > to those that I had to speed up after the fact. So there seems to be 
> > something fundamentally wrong with the ffmpeg extraction of this 
> > BluRay
> >
> >
> >
> > I have prepared some sample files on one drive
> >
> > https://1drv.ms/u/s!AmpEbEYrlrk5lWGskTYvPp0iv4L3?e=U7kCRC
> >
> > Chapter 4 extracts correctly to 192kHz
> >
> > Chapter 5 extracts to 48kHz
> >
>
> The Chapter 5 file dts-hd-ma have certain delay. Thus you get with 
> ffmpeg first few frames in only dts core at 48kHz 16bit and later full 
> dts-hd-ma kicks in with 192kHz and 32bit, but because filtering is not 
> supporting changing of sample rate and/or

[FFmpeg-user] Error with FFmpeg and Node Canvas for SubtitleO

2023-09-02 Thread Suraj Kadam
We have a subtitles automation tool, made on ReactJS on FE. and NestJS on
BE.

So the flow is that on the frontend first we show the user a preview of the
subtitles, and give him options to modify the styling, the position of the
subtitles or the subtitle container, and on the preview everything is done
using CSS and JS.

We are looking for a sync up between the values from the frontend to apply
accurately on the backend.

Our current approach is by generating PNG images using node-canvas and then
streaming them out on the video at particular timestamps using
overlay_filter.

The first concern is of the scaling or the dimensions, as on the frontend
we are using VideoJS, and of course for better view we are resizing the
container as per devices etc, so the video's width & height on the frontend
is less (mostly) than the actual dimensions of the video.

While using that dimensions, the subtitles are too short to be rendered on
the video (smaller) as the width and height of the canvas gets shorter.

And also for the position, we are using react-draggble library for making
the subtitles draggable and place them on video In the preview, still we
lack on syncing up both the positions on the backend.

We are just looking for a proper roadmap or solution for these blockers.

Would appreciate your help on this.

Thanks.

Here's the current implementation of the code:

wrapText(context, text, x, y, maxWidth, lineHeight) {
const words = text.split(' ');
let line = '';

for (let n = 0; n < words.length; n++) {
  const testLine = line + words[n] + ' ';
  const metrics = context.measureText(testLine);
  const testWidth = metrics.width;
  if (testWidth > maxWidth && n > 0) {
context.fillText(line, x, y);
line = words[n] + ' ';
y += lineHeight;
  } else {
line = testLine;
  }
}
context.fillText(line, x, y);
  }
  generateSubtitlePNG(transcription: any, outputPath: string, w, h) {
const canvas = createCanvas(720, 200);
const ctx = canvas.getContext('2d');

ctx.fillStyle = 'rgba(0, 0, 0, 0)';
ctx.fillRect(0, 0, canvas.width, canvas.height);

const fontSize = 41;
ctx.font = `bold ${fontSize}px Arial`;
ctx.fillStyle = 'white';
ctx.textAlign = 'center';

const maxWidth = canvas.width; // 20 pixels padding on each side
const lineHeight = fontSize * 1.4; // Adjust as needed
const x = canvas.width / 2;
const y = (canvas.height - lineHeight) / 2 + fontSize / 2; // Adjusted
for font height

this.wrapText(ctx, transcription.text, x, y, maxWidth, lineHeight);

const buffer = canvas.toBuffer('image/png');
fs.writeFileSync(outputPath, buffer);
  }
  async applySubtitlesNew(
addSubtitlesDto: AddSubtitlestDto,
userId: number,
project: any,
  ) {
if (userId !== project.user.id) {
  throw new UnauthorizedException();
}

const videoPath = `uploads/${project.originalVideoFile}`;

const transcriptions = JSON.parse(addSubtitlesDto.transcriptions);
const pngPaths = [];
const dimensions = await this.getVideoDimensions(videoPath);
console.log(dimensions);
// Generate PNGs for each transcription
for (let i = 0; i < transcriptions.length; i++) {
  const outputPath =
`subtitles/${project.originalVideoFile}-subtitle-${i}.png`;
  this.generateSubtitlePNG(
transcriptions[i],
outputPath,
dimensions?.width,
dimensions?.height,
  );
  pngPaths.push(outputPath);
}
let filterComplex = '[0:v]';
for (let i = 0; i < pngPaths.length; i++) {
  const start = transcriptions[i].start.toFixed(2);
  const end = transcriptions[i].end.toFixed(2);
  const overlayX = '(W-w)/2';
  const overlayY = `H-h-10`;
  filterComplex += `[${
i + 1
  }:v]
overlay=${overlayX}:${overlayY}:enable='between(t,${start},${end})'`;
  if (i < pngPaths.length - 1) {
filterComplex += '[vout];[vout]';
  }
}

console.log(filterComplex);
// Run FFmpeg
return new Promise((resolve, reject) => {
  const ffmpegCommand = ffmpeg();

  // Add video input
  ffmpegCommand.input(videoPath);

  // Add PNG inputs
  for (const pngPath of pngPaths) {
ffmpegCommand.input(pngPath);
  }

  ffmpegCommand
.complexFilter(filterComplex)
.outputOptions('-c:v', 'libx264')
.output('output.mp4')
.on('end', () => {
  // Handle completion
  // Clean up PNG files
  for (const pngPath of pngPaths) {
fs.unlinkSync(pngPath);
  }
  resolve('done');
})
.on('error', (error, stdout, stderr) => {
  console.log(stderr);
  // Handle error
  reject(error);
})
.run();
});
  }
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or

[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

(&ctx->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: 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: 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: 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: '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: 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: 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".

[FFmpeg-user] error with cuda for convert ts to mp4

2021-01-10 Thread Michele Salerno

Hi,

i have GPU GTX660Ti on debian buster 64bit, cpu intel core i7.

I have fresh install debian and install latest driver and cuda from 
website nvidia, no repository of debian.


If convert file h264 with cpu it's ok, if use gpu i have error.

The video prova.ts is recorder from decoder sat.

The command used is:

ffmpeg -y -threads 8 -vsync 0 -hwaccel cuda -i prova.ts -r 24 -c:v 
h264_nvenc -filter_complex yadif=parity=tff:deint=all,scale=1920:1080 
-b:v 3M -c:a aac -b:a 192k -ar 48000 prova.mp4


This is output

https://pastebin.com/uW9knqkz

what is the error?

Thanks.

Best regards.

Michele


___
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 playing record audio from webcam

2021-01-19 Thread Vijay Rakesh Munganda
Hi,

I just tried to record only audio by running below command. 
ffmpeg -f alsa -channels 1 -i hw:1 -c:a aac -ar 48k -t 0:10 sample.aac 
When play sample.aac file using ffplay it started to play which I have recorded 
then after it continued to play with silent output. How to solve above issue? 

Thanks & Regards,
Vijay Rakesh

> On 19-Jan-2021, at 10:27, Vijay Rakesh Munganda 
>  wrote:
> 
> 
> Hi All, 
> 
> I’m using below command to create video and audio files for real time 
> streaming to the cloud.
> 
> ffmpeg -f alsa -channels 1 -thread_queue_size 1024 -i hw:1 -f video4linux2 -i 
> /dev/video0 -c:a aac -ar 48k -t 0:10 -segment_time 00:00.08 -f stream_segment 
> sample-%003d.aac -c:v h264 -force_key_frames "expr:gte(t,n_forced*0.08)" 
> -pix_fmt yuv420p -s:v 640x480 -t 0:10 -r 25 -g 1 -segment_time 00:00.08 -f 
> stream_segment frame-%003d.h264
> 
> When I use ffplay on video clips it is playing, but when I run audio clips I 
> get different errors for different segmented output as follows, and some 
> clips play for more than 13s when segment given as 80ms. 
> 
> Error:
> Error: sample-000.aac: Invalid data found when processing input 0B f=0/0
> 
> [mpegts @ 0x7f6f3b80] Format mpegts detected only with low score of 2, 
> misdetection possible! 
> 
> [mpegts @ 0x7f6f3b80] Could not detect TS packet size, defaulting to 
> non-FEC/DVHS sample-001.aac: could not find codec parameters
> 
> Did I miss anything in the command? 
> 
> Thanks & Regards,
> Vijay Rakesh
> 
> 
> Thanks & Regards,
> Vijay Rakesh
___
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 playing record audio from webcam

2021-01-19 Thread Carl Zwanzig

On 1/19/2021 4:18 AM, Vijay Rakesh Munganda wrote:

How to solve above issue?


You start by posting the complete command output so we can see what what's 
going on.


(and please don't top-post on this list)

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

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

Re: [FFmpeg-user] Error Capturing MJPEG Stream from Linux version

2021-02-05 Thread Carl Zwanzig

On 2/5/2021 9:02 AM, Alejandro Escudero wrote:

Note: On windows 10 FFmpeg version I don´t have this problem (ffmpeg version 
N-94423-ga0c1970781 Copyright (c) 2000-2019 the FFmpeg developers  built with 
gcc 9.1.1 (GCC) 20190716)


Much newer than...


Response (Linux):
ffmpeg version 2.8.15 Copyright (c) 2000-2018 the FFmpeg developers


That's positively _ancient_. Start by getting an up-to-date version of 
ffmpeg for linux.


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

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

Re: [FFmpeg-user] Error Capturing MJPEG Stream from Linux version

2021-02-05 Thread Carl Eugen Hoyos
Am Fr., 5. Feb. 2021 um 18:02 Uhr schrieb Alejandro Escudero
:

> ffmpeg -t 58 -i 
> "http://user:pass@cameraip:8080/video.cgi";<%22http:/user:pass@cameraip:8080/video.cgi%22>
>  -f segment -segment_time 16 -strftime 1 
> '/var/www/myrecordings/%Y-%m-%d_%H:%M:%S.mp4'

You could try to save the stream with wget or curl.

> Response (Linux):
>
> ffmpeg version 2.8.15 Copyright (c) 2000-2018 the FFmpeg developers

Very old and unsupported.

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 Capturing MJPEG Stream from Linux version

2021-02-05 Thread Alejandro Escudero
Which repository do you recommend me to download FFMpeg for CentOS Linux 
7.7.1908 (Core)

Thanks again!

Alejandro

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

De: ffmpeg-user  en nombre de Carl Eugen Hoyos 

Enviado: Friday, February 5, 2021 2:18:33 PM
Para: FFmpeg user questions 
Asunto: Re: [FFmpeg-user] Error Capturing MJPEG Stream from Linux version

Am Fr., 5. Feb. 2021 um 18:02 Uhr schrieb Alejandro Escudero
:

> ffmpeg -t 58 -i 
> "http://user:pass@cameraip:8080/video.cgi";<%22http:/user:pass@cameraip:8080/video.cgi%22>
>  -f segment -segment_time 16 -strftime 1 
> '/var/www/myrecordings/%Y-%m-%d_%H:%M:%S.mp4'

You could try to save the stream with wget or curl.

> Response (Linux):
>
> ffmpeg version 2.8.15 Copyright (c) 2000-2018 the FFmpeg developers

Very old and unsupported.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&data=04%7C01%7C%7C4ea3cabfb032480e9eff08d8ca0e6fb6%7C84df9e7fe9f640afb435%7C1%7C0%7C637481510644588119%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=aADE9YkYKp7PoE%2BuIXH8hTsZ%2Fxnd0eRNQvf3DeFA1WU%3D&reserved=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 Capturing MJPEG Stream from Linux version

2021-02-05 Thread Carl Zwanzig

On 2/5/2021 12:34 PM, Alejandro Escudero wrote:

Which repository do you recommend me to download FFMpeg for CentOS Linux 
7.7.1908 (Core)


see https://ffmpeg.org/download.html

Also https://ffmpeg.org/mailing-list-faq.html-
Please do not "top post" on this mailing list.

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

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

Re: [FFmpeg-user] Error decoding RTSP stream using h264_cuvid vcodec

2021-03-10 Thread Moritz Barsnick
On Tue, Mar 09, 2021 at 16:46:41 -0500, Nishant Trivedi via ffmpeg-user wrote:
> I am trying to decode a RTSP video stream using ffmpeg while using
> h264_cuvid vcodec to take advantage of hardware acceleration on a machine
> with NVIDIA GPU. I am seeing an error with the message Unknown encoder
> 'h264_cuvid'.

That's because no such encoder exists.

Have you tried "h264_nvenc"?

> ffmpeg version n4.1.6-5-g7f0db52c53 Copyright (c) 2000-2020 the FFmpeg 
> developers

On this list, it's also always a good idea to use a recent version of
ffmpeg - preferred from latest git. That way, you can rule reporting
bugs or missing features which are no longer valid.

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 decoding RTSP stream using h264_cuvid vcodec

2021-03-10 Thread Nishant Trivedi via ffmpeg-user
Oh duh! Thanks @Moritz!

As a side note, I just wanted to mention that we mostly deal with RTMP
streams and we have been starting the ffmpeg process the way I described
for over a year and half now and it never complained. It's just now that we
started looking into supporting RTSP, ffmpeg complained about the option.
Obviously it's a bug on our end and we will fix the arg but I thought it
would be interesting to note the behaviour here. Thanks again!

Best,
- Nishant.


On Wed, Mar 10, 2021 at 4:34 AM Moritz Barsnick  wrote:

> On Tue, Mar 09, 2021 at 16:46:41 -0500, Nishant Trivedi via ffmpeg-user
> wrote:
> > I am trying to decode a RTSP video stream using ffmpeg while using
> > h264_cuvid vcodec to take advantage of hardware acceleration on a machine
> > with NVIDIA GPU. I am seeing an error with the message Unknown encoder
> > 'h264_cuvid'.
>
> That's because no such encoder exists.
>
> Have you tried "h264_nvenc"?
>
> > ffmpeg version n4.1.6-5-g7f0db52c53 Copyright (c) 2000-2020 the FFmpeg
> developers
>
> On this list, it's also always a good idea to use a recent version of
> ffmpeg - preferred from latest git. That way, you can rule reporting
> bugs or missing features which are no longer valid.
>
> 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 decoding RTSP stream using h264_cuvid vcodec

2021-03-10 Thread Moritz Barsnick
On Wed, Mar 10, 2021 at 15:54:28 -0500, FFmpeg user discussions wrote:
> Oh duh! Thanks @Moritz!

You're welcome.

> As a side note, I just wanted to mention that we mostly deal with RTMP
> streams and we have been starting the ffmpeg process the way I described
> for over a year and half now and it never complained.

Hmm, I don't think an "h264_cuvid" encoder has ever existed - only a
decoder. (There was some cleanup recently in those aliases, but I
cannot identify such an encoder having being removed.) Perhaps you are
confusing the two?

> would be interesting to note the behaviour here. Thanks again!

No problem, as long as your encoding works again now.

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 decoding RTSP stream using h264_cuvid vcodec

2021-03-10 Thread Nishant Trivedi via ffmpeg-user
Apologies, I didn't mean to say that the encoder existed. I was just
pointing out that ffmpeg didn't complain about the wrong argument. And when
I say ffmpeg, I actually mean ffmpeg-python which is what we use to
interact with ffmpeg. I also realize that ffmpeg-python may not fall in
your purview at all. Just making an observation.

Best,
- Nishant.


On Wed, Mar 10, 2021 at 4:34 PM Moritz Barsnick  wrote:

> On Wed, Mar 10, 2021 at 15:54:28 -0500, FFmpeg user discussions wrote:
> > Oh duh! Thanks @Moritz!
>
> You're welcome.
>
> > As a side note, I just wanted to mention that we mostly deal with RTMP
> > streams and we have been starting the ffmpeg process the way I described
> > for over a year and half now and it never complained.
>
> Hmm, I don't think an "h264_cuvid" encoder has ever existed - only a
> decoder. (There was some cleanup recently in those aliases, but I
> cannot identify such an encoder having being removed.) Perhaps you are
> confusing the two?
>
> > would be interesting to note the behaviour here. Thanks again!
>
> No problem, as long as your encoding works again now.
>
> 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 Message: sps_id 1 out of range

2021-04-03 Thread Carl Zwanzig

On 4/2/2021 2:55 PM, Simone Croci wrote:

I am decoding an MVC H.264 video and I get a lot of error messages "sps_id
1 out of range". What is the problem? is it caused by the fact that ffmpeg
does not support MVC H.264?


Please include the complete command and its complete output. If you aren't 
using a very recent version (the "git head" if possible), try again 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".

Re: [FFmpeg-user] Error Message: sps_id 1 out of range

2021-04-03 Thread Simone Croci
This is the command:

ffmpeg -i video.mkv -c:v copy -bsf:v h264_mp4toannexb -an -f h264
stream.h264


I am using ffmpeg that was built from the master branch on the 28th of
March 2021. I downloaded it from https://www.gyan.dev/ffmpeg/builds/.

Simone

On Sat, 3 Apr 2021 at 21:09, Carl Zwanzig  wrote:

> On 4/2/2021 2:55 PM, Simone Croci wrote:
> > I am decoding an MVC H.264 video and I get a lot of error messages
> "sps_id
> > 1 out of range". What is the problem? is it caused by the fact that
> ffmpeg
> > does not support MVC H.264?
>
> Please include the complete command and its complete output. If you aren't
> using a very recent version (the "git head" if possible), try again 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 Message: sps_id 1 out of range

2021-04-03 Thread Carl Zwanzig

On 4/3/2021 1:18 PM, Simone Croci wrote:

This is the command:


need the output (-always- include the output, in the email, not attached nor 
linked to another site).


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

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

Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-11 Thread jun
I also just discovered that if i run the same command with
"subtitle=subtitle.srt" instead, I also get the error message

[AVFilterGraph @ 0xa431640] No such filter: 'subtitle'
Error opening filters!

Rally at a loss now as I need to do some subtitle embedding asap...




--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Error-AVFilterGraph-0xabe1cc0-No-such-filter-ass-tp4673995p4673997.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-11 Thread Clément Bœsch
On Sun, Jan 10, 2016 at 06:19:41PM -0800, jun wrote:
> I also just discovered that if i run the same command with
> "subtitle=subtitle.srt" instead, I also get the error message
> 
> [AVFilterGraph @ 0xa431640] No such filter: 'subtitle'
> Error opening filters!
> 

http://ffmpeg.org/ffmpeg-filters.html#subtitles

Read the second sentence.

Regards,

[...]

-- 
Clément B.


signature.asc
Description: PGP signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-11 Thread Lou
On Sun, 10 Jan 2016 18:19:41 -0800 (PST)
jun  wrote:

> I also just discovered that if i run the same command with
> "subtitle=subtitle.srt" instead, I also get the error message
> 
> [AVFilterGraph @ 0xa431640] No such filter: 'subtitle'
> Error opening filters!
> 
> Rally at a loss now as I need to do some subtitle embedding asap...

Your ffmpeg configure line is blank. From subtitle filter documentation:

  "To enable compilation of this filter you need to configure FFmpeg
  with --enable-libass."

See:
http://ffmpeg.org/ffmpeg-filters.html#subtitles

The ass filter also depends on libass.

Please do not send multiples of the same question to the mailing list.

I CCd you since you are not subscribed. There may be other replies.
Check the archives:
https://lists.ffmpeg.org/pipermail/ffmpeg-user/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-11 Thread jun
Dear Lou-2
Thanks  for the advice. I uninstalled ffmpeg and then reinstalled ffmpeg
following the instructions on
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu  so that i can "configure
FFmpeg   with --enable-libass."  as you advised.  Unfortunately, I still
get the same message.

[AVFilterGraph @ 0xa454640] No such filter: 'ass'
Error opening filters!

I can't figure out what changed during my reinstall of ubuntustudio and
ffmpeg that caused this problem.









On Mon, Jan 11, 2016 at 10:14 PM, Lou-2 [via FFmpeg-users] <
ml-node+s933282n4674014...@n4.nabble.com> wrote:

> On Sun, 10 Jan 2016 18:19:41 -0800 (PST)
> jun <[hidden email]
> > wrote:
>
> > I also just discovered that if i run the same command with
> > "subtitle=subtitle.srt" instead, I also get the error message
> >
> > [AVFilterGraph @ 0xa431640] No such filter: 'subtitle'
> > Error opening filters!
> >
> > Rally at a loss now as I need to do some subtitle embedding asap...
>
> Your ffmpeg configure line is blank. From subtitle filter documentation:
>
>   "To enable compilation of this filter you need to configure FFmpeg
>   with --enable-libass."
>
> See:
> http://ffmpeg.org/ffmpeg-filters.html#subtitles
>
> The ass filter also depends on libass.
>
> Please do not send multiples of the same question to the mailing list.
>
> I CCd you since you are not subscribed. There may be other replies.
> Check the archives:
> https://lists.ffmpeg.org/pipermail/ffmpeg-user/
> ___
> ffmpeg-user mailing list
> [hidden email] 
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://ffmpeg-users.933282.n4.nabble.com/Error-AVFilterGraph-0xabe1cc0-No-such-filter-ass-tp4673995p4674014.html
> To unsubscribe from Error: [AVFilterGraph @ 0xabe1cc0] No such filter:
> 'ass', click here
> 
> .
> NAML
> 
>




--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Error-AVFilterGraph-0xabe1cc0-No-such-filter-ass-tp4673995p4674018.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-11 Thread Moritz Barsnick
On Mon, Jan 11, 2016 at 14:37:38 -0800, jun wrote:
> Thanks  for the advice. I uninstalled ffmpeg and then reinstalled ffmpeg
> following the instructions on
> https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu  so that i can "configure
> FFmpeg   with --enable-libass."  as you advised.  Unfortunately, I still
> get the same message.
> 
> [AVFilterGraph @ 0xa454640] No such filter: 'ass'
> Error opening filters!

Complete, uncut console output please.

> I can't figure out what changed during my reinstall of ubuntustudio and
> ffmpeg that caused this problem.

Did you install libass-dev?

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


Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-11 Thread jun
Hi Moritz

libass-dev is installed

here is the complete console output

$ ffmpeg -i Martsa\ ng\ Pagkakaisa.mkv -vf
"ass=Martsa_ng_Pagkakaisa_EN.ass" Martsa_ng_Pagkakaisa_EN.mkv
ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration:
  libavutil  54. 31.100 / 54. 31.100
  libavcodec 56. 60.100 / 56. 60.100
  libavformat56. 40.101 / 56. 40.101
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 40.101 /  5. 40.101
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
Input #0, matroska,webm, from 'Martsa ng Pagkakaisa.mkv':
  Metadata:
ENCODER : Lavf56.40.101
  Duration: 00:02:41.01, start: 0.00, bitrate: 417 kb/s
Stream #0:0: Video: mpeg4 (Simple Profile), yuv420p, 2000x1142 [SAR 1:1
DAR 1000:571], 1 fps, 1 tbr, 1k tbn, 1 tbc (default)
Metadata:
  ENCODER : Lavc56.60.100 mpeg4
  DURATION: 00:02:41.00600
Stream #0:1: Audio: ac3, 44100 Hz, stereo, fltp, 192 kb/s (default)
Metadata:
  ENCODER : Lavc56.60.100 ac3
  DURATION: 00:02:39.24300
File 'Martsa_ng_Pagkakaisa_EN.mkv' already exists. Overwrite ? [y/N] y
[AVFilterGraph @ 0xa454640] No such filter: 'ass'
Error opening filters!


On Tue, Jan 12, 2016 at 12:13 AM, Moritz Barsnick [via FFmpeg-users] <
ml-node+s933282n4674020...@n4.nabble.com> wrote:

> On Mon, Jan 11, 2016 at 14:37:38 -0800, jun wrote:
> > Thanks  for the advice. I uninstalled ffmpeg and then reinstalled ffmpeg
> > following the instructions on
> > https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu  so that i can
> "configure
> > FFmpeg   with --enable-libass."  as you advised.  Unfortunately, I still
> > get the same message.
> >
> > [AVFilterGraph @ 0xa454640] No such filter: 'ass'
> > Error opening filters!
>
> Complete, uncut console output please.
>
> > I can't figure out what changed during my reinstall of ubuntustudio and
> > ffmpeg that caused this problem.
>
> Did you install libass-dev?
>
> Moritz
> ___
> ffmpeg-user mailing list
> [hidden email] 
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://ffmpeg-users.933282.n4.nabble.com/Error-AVFilterGraph-0xabe1cc0-No-such-filter-ass-tp4673995p4674020.html
> To unsubscribe from Error: [AVFilterGraph @ 0xabe1cc0] No such filter:
> 'ass', click here
> 
> .
> NAML
> 
>




--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Error-AVFilterGraph-0xabe1cc0-No-such-filter-ass-tp4673995p4674022.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-12 Thread Moritz Barsnick
On Mon, Jan 11, 2016 at 15:49:38 -0800, jun wrote:
> libass-dev is installed
> 
> here is the complete console output
> 
> $ ffmpeg -i Martsa\ ng\ Pagkakaisa.mkv -vf
> "ass=Martsa_ng_Pagkakaisa_EN.ass" Martsa_ng_Pagkakaisa_EN.mkv
> ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
>   built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
>   configuration:

And THAT is why we need the complete, uncut console output.

If you had passed any arguments to ./configure when building, they
would be shown here, approximately as:
>   configuration: --enable-libass

I believe you're still using the same ffmpeg binary as before.

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


Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-12 Thread jun saturay
Thanks Moritz.

I'd appreciate a tip where to find a suitable ffmpeg. I am using
usbuntustudio 14.04.3


On Tue, Jan 12, 2016 at 11:24 AM, Moritz Barsnick  wrote:

> On Mon, Jan 11, 2016 at 15:49:38 -0800, jun wrote:
> > libass-dev is installed
> >
> > here is the complete console output
> >
> > $ ffmpeg -i Martsa\ ng\ Pagkakaisa.mkv -vf
> > "ass=Martsa_ng_Pagkakaisa_EN.ass" Martsa_ng_Pagkakaisa_EN.mkv
> > ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
> >   built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
> >   configuration:
>
> And THAT is why we need the complete, uncut console output.
>
> If you had passed any arguments to ./configure when building, they
> would be shown here, approximately as:
> >   configuration: --enable-libass
>
> I believe you're still using the same ffmpeg binary as before.
>
> Moritz
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-12 Thread db123
If you compile ffmpeg, you may add libass to the binary. See this page 
on how to compile:


https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

Kind regards,
Daniel


2016-01-12 12:07 skrev jun saturay:

Thanks Moritz.

I'd appreciate a tip where to find a suitable ffmpeg. I am using
usbuntustudio 14.04.3


On Tue, Jan 12, 2016 at 11:24 AM, Moritz Barsnick  
wrote:



On Mon, Jan 11, 2016 at 15:49:38 -0800, jun wrote:
> libass-dev is installed
>
> here is the complete console output
>
> $ ffmpeg -i Martsa\ ng\ Pagkakaisa.mkv -vf
> "ass=Martsa_ng_Pagkakaisa_EN.ass" Martsa_ng_Pagkakaisa_EN.mkv
> ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
>   built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
>   configuration:

And THAT is why we need the complete, uncut console output.

If you had passed any arguments to ./configure when building, they
would be shown here, approximately as:
>   configuration: --enable-libass

I believe you're still using the same ffmpeg binary as before.

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


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

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


Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-12 Thread jun saturay
Hi Daniel, thanks for the reply. This is exactly what I did. But I still
get the error. I am beginning to suspect that it is not the binary but in a
saved configuration somewhere that I need to delete. Any tip how to do it?

On Tue, Jan 12, 2016 at 6:14 PM,  wrote:

> If you compile ffmpeg, you may add libass to the binary. See this page on
> how to compile:
>
> https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
>
> Kind regards,
> Daniel
>
>
>
> 2016-01-12 12:07 skrev jun saturay:
>
>> Thanks Moritz.
>>
>> I'd appreciate a tip where to find a suitable ffmpeg. I am using
>> usbuntustudio 14.04.3
>>
>>
>> On Tue, Jan 12, 2016 at 11:24 AM, Moritz Barsnick 
>> wrote:
>>
>> On Mon, Jan 11, 2016 at 15:49:38 -0800, jun wrote:
>>> > libass-dev is installed
>>> >
>>> > here is the complete console output
>>> >
>>> > $ ffmpeg -i Martsa\ ng\ Pagkakaisa.mkv -vf
>>> > "ass=Martsa_ng_Pagkakaisa_EN.ass" Martsa_ng_Pagkakaisa_EN.mkv
>>> > ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
>>> >   built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
>>> >   configuration:
>>>
>>> And THAT is why we need the complete, uncut console output.
>>>
>>> If you had passed any arguments to ./configure when building, they
>>> would be shown here, approximately as:
>>> >   configuration: --enable-libass
>>>
>>> I believe you're still using the same ffmpeg binary as before.
>>>
>>> Moritz
>>> ___
>>> ffmpeg-user mailing list
>>> ffmpeg-user@ffmpeg.org
>>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>>
>>> ___
>> ffmpeg-user mailing list
>> ffmpeg-user@ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-12 Thread Lou
On Tue, 12 Jan 2016 19:19:40 +0100
jun saturay  wrote:

> Hi Daniel, thanks for the reply. This is exactly what I did. But I still
> get the error. I am beginning to suspect that it is not the binary but in a
> saved configuration somewhere that I need to delete. Any tip how to do it?

The guide places the compiled ffmpeg binary in ~/bin. One reason
for this is to avoid interfering with system files, the repository
packages, and the package management system. ~/bin is automatically in
the vanilla Ubuntu PATH, but only if the directory already exists.

As the guide mentions, either log-off and log-in, or run ". ~/.profile"
for your shell to notice. You'll only need to do this once.

Alternatively, move the ffmpeg binary in your preferred location in
your PATH.

Please avoid top-posting on this mailing list.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-12 Thread jun
Thanks Lou. Yes, I did log out and logged in again. I followed the
instructions as I understood it. I was hoping that it would solve it, but
it did not.

Apologies for top posting, I am new at using the forum...

On Tue, Jan 12, 2016 at 7:30 PM, Lou-2 [via FFmpeg-users] <
ml-node+s933282n4674039...@n4.nabble.com> wrote:

> On Tue, 12 Jan 2016 19:19:40 +0100
> jun saturay <[hidden email]
> > wrote:
>
> > Hi Daniel, thanks for the reply. This is exactly what I did. But I still
> > get the error. I am beginning to suspect that it is not the binary but
> in a
> > saved configuration somewhere that I need to delete. Any tip how to do
> it?
>
> The guide places the compiled ffmpeg binary in ~/bin. One reason
> for this is to avoid interfering with system files, the repository
> packages, and the package management system. ~/bin is automatically in
> the vanilla Ubuntu PATH, but only if the directory already exists.
>
> As the guide mentions, either log-off and log-in, or run ". ~/.profile"
> for your shell to notice. You'll only need to do this once.
>
> Alternatively, move the ffmpeg binary in your preferred location in
> your PATH.
>
> Please avoid top-posting on this mailing list.
> ___
> ffmpeg-user mailing list
> [hidden email] 
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://ffmpeg-users.933282.n4.nabble.com/Error-AVFilterGraph-0xabe1cc0-No-such-filter-ass-tp4673995p4674039.html
> To unsubscribe from Error: [AVFilterGraph @ 0xabe1cc0] No such filter:
> 'ass', click here
> 
> .
> NAML
> 
>




--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Error-AVFilterGraph-0xabe1cc0-No-such-filter-ass-tp4673995p4674040.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-12 Thread Lou
On Tue, 12 Jan 2016 10:41:42 -0800 (PST)
jun  wrote:

> Thanks Lou. Yes, I did log out and logged in again. I followed the
> instructions as I understood it. I was hoping that it would solve it, but
> it did not.

I don't know why it's not working for you, and I don't want to try to
debug every possibility, but perhaps you would find it easier to use a
PPA:

https://launchpad.net/~mc3man/+archive/trusty-media

Or you could upgrade your distro. FFmpeg returned to Ubuntu in 15.04
and it is available in the repository, and I assume it has libass
support.

> Apologies for top posting, I am new at using the forum...

You top-posted again.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Error: [AVFilterGraph @ 0xabe1cc0] No such filter: 'ass'

2016-01-12 Thread jun
Sorry about that. I had to google what top posting is. I hope this is
better. Otherwise you have to patiently guide me through this top posting
bit

When I reinstalled ubuntustudio, I kept my old home directory, so I figure,
some of the changes that I did while installing other stuff could have
affected the behavior of ffmpeg.

I suspect that the problem lies not in ffmpeg, nor in ubuntu studio. It
maybe something that I installed or uninstalled along the way. I think I
will backup my data on another disk, then reinstall and have a clean home
directory...

I am new at this, but this old dog is ok with learning new tricks.

thanks for the patients, Lou and others




--
View this message in context: 
http://ffmpeg-users.933282.n4.nabble.com/Error-AVFilterGraph-0xabe1cc0-No-such-filter-ass-tp4673995p4674042.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] Error while generating images from video through network

2016-04-06 Thread Gururaj Nayak


Dear Team,
   I am using  ffmpeg.exe for  converting  video into images and   getting  
problem while extraction  .  Video files are located  on network .  Some  
times  images (frames)  getting  skipped while extracting  it from video (which 
is at network ) . The  same  is working  fine  wherever I am copying  the  
video on local machine and  then trying  to convert it  from  the  exe.  Please 
suggest at your  end.

Regards
Gururaj Nayak
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] ERROR: libass not found using pkg-config

2016-04-29 Thread Moritz Barsnick
On Thu, Apr 28, 2016 at 15:47:27 -0300, Marcos Elgueta Soulat wrote:
> I have problems installing the ffmpeg.
> Can any one help me with this issue?.

Do you have the libass development package ("libass-dev" or
"libass-devel") installed? It would be the one providing the missing
libass.pc.

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 when using v4l2 to encode H264

2016-05-16 Thread Carl Eugen Hoyos
Bogdan Mariesan  buddyguard.io> writes:

>  ./ffmpeg -f v4l2 -video_size 640x360 -rtbufsize 702000k 
> -framerate 30 -i /dev/video0 -r 30 -threads 4 -vcodec libx264 
> -pix_fmt yuv420p -tune zerolatency -preset ultrafast test.avi

Your exact command line works fine here, please test the following:
$ ffmpeg -i /dev/video0 -pix_fmt yuv420p out.mov

Unrelated:
Note that "-r 30" in your command line looks like a bad idea, 
you should probably remove it and h264 in avi can lead to 
unexpected issues.

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 - HEVC bitstream malformed, no startcode found

2016-06-24 Thread Carl Eugen Hoyos
jaymat  epix.net  epix.net> writes:

> ffmpeg version 2.7.6-0ubuntu0.15.10.1

Only current FFmpeg git head (which does support a bitstream 
filter for hevc) is supported 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 - HEVC bitstream malformed, no startcode found

2016-06-24 Thread jay...@epix.net
Carl
Thanks for the info.
I couldn't find a reference here to "git head" - FFmpeg Bitstream Filters 
Documentation
|   |
|   |   |   |   |   |
| FFmpeg Bitstream Filters DocumentationTable of Contents 1 Description 2 
Bitstream Filters 2.1 aac_adtstoasc 2.2 chomp 2.3 dump_extra 2.4 dca_core 2.5 
h264_mp4toannexb 2.6 imxdump 2.7 mjpeg2jpeg 2.8 mjpega_dump_header 2.9 movsub  |
|  |
| View on www.ffmpeg.org | Preview by Yahoo |
|  |
|   |


Can this be done via the cmd line ?
Thank youJas 

On Friday, June 24, 2016 10:13 AM, Carl Eugen Hoyos  
wrote:
 

 jaymat  epix.net  epix.net> writes:

> ffmpeg version 2.7.6-0ubuntu0.15.10.1

Only current FFmpeg git head (which does support a bitstream 
filter for hevc) is supported 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".

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