Re: [FFmpeg-user] how to enable hardware acceleration on custom platform in ffmpeg?

2018-08-09 Thread Moritz Barsnick
On Thu, Aug 09, 2018 at 16:38:47 +0800, tugouxp wrote: >now the gstreamer and opemnax(IL) has been running ok on the >target, is there anyway to use the OMX framework to replace the >built in software implementation on ffmpeg? if so, how to ? any >doucments? Sure, ffmpeg supports

Re: [FFmpeg-user] Regarding how to extracting video from RTPpackets using ffmpeg API or Source code

2018-08-09 Thread Moritz Barsnick
On Thu, Aug 09, 2018 at 10:39:32 +0530, chetan goni wrote: > How can extract video and audio from those pakets and make > output file which can play in VLC or any other media player. [...] > Chetan : yes regular RTP strem. Right on top of the ffmpeg homepage https://www.ffmpeg.o

Re: [FFmpeg-user] Regarding how to extracting video from RTPpackets using ffmpeg API or Source code

2018-08-09 Thread Moritz Barsnick
On Thu, Aug 09, 2018 at 16:24:51 +0530, chetan goni wrote: > I have do not have "rtp://your.proper.url " .I have RTP packets. > Do you hav procedure to extract video from RTP Ah, so you don't actually have an RTP stream, you have a packet dump of an RTP stream. In this thread, someone had that

Re: [FFmpeg-user] Regarding how to extracting video from RTPpackets using ffmpeg API or Source code

2018-08-09 Thread Moritz Barsnick
On Thu, Aug 09, 2018 at 18:10:12 +0530, chetan goni wrote: > ffmpeg -f h263 -i Video.bin -f flv out.flv I guess you need to tell ffmpeg the codec parameters such as -frame_rate and -video_size, but I'm not sure. > Input #0, h263, from 'audio.bin': ^ Well, how

Re: [FFmpeg-user] Regarding how to extracting video from RTPpacketsusing ffmpeg API or Source code

2018-08-13 Thread Moritz Barsnick
On Thu, Aug 09, 2018 at 19:07:26 +0530, chetan goni wrote: > I am given all error detail info and not hiding anything details.. No, you omitted the banner, but, sigh, I give in. > For audio I am using mulaw and video h263 codec. > Please provide any steps You haven't resolved the riddle: You q

Re: [FFmpeg-user] Raw YUV Conversion

2018-08-31 Thread Moritz Barsnick
On Fri, Aug 31, 2018 at 16:02:48 -0700, Chema Gonzalez wrote: > $ ffmpeg -y -f rawvideo -pixel_format nv12 -s 1280x720 -i in.yuv -f > rawvideo -pixel_format yuv420p out.yuv [...] > Getting the same file out doesn't seem right to me. [...] > Output #0, rawvideo, to 'out.yuv': > Metadata: > enc

Re: [FFmpeg-user] Multiple Streams using ffmpeg (got 2 working, need 4)

2018-09-03 Thread Moritz Barsnick
Hi Rad, On Thu, Aug 30, 2018 at 11:10:58 -0500, Rad J wrote: > I would like to stream 4 cams to YouTube using ffmpeg. > I was able to get 2 to work as follows: > > ffmpeg -rtsp_transport tcp > -i "rtsp://:@10.1.10.125:554/cam/realmonitor?channel=1&subtype=0" > -i "rtsp://:@10.1.10

Re: [FFmpeg-user] Custom seek

2018-09-03 Thread Moritz Barsnick
Hi Peter, On Sat, Sep 01, 2018 at 01:30:56 +0200, Peter Wetz wrote: > In ffplay the left/right arrows can be used to skip forward/back 10 > seconds. Can I somehow create a custom shortcut (or replace the existing > one) to skip only 5 or 3 seconds? The 10 seconds are hard-coded. You can either mo

Re: [FFmpeg-user] HELP: After a day or so, my FFMPEG stops streaming... but it's not crashing.

2018-09-04 Thread Moritz Barsnick
On Mon, Sep 03, 2018 at 20:48:57 -0500, Rad J wrote: > the issue, however After a day or so, my FFMPEG stops streaming the video > to my Youtube Live channel. > Here is my command line: [...] Would you please also show us the console output? Perhaps you can't copy/paste a day's worth of it, but a

Re: [FFmpeg-user] ffmpeg compilation error on libfdk_acc ubuntu16.04

2018-09-04 Thread Moritz Barsnick
On Tue, Sep 04, 2018 at 10:16:11 +0200, Carl Eugen Hoyos wrote: > 2018-09-04 7:39 GMT+02:00, Remo Rayamajhi : > > > CC libavcodec/libfdk-aacenc.o > > libavcodec/libfdk-aacenc.c: In function ‘aac_encode_init’: > > libavcodec/libfdk-aacenc.c:293:34: error: ‘AACENC_InfoStruct {aka struct > > }’

Re: [FFmpeg-user] preset files

2018-09-05 Thread Moritz Barsnick
On Tue, Sep 04, 2018 at 16:25:47 -0400, Scott Johnson wrote: > I'm using a third party compiled API, to talk to FFmpeg. I can't > change the command line structure. I would have to purchase the API > source to do it. Francois suggested a wrapper, i.e. a script which is called ffmpeg, which adds t

Re: [FFmpeg-user] Non-monotonous DTS in output stream 0:1

2018-09-05 Thread Moritz Barsnick
On Wed, Sep 05, 2018 at 09:29:16 +0200, Mustafa Al Ani wrote: > without the patch: > > ffmpeg -f libndi_newtek -find_sources 1 -i dummy -loglevel debug > ffmpeg version 3.4.git Copyright (c) 2000-2018 the FFmpeg developers Are you using the 3.4 branch from git? If so, is there any particular reas

Re: [FFmpeg-user] Cannot capture audio in screen recording

2018-09-11 Thread Moritz Barsnick
On Tue, Sep 11, 2018 at 10:37:55 +0530, Abhijit Nathwani wrote: > ffmpeg version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg > developers This is a very old version, please consider using a recent one. (But this shouldn't be the issue.) > Input #1, alsa, from 'hw:0,1,0': > Durat

Re: [FFmpeg-user] [ffmpeg] how to merge two slices from independent two video TS

2018-09-11 Thread Moritz Barsnick
Hi yiyi, On Tue, Sep 11, 2018 at 12:36:45 +0800, 杨阳 wrote: > I have a requirement about 2 udp videos(H264 TS) merge into 1 (HEVC > TS). Two videos show in left & right side screen at the same time. When you write "show", you mean to display with ffplay? > But I don't want to do decoder. Well, t

Re: [FFmpeg-user] Fwd: Cannot capture audio in screen recording

2018-09-11 Thread Moritz Barsnick
On Tue, Sep 11, 2018 at 15:46:11 +0530, Abhijit Nathwani wrote: > > Could it be that your ALSA capture device's recording is muted? > I don't know. How to ensure that? ALSA's command line tools' syntax is truly difficult (PITA, if you know what the term means). You can use the command "amixer" to

Re: [FFmpeg-user] Using Hardware Accelerated Encoder Produce Bigger File

2018-09-11 Thread Moritz Barsnick
On Tue, Sep 11, 2018 at 16:38:37 +0430, Ali Shirvani wrote: > Is this variation in output size normal? or should I tune some settings? Yes, it's normal - different encoders use different default settings. Yes, you should tune your settings. If you want to achieve similar size, use the "-b:v" (vi

Re: [FFmpeg-user] FFMPEG failing in AWS Lambda

2018-09-11 Thread Moritz Barsnick
On Tue, Sep 11, 2018 at 14:17:37 +, Zaid Amir wrote: > As I explained I tried both static and dynamic.. of course ldd does not work > on static binaries. Going one e-mail further back: 2018-09-10 10:19 GMT+02:00, Zaid Amir : > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/ec2-user/f1.mp4':

Re: [FFmpeg-user] capture from camera (macOS) and pass video to ffplay

2018-09-12 Thread Moritz Barsnick
On Wed, Sep 12, 2018 at 11:10:19 -0700, Peter Gusev wrote: > relevant question - is there a way to dump argb frames to a file pipe (not > stdout)? Is a "file pipe" what Unix calls a "fifo" or "named pipe"? Sure, just replace "-" or "pipe:" with the name of the named pipe. Moritz _

Re: [FFmpeg-user] RTSP input re-encoded/copied to RTSP output stream

2018-09-17 Thread Moritz Barsnick
On Mon, Sep 17, 2018 at 13:03:56 +1000, Dave Pritchard wrote: > I tried using the -re rtsp_transport however it comes up with an error > about option re cannot be applied to output url rtsp_transport, I'm looking > into that now. That was a minor mistake by Michael, the option "-rtsp_transport" re

Re: [FFmpeg-user] Reading Tempo/BPM information from audio files

2018-09-18 Thread Moritz Barsnick
On Mon, Sep 17, 2018 at 15:19:50 +0100, Adam Harries wrote: > After some more digging, it seems that I need to set some options while > decoding a mov file - at least from reading > https://ffmpeg.org/doxygen/trunk/mov_8c_source.html > > How would I go about doing this? I'm happy to build a new ap

Re: [FFmpeg-user] Reading Tempo/BPM information from audio files

2018-09-18 Thread Moritz Barsnick
On Tue, Sep 18, 2018 at 09:59:03 +0200, Moritz Barsnick wrote: > On Mon, Sep 17, 2018 at 15:19:50 +0100, Adam Harries wrote: > > After some more digging, it seems that I need to set some options while > > decoding a mov file - at least from reading > > https://ffm

Re: [FFmpeg-user] text overlay will not work on rtmp stream

2018-09-20 Thread Moritz Barsnick
On Thu, Sep 20, 2018 at 10:24:55 +0100, Anthony Griffiths wrote: > On Thu, Sep 20, 2018 at 9:59 AM, Carl Eugen Hoyos wrote: > > 2018-09-20 10:46 GMT+02:00, Anthony Griffiths : > > > > The problem was not that you used "-f flv -vcodec libx264" but > > "-f flv -vcodec flv -vcodec libx264" > > now I

Re: [FFmpeg-user] ffmpeg streaming error

2018-09-21 Thread Moritz Barsnick
On Fri, Sep 21, 2018 at 17:14:42 +0545, Remo Rayamajhi wrote: > Hello I m trying to use ffmpeg to stream udp input into rtmp out with > lib264 codec and acc codec . i m getting these error > > ffmpeg version 2.8.15 Copyright (c) 2000-2018 the FFmpeg developers Could you please try a version of f

Re: [FFmpeg-user] Get bitrate from stream

2018-09-21 Thread Moritz Barsnick
On Fri, Sep 21, 2018 at 14:47:27 +0200, Jesper Nilsson wrote: > Commands Used: > > ffprobe -select_streams v:0 -show_entries frame=pkt_size,pkt_duration_time > The output of that command changes significantly, if you actually select the *audio* stream: "-select_streams a:0". (Your AAC file proba

Re: [FFmpeg-user] Quick question

2018-09-24 Thread Moritz Barsnick
On Mon, Sep 24, 2018 at 08:51:05 +0200, Ivan Arsic wrote: > I tried to convert some exr images with ffmpeg tho im getting an error and > im not sure if its triggered by something else (like my mistake) or its > just as is: > > *[exr @ 01a596cac380] Compression 8 is not implemented. Update you

Re: [FFmpeg-user] Stream an encoded video content and play the URL using ffplay with decryption ket

2018-09-24 Thread Moritz Barsnick
On Mon, Sep 24, 2018 at 15:35:19 +0530, rosmi sebastian wrote: > How to play the rtsp url created by ffmpeg for the encrypted mp4 file > (download the file ,decrypt and play is not valid in our case). > > i tried the below commands > ffmpeg -i sample_enc.mp4 -v 0 -vcodec mpeg4 -f mpegts udp://127

Re: [FFmpeg-user] Stream an encoded video content and play the URL using ffplay with decryption ket

2018-09-24 Thread Moritz Barsnick
On Mon, Sep 24, 2018 at 17:40:58 +0530, rosmi sebastian wrote: > sample_enc.mp4 that I used is an encrypted file which is created using > below command: > ffmpeg -i sample.mp4 -vcodec copy -acodec copy -encryption_scheme > cenc-aes-ctr -encryption_key 76a6c65c5ea762046bd749a2e632ccbb > -encryption

Re: [FFmpeg-user] G723.1 conversion to PCM

2018-09-24 Thread Moritz Barsnick
On Mon, Sep 24, 2018 at 15:02:06 +0200, Paul B Mahol wrote: > First update your ffmpeg version, it is extremly old. Exactly what Paul says. Interestingly, your folder is called ffmpeg-4.0.2, but you are getting ffmpeg-0.5. If this folder contains a newer ffmpeg, you need to provide the full path

Re: [FFmpeg-user] G723.1 conversion to PCM

2018-09-25 Thread Moritz Barsnick
On Mon, Sep 24, 2018 at 20:13:15 -0400, esikcalabr...@verizon.net wrote: > For the issue of converting G723.1 to PCM format – please see the below input > and output and advise. > C:\ffmpeg\bin>ffmpeg -acodec g723.1 Robinson.wav -f PCM robinsonconverted.wav "PCM" is not a format. Even if you me

Re: [FFmpeg-user] how to remove useless nalu from video stream

2018-09-26 Thread Moritz Barsnick
On Wed, Sep 26, 2018 at 22:09:08 +0800, qw wrote: > If there is one nalu with zero size, and ffmpeg converts ts into mp4 > with the option of -codec copy, then vlc can't play video stream > correctly. Is there any way to remove useless nalu, i.e. its size is > 0? I don't know my way around NALs, b

Re: [FFmpeg-user] Bad Quality Webm video with alpha

2018-09-27 Thread Moritz Barsnick
On Wed, Sep 26, 2018 at 19:20:43 -0300, Rafael Mancini wrote: > I don't know what you mean by "the complete, uncut console output". Could > you explain please? ffmpeg outputs messages to the console (i.e. the terminal or command shell you use to enter the ffmpeg command line). Please copy the comm

Re: [FFmpeg-user] rtmp re-encode to rtmp stops frequently

2018-09-27 Thread Moritz Barsnick
On Thu, Sep 27, 2018 at 06:21:28 +0545, Remo Rayamajhi wrote: > newest version of ffmpeg has too many bugs as well as it takes a lots of > cpu uses . But you write "but after few minute the ffmpeg encoding drops". What if that's a bug in 3.x? How do you expect to get a fix? We encourage you to us

Re: [FFmpeg-user] Using ffmpeg receive udp stream without hangs

2018-09-28 Thread Moritz Barsnick
On Fri, Sep 28, 2018 at 09:25:40 +0800, zy wrote: > ffmpeg -i udp://0.0.0.0: -vn -acodec pcm_s16le -ac 8000 -f segment > -segment_time 3 -reset_timestamps 1 -strftime 1 -segment_format wav > ~/Desktop/temp/%s.wav Not part of your issue, but: You are requesting ffmpeg to create output with 80

Re: [FFmpeg-user] avoid_negative_ts : what integer ?

2018-09-28 Thread Moritz Barsnick
On Fri, Sep 28, 2018 at 13:49:54 -0400, sean darcy wrote: > So: > -avoid_negative_ts 1 means 'make_non_negative' > or the option is > -avoid_negative_ts make_non_negative A bit confusing indeed. The latter, using the named option, is preferred. In this case, it does actually map to "1", so your f

Re: [FFmpeg-user] Batch file to convert

2018-09-29 Thread Moritz Barsnick
On Fri, Sep 28, 2018 at 09:20:22 -0400, esikcalabr...@verizon.net wrote: > C:\Users\Kirk Calabrese\Desktop>CALL "C:\ffmpeg\bin\ffmpeg.exe" > "C:\ffmpeg\bin\ffmpeg -i robinsonconverted.wav" > ffmpeg version N-92058-gefb65abedf Copyright (c) 2000-2018 the FFmpeg > developers [...] > Output #0, wav

Re: [FFmpeg-user] Why are half the frames "duplicate" ?

2018-10-02 Thread Moritz Barsnick
On Mon, Oct 01, 2018 at 21:26:02 -0400, sean darcy wrote: > > That does not sound correct, "-re" allows FFmpeg to encode in > > real-time (instead of faster), it should not change the output frame > > rate. Does it? > > From 12 years ago: > > https://lists.libav.org/pipermail/ffmpeg-user/2006-Fe

Re: [FFmpeg-user] TXXX:CATALOGNUMBER

2018-10-02 Thread Moritz Barsnick
On Tue, Oct 02, 2018 at 19:12:25 +0200, yUGz afterLife wrote: > I tried -metadata TXXX :CATALOGNUMBER, -metadata catalognumber and all > variants but the syntax is incorrect I tried $ ffmpeg -f lavfi -i anoisesrc -metadata 'TXXX:CATALOGNUMBER=23' -t 1 ~/tmp/catalog.mp3 and the resulting file se

Re: [FFmpeg-user] Differences between ffmpeg and ffplay

2018-10-02 Thread Moritz Barsnick
On Tue, Oct 02, 2018 at 23:33:04 +0200, Michael Koch wrote: > As the next step, I want to hear the output live on the speakers. I did > use exactly the same command line as above, but I replaced ffmpeg by > ffplay and I omitted the output file. At the end of the console output > is an error mess

Re: [FFmpeg-user] How to add 4 streams to one YouTube channel???

2018-10-10 Thread Moritz Barsnick
On Wed, Oct 10, 2018 at 15:00:30 -0500, Rad J wrote: > Any idea how to make it better quality and how to add 2 more sources??? Did you not see this answer in September? http://ffmpeg.org/pipermail/ffmpeg-user/2018-September/041119.html Moritz ___ ffmpeg

Re: [FFmpeg-user] How to add 4 streams to one YouTube channel???

2018-10-16 Thread Moritz Barsnick
On Mon, Oct 15, 2018 at 23:04:39 -0500, Rad J wrote: > However I'm having some issues with the stream quality and frame loss... > also YouTube is complaining about my stream type... You sometimes need to fiddle against YouTube's expectation. I remember that YouTube didn't see my live stream actual

Re: [FFmpeg-user] Installing ffmpeg from source, missing libs

2018-10-16 Thread Moritz Barsnick
On Tue, Oct 16, 2018 at 12:03:51 +0200, paweg wrote: > I'm trying to install ffmpeg from source using this guide > https://trac.ffmpeg.org/wiki/CompilationGuide/Centos. Getting error in > configure > ERROR: freetype2 not found > manually in command line: > $pkg-config --exists freetype2 || echo '

Re: [FFmpeg-user] Installing ffmpeg from source, missing libs

2018-10-16 Thread Moritz Barsnick
On Tue, Oct 16, 2018 at 14:51:26 +0200, Reindl Harald wrote: > fc14 = Fedora 14 > > current is Fedora 28 with freetype-2.8-10.fc28.x86_64 and F14 is from > 2010 - frankly didn't the OP find a more ancient environment when using > a distribution with new releases every 6 months? Very true. OTOH, f

Re: [FFmpeg-user] Performance Tuning for Raspberry Pi

2018-10-17 Thread Moritz Barsnick
On Wed, Oct 17, 2018 at 20:44:31 +0100, Bruce Diesel wrote: > Thanks Carl. Would the bottleneck by storage I/O or processing. It would usually be the processing. > I have seen mention of hardware acceleration on Raspberry Pi, is that > applicable to this situation, or is that about video playba

Re: [FFmpeg-user] Performance Tuning for Raspberry Pi

2018-10-17 Thread Moritz Barsnick
On Wed, Oct 17, 2018 at 23:08:48 +0200, Moritz Barsnick wrote: > Firstly, this needs to apply to your Pi Zero (it probably doesn't). I was wrong, it probably does apply (if the Linux kernel for the Zero supports it) as all Pis seem to have the Broadcom VideoCore IV: https://en.wikipedia.

Re: [FFmpeg-user] FFplay Possibility to print just a part of screen ?

2018-10-18 Thread Moritz Barsnick
On Thu, Oct 18, 2018 at 10:32:31 +, Stanislas Defawes wrote: > Is that possible to print just half of screen of a stream with FFplay ? You mean displaying only one half of actual video? You can add a filter, such as: $ ffplay ... -vf crop=w=iw/2:x=0 which will let ffplay show only the left h

Re: [FFmpeg-user] Convertion of Png image into yuv420p format codec mpeg2video.

2018-10-18 Thread Moritz Barsnick
On Thu, Oct 18, 2018 at 18:49:48 +0530, shivkumar munugala wrote: > I am using below command to convert png into yuv420p > Command : > ffmpeg -async 1 -i *boot_up_1.png* -vcodec mpeg2video -r 25 -pix_fmt > yuv420p -minrate 5k -maxrate 5k -b 5k -intra -ps 1000M -qmin 1 > -qmax 3 -top 1

Re: [FFmpeg-user] Bash Script for Batch Converting Audio in MKVs to FLAC

2018-10-20 Thread Moritz Barsnick
On Sat, Oct 20, 2018 at 14:09:07 -0400, Joshua Blagden wrote: > Here's an example of one of those commands: ffmpeg -i '01x12 - The > Flax.mkv' -c:v copy -c:s copy -c:a flac '01x12 - The Flax(flac).mkv' > > I just want to convert the audio track to FLAC and then add "(flac) to > the file name so I

Re: [FFmpeg-user] Bash Script for Batch Converting Audio in MKVs to FLAC

2018-10-20 Thread Moritz Barsnick
On Sat, Oct 20, 2018 at 23:26:29 +0200, Moritz Barsnick wrote: > $ mkdir flac > $ for infile in *.mkv; do outfile=flac/${infile%.mkv}'(flac)'.mkv; echo > ffmpeg -i "$infile" -c:v copy -c:s copy -c:a flac "$outfile"; done I failed to mention: This is bash

Re: [FFmpeg-user] Trying to use for first time- logging out automatically

2018-10-22 Thread Moritz Barsnick
On Mon, Oct 22, 2018 at 04:29:48 +0200, Randy Carrier wrote: > All I'm doing is double-clicking on the exec file and this is what happens. > Thanks, I'll see if I can figure it out. Ah, okay. Well, that is the expected behavior. ffmpeg(.exe) is a terminal program. It doesn't open a GUI or such. I

Re: [FFmpeg-user] FFMpeg encoding error: "height not divisible by 2" - Recommended dimesion 1680 x ??? with aspect 16:9

2018-10-22 Thread Moritz Barsnick
On Mon, Oct 22, 2018 at 09:32:57 +0200, Ben wrote: > I wanted to encode (and resize) an existing MP4 file into a new MP4 video and > a width of 1680 * ... and an aspect ratio of 16:9 > The used codec is H.264 > > Since the calculated height therefore is (1680/16)*9=945 I entered this for > the f

Re: [FFmpeg-user] Throwing error while converting png to iframe using ffmpeg.

2018-10-23 Thread Moritz Barsnick
On Tue, Oct 23, 2018 at 20:12:12 +0530, shivkumar munugala wrote: > ffmpeg version 0.9.2, Copyright (c) 2000-2012 the FFmpeg developers > built on Oct 23 2018 18:04:26 with gcc 4.4.5 20101112 (Red Hat 4.4.5-2) That version of ffmpeg is six years old. I suggest trying a newer one first. If you ca

Re: [FFmpeg-user] Will ffmpeg always use the existing orig.parameters when no new are specified on cmdline for re-encoding?

2018-10-26 Thread Moritz Barsnick
On Thu, Oct 25, 2018 at 14:23:37 +0200, Ben wrote: > When I enter at the command line a ffmpeg command and specify (beside input > and output file name) only the new video bitrate: > Will ffmpeg ALWAYS automatically take the remaining parameters from the > existing video? > > In otehr words: Wil

Re: [FFmpeg-user] ffmpeg generate the video from non-sequential images

2018-10-29 Thread Moritz Barsnick
On Mon, Oct 29, 2018 at 14:59:43 +0100, Ayush Narsaria wrote: > My png files are numbered from res-5.png to res-180.png. > > The command I give is : > ffmpeg -framerate 5 -pattern_type glob -i '*.png' -c:v libx264 output.mp4 The globbing will probably order your files alphabetically, making res-1

Re: [FFmpeg-user] ffmpeg generate the video from non-sequential images

2018-10-30 Thread Moritz Barsnick
On Mon, Oct 29, 2018 at 17:29:29 +0100, Ayush Narsaria wrote: > When I try your suggestion I get this error: Sorry, as Carl Eugen kindly pointed out, I failed to place the "-start_number" option as an input option. > res_%d.png: No such file or directory > > So the filenames start from res_05.pn

Re: [FFmpeg-user] Framerate issues

2018-10-30 Thread Moritz Barsnick
On Tue, Oct 30, 2018 at 08:01:59 -0500, Calvin Arndt wrote: > I clearly select an output framerate of 7fps. > My camera's set to limit each connection to 7fps (and I have verified > it is doing so). [...] > Why is fps=2.0? Totally not what I selected, nor what is provided by > camera. It is a

Re: [FFmpeg-user] let ffmpeg auto-calc height value when specifying (new) width while keeping aspect ratio?

2018-11-01 Thread Moritz Barsnick
On Thu, Nov 01, 2018 at 07:56:52 +0100, Ben wrote: > The new video should have the same aspect ratio as the original. > I want to change the resolution of the new video to 1680 but don't want to > calculate manually the corresponding height (dividable by 2). > Can I tell ffmpeg to automatically ca

Re: [FFmpeg-user] what is the difference between hwaccels cuda and cuvid?

2018-11-06 Thread Moritz Barsnick
On Tue, Nov 06, 2018 at 12:32:52 +0200, Roman Gorelik wrote: > Can someone explain please what is the difference between hwaccels cuda and > cuvid? Which one should be used in which cases? I personally have no idea, but a bit of an (internal) explanation was given here recently: http://ffmpeg.org

Re: [FFmpeg-user] No opencl header in fresh build install dir

2018-11-17 Thread Moritz Barsnick
On Thu, Nov 15, 2018 at 17:21:48 +0100, Erwan Douaille wrote: > Do you know if it´s normal ? How to ensure my build is "opencl ready" ? I would say that your output of ./configure already says so. You have the hwaccell opencl, and various *_opencl filters. You could also try: $ /e/Downloads/ffmpe

Re: [FFmpeg-user] Audio resampler (SoX) returns different result

2018-11-19 Thread Moritz Barsnick
Hi, On Mon, Nov 19, 2018 at 16:14:03 +0800, 林至善 wrote: > I need a down-sampled(=8kHz) version of my input.wav file (=16kHz). > > According to > https://trac.ffmpeg.org/wiki/FFmpeg%20and%20the%20SoX%20Resampler, > I use the command below > > ffmpeg -i In16k.wav -af aresample=resampler=soxr -ar 8

Re: [FFmpeg-user] Concat with listing all files in command?

2018-11-19 Thread Moritz Barsnick
On Mon, Nov 19, 2018 at 08:49:07 -0600, Ben wrote: > Hmm, filelist.txt IS an INTERMEDIATE file! I wrote all the filenames (line > by line) to concatenate into this file and it works. However I want to omit > it and use a cmdline only. Similar to what Carl Eugen mentioned, I would call it a tempora

Re: [FFmpeg-user] Audio resampler (SoX) returns different result

2018-11-20 Thread Moritz Barsnick
On Tue, Nov 20, 2018 at 10:03:48 +0800, 林至善 wrote: > It works well and it is deterministic. It uses the resampler "swr" I guess, > but with slightly aliasing in resampled audio. > I think the 'soxr' is necessary in my case, but I am not sure if I should > ask for support here or libsxor? I could n

Re: [FFmpeg-user] setdar ratio - syntax

2018-11-25 Thread Moritz Barsnick
On Sun, Nov 25, 2018 at 11:28:32 +, Ben Barker wrote: > However, "setdar=x:y" will not work, though it used to. Doesn't matter - > it's working now! From a quick glance, this commit changed that behavior: https://github.com/FFmpeg/FFmpeg/commit/88fd836a015a5f3380df74592e440e7d1e5b8000 (inclu

Re: [FFmpeg-user] L-SMASH-WORKS and replacement for deprecated ffmpeg --enable-avresample

2018-11-26 Thread Moritz Barsnick
On Tue, Nov 27, 2018 at 00:26:09 +1030, hydra3...@gmail.com wrote: > However, L-SMASH-WORKS depends on an ffmpeg lib built with > --enable-avresample and LSW fails to build without it. > > Unfortunately, ffmpeg's --enable-avresample is deprecated ? But it's still available as of today. > what di

Re: [FFmpeg-user] udp restreaming not working properly

2018-11-28 Thread Moritz Barsnick
On Wed, Nov 28, 2018 at 12:13:54 +0545, Matthew Reus wrote: > the ffmpeg script runs for 1 hrs sometimes for 30 minutes and stop working > please could you guys help me to solve this problem . Here is my ffmpeg > script and log file by [...] > Output #0, flv, to 'rtmp:// > admin:admin@192.168.2.200

Re: [FFmpeg-user] Building ffmpeg - pkgconfig, again

2018-12-01 Thread Moritz Barsnick
On Sat, Dec 01, 2018 at 00:01:38 -0800, Jeff wrote: > Here is the relevant portion of 'ffbuild/config.log' for Opus. Please > can some experienced person help out with this? I can tell that the linker flag "-lm" seems to be missing. You information is a bit sparse. Can you show us your complete

Re: [FFmpeg-user] DTS-HD copy same with or without dca_core

2018-12-05 Thread Moritz Barsnick
On Wed, Dec 05, 2018 at 00:11:53 +0100, Carl Eugen Hoyos wrote: > 2018-12-04 23:24 GMT+01:00, sean darcy : > > > ffmpeg -i /opt/2T1/video/plex/Movies/Shows/WSS-Dance_t02.mkv -map v -map > > 0:1 -bsf:a dca_core -c:a copy -c:v libx265 -crf 26 -preset slower -dn > > -sn -nostdin /opt/2T1/video/plex/M

Re: [FFmpeg-user] How to correctly chain filters

2018-12-07 Thread Moritz Barsnick
On Fri, Dec 07, 2018 at 03:22:56 +0100, Ulf Zibis wrote: > I have tried 2 forms: > $ ffmpeg -i in.vob -movflags +faststart -vf bwdif -vf hqdn3d -q 3 -c:a > copy out_bwdif_hqdn3d.vob > $ ffmpeg -i in.vob -movflags +faststart -vf bwdif,hqdn3d -q 3 -c:a copy > out_bwdif,hqdn3d.vob > > The 1st one re

Re: [FFmpeg-user] Help with metadata writing (mp4)... what's possible?

2018-12-07 Thread Moritz Barsnick
On Thu, Dec 06, 2018 at 15:19:41 -0500, Karen Norton wrote: > Is this all in the official ffmpeg documentation? As mentioned I couldn't > find anything and I searched through all of the references for metadata but > it's possible I missed it. I would at least appreciate it if it made it into the f

Re: [FFmpeg-user] how to demux + decode with option -re with file input ffmpeg API's

2018-12-07 Thread Moritz Barsnick
On Fri, Dec 07, 2018 at 06:31:14 -0600, straw wrote: > Like in below example , *how to use -re option in ffmpg API code . For questions regarding the use of the ffmpeg API, please consult the libav-user mailing list: https://ffmpeg.org/mailman/listinfo/libav-user > I tried AVDictionary but no luc

Re: [FFmpeg-user] Transcoding, recording, and displaying multiple webcams

2018-12-11 Thread Moritz Barsnick
Hi Rob, a lot of questions, so let me just hint at a few things: On Tue, Dec 11, 2018 at 06:58:41 -0800, Rob Lewis wrote: > I've been using mjpg_streamer to display live video from 2 webcams on a > web page (in separate iframes). So the browsers already play that just fine? Is it actually MJPEG

Re: [FFmpeg-user] Question about using Webm/Matroska container in audio transconding

2018-12-12 Thread Moritz Barsnick
On Wed, Dec 12, 2018 at 08:30:27 +0100, Ivan Zderadicka wrote: > ivan@ivan-ThinkPad-T460:~/tmp$ ffprobe test1.webm [...] > Input #0, matroska,webm, from 'test1.webm': > Metadata: > title : 10.kapitola > encoder : Lavf56.40.101 > Duration: N/A, start: 0.007000, bitrate

Re: [FFmpeg-user] consult volume

2018-12-13 Thread Moritz Barsnick
On Wed, Dec 12, 2018 at 21:43:02 +0100, Juan carlos Rebate wrote: > hello, how can you check the volume number of a file?, to change it > useful -filter "volume", but I do not know how to consult the original > volume thanks The filter "volumedetect" is what you are looking for. Cheers, Moritz __

Re: [FFmpeg-user] Need assistance finding l transcoding

2018-12-13 Thread Moritz Barsnick
On Thu, Dec 13, 2018 at 18:33:02 +, James E. Baird wrote: > I spun up a new server running Ubuntu 18.04.1 LTS and installed > FFMPEG version 7.3.4.4 which is the current supported version for > Bionic Beaver. Though I think that't not the issue, you should grab a much newer version. You can ge

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

2018-12-13 Thread Moritz Barsnick
Hi Karen, On Thu, Dec 13, 2018 at 15:04:15 -0500, Karen Norton wrote: > I only see the error when opening the output files with MP4 Inspector > otherwise the files play fine (ex: in VLC) and show no issues in > mediainfo. So basically, it's not an issue at all, *except* for MP4 Inspector? > I w

Re: [FFmpeg-user] Need assistance finding l transcoding

2018-12-13 Thread Moritz Barsnick
On Thu, Dec 13, 2018 at 20:49:56 +, James E. Baird wrote: > It does need to be a CBR. It will be converted to an adaptive stream for a > streaming app It's actually ABR you're creating, if I understand correctly. > I felt that I should get more horsepower as well and that is the main > reaso

Re: [FFmpeg-user] Using ffmpeg with youtube-dl: Non-monotonous DTS in output stream

2018-12-15 Thread Moritz Barsnick
On Sat, Dec 15, 2018 at 01:45:44 +, Tefl Zuren wrote: > youtube-dl https://www.tntdrama.com/movies/a-christmas-story Unfortunately, probably for geographical reasons, I can't access that video. > [TBS] 4b2d9001ea25d41c9ff0d15c6c9f899af96d333f: Downloading m3u8 information > [download] Destina

Re: [FFmpeg-user] How to set FIFO value

2018-12-15 Thread Moritz Barsnick
On Sun, Dec 16, 2018 at 00:38:50 +0530, Vasanth M.Vasanth wrote: > How to set exact FIFO value for live streaming? > > Current value fifo_size=2500 Assuming you mean the fifo_size parameter for the udp protocol: https://ffmpeg.org/ffmpeg-protocols.html#udp "udp://hostname:port[?options]

Re: [FFmpeg-user] Copy Audio

2018-12-19 Thread Moritz Barsnick
On Wed, Dec 19, 2018 at 07:22:52 +, Chris wrote: > FWIW both my Sony and Canon camcorders put out PCM audio in .mp4 > containers. ffmpeg is merely being asked to copy the existing audio. Without myself trying to take sides on this, one could argue: ffmpeg chooses not to create "illegal" fil

Re: [FFmpeg-user] FFMPEG RTMP Help

2018-12-19 Thread Moritz Barsnick
On Tue, Dec 18, 2018 at 16:46:11 +, Dave Stein wrote: > I have been unable to get a test video to stream to an RTMP endpoint. > Even when having the the log level set to trace, I can’t tell what is > going wrong other than an “Input/output error”. I created a question > on StackOverflow., which

Re: [FFmpeg-user] how to build tools/zmqsend

2018-12-19 Thread Moritz Barsnick
On Wed, Dec 19, 2018 at 15:39:45 +0100, Carl Eugen Hoyos wrote: > > How to build tools/zmqsend? > > Should work with: > $ make tools/zmqsend > But it may not have been tested for some time, please report back. It does, I just tested it with ffmpeg-snapshot-2018-12-15 (and zeromq-4.2.5). I use it

Re: [FFmpeg-user] How to enable external libraries but do not depend on them

2018-12-23 Thread Moritz Barsnick
On Sun, Dec 23, 2018 at 17:20:32 +, Taner Sener wrote: > When make completes I have libavcodec.a, libavdevice.a, libavfilter.a, > libavformat.a, libavutil.a, libswresample.a, libswscale.a static ibraries. > But they depend on enabled libraries lib1.a, lib2.a, lib3.a, … . That's quite normal. i

Re: [FFmpeg-user] Creating surround sound from mono wav files

2018-12-23 Thread Moritz Barsnick
On Sun, Dec 23, 2018 at 23:22:38 +, CherylJosie wrote: > Yes thanks found a helpful site and got that far just after posting > but I found the info on number of channels online not in the ffmpeg > manual. I wasn't even sure what to look for so couldn't search the > manual with a direct query.

Re: [FFmpeg-user] Robustness on processing transport streams (TS)?

2018-12-27 Thread Moritz Barsnick
On Thu, Dec 27, 2018 at 22:21:26 +0100, Uwe Freese wrote: > -async   A... simplified 1 parameter audio > timestamp matching, 0(disabled), 1(filling and trimming), >1(maximum > stretch/squeeze in samples per second) (from INT_MIN to INT_MAX) (default 0) That's the swresample o

Re: [FFmpeg-user] down sampling

2018-12-27 Thread Moritz Barsnick
On Thu, Dec 27, 2018 at 20:29:34 +0100, Michael Koch wrote: > I think the bigger problem is "outputting through the computers > speakers". As far as I know it depends on the operating system, and > under Windows it's impossible. You can always pipe to ffplay, which plays audio also under Windows

Re: [FFmpeg-user] aac: Prediction is not allowed in AAC-LC.

2018-12-27 Thread Moritz Barsnick
On Fri, Dec 28, 2018 at 01:05:15 +0530, shirish शिरीष wrote: > [ffmpeg/audio] aac: Inconsistent channel configuration. > [ffmpeg/audio] aac: get_buffer() failed > Error decoding audio. > [ffmpeg/audio] aac: Prediction is not allowed in AAC-LC. > Error decoding audio. > [ffmpeg/audio] aac: Sample ra

Re: [FFmpeg-user] Problems Compiling on CentOS 7

2018-12-28 Thread Moritz Barsnick
On Fri, Dec 28, 2018 at 09:42:47 -0800, Larry Apolonio wrote: > but I get an error when I add x265. > > ERROR: x265 not found using pkg-config > Here is the tail end of the config.log file (pastebin if you want > everything https://pastebin.com/Vq8GFaui) > > BEGIN /tmp/ffconf.3qUgZlye/test.c >

Re: [FFmpeg-user] down sampling

2018-12-29 Thread Moritz Barsnick
On Sat, Dec 29, 2018 at 19:45:29 +0100, Michael Koch wrote: > (see below), and those didn't work. Seems to be either impossible or > quite complicated. "Didn't work" is not a concise error description. > https://ffmpeg.zeranoe.com/forum/viewtopic.php?t=1414 > > |ffmpeg -i abc.avi -f rawvideo -

Re: [FFmpeg-user] how can I figure out if a media file is good or if there are any errors ?

2018-12-31 Thread Moritz Barsnick
On Mon, Dec 31, 2018 at 07:15:21 +, shirish शिरीष wrote: > I was looking for how to figure out if the media file is good and if > there are any errors in the file . Came across The file you were referring to in your previous thread had problems with ffplay, right? Did it show those "error whil

Re: [FFmpeg-user] bug on ubuntu 18.04 with gcc7.3 and g++7.3

2019-01-03 Thread Moritz Barsnick
On Thu, Jan 03, 2019 at 07:40:15 +0100, NDJORE BORIS wrote: > It's impossible for me to build ffmpeg on ubuntu 18.04 with gcc7.3 and > g++7.3 compiler. When I run ./configure, I have the errors "implicit > declaration of nanosleep" and "size of ts is unknown". > Can you help me please? Can you ple

Re: [FFmpeg-user] FFmpeg Configure error, Help need

2019-01-04 Thread Moritz Barsnick
On Fri, Jan 04, 2019 at 14:07:20 +0530, Dinesh Gupta wrote: > require_pkg_config libopus opus opus_multistream.h > opus_multistream_decoder_create > check_pkg_config libopus opus opus_multistream.h > opus_multistream_decoder_create > test_pkg_config libopus opus opus_multistream.h > opus_multist

Re: [FFmpeg-user] Image2 demuxer on Synology

2019-01-04 Thread Moritz Barsnick
On Fri, Jan 04, 2019 at 11:31:43 +, Stuart Bruce wrote: > The Synology is about 18 months old and completely 'vanilla', with no > maintenance or updates, and it's still running the 2015-era version of > FFmpeg that was preinstalled on it. I found this thread: https://github.com/SynoCommunity/s

Re: [FFmpeg-user] Image2 demuxer on Synology

2019-01-04 Thread Moritz Barsnick
On Fri, Jan 04, 2019 at 18:04:42 +0530, Gyan wrote: > Appears doable. I've posted an answer at > https://superuser.com/questions/1375270/ffmpeg-waveform-png-invalid-argument Nice! Maybe worth a wiki entry. Moritz ___ ffmpeg-user mailing list ffmpeg-use

Re: [FFmpeg-user] How to duplicate 1st line

2019-01-06 Thread Moritz Barsnick
On Sun, Jan 06, 2019 at 17:16:14 +0100, Ulf Zibis wrote: > [AVFilterGraph @ 0x55a6153dafa0] No such filter: 'fillborders' This filter was added in November 2017. 4.0 was the first ffmpeg release it was included in. Please use a recent version of ffmpeg to get better support here (preferred: laster

Re: [FFmpeg-user] How to duplicate 1st line

2019-01-06 Thread Moritz Barsnick
On Sun, Jan 06, 2019 at 19:07:54 +0100, Moritz Barsnick wrote: > get better support here (preferred: laster git master). ^ latest, sorry. ;) ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.

Re: [FFmpeg-user] How to duplicate 1st line

2019-01-06 Thread Moritz Barsnick
On Sun, Jan 06, 2019 at 19:54:43 +0100, Michael Koch wrote: > Is there a revision history where we can see when new features are added? Sure: https://github.com/FFmpeg/FFmpeg/blob/master/Changelog Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.o

Re: [FFmpeg-user] Image2 demuxer on Synology

2019-01-07 Thread Moritz Barsnick
On Mon, Jan 07, 2019 at 14:43:28 +, Stuart Bruce wrote: > sysadmin of the server in question, and the sysadmin is nervous about > making changes on a live and very active server, Installing an additional binary shouldn't affect existing stuff in any way. And if it's a tool you require to get

Re: [FFmpeg-user] EXT-X-PROGRAM-DATE-TIME usage

2019-01-10 Thread Moritz Barsnick
> > #EXT-X-PROGRAM-DATE-TIME:2010-02-19T14:54:23.031+08:00 > > https://en.wikipedia.org/wiki/ISO_8601 Also: https://tools.ietf.org/html/draft-pantos-http-live-streaming-23 The EXT-X-PROGRAM-DATE-TIME tag associates the first sample of a Media Segment with an absolute date and/or time. It a

Re: [FFmpeg-user] Meaning of ffprobe output

2019-01-19 Thread Moritz Barsnick
On Fri, Jan 18, 2019 at 18:19:05 +0100, Ulf Zibis wrote: > > (It is simply not possible, you can only send frames to your > > driver / display.) > Well, but the software player could send 50 frames per second with > alternately updating only each 2nd top/bottom line. It could. But if the display i

Re: [FFmpeg-user] Changing video speed

2019-01-21 Thread Moritz Barsnick
On Sat, Jan 19, 2019 at 14:55:55 -0700, JD wrote: > I have a video that was sped up and now the voice is like > that of cats in cartoons. > How can I at least lower the pitch back to normal? > Since the whole video was sped up, I would rather > slow down the whole video (video and audio) AND lower

Re: [FFmpeg-user] audio channel manipulation

2019-01-21 Thread Moritz Barsnick
On Mon, Jan 21, 2019 at 14:01:52 -0500, Jim Shupert wrote: > if it is in 4 streams you can pick which to hear. > > My capture system captures 10bit unc mov video [0:0]  ( 4ch_test.mov ) > and the 4 audio "tracks" are found in 1 stream as 4 channels [0:1.0 , > 0:1.1, 0:1.2, 0:1.3 ] [...] Do you n

<    3   4   5   6   7   8   9   10   11   12   >