Search found 49 matches

by navilor
Sat May 11, 2019 6:56 am
Forum: Compiling
Topic: Build steps to reproduce Zeranoe ffmpeg builds?
Replies: 14
Views: 1115

Re: Build steps to reproduce Zeranoe ffmpeg builds?

Thank you hydra. :-) I've tried both of those. The one by DeadSix is really nice actually. And they're close to reproducing the Zeranoe builds, but something is off. Specifically, in my case, I get a "RTMP_Connect1, TLS_Connect failed" when I try livestreaming to an rtmps endpoint. So something is ...
by navilor
Fri May 03, 2019 3:45 pm
Forum: Suggestions
Topic: VMAF Filter
Replies: 9
Views: 5155

Re: VMAF Filter

Is there other implementations of VMAF? Is there open specification how to do VMAF? VMAF is open source and can be found on github. It can be compiled on it's own. Note that compiling it on Windows with Visual Studio created a broken build the last time I tried. https://github.com/Netflix/vmaf Micr...
by navilor
Wed May 01, 2019 3:28 pm
Forum: Suggestions
Topic: VMAF Filter
Replies: 9
Views: 5155

Re: VMAF Filter

VMAF is just trend, not reality. Either you are trolling people or you are not in the streaming media industry. I started my career in streaming media back in 2008 at RealNetworks and cut my teeth on the RTSP protocol. The single most commonly asked question in streaming media is what bitrate shoul...
by navilor
Sun Jan 07, 2018 9:24 pm
Forum: Usage
Topic: FFmpeg transfer from bad media
Replies: 4
Views: 1001

Re: FFmpeg transfer from bad media

Demux the video then demux the audio to see if one or both are broken. ffmpeg -i H:\badfile.mp4 -vcodec copy -an e:\video.mp4 ffmpeg -i H:\badfile.mp4 -vn -acodec copy e:\audio.mp4 In a perfect world this is merely a PTS/DTS corruption issue and you can put everything back together. ffmpeg -i e:\vid...
by navilor
Sun Jan 07, 2018 8:17 pm
Forum: Suggestions
Topic: VMAF Filter
Replies: 9
Views: 5155

Re: VMAF Filter

This lib currently depends on pthread, which is not included with the builds right now. I'm trying to avoid adding pthread support because it's slower than FFmpeg's Windows threading implementation. Pthreads are required if you ingest UDP packets typically coming from live RTP, RTSP, or MPEG-TS fee...
by navilor
Mon Nov 13, 2017 1:48 am
Forum: Usage
Topic: Live streaming
Replies: 1
Views: 928

Re: Live streaming

It looks like you are having a problem decoding that content. The content may be bad. I never trust any content that comes across my desk. An early FFmpeg ticket agrees with this. https://trac.ffmpeg.org/ticket/19 Another post on a different website also shows the same errors you have. https://forum...
by navilor
Sun Nov 12, 2017 9:01 am
Forum: Usage
Topic: How do I dump a network stream to a file?
Replies: 8
Views: 3757

Re: How do I dump a network stream to a file?

So basically you want an exact copy of the audio and video stream with the PTS/DTS timestamps kept the same, the metadata kept intact, and no additional data added such as writing application added to the output. A literal binary copy. Too bad FTP, SFTP, and HTTP are not options here. You might be i...
by navilor
Sun Nov 12, 2017 6:05 am
Forum: Usage
Topic: How do I dump a network stream to a file?
Replies: 8
Views: 3757

Re: How do I dump a network stream to a file?

I have a cheap RTSP camera and this worked for me once I forced the output container to be asf using the -f option. I had to exclude the audio because the asf container apparently does not like the A-law (also known as G.711pcma_law) codec. The video codec is H.264. ffmpeg -rtsp_transport -tcp -i rt...
by navilor
Sat Nov 11, 2017 10:21 pm
Forum: Usage
Topic: Poor quality encoded MP4 video
Replies: 2
Views: 1231

Re: Poor quality encoded MP4 video

I've been in the streaming media industry since 2008. Use CRF 23 to find your bitrate and then perform a two pass bitrate based encode if you want to stream your content. I wrote a blog post on this very topic. https://videoblerg.wordpress.com/2017/11/10/ffmpeg-and-how-to-use-it-wrong/ Neflix uses C...
by navilor
Sat Nov 11, 2017 10:17 pm
Forum: Usage
Topic: How do I dump a network stream to a file?
Replies: 8
Views: 3757

Re: How do I dump a network stream to a file?

Video needs to be put into a container such as MP4, MKV, TS or AVI. You can record the raw RTSP stream using Tcpreplay, however playback may be difficult because you would have to replay the stream and have FFmpeg reconnect to it. http://tcpreplay.appneta.com/ I've been in streaming media since 2008...