Re: [FFmpeg-user] Use force_key_frames to obtain keyframes at exactly the same positions as in the input stream?

2015-05-02 Thread Anatol
I don't think that 'keep source keyframes' might impose any a/v sync issues that differ from any other encoding flows. AFIAK, 'force_key_frames' acts on the output/encoding, it does not aware of the decoding processing. For that matter - scene cuts are evaluated from post-decoding/raw frames. On

Re: [FFmpeg-user] Use force_key_frames to obtain keyframes at exactly the same positions as in the input stream?

2015-05-02 Thread Haris Zukanovic
On 5/2/15 10:06 AM, Henk D. Schoneveld wrote: Another potential issue could be the delay between the video and audio stream, which would force you to also encode the source stream. I had not thought about the audio at all... but audio is normally not a problem even if re-encoded to get it

Re: [FFmpeg-user] Use force_key_frames to obtain keyframes at exactly the same positions as in the input stream?

2015-05-02 Thread Anatol
It does not matter the type of the incoming protocol. And slight un-alignment tolerated by the CDN providers and Apple HLS validation tools. Therefore the source live stream can be used in an adaptive-bitrate sets, IF the other streams match their key frames. By the way Wowza has this option (keep

Re: [FFmpeg-user] Use force_key_frames to obtain keyframes at exactly the same positions as in the input stream?

2015-05-02 Thread Haris Zukanovic
My simple idea was that instead of deducing from a formula like -force_key_frames 'expr:gte(t,n_forced*5)' force_key_frames somehow took this kind of info directly from the input stream and passed onto all output streams This could be called something like -force_key_frames 'from_source' Do

Re: [FFmpeg-user] Use force_key_frames to obtain keyframes at exactly the same positions as in the input stream?

2015-05-02 Thread Haris Zukanovic
I was just trying to imagine optimisations when encoding multiple quality outputs... For example doing sceene detection only once. In reality, I am trying to get the input and outputs keyframes aligned so that I can use the input with -c:v copy as one of the variants in the resulting multiple

[FFmpeg-user] flatten f4v append with different resolution

2015-05-02 Thread Madovsky
Hi, I'm trying to convert a long F4V recorded on FMS with multiple append from a livestream. some segments contains different resolutions than the one that started. I started from 462x260, after 1920x1200 etc... from flash player the stream works correctly, shows every segements. from a third

Re: [FFmpeg-user] Use force_key_frames to obtain keyframes at exactly the same positions as in the input stream?

2015-05-02 Thread Henk D. Schoneveld
On 02 May 2015, at 06:27, Anatol anatol2...@gmail.com wrote: The idea is to gain the option to use the H264 source stream along with live transcoded streams in an adaptive bitrate delivery modes (HLS, HDS, etc), that require aligned keyframes on ALL participating streams. Could it be ALL,

Re: [FFmpeg-user] How can I set in a D10 MXF (IMX50) file the flags for output color_range, -space, -transfer and primaries?

2015-05-02 Thread Christoph Gerstbauer
Am 01.05.15 um 11:21 schrieb tim nicholson: On 30/04/15 22:03, Marton Balint wrote: On Wed, 29 Apr 2015, Christoph Gerstbauer wrote: I found out that a IMX50 mxf file encoded with FFmbc and the IMX50 mxf file encoded with actual ffmpeg builds are different in these mxf metadata flags (by

Re: [FFmpeg-user] Use force_key_frames to obtain keyframes at exactly the same positions as in the input stream?

2015-05-02 Thread Haris Zukanovic
My case is live streaming. I have tried it and definitely keyframes are not aligned between input and output streams. For all encoded output streams it is very simple to obtain alignement with setting the fixed GOP size. But the PTS and keyframes of input are never aligned with that.

Re: [FFmpeg-user] Use force_key_frames to obtain keyframes at exactly the same positions as in the input stream?

2015-05-02 Thread Henk D. Schoneveld
On 02 May 2015, at 11:38, Anatol anatol2...@gmail.com wrote: I don't think that 'keep source keyframes' might impose any a/v sync issues that differ from any other encoding flows. AFIAK, 'force_key_frames' acts on the output/encoding, it does not aware of the decoding processing. For that

Re: [FFmpeg-user] Use force_key_frames to obtain keyframes at exactly the same positions as in the input stream?

2015-05-02 Thread Henk D. Schoneveld
On 02 May 2015, at 18:00, Haris Zukanovic haris.zukanovi...@gmail.com wrote: My case is live streaming. I have tried it and definitely keyframes are not aligned between input and output streams. For all encoded output streams it is very simple to obtain alignement with setting the fixed

Re: [FFmpeg-user] flatten f4v append with different resolution

2015-05-02 Thread Carl Eugen Hoyos
Madovsky infos at madovsky.org writes: I tried to find a way to resize with ffmpeg but no success. Command line and complete, uncut console output missing. is it possible to let ffmpeg resize at a certain part of the movie? FFmpeg does not support different output size in one video

Re: [FFmpeg-user] Use force_key_frames to obtain keyframes at exactly the same positions as in the input stream?

2015-05-02 Thread Reuben Martin
On Saturday, May 02, 2015 06:00:32 PM Haris Zukanovic wrote: My case is live streaming. I have tried it and definitely keyframes are not aligned between input and output streams. For all encoded output streams it is very simple to obtain alignement with setting the fixed GOP size. But the PTS

Re: [FFmpeg-user] Use force_key_frames to obtain keyframes at exactly the same positions as in the input stream?

2015-05-02 Thread Anatol
Henk, Its a real problem, if the streams are un-aligned, the playback gets into jump-forward-backward mood. It's not a problem to get source file key frames and to have them encoded into the rest of the files. The problem is with a live streaming, because it is not possible to query it for the

Re: [FFmpeg-user] Use force_key_frames to obtain keyframes at exactly the same positions as in the input stream?

2015-05-02 Thread Henk D. Schoneveld
On 02 May 2015, at 21:11, Anatol anatol2...@gmail.com wrote: Henk, Its a real problem, if the streams are un-aligned, the playback gets into jump-forward-backward mood. If you create a 5min source file and split in 5 1 minute chunks with the help of the hls function of ffmpeg. Then create

Re: [FFmpeg-user] Cropdetect Broken since 2.6

2015-05-02 Thread Jeremy
Sorry, I misread the original request. The command being used is : ./ffmpeg -i /Users/jeremylk/Dev/Ruby/workspace/video_encoder_app/Breathing_5s.mov -vf cropdetect=24:16:0 dummy.mov On Sat, May 2, 2015 at 3:29 PM, Jeremy genericin...@gmail.com wrote: Sure thing. Below is the output from 2.5.6

Re: [FFmpeg-user] Cropdetect Broken since 2.6

2015-05-02 Thread Jeremy
Sure thing. Below is the output from 2.5.6 (the last working version) followed by the output for the same command / same file using 2.6, when the behavior for cropdetect changed. Notice how the values for the 2.6 output show no crop detected. This is consistent in everything post-2.6. Everything

[FFmpeg-user] No luck with live stream from ffmpeg to ffserver

2015-05-02 Thread En Figureo Canal
I haven’t had much luck deploying ffserver, nothing works out for me streaming live from ffmpeg to ffserver. Had different problems, I don’t know if my configuration is correct but, can’t really get ffsever to do what I need and things are just frustrating me. The last error message I’m getting

Re: [FFmpeg-user] Cropdetect Broken since 2.6

2015-05-02 Thread Carl Eugen Hoyos
Jeremy genericinbox at gmail.com writes: I can provide output data to support this Please only provide your failing command line including complete, uncut console output if you want the issue fixed. Carl Eugen ___ ffmpeg-user mailing list

Re: [FFmpeg-user] Use force_key_frames to obtain keyframes at exactly the same positions as in the input stream?

2015-05-02 Thread Anatol
Henk, Live streaming, not files. On Sat, May 2, 2015 at 10:32 PM, Henk D. Schoneveld belca...@zonnet.nl wrote: On 02 May 2015, at 21:11, Anatol anatol2...@gmail.com wrote: Henk, Its a real problem, if the streams are un-aligned, the playback gets into jump-forward-backward mood. If

[FFmpeg-user] Cropdetect Broken since 2.6

2015-05-02 Thread Jeremy
Hi all, Cropdetect seems to be broken since 2.6. I noticed this the other day with a new build for my encoding app, which pulled 2.6.2. Cropdetect no longer worked with 24:16:0 variables. Pushing the threshold variable up to 65 created different values, but they were negative an incorrect. 2.5.6

Re: [FFmpeg-user] Multithreaded multioutput problem

2015-05-02 Thread Deron
On 4/21/15 2:51 AM, Marton Balint wrote: On Mon, 20 Apr 2015, Deron wrote: On 4/20/15 4:22 PM, Marton Balint wrote: On Mon, 20 Apr 2015, Deron wrote: On 4/20/15 1:48 PM, Marton Balint wrote: On Mon, 20 Apr 2015, Deron wrote: Another user has contacted me with the exact same problem

Re: [FFmpeg-user] libfaac error not found

2015-05-02 Thread Eng . Hany Ahmed
you can get it from this command line sudo apt-get install libfaac-dev if not work you can try with compiling source## GET FAAC cd $BUILD wget http://downloads.sourceforge.net/faac/faac-1.28.tar.bz2 tar -xjf faac-1.28.tar.bz2 cd faac-1.28 ./configure