Re: [FFmpeg-user] Transcode from RTMP to RTP iOS

2018-12-13 Thread Utkarsh Agarwal
videotoolbox is paid which i can't use due to budget issues. Although have posted the same question on the libav-user mailing list. Lets see if could get a solution. Thanks for your reply. [image: Impressico-Business-Solutions-1079759] A CMMI Level 3 *Impressico Business Solutions Pvt. Ltd.*

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

2018-12-13 Thread Carl Zwanzig
If you haven't already, I'd try pulling the up-to-date source and building that. AMD and intel CPUs differ, sometimes in strange ways, and a local-built version is often better than any downloaded one. Also, have you tried capturing the stream directly into a file and using that for test?

Re: [FFmpeg-user] Transcode from RTMP to RTP iOS

2018-12-13 Thread Carl Eugen Hoyos
2018-12-13 12:45 GMT+01:00, Utkarsh Agarwal : > I am working on a screen sharing iOS application . Getting streams from > Replay Kit which supports RTMP protocol and sending it to Kurento Media > Server which supports RTP. > > I can do something like below on server side. > > [Browser] ->

Re: [FFmpeg-user] Get exact duration of an mpeg1 file

2018-12-13 Thread Carl Eugen Hoyos
2018-12-13 17:10 GMT+01:00, Robert Krüger : > is there a way to get the exact duration of a raw mpeg1 file using the > ffmpeg command line? For testing I created a 30 minute test file using > ffmpeg (using -c:v mpeg1video -f mpeg1video), then verified the duration > using VLC and mediainfo and it

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

2018-12-13 Thread James E. Baird
>It's actually ABR you're creating, if I understand correctly. Not yet as I am actually outputting 3 multicast streams, each with a set bitrate(1500/3500/6000). They will be captured on the other side of the network and then muxed together to create the ABR stream (a design that, as of yet,

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

2018-12-13 Thread Karen Norton
On Thu, Dec 13, 2018 at 3:40 PM Moritz Barsnick wrote: > Hi Karen, > > On Thu, Dec 13, 2018 at 15:04:15 -0500, Karen Norton wrote: > > > I only see the error when opening the output files with MP4 Inspector > > otherwise the files play fine (ex: in VLC) and show no issues in > > mediainfo. > >

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 >

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

2018-12-13 Thread James E. Baird
Moritz, >Does it need to be fixed bitrate? (Just wondering.) It does need to be a CBR. It will be converted to an adaptive stream for a streaming app >Is this ultimately the issue? That you can't encode at real time? These are live streams that need to be forwarded off, packaged in HLS and

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

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

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

2018-12-13 Thread James E. Baird
Carl, Thanks for the suggestions so far. I suspect there is something in that command that is causing the high CPU usage. Maybe there is a better way to structure the command. 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

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

2018-12-13 Thread Carl Zwanzig
On 12/13/2018 9:12 AM, James E. Baird wrote: ffprobe version git-2017-01-22-f1214ad Copyright (c) 2007-2017 the FFmpeg developers First thing- get a newer version (the latest, if possible) of ffmpeg and see how that behaves. Best would to build from the latest source, but at least something

Re: [FFmpeg-user] Get exact duration of an mpeg1 file

2018-12-13 Thread Carl Zwanzig
On 12/13/2018 9:07 AM, Robert Krüger wrote: Sorry, I have to take that back as I used the wrong file and got something mixed up when looking at it. -probesize doesn't change the behaviour at all. I set it to a value larger than the file and still got the warning and the incorrect number. So for

Re: [FFmpeg-user] Get exact duration of an mpeg1 file

2018-12-13 Thread Robert Krüger
Hi again, On Thu, Dec 13, 2018 at 6:01 PM Robert Krüger wrote: > Hi Carl, > > On Thu, Dec 13, 2018 at 5:31 PM Carl Zwanzig wrote: > >> On 12/13/2018 8:10 AM, Robert Krüger wrote: >> > Are there command line parameters to make it compute the exact size or >> is >> > this a design or

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

2018-12-13 Thread Carl Zwanzig
On 12/13/2018 8:51 AM, James E. Baird wrote: Here is the command I am currently using but the CPU usage seems way to high for what I am doing. AMD Opteron(tm) Processor 6282 SE with 8 cores assigned to VM but all 8 are pegged when running this. Are they all pegged in compute or is there a

[FFmpeg-user] Need assistance finding l transcoding

2018-12-13 Thread James E. Baird
Hello, I am trying to find the most efficient way to take a udp stream (Source OTA) and transcode video to h.264, audio to AAC, output as 3 aligned cbr (1500/3500/6000k) streams (udp), gop 2 (60 for 30FPS or 120 for 60FPS) Here is the command I am currently using but the CPU usage seems way to

Re: [FFmpeg-user] Get exact duration of an mpeg1 file

2018-12-13 Thread Carl Zwanzig
On 12/13/2018 8:10 AM, Robert Krüger wrote: Are there command line parameters to make it compute the exact size or is this a design or implementation limitation? IIRC (and I could be wrong), the generic "info" uses metadata whereas mediainfo actually counts frames and applies the frame rate

[FFmpeg-user] Get exact duration of an mpeg1 file

2018-12-13 Thread Robert Krüger
Hi, is there a way to get the exact duration of a raw mpeg1 file using the ffmpeg command line? For testing I created a 30 minute test file using ffmpeg (using -c:v mpeg1video -f mpeg1video), then verified the duration using VLC and mediainfo and it is indeed exactly 30 minutes long but ffmpeg -i

Re: [FFmpeg-user] Warning: VBV buffer size not set

2018-12-13 Thread Ulf Zibis
Hi, Am 12.12.18 um 20:15 schrieb Carl Eugen Hoyos: > (My answer wasn't wrong but your command line does not make > much sense.) > > If your command succeeds (ie you ignore Hans' warning but still > get a useful output file) the following will also work and has > many advantages (apart from not

[FFmpeg-user] Transcode from RTMP to RTP iOS

2018-12-13 Thread Utkarsh Agarwal
I am working on a screen sharing iOS application . Getting streams from Replay Kit which supports RTMP protocol and sending it to Kurento Media Server which supports RTP. I can do something like below on server side. [Browser] -> WebrtcEndpoint -> [Kurento] -> RtpEndpoint -> [FFmpeg] -> RTMP ->

Re: [FFmpeg-user] skipped frames with 18fps DPX - non monotonically increasing dts to muxer

2018-12-13 Thread Paul B Mahol
On 12/13/18, Kieran O'Leary wrote: > Hi, > > I have encountered some DPX that has an fps of 18. It seems that ffmpeg > skips every few frames when decoding - at least when I performed a framemd5 > analysis. I noticed that 30522 frames were decoded, 10172 were dropped. > > It seems that adding

Re: [FFmpeg-user] consult volume

2018-12-13 Thread Nicolas George
Moritz Barsnick (2018-12-13): > 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

[FFmpeg-user] skipped frames with 18fps DPX - non monotonically increasing dts to muxer

2018-12-13 Thread Kieran O'Leary
Hi, I have encountered some DPX that has an fps of 18. It seems that ffmpeg skips every few frames when decoding - at least when I performed a framemd5 analysis. I noticed that 30522 frames were decoded, 10172 were dropped. It seems that adding -framerate 18 to as an input option resolves the

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