Re: [FFmpeg-user] How to compile ffmpeg on Android

2018-07-12 Thread Mohammed Bey Ahmed Khernache
I am doing cross-compilation. I am running on Ubuntu x86_64. My target os is: android. I used the script below: --- #!/bin/bash #Change NDK to your Android NDK location

[FFmpeg-user] Issue with connection FFmpeg and ffprobe for live stream transcoding

2018-07-12 Thread Pedro Daniel Costa
Hi guys First of all let me mention, that am just typing this issue , after several hours of research in order to make something work that simply does not what to happen. Here is my scenario. I have 2 PC servers, one of them is running a multicast live transmition application, which stream

Re: [FFmpeg-user] PSNR measure

2018-07-12 Thread Carl Eugen Hoyos
2018-07-13 2:39 GMT+02:00, José María Infanzón : > Hi - I need to measure quality if a live stream, and I was > thinking of measuring PSNR. So I was wondering how > can I run this test since it is a live stream > I do not have a refence stream or video. Then what exactly do you want to measure?

[FFmpeg-user] PSNR measure

2018-07-12 Thread José María Infanzón
Hi - I need to measure quality if a live stream, and I was thinking of measuring PSNR. So I was wondering how can I run this test since it is a live stream, I do not have a refence stream or video. Should I look for a reference video of the same resolution and bitrate, like for example a Big buck

Re: [FFmpeg-user] fMP4 generation speed

2018-07-12 Thread Ronak Patel
> On Jul 12, 2018, at 6:21 PM, Ronak Patel > wrote: > > Hey Carl, > > So I dug into this more today and I have root caused what's exactly happening > here. > > The problematic code is this: > https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/hlsenc.c#L1368 >

Re: [FFmpeg-user] fMP4 generation speed

2018-07-12 Thread Ronak Patel
Hey Carl, So I dug into this more today and I have root caused what's exactly happening here. The problematic code is this: https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/hlsenc.c#L1368 This is where the

Re: [FFmpeg-user] How to select audio stream in filter_complex with concat?

2018-07-12 Thread Moritz Barsnick
On Thu, Jul 12, 2018 at 16:23:58 +0200, Dmitri wrote: > I've also tried to add same file again and map it's audio stream, but it > gives error: > "Filter concat:out:a0 has an unconnected output" > > ffmpeg -i "D:\videos\intro_1.mov" -ss 00:00:00 -to 00:00:40 -i > "D:\videos\logo_1.mp4" -i

[FFmpeg-user] How to select audio stream in filter_complex with concat?

2018-07-12 Thread Dmitri
Hello, I am trying to merge 3 videos with fade-out and use the audio stream from the input index 0 in the resulting file (nothing should be played when it ends) Video 0 is cut at the beginning, but the original stream is long enough. This command does the merging, unfortunately the audio is

Re: [FFmpeg-user] 453 Not enough bandwidth error

2018-07-12 Thread Michael Shaffer
Here is the command, with a screen shot of it and the error. c:\ffmpeg\bin\ffmpeg3.exe -re -rtsp_transport tcp -i "rtsp:// admin:admin@192.168.1.230:554/VideoInput/1/h264/1" -f lavfi -f dshow -rtbufsize 2000M -thread_queue_size 5096 -i audio="virtual-audio-capturer" -c:a libmp3lame -ab 128k -ar

Re: [FFmpeg-user] Convert and AAC to M4a file using bitstream flag aac_adtstoasc

2018-07-12 Thread Mohammed Sha
Hi Mortiz, How do you know it's not converted or filtered? Wouldn't it be nice if you showed us the error message (if you get one)? Or should we guess? I have checked the converted audio file info using Mediainfo binary. Actually, please show us the complete console output Fmmpeg console

[FFmpeg-user] Dash and Multiple Inputs

2018-07-12 Thread Ronak Patel
Hi, I saw this earlier post: https://lists.ffmpeg.org/pipermail/ffmpeg-user/2015-August/027951.html Which got no replies, but I have the same question now. It looks like ffmpeg still doesn’t support providing multiple input so fragmentation happens for all representations. Is there a way to

Re: [FFmpeg-user] Convert and AAC to M4a file using bitstream flag aac_adtstoasc

2018-07-12 Thread Moritz Barsnick
On Thu, Jul 12, 2018 at 12:43:01 +0530, Mohammed Sha wrote: > But when i try below command the file is not getting converted or adding > the bitstream filter > > ./ffmpeg -i ~/Downloads/test_audio.aac -c:a copy -bsf:a aac_adtstoasc > aac_try_with_bsf.aac How do you know it's not converted or

Re: [FFmpeg-user] Convert and AAC to M4a file using bitstream flag aac_adtstoasc

2018-07-12 Thread Mohammed Sha
Thanks for the response.. Yes I have compiled with bitstream filter section. ./ffmpeg ffmpeg version 4.0.1 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609 configuration: --pkg-config-flags=--static --enable-gpl --enable-libass

Re: [FFmpeg-user] Convert and AAC to M4a file using bitstream flag aac_adtstoasc

2018-07-12 Thread Ярослав Клейно
ffmpeg compiled without bitstream filter? please,check 2018-07-12 10:13 GMT+03:00 Mohammed Sha : > Hi ALL, > > As per ffmpeg bitstream filter documentation, if we use -bsf:a > aac_adtstoasc then the AAC stream from a raw ADTS AAC or an MPEG-TS > container to MP4A-LATM. > >

[FFmpeg-user] Convert and AAC to M4a file using bitstream flag aac_adtstoasc

2018-07-12 Thread Mohammed Sha
Hi ALL, As per ffmpeg bitstream filter documentation, if we use -bsf:a aac_adtstoasc then the AAC stream from a raw ADTS AAC or an MPEG-TS container to MP4A-LATM. https://ffmpeg.org/ffmpeg-bitstream-filters.html#aac_005fadtstoasc But when i try below command the file is not getting converted