Re: [FFmpeg-user] chwe17/FFmpeg-Cedrus can't open my webcam?

2018-05-14 Thread Moritz Barsnick
On Mon, May 14, 2018 at 15:48:18 +0200, cedric.dew...@telfort.nl wrote: > I have a bananapi, running Armbian 5.38. I have done the following steps to > compile ffmpeg: > git clone https://github.com/chwe17/FFmpeg-Cedrus.git I would like to claim: If you have issues with that fork of ffmpeg, why d

Re: [FFmpeg-user] ffmpeg cross-compile

2018-05-14 Thread Moritz Barsnick
On Mon, May 14, 2018 at 12:28:13 +0200, Thomas Schmiedl wrote: > I'm only an end-user, maybe someone could help me? Perhaps someone at the freetz site? > I got this error: 'ERROR: libxml-2.0 not found using pkg-config'. But > the freetz-toolchain does not contain pkg-config. Is it possible to us

Re: [FFmpeg-user] Http Listen Connection Drop

2018-05-14 Thread Moritz Barsnick
On Mon, May 14, 2018 at 12:54:02 +0200, sirk98 qwerty89 wrote: > I try to use the debug loglevel, but I can't understand the problem . > > av_interleaved_write_frame(): Broken pipe > No more output streams to write to, finishing. > Error writing trailer of http://127.0.0.1:8989/1: Broken pipe > >

Re: [FFmpeg-user] ffmpeg dash demuxer support

2018-05-12 Thread Moritz Barsnick
On Sat, May 12, 2018 at 19:26:25 +0200, Thomas Schmiedl wrote: > I tested with the ffmpeg git-version. When I use './configure > --list-demuxers', there is 'dash' listed. A simple './configure' does > not list 'dash' in the 'configure summary report' under 'Enabled demuxers'. > > Is there an ext

Re: [FFmpeg-user] VOB files convertion failed

2018-05-08 Thread Moritz Barsnick
On Mon, May 07, 2018 at 21:13:38 -0300, Jamenson Ferreira Espindula de Almeida Melo wrote: > Below is the listing of a DVD movie disc. I want to convert these files > to one file. The files already are on my hard disk. > > total 4,2G > -r--r--r-- 1 jamenson jamenson 124K fev 2 2010 video_ts.vob

Re: [FFmpeg-user] Not able to open URL using avformat_open_input

2018-05-08 Thread Moritz Barsnick
On Mon, May 07, 2018 at 05:27:04 +, m.kamalasubha m.kamalasubha wrote: > I tried to open URL using avformat_open_input API function. > Initially, I got a warning like, Hi Kamalasubha, for questions regarding the use of the libav* libraries, you have a much better chance of getting support on t

Re: [FFmpeg-user] editing video stream with KLV metadata

2018-05-07 Thread Moritz Barsnick
Hi Claire, On Mon, May 07, 2018 at 10:41:44 +, Claire Mantel wrote: > Yes, KLV is a standard for encoding data (https://en.wikipedia.org/wiki/KLV) > I believe it's quite commonly used in commercial UAVs (drones) to tag the > video with info like timestamp, GPS coordinates and pitch, roll and

Re: [FFmpeg-user] Convert to 96000 Hz DCA spdif not supported?

2018-05-06 Thread Moritz Barsnick
On Sun, May 06, 2018 at 00:46:43 +0200, Nomis101 ? wrote: > Am 05.05.18 um 23:45 schrieb Lou Logan: > > Supported sample rates: 8000 16000 32000 11025 22050 44100 12000 24000 48000 > > OK, thanks. I did not know, that it is possible to look up the supported > sample rates like this. Are there any

Re: [FFmpeg-user] Get started with FFmpeg

2018-05-05 Thread Moritz Barsnick
On Thu, May 03, 2018 at 16:46:47 -0300, Jamenson Ferreira Espindula de Almeida Melo wrote: > I would like to get some tutorials about FFmpeg. The official > documentation seems to me very abstract. That may be so. But do take a look at the contributions in the Wiki as well: https://trac.ffmpeg.or

Re: [FFmpeg-user] No audio while plying ffplay

2018-05-05 Thread Moritz Barsnick
On Fri, May 04, 2018 at 23:45:27 -0700, swades wrote: > Please help me waiting for help. its been 24 hours I am waiting for replies. > I am noob i want little help > > * i don't know how to Run this. i mean where do i run > this set SDL_AUDIODRIVER=directsound Please also teach how to set at sys

Re: [FFmpeg-user] editing video stream with KLV metadata

2018-05-03 Thread Moritz Barsnick
Hi Claire, On Thu, May 03, 2018 at 14:21:29 +, Claire Mantel wrote: > I have a videostream with klv metadata that I want to edit while keeping the > metadata. > I'm wondering if it's possible with ffmpeg? I assume you mean that which ffmpeg identifies as a KLV data stream? (I have no knowled

Re: [FFmpeg-user] amid fails when there are more than 8 input channels (in one file)

2018-05-02 Thread Moritz Barsnick
On Wed, May 02, 2018 at 15:51:09 +0200, Bouke / VideoToolShed wrote: > Strange thing, more than 8 channels give silent output: > ffmpeg -i 9Ch_orMore.WAV -filter_complex "[0:0][0:0] > amix=inputs=2,pan=mono|c0=c0+c1” -ac 1 mono.wav > gives on errors whatsoever, but output is silent. "No" errors?

Re: [FFmpeg-user] remove audio in the latest version windows 20180429-19c3df0-win64-static

2018-04-30 Thread Moritz Barsnick
On Mon, Apr 30, 2018 at 15:50:55 +, juan carlos rebate wrote: > I have a file with 2 audio tracks and I want to remove one of them,the file > has three tracks, one video track and two audio tracks,in previous versions > I usually do the following: > ffmpeg-i imput.avi -map 0:0 -vcodec copy -map

Re: [FFmpeg-user] How to download the ts files from .m3u8 playlist

2018-04-30 Thread Moritz Barsnick
On Mon, Apr 30, 2018 at 08:41:32 +, m.kamalasubha m.kamalasubha wrote: > I tried the above command line. It works. Nice! > But the requirement is to have individual raw files for every individual ts > file. Again, you didn't say so originally. > Is there any way to generate raw file for eve

Re: [FFmpeg-user] How to download the ts files from .m3u8 playlist

2018-04-27 Thread Moritz Barsnick
On Fri, Apr 27, 2018 at 14:11:47 +, m.kamalasubha m.kamalasubha wrote: > Basically, I want to extract the audio and video raw files from the ts > segments of the playlist file. Is it possible to generate the raw files > from the individual TS segments using FFmpeg? Ah, that's why it's always g

Re: [FFmpeg-user] How to download the ts files from .m3u8 playlist

2018-04-27 Thread Moritz Barsnick
On Fri, Apr 27, 2018 at 18:54:40 +0530, m.kamalasubha m.kamalasubha wrote: > Is there any way to download the individual ts files from the .m3u8 > playlist file https://mnmedias.api.telequebec.tv/m3u8/29880.m3u8 of > specific bitrate using FFmpeg? No, ffmpeg always demuxes and remuxes a stream. W

Re: [FFmpeg-user] Unknown option "--disable-ffserver"

2018-04-22 Thread Moritz Barsnick
On Sat, Apr 21, 2018 at 15:39:09 +0200, Reindl Harald wrote: > * it was removed in some snapshot > * in a later release tarball *after* that snapshot it was there again There's your misunderstanding: - recent 3.4.x releases were made from the n3.4 branch (and 3.3.x from n3.3 and so on; - snapsho

Re: [FFmpeg-user] Stereo AAC

2018-04-18 Thread Moritz Barsnick
On Tue, Apr 17, 2018 at 22:24:12 +0200, Frank Haefemeier wrote: > Am Montag, den 16.04.2018, 16:02 -0400 schrieb antony baxter: > > I have some video files with a DTS audio stream. I'm trying to add a > If you not specifiy the right mapping index by 'ac' parameter it will > default to zero. Sorr

Re: [FFmpeg-user] Stereo AAC

2018-04-17 Thread Moritz Barsnick
On Mon, Apr 16, 2018 at 16:02:53 -0400, antony baxter wrote: > I have some video files with a DTS audio stream. I'm trying to add a > couple of additional audio streams into the file, transcoded from the > DTS stream. My command line is: > >ffmpeg > -i "${input}" > -map 0:0 >

Re: [FFmpeg-user] Lavfi video generator slow performance

2018-04-12 Thread Moritz Barsnick
On Fri, Apr 13, 2018 at 08:17:41 +0200, Paul B Mahol wrote: > > I'm not a programmer, sorry. I guess ffmpeg is not the right tool for this > > job. Thanks. > > Have you ever noticed there are other video source filters? Like life, > cellauto > and mptestsrc? Indeed, if all you need is frames w

Re: [FFmpeg-user] ticket #6383

2018-04-09 Thread Moritz Barsnick
On Mon, Apr 09, 2018 at 16:21:39 +0200, Phillipe Laterrade wrote: > Does anyone knows if an ffmpeg static version exists including the fix > documented in the ticket #6383 ? Yes, since that commit has been in the repo since last year, all builds from git master will include that fix. (No existin

Re: [FFmpeg-user] Converting MPEG 2 issues

2018-04-03 Thread Moritz Barsnick
On Tue, Apr 03, 2018 at 17:43:03 +0200, rav...@gmx.de wrote: > > $ [...] -map 0:v -map 0:a:0 -map 0:a:1 > That also fails: Because, unlike mpv, ffmpeg fails to recognize the audio streams which appear later: > # ffmpeg -hide_banner -y -ss 1:15.500 -i capture_V0.mpg -t 30 > capture_V1_30s.mkv [..

Re: [FFmpeg-user] Writing H.264 data to a file

2018-04-03 Thread Moritz Barsnick
Hi Austin, On Tue, Apr 03, 2018 at 13:05:03 +0530, Austin Einter wrote: > After I prepare buffer, then I use av_write_xxx apis to write it using > ffmpeg. The list ffmpeg-user discusses use of ffmpeg's command line tools. If you need assistance in using the libav* libraries, please direct your q

Re: [FFmpeg-user] Converting MPEG 2 issues

2018-04-02 Thread Moritz Barsnick
On Sun, Apr 01, 2018 at 03:22:10 +0200, rav...@gmx.de wrote: > I want to keep audio track 1 ("aid=1") and audio track 2 ("aid=2"), or how > ffmpeg usually addresses these: "audio0 audio1" > The other 2 audio tracks can be rejected / should not be added into the > resulting mkv or ogv. No problem

Re: [FFmpeg-user] superimpose audio on stream

2018-04-02 Thread Moritz Barsnick
On Mon, Apr 02, 2018 at 09:39:18 +0200, Zoltan Kerenyi Nagy wrote: > I'd like to overlay the audio waveform coming from an axis camera's stream. > I've started to read the documentation, but It's quiet complex. For testing > I use that bunny stream. [...] > I'd like similar to this video: > > http

Re: [FFmpeg-user] Unable to initialize SDL, over X11 for only root

2018-04-02 Thread Moritz Barsnick
Hi Jeff, On Sun, Apr 01, 2018 at 16:28:28 -0400, Jeff wrote: > However when running *ffplay* as the root user over X11 on the same files, > I am getting met with the '*Unable to initialize SDL*' error. First of all: *WHY*?? There is usually no good reason to run anything as root, if you are not a

Re: [FFmpeg-user] h264_vaapi missing frames

2018-03-22 Thread Moritz Barsnick
On Thu, Mar 22, 2018 at 09:22:24 +0800, Kai Hendry wrote: > https://s.natalian.org/2018-03-22/1521681432.mp4.log > I'm getting hwupload,scale_vaapi=format=nv12: Invalid argument > > Did I miss something? Yes, the lines before that one. This hints that your command line is misinterpreted: > Openin

Re: [FFmpeg-user] ffplay using frame buffer

2018-03-22 Thread Moritz Barsnick
On Wed, Mar 21, 2018 at 07:57:02 +1300, 3djake wrote: > How do I compile ffmpeg so that ffplay can use /dev/fb0 for playback? You don't. It uses SDL. > ./configure --arch=armel --target-os=linux --enable-gpl --enable-omx > --enable-omx-rpi --enable-nonfree --enable-mmal --enable-ffplay > > It ap

Re: [FFmpeg-user] ffprobe audio duration mismatch

2018-03-20 Thread Moritz Barsnick
On Tue, Mar 20, 2018 at 18:08:36 +0100, ned.hodd...@bellair.net wrote: > Could anyone tell me why I get slightly different audio durations reported > from the following two commands: > > ffprobe -show_streams x.m4a > > ffprobe -select_streams a:0 -show_entries format=duration x.m4a > > In thi

Re: [FFmpeg-user] Subtitle file from m3u8

2018-03-18 Thread Moritz Barsnick
On Sat, Mar 17, 2018 at 22:33:42 +0100, Carl Eugen Hoyos wrote: > > But I can't find a way to download the subtitle file within the command. > > Could you suggest me any possibilities to achieve that, even further - to > > embed the subtitle to the video? > > Afaik, mpegts does not support any typ

Re: [FFmpeg-user] How to extract DVD subtitle from this VOB file?

2018-03-15 Thread Moritz Barsnick
On Thu, Mar 15, 2018 at 09:18:01 -0700, Carl Zwanzig wrote: > On 3/15/2018 9:05 AM, Moritz Barsnick wrote: > > AFAIU, MPEG-PS can contain streams which appear later. (Same for > > MPEG-TS, I think.) Perhaps the subtitle streams aren't visible at t=0. > > That is my ex

Re: [FFmpeg-user] strange video cut

2018-03-15 Thread Moritz Barsnick
On Wed, Mar 14, 2018 at 22:01:01 +0100, Adi Marvillo wrote: > ffprobe does not show any difference in the file-specs: not with the > encoder nor in resolution although the small video has bad quality- Does > anybody know what is the differnce between the 2 files and why ffmpeg > keeps telling me th

Re: [FFmpeg-user] How to extract DVD subtitle from this VOB file?

2018-03-15 Thread Moritz Barsnick
On Thu, Mar 15, 2018 at 14:42:32 +0100, Adi Marvillo wrote: > > Input #0, mpeg, from 'stream.dump': > >   Duration: 01:16:44.93, start: 0.040033, bitrate: 5392 kb/s > > Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top > > first), 720x480 [SAR 32:27 DAR 16:9], 29.67 fps, 59.94 tbr,

Re: [FFmpeg-user] ProRes encoding: Question about FFmpeg docs

2018-03-12 Thread Moritz Barsnick
On Mon, Mar 12, 2018 at 12:32:09 +0100, Peter B. wrote: > On 2018-03-12 11:50, Paul B Mahol wrote: > > prores_aw gonna be removed. > > Interesting. > > Will the alias "-c:v prores" then point to "prores_ks"? I'm quite sure. BTW, there was a previous recent propasal to move the alias to _ks, bu

Re: [FFmpeg-user] ProRes encoding: Question about FFmpeg docs

2018-03-12 Thread Moritz Barsnick
On Mon, Mar 12, 2018 at 08:24:26 +0100, Peter B. wrote: > But now I know: > >   * -c:v prores_ks: uses the documented profile strings >   * -c:v prores_aw (=prores): seems to work only with integers (not in the > documentation/nor help) Indeed. > [prores_aw @ 0x36fdc40] unknown profile -1, use

Re: [FFmpeg-user] ProRes encoding: Question about FFmpeg docs

2018-03-11 Thread Moritz Barsnick
On Sun, Mar 11, 2018 at 09:33:29 +0100, Peter B. wrote: > 2) Docs say "profile/quantmat" is "integer", but only list strings: > > > [quote] > profile integer >     Select the ProRes profile to encode > >     ‘proxy’ >     ‘lt’ >     ‘standard’ >     ‘hq’

Re: [FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-09 Thread Moritz Barsnick
On Fri, Mar 09, 2018 at 18:47:33 +, Pierre Pasquet wrote: > I’m confused. > What does $ ffmpeg -i udp://127.0.0.1: actually > do? > Is it a substitute to mediastreamsegmenter? No. It verifies that what the other ffmpeg sent was actually an MPEG-TS with audio only. To answer the questio

Re: [FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-09 Thread Moritz Barsnick
On Fri, Mar 09, 2018 at 17:34:05 +, Pierre Pasquet wrote: > Why can’t I just do the same for a stream segmenter? Doesn’t FFMpeg provide a > way to create a MPEG-2 transport stream with Audio only? Yes it does. If you launch your audio-only ffmpeg stream (but not your segmenter), and then sep

Re: [FFmpeg-user] About hls option "hls_init_time" and "hls_time"

2018-03-09 Thread Moritz Barsnick
On Fri, Mar 09, 2018 at 15:59:07 +0800, xyzero wrote: > Hi all: > I use the lastest ffmpeg 3.4.2 to transcode a HLS live streaming with the > command : > "ffmpeg -i /2011/03/17/20110311090142995200.wmv -c:v h264 -flags +cgop -g 25 > -hls_init_time 1 -hls_time 10 -hls_list_size 0 -hls_flags temp_f

Re: [FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-09 Thread Moritz Barsnick
On Fri, Mar 09, 2018 at 01:03:16 +, Pierre Pasquet wrote: > In theory, when receiving an input file, the segmenter should generate a > playlist .m3u8 and create subsequent .aac files (because we are dealing only > with audio) [...] > I know that the ffmpeg command is not write because it appl

Re: [FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-09 Thread Moritz Barsnick
On Thu, Mar 08, 2018 at 19:51:03 -0800, Carl Zwanzig wrote: > One thing missing is some directed speculation even before the cmd line is > sent; it's a valuable part of troubleshooting and helps those asking to learn. Yes and no. Speculating will help the OP avoid providing more information. It m

Re: [FFmpeg-user] Generate MPEG Transport stream from audio files only

2018-03-08 Thread Moritz Barsnick
On Thu, Mar 08, 2018 at 14:25:54 +, Pierre Pasquet wrote: > Not sure to identify what is missing. This command works for a .m4v file and > doesn’t for a .aac file located in the same directory. As Carl Eugen tried to point out: What is missing is that you provide your actual (non-working) com

Re: [FFmpeg-user] YUV to h264 stream

2018-03-06 Thread Moritz Barsnick
On Tue, Mar 06, 2018 at 09:32:11 +0530, Vittalprasad wrote: > *command:* > ffmpeg -c:v rawvideo -pix_fmt yuv420p -s:v 1920x1080 -r 30 -i bb.yuv -vf > scale=960:540 -c:v h264 out.h264 > > *Error:*Cannot load libcuda.so.1 > Error initializing output stream 0:0 -- Error while opening encoder for > o

Re: [FFmpeg-user] normalize

2018-03-06 Thread Moritz Barsnick
Hi Jacky, On Mon, Mar 05, 2018 at 17:19:24 +0100, JACKY wrote: > I would like to perform a aac sound normalize with the loudnorm filter > but let ffmpeg read the first pass log result to perdorm the second pass > is there a way to do so  on windows ? As far as I can tell, there is no way (current

Re: [FFmpeg-user] Ffmpeg fails to convert webm files when h264_nvenc forced

2018-02-28 Thread Moritz Barsnick
On Wed, Feb 28, 2018 at 11:30:28 +0100, Moritz Barsnick wrote: > > [0:v]drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf:x=8:y=8:fontsize=16:fontcolor=yellow@1:expansion=strftime:basetime=151817268000:text='%Y-%m-%d > %H-%M-%S[vout]' \ >-ma

Re: [FFmpeg-user] Ffmpeg fails to convert webm files when h264_nvenc forced

2018-02-28 Thread Moritz Barsnick
On Wed, Feb 28, 2018 at 09:04:22 +, oktay eşgül wrote: > Thank you for your comment.Yes ,seems webm encoding is not supportef by my > gpu.İnstead,I am planning toy use mkv as output container type. MKV should work fine. > instruction do you recommend? > > On Wed, Feb 28, 2018 at 05:53:17 +00

Re: [FFmpeg-user] Ffmpeg fails to convert webm files when h264_nvenc forced

2018-02-28 Thread Moritz Barsnick
On Wed, Feb 28, 2018 at 05:53:17 +, oktay eşgül wrote: > Here is the main steps of my process: > 1.Split video and audio of the caller. > time ffmpeg -y -i 230087_caller.webm -vn -ab 256 230087_caller.wav > 2.Split video and audio of the callee > time ffmpeg -y -i 230087_callee.webm -vn -ab 256

Re: [FFmpeg-user] All the video captures are made at a resolution of 176x144

2018-02-27 Thread Moritz Barsnick
On Mon, Feb 26, 2018 at 16:43:50 -0500, Lindsey Williams wrote: > "-r 1 " is just going to use the input file sampling rate, no? Input file? We are talking about an input device (as this is a camera), and the term is "frame rate". "-r" should be "-framerate" for a v4l2 input, but "-r" works. It re

Re: [FFmpeg-user] All the video captures are made at a resolution of 176x144

2018-02-26 Thread Moritz Barsnick
On Fri, Feb 23, 2018 at 00:34:26 -0500, DiegoUG wrote: > I'm doing a capture of an image from the docker using my web cam, but the > docker is doing it at a resolution of 176x144 and outside of the docker in > my localhost it takes it to 640x360, in both it's the same installation, I > do not know

Re: [FFmpeg-user] h264 and opus in mp4 container

2018-02-26 Thread Moritz Barsnick
On Mon, Feb 26, 2018 at 10:06:36 +0530, Vittalprasad wrote: > external player like mplayer, vlc and kmp are failing to decode voice . i.e > while playing mp4 file there is only video no voice. Are you sure that your external players support this? This feature was only recently added to the standar

Re: [FFmpeg-user] ffmpeg high CPU usage

2018-02-21 Thread Moritz Barsnick
On Tue, Feb 20, 2018 at 15:15:42 +0100, Glenn Cooper wrote: > I am trying to stream to YT by using a live Icecast radio stream and > converting it on the fly. Whilst I have this working, the CPU overhead is > simply ridiculous and I suspect there's an error with my usage. I would hope > that som

Re: [FFmpeg-user] Continual reconnection attempts so long as video buffer has information

2018-02-05 Thread Moritz Barsnick
On Sun, Feb 04, 2018 at 20:02:22 -0500, Mr Arca9 wrote: > running into an issue with HLS stability. > > Upon receiving a 403 from an m3u8 link, ffmpeg will only try to reconnect > once and if it fails it will stop trying to reconnect. Does it really? (I couldn't find the code which does this.) F

Re: [FFmpeg-user] Is it possible to add a 'keyw' atom to a MP4

2018-02-04 Thread Moritz Barsnick
On Fri, Feb 02, 2018 at 21:08:24 +, Jason Player wrote: > metadata fields- check). The funny thing is, ffprobe and ffmpeg will display > the keyword metadata on my older files, just not set it. I¹ve tried using You should provide the actual command line you tried, along with its complete, uncu

Re: [FFmpeg-user] Strange results with -preset

2018-01-28 Thread Moritz Barsnick
On Sun, Jan 28, 2018 at 18:38:48 +0100, Cecil Westerhof wrote: > | faster| 106.2 |7 | > | veryfast | 83.2 |5 | > | superfast | 177.4 |4 | [...] > So it looks like I should always use superfast. (But probably a good > idea to test it with a few other videos.) Funny, I had the same

Re: [FFmpeg-user] Compressed audio streams (DTS, Dolby) decoding

2018-01-20 Thread Moritz Barsnick
On Sat, Jan 20, 2018 at 19:24:19 +0100, Frédéric wrote: > But it is also possible that Kodi team made changes leading to this issue: > as they use their own versioning, it looks like they change the code... This is apparently the source code of the ffmpeg version they are building (and you are usi

Re: [FFmpeg-user] Reencoding video from image sequence doesn't work (sometimes)

2018-01-19 Thread Moritz Barsnick
On Thu, Jan 18, 2018 at 13:27:47 -0800, DopeLabs wrote: > just with a quick glance.. -c copy means stream copy.. as in not to > re-encode.. you should use -c copy OR -vcodec h264(-c:v h264), not both... That's not true. As you can see from serialhex's command line and output: > > D:\programmin\P

Re: [FFmpeg-user] Concat and extract image cause FFmpeg to hang in 3.3 and 3.4

2018-01-16 Thread Moritz Barsnick
On Tue, Jan 16, 2018 at 01:47:44 +, Jeff Wang wrote: > ffmpeg -i topia.flac -i topia_png.flac -threads 0 -map_chapters -1 -f flac > -filter_complex "[0:a:0][1:a:0]concat=n=2:v=0:a=1[cat_a]" -map "[cat_a]" > -acodec flac -sample_fmt s16 -ac 2 -ar 44100 -sn -vn > topia.flac+topia_png.flac.flac

Re: [FFmpeg-user] concat one video file and multiple audio files

2018-01-13 Thread Moritz Barsnick
On Fri, Jan 12, 2018 at 11:17:49 +0100, Nicolas George wrote: > Moritz Barsnick (2018-01-11): > > You should be concat'ing the audio separately from the video, and then > > mapping video and "[outa]" separately. > > Very bad advice that would lead to A-V des

Re: [FFmpeg-user] Adding "loop" atom to the video header via FFMPEG

2018-01-13 Thread Moritz Barsnick
On Fri, Jan 12, 2018 at 16:57:12 +0530, Vikram Parmar wrote: Please try to avoid top-posting. > >> Any other tools you are aware of which would allow adding of custom > >> atoms? Those instructions in stackoverflow answer were quite daunting. I'm not aware, but I'm no expert. In my humble opinio

Re: [FFmpeg-user] Alpha Channel QT with SubTitles

2018-01-11 Thread Moritz Barsnick
On Thu, Jan 11, 2018 at 21:42:45 +, Gandharv Bhagat wrote: > I am trying to generate an alpha channel QT, with Apple animation codec, but > the I get output has a white background. here is the command > > ffmpeg -r 23.976 -loop 1 -i Alpha_1920x1080.png -c:v qtrle -t 00:00:30.000 > -vf > sub

Re: [FFmpeg-user] concat one video file and multiple audio files

2018-01-11 Thread Moritz Barsnick
On Thu, Jan 11, 2018 at 22:57:11 +0100, ropiafoldetnezi wrote: > multiple sources: > 1 video file (.mp4) > 6 separate audio files (.mps) [...] > the command i tried (on windows 10): > ffmpeg -i video1.mp4 -i f1.mp3 -i n1.mp3 -i f2.mp3 -i m1.mp3 -i f3.mp3 -i > v1.mp3 -filter_complex > "[0:v:0][1:a:0

Re: [FFmpeg-user] stopping ffmpeg correctly while piping

2018-01-11 Thread Moritz Barsnick
On Thu, Jan 11, 2018 at 21:11:55 +0100, Nicolas George wrote: > > So apparently, ffmpeg is getting some different signal under Linux, > > and/or handling it differently. > > SIGPIPE, obviously. It was originally obvious to me. Except that I don't get what Windows does differently. But I never eng

Re: [FFmpeg-user] Adding "loop" atom to the video header via FFMPEG

2018-01-11 Thread Moritz Barsnick
On Thu, Jan 11, 2018 at 15:33:43 +0530, Vikram Parmar wrote: > Is it possible to add some custom atom in the header of a video file? No, ffmpeg can't add custom or arbitrary atoms. > I need to add the term "loop" in the header of MP4 files before the "moov" > atom. > > More information can be fo

Re: [FFmpeg-user] stopping ffmpeg correctly while piping

2018-01-11 Thread Moritz Barsnick
On Thu, Jan 11, 2018 at 10:56:13 -0500, Dave Rice wrote: > Could you share the working command you used? I'm sure it was $ ffmpeg -report -f lavfi -i testsrc2 -f nut - test.mov -y | ffplay - That was at work, under Windows. Now I'm at home, and "all" I have access to is Linux. And here, I can rep

Re: [FFmpeg-user] stopping ffmpeg correctly while piping

2018-01-11 Thread Moritz Barsnick
On Thu, Jan 11, 2018 at 16:03:08 +0100, Moritz Barsnick wrote: > Interesting: ffmpeg doesn't close one output correctly, if the other > one fails? (I didn't double check, but that is an undesired limitation, > if you ask me. I'm not using the word "bug" yet.

Re: [FFmpeg-user] stopping ffmpeg correctly while piping

2018-01-11 Thread Moritz Barsnick
On Thu, Jan 11, 2018 at 09:25:53 -0500, Dave Rice wrote: > When running these commands the video plays (in either ffplay or > mpv). When I close the playback window to stop the player, then > ffmpeg also stops, but with an invalid output. In this case the file > will_this_file_work.mov will have no

Re: [FFmpeg-user] stream hls from ffmpeg via media-server to TV

2018-01-11 Thread Moritz Barsnick
On Thu, Jan 11, 2018 at 14:44:11 +0100, Thomas Schmiedl wrote: > xupnpd2 doesn't support https, Wow. Welcome to the 21st century. > so my idea is to receive the hls-stream in ffmpeg. Should work. > ffmpeg -i https://hddn01.skylinewebcams.com/live.m3u8?a= -c > copy -f mpeg -listen 1 http://:123

Re: [FFmpeg-user] image2 examples missing `-f image2`, can that be right?

2018-01-07 Thread Moritz Barsnick
On Sun, Jan 07, 2018 at 12:55:20 -0800, Jim DeLaHunt wrote: > Harrumph. "Just try it first" is practical advice for this project, it > seems. LOL. I was just referring to doubts regarding the documentation. OTOH, some details are not or cannot be explained, so when a user poses a complicated "how

Re: [FFmpeg-user] image2 examples missing `-f image2`, can that be right?

2018-01-07 Thread Moritz Barsnick
On Sun, Jan 07, 2018 at 10:16:55 -0800, Jim DeLaHunt wrote: > And the term "demuxer" may be complicating things. The documentation for > `image2` describes it as a "demuxer"[1]. But elsewhere, I think the > FFmpeg documentation describes the operation of extracting multiple > still frames from a

Re: [FFmpeg-user] image2 examples missing `-f image2`, can that be right?

2018-01-07 Thread Moritz Barsnick
On Sat, Jan 06, 2018 at 23:08:32 -0800, Jim DeLaHunt wrote: > ffmpeg -framerate 10 -i 'img-%03d.jpeg' out.mkv > ffmpeg -framerate 10 -start_number 100 -i 'img-%03d.jpeg' out.mkv > ffmpeg -framerate 10 -pattern_type glob -i "*.png" out.mkv > > Those examples lack a `-f image2` option. I would expec

Re: [FFmpeg-user] Install ffmpeg 3 on RHEL 7

2018-01-04 Thread Moritz Barsnick
On Thu, Jan 04, 2018 at 16:00:01 +, Legault, Phillip [GTSUS] wrote: > Do you know if this was compiled with mp4 support? Without even checking, I'm 99.99% sure it was. Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mail

Re: [FFmpeg-user] Unable to compile with libx264

2018-01-04 Thread Moritz Barsnick
On Wed, Jan 03, 2018 at 18:41:08 -0800, Chao-Chin Yang wrote: > I am trying to compile ffmpeg from source with libx264. Because I > don’t have any super-user privileges, I am building it under my home. Even if you have superuser priviliges, you should build (and execute) as a regular user. Only

Re: [FFmpeg-user] ADPCM block size for XAudio

2018-01-03 Thread Moritz Barsnick
On Tue, Jan 02, 2018 at 10:31:48 +, Martin Wahnschaffe wrote: > Problem is that ffmpeg always uses a blocksize auf 1024. xaudio only > supports block sizes of up to 512. It would be good to make the blocksize > configurable to make it compatible. Have you tried the MS-ADPCM output of sox? I ha

Re: [FFmpeg-user] ADPCM block size for XAudio

2018-01-03 Thread Moritz Barsnick
On Wed, Jan 03, 2018 at 10:19:47 +, Martin (Imagine Earth) wrote: > What does top-post mean? Lou kindly pointed you to Google and other docs, and I may add: A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is

Re: [FFmpeg-user] scale and logo

2018-01-03 Thread Moritz Barsnick
On Wed, Jan 03, 2018 at 18:06:01 +0300, Александр wrote: > > Hello! The second day we suffer, as in one team to change the video to > proportions and impose a watermark? > ffmpeg -i /home/rolik.mov -r 25 -crf 25.0 -vcodec libx264 -vpre medium > -bufsize 8M -b 9000k -acodec libfaac -map 0:0 -map

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Moritz Barsnick
On Wed, Jan 03, 2018 at 14:09:39 +0100, Carl Eugen Hoyos wrote: > > I can't force ".mp3" on MP4 container though: > > There is a specification Yeah, but I couldn't find it... So that's why I expressed my confusion. Moritz ___ ffmpeg-user mailing list f

Re: [FFmpeg-user] Audio not playing in Quicktime Player

2018-01-03 Thread Moritz Barsnick
On Wed, Jan 03, 2018 at 11:39:09 +0100, Gabriel Zachmann wrote: >Stream #0:1(eng): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, > 192 kb/s (default) Well, at least this looks peculiar, but I'm no QuickTime/MOV/MP4 expert. I get the same when r

Re: [FFmpeg-user] Trying to reduce iframes/keyframes in x265

2018-01-03 Thread Moritz Barsnick
On Tue, Jan 02, 2018 at 16:01:05 -0800, Gaye Gül Bulut wrote: > My console output looks like this: For which of those command lines? > x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00 I have just as much of a problem as you in getting these values to change, despite follow

Re: [FFmpeg-user] RAW Format

2018-01-03 Thread Moritz Barsnick
On Tue, Jan 02, 2018 at 18:55:56 +, brucedavid1...@hotmail.com wrote: > Hello. How do I translate video and sound with an mp4 extension to raw format? $ ffmpeg -i input.mp4 -f rawvideo rawvideofile -f s16le rawaudiofile You may have to be more specific as to what you're trying to achieve. Mo

Re: [FFmpeg-user] HDR specification transfert

2017-12-23 Thread Moritz Barsnick
On Tue, Dec 19, 2017 at 06:08:55 -0700, Rollie Tyler wrote: > And here is the command that I tried: > > time /FFmpeg/3.4/bin/ffmpeg -hwaccel cuvid -c:v hevc_cuvid -i > /storage/input_HDR.mp4 -c:v nvenc_hevc -filter_complex > [0:0]scale_npp=colormatrix=bt2020:h_chr_pos=0:v_chr_pos=0,format=yuv420p1

Re: [FFmpeg-user] Questions about i-frames

2017-12-11 Thread Moritz Barsnick
On Mon, Dec 11, 2017 at 01:59:13 +0100, Carl Eugen Hoyos wrote: > 2017-12-11 1:29 GMT+01:00 Moritz Barsnick : > > On Sat, Dec 09, 2017 at 16:31:25 +0100, Lionel Crassier wrote: > >> I’m trying to replace B-Frames and P-Frames exclusively with i-frames in a > >> .mp4

Re: [FFmpeg-user] Questions about i-frames

2017-12-10 Thread Moritz Barsnick
On Sat, Dec 09, 2017 at 16:31:25 +0100, Lionel Crassier wrote: > I’m trying to replace B-Frames and P-Frames exclusively with i-frames in a > .mp4 video with x264 codec, mp4 muxer. > I didn’t see any such functionality in your documentation. Google is a really cool tool though. https://lists.ffm

Re: [FFmpeg-user] FFmpeg - C compiler test failed

2017-12-07 Thread Moritz Barsnick
On Thu, Dec 07, 2017 at 07:03:29 -0700, sujaypatil0055 wrote: > --cpu=arm7 \ > --arch=arm \ [...] > --extra-ldflags='-L../x264 -Wl,--fix-cortex-a8 -L../android-libs "--cpu=arm7" is wrong according to google. You probably don't even need to set it. (The armv7 architecture is not the arm7 CPU. Thank

Re: [FFmpeg-user] how to encode 10bit

2017-12-07 Thread Moritz Barsnick
On Thu, Dec 07, 2017 at 20:41:01 +, George Nistor wrote: > In either way it does not work. That's not a very descriptive error. What did you try, what did you expect, what was the actual result? We kindly ask you to provide the actual command line and its complete, uncut console output. > H

Re: [FFmpeg-user] Capturing video using ffmpeg in source format

2017-12-07 Thread Moritz Barsnick
On Wed, Dec 06, 2017 at 15:58:28 +, Dhananjay Umap wrote: > ffmpeg -f video4linux2 -i /dev/video0 -start_number 1 -vframes 250 -c:v mpeg4 > -qscale:v 1 test1.avi > As I can see below the rawvideo is at 1920x1080 format, but the input to the > card is 4K as well as the card is 4K capable. >

Re: [FFmpeg-user] ffmpeg to stream webcam to http:// and file?

2017-12-05 Thread Moritz Barsnick
On Wed, Dec 06, 2017 at 06:40:12 +1100, Alec Taylor wrote: > As for the ffserver.conf; I am using an unaltered > http://ffmpeg.org/sample.html > > $ ffmpeg -f avfoundation -framerate 30 -i "FaceTime HD Camera":"Built-in > Microphone" http://0.0.0.0:8090/stream0.webm Oh, then you actually need to

Re: [FFmpeg-user] loop over a sequence of images again and again

2017-12-05 Thread Moritz Barsnick
On Tue, Dec 05, 2017 at 20:21:48 +0100, Michael Koch wrote: > Is this possible? Yes. Oh, you want more info? ;-) > Let's assume I have a sequence of 100 images. Is it possible to let > ffmpeg loop over this input sequence again and again? > I mean the input should be 0, 1, 2, ... , 99, 0, 1, 2

Re: [FFmpeg-user] ffmpeg to stream webcam to http:// and file?

2017-12-05 Thread Moritz Barsnick
On Wed, Dec 06, 2017 at 06:10:17 +1100, Alec Taylor wrote: > But unfortunately I get this error: > > av_interleaved_write_frame(): Broken pipe > frame= 49 fps=1.4 q=0.0 size= 1kB time=00:00:00.89 bitrate= > 6.5kbits/sav_interleaved_write_frame(): Broken pipe > Error writing trailer of htt

Re: [FFmpeg-user] config

2017-12-05 Thread Moritz Barsnick
On Tue, Dec 05, 2017 at 20:06:25 +0100, Moritz Barsnick wrote: > Perhaps "--extra-cflags=-I/usr/local/include" should be something like > "--extra-cflags=-I/usr/local/arm/4.3.2/arm-none-linux-gnueabi/x264" > or wherever you put it. I meant "--extra-cflags=-I/

Re: [FFmpeg-user] config

2017-12-05 Thread Moritz Barsnick
On Tue, Dec 05, 2017 at 21:28:00 +0800, 高建琛 wrote: > I have install libx264,and I am sure the libx264 is good .But the running > result show that error::libx264 not found.The version of my libx264 is > x264-snapshot-20160511-2245. [...] > cc1: warning: include location "/usr/local/include" is uns

Re: [FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-04 Thread Moritz Barsnick
On Mon, Dec 04, 2017 at 15:01:41 +0100, Carl Eugen Hoyos wrote: > > Um, since the prompt tells us it's Windows/DOS, I'm sure the ffmpeg > > executable should be called with "ffmpeg\bin\ffmpeg" (i.e. backslaches > > as path separator). > > Or possibly "ffmpeg" alone which may explain the error mess

Re: [FFmpeg-user] Extracting frames from 59.94 FPS video - only every other frame is different

2017-12-04 Thread Moritz Barsnick
On Mon, Dec 04, 2017 at 14:29:25 +0100, Carl Eugen Hoyos wrote: > 2017-12-04 14:25 GMT+01:00 Moritz Barsnick : > > clear (to me) from the docs. > > Which one? The decimate filter's practical use isn't clear to me from the docs. > The mpdecimate filter - as yo

Re: [FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-04 Thread Moritz Barsnick
On Mon, Dec 04, 2017 at 13:04:57 +0100, Edgar H wrote: > C:\Users\myuser\myproject>java -jar streamer/streamer.jar 6 53122 | > ffmpeg/bin/ffmpeg -f s16le -ar 48000 -ac 2 -i - -f ogg > icecast://hackme:hackme@localhost:8000/streaming.ogg Um, since the prompt tells us it's Windows/DOS, I'm sure th

Re: [FFmpeg-user] Extracting frames from 59.94 FPS video - only every other frame is different

2017-12-04 Thread Moritz Barsnick
On Mon, Dec 04, 2017 at 13:28:06 +0100, Carl Eugen Hoyos wrote: > 2017-12-04 11:02 GMT+01:00 Moritz Barsnick : > > "decimate" filter, but from its description, it can achieve > > what you require: Dropping "nearly identical" frames. > > The relevea

Re: [FFmpeg-user] Extracting frames from 59.94 FPS video - only every other frame is different

2017-12-04 Thread Moritz Barsnick
On Mon, Dec 04, 2017 at 09:46:29 +, Will Price wrote: > It's a real shame that the GoPro does this without warning as it will > make our lives more challenging. We need to compute the optical flow > of the videos and without an easy method of determining whether > frames are 'duplicated' or no

Re: [FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-04 Thread Moritz Barsnick
On Mon, Dec 04, 2017 at 01:14:20 +0100, Edgar H wrote: > Now that I've changed the operator, the output shows again but it seems > that it's "Unable to find a suitable output format for '/bin/ffmpeg'", and > then it says "bin/ffmpeg: Invalid argument" > > Am I missing any parameter? Maybe just rem

Re: [FFmpeg-user] Unable to make FFMPEG to work with Icecast2 Server

2017-12-03 Thread Moritz Barsnick
On Mon, Dec 04, 2017 at 00:42:50 +0100, Edgar H wrote: > Basically I'm using the > operator to send the stdout data to ffmpeg in the > following way... > > java -jar folder_in_project_root/streamer.jar > ffmpeg/bin/ffmpeg.exe -f > s16le -ar 48000 -ac 2 -i - -f ogg -content_type application/ogg ic

Re: [FFmpeg-user] Extracting frames from 59.94 FPS video - only every other frame is different

2017-12-01 Thread Moritz Barsnick
On Fri, Dec 01, 2017 at 21:33:32 +, Andy Furniss wrote: > Maybe it's intended by the camera eg. the early part is lower motion or > lower light level. Actually, googling for this issue gives a lot of hits, such as this: https://community.gopro.com/t5/Cameras/High-speed-video-frame-doubling-is

Re: [FFmpeg-user] Extracting frames from 59.94 FPS video - only every other frame is different

2017-12-01 Thread Moritz Barsnick
On Fri, Dec 01, 2017 at 17:12:38 +, Will Price wrote: > If you visually compare frames 1 and 2 then to the human eye they > look impercetibly different, yet the diff shows that there is a > difference. That's certainly due to lossy encoding. Even if the input frames were identical (assuming f

Re: [FFmpeg-user] ERROR: libmp3lame >= 3.98.3 not found

2017-12-01 Thread Moritz Barsnick
On Fri, Dec 01, 2017 at 09:01:43 +0530, geet fm wrote: > ERROR: libmp3lame >= 3.98.3 not found [...] > --extra-libs=-lpthread \ This should be "-lpthreads" I believe. (It may not matter.) If that doesn't help, please try "-lpthreads -lm": http://ffmpeg.org/pipermail/ffmpeg-user/2017-October/037

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