From shima at pspunch.com Thu Dec 1 04:12:09 2016 From: shima at pspunch.com (PSPunch) Date: Thu, 1 Dec 2016 11:12:09 +0900 Subject: [FFmpeg-user] Adding custom keys/val pairs to -progress In-Reply-To: <20161130141607.GB24344@sunshine.barsnick.net> References: <2c3d4b93-03ec-a8a8-eabd-cd7c79d1477e@pspunch.com> <20161130141607.GB24344@sunshine.barsnick.net> Message-ID: <0091a153-920c-4c20-bea1-9122d5a4ebc2@pspunch.com> Hi Moritz, thank you for helping. On 2016/11/30 23:16, Moritz Barsnick wrote: > On Wed, Nov 30, 2016 at 14:03:54 +0900, PSPunch wrote: >> Is there a way to add custom key/val pairs to the info sent when using >> the "-progress" option? > Not at all, unless you modify ffmpeg. >> .. I would like to add >> program=ch01 >> at the end. >> For my purpose, this can be hard written in arguments at startup. > You could put the progress output through an easy filter (written e.g. > in Perl, Python, AWK, ...) before handing it to your UDP stream. I see. Just to note on this topic, I've got a working prototype where the activity monitor has multiple ports open, each listening for separate FFmpeg instances. Not sure if I like leaving 10s of ports open, but is working.. -- David Shimamoto From gsinghjk at gmail.com Thu Dec 1 01:05:44 2016 From: gsinghjk at gmail.com (Gurmeet Singh) Date: Wed, 30 Nov 2016 18:05:44 -0500 Subject: [FFmpeg-user] audio noise filtering Message-ID: <004501d24b5e$47ee6320$d7cb2960$@gmail.com> I am curious if you got any response or if you figured out solution to that situation? From romain.cointepas at gmail.com Thu Dec 1 02:46:42 2016 From: romain.cointepas at gmail.com (Romain Cointepas) Date: Thu, 1 Dec 2016 08:46:42 +0800 Subject: [FFmpeg-user] Generate individual HLS-compatible .ts segments on-demand by downloading as little bytes as possible from a remote input file Message-ID: Hey, I’m trying to generate individual HLS-compatible .ts segments on-demand by downloading/reading as little bytes as possible from a remote input file (hosted on a server supporting byte-ranges requests). One of the application for this would be to be able to transcode and play on Apple TV (via Airplay) a remote file that is not Airplay compatible, without having to download the entire file first. I am generating the playlist myself, and I have access to the ffprobe results for the remote file (that gives video duration, etc.). I have something working that plays via Airplay but with small video and audio glitches between each segments when I use the following command to generate each segment: ffmpeg -ss 30 -t 6 -i http://s3.amazonaws.com/misc-12345/avicii.vob -f mpegts -map 0:v:0 -map 0:a:0 -c:v libx264 -bsf:v h264_mp4toannexb -force_key_frames "expr:gte(t,n_forced*6)" -forced-idr 1 -pix_fmt yuv420p -colorspace bt709 -c:a aac -async 1 -preset ultrafast pipe:1 Note: above command is for segment 6.ts, and in the m3u8 playlist I advertise each segment duration as 6 seconds. Here is a Youtube video showing the audio/video glitches between segments: https://www.youtube.com/watch?v=0vMwgbSfsu0 The segment or hls modules of ffmpeg can’t be used because they both generate all the segments at once. I’ve been struggling on this for some days now and I would really appreciate some help! Thanks, Romain From mail2rashed.md at gmail.com Thu Dec 1 10:59:49 2016 From: mail2rashed.md at gmail.com (Rashed) Date: Thu, 1 Dec 2016 14:29:49 +0530 Subject: [FFmpeg-user] Parser dumps using ffmpeg Message-ID: hi Team, I am trying to validate my decoders. But I do not have parser to go along. I was wondering if i can get bitstream dumps that i can feed to my decoder for validation. Is it possibel to get parser dumps using ffmpeg ? Thanks From ceffmpeg at gmail.com Thu Dec 1 11:04:53 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Thu, 1 Dec 2016 10:04:53 +0100 Subject: [FFmpeg-user] Parser dumps using ffmpeg In-Reply-To: References: Message-ID: 2016-12-01 9:59 GMT+01:00 Rashed : > Is it possibel to get parser dumps using ffmpeg ? $ ffmpeg -i input -vcodec copy -f image2 out%4d Carl Eugen From romain.cointepas at gmail.com Thu Dec 1 11:09:34 2016 From: romain.cointepas at gmail.com (Romain Cointepas) Date: Thu, 1 Dec 2016 17:09:34 +0800 Subject: [FFmpeg-user] Generate individual HLS-compatible .ts segments on-demand by downloading as little bytes as possible from a remote input file Message-ID: Hey, I’m trying to generate individual HLS-compatible .ts segments on-demand by downloading/reading as little bytes as possible from a remote input file (hosted on a server supporting byte-ranges requests). One of the application for this would be to be able to transcode and play on Apple TV (via Airplay) a remote file that is not Airplay compatible, without having to download the entire file first. I am generating the playlist myself, and I have access to the ffprobe results for the remote file (that gives video duration, etc.). I have something working that plays via Airplay but with small video and audio glitches between each segments when I use the following command to generate each segment: ffmpeg -ss 30 -t 6 -i http://s3.amazonaws.com/misc-12345/avicii.vob -f mpegts -map 0:v:0 -map 0:a:0 -c:v libx264 -bsf:v h264_mp4toannexb -force_key_frames "expr:gte(t,n_forced*6)" -forced-idr 1 -pix_fmt yuv420p -colorspace bt709 -c:a aac -async 1 -preset ultrafast pipe:1 Note: above command is for segment 6.ts, and in the m3u8 playlist I advertise each segment duration as 6 seconds. Here is a Youtube video showing the audio/video glitches between segments: https://www.youtube.com/watch?v=0vMwgbSfsu0 The segment or hls modules of ffmpeg can’t be used because they both generate all the segments at once. I’ve been struggling on this for some days now and I would really appreciate some help! Thanks, Romain From mrobti at insiberia.net Fri Dec 2 02:00:25 2016 From: mrobti at insiberia.net (MRob) Date: Thu, 01 Dec 2016 16:00:25 -0800 Subject: [FFmpeg-user] No pixel format specified - meaning of yuv420p? Message-ID: I'm exporting a video from an older Adobe Elements (Windows) with intention to put it on the web (both H.264 and VP8). I exported using Adobe's "DV AVI" which appears to be the most unmolested output format, but I get what looks like TWO warnings, the second of which I think causes the final error: Guessed Channel Layout for Input Stream #0.1 : stereo Input #0, avi, from 'video.avi': Duration: 00:38:45.35, start: 0.000000, bitrate: 30313 kb/s Stream #0:0: Video: dvvideo (dvsd / 0x64737664), yuv411p, 720x480 [SAR 8:9 DAR 4:3], 28777 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s No pixel format specified, yuv422p for H.264 encoding chosen. Use -pix_fmt yuv420p for compatibility with outdated media players. x264 [error]: baseline profile doesn't support 4:2:2 [libx264 @ 0x44edec0] Error setting profile baseline. [libx264 @ 0x44edec0] Possible profiles: baseline main high high10 high422 high444 Stream mapping: Stream #0:0 -> #0:0 (dvvideo (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native)) Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height I see this mailing list post which may "fix" the error for me(?): https://ffmpeg.org/pipermail/ffmpeg-user/2012-April/006013.html But from reading that mailing list post and the error message text, it sounds like adding "-pix_fmt yuv420p" affects the output. I do not need to retain compatibility with terribly old devices (though I am using baseline level 3.0), so I wanted to ask if there is a better way to handle conversion in this case. There is also an option in Elements to export MPEG H.264 ("1080i 25" or "1080i 30", providing profiles main/high, levels 4/4.1, default 1 pass bitrate of 20, etc), but I don't understand all their settings and I trust ffmpeg to do a better job and I don't want to encode twice if possible. Here are the options I'm using for H.264 conversion: -movflags +faststart -codec:v libx264 -preset veryslow -profile:v baseline -level:v 3.0 -codec:a aac For VP8 conversion, I only get the first warning: Guessed Channel Layout for Input Stream #0.1 : stereo Otherwise, it completes without any errors. I tried "-pix_fmt yuv420p" for H.264 conversion and it completed without error, but I'm still unsure if it was exactly what I want -- conversion from slightly outdated platform to the web, no desire to retain "compatibility with outdated media players" as it tells me. Thanks for the help and thanks for the quite excellent product. From lou at lrcd.com Fri Dec 2 02:23:48 2016 From: lou at lrcd.com (Lou) Date: Thu, 01 Dec 2016 15:23:48 -0900 Subject: [FFmpeg-user] No pixel format specified - meaning of yuv420p? In-Reply-To: References: Message-ID: <1480638228.993439.805678473.7781FB7D@webmail.messagingengine.com> On Thu, Dec 1, 2016, at 03:00 PM, MRob wrote: > I'm exporting a video from an older Adobe Elements (Windows) with > intention to put it on the web (both H.264 and VP8). I exported using > Adobe's "DV AVI" which appears to be the most unmolested output format DV is not a good choice: it's lossy and will mess up your width, height, aspect ratio, etc. Install UT video. UT video is a free and open compressed lossless format that works well as an intermediate format: http://umezawa.dyndns.info/archive/utvideo/?C=M;O=D Then restart Elements and export using that. Make sure Elements doesn't change the width, height, frame rate, etc (I recall Adobe Media Encoder doing that often). Finally, re-enode the intermediate file with ffmpeg. [...] > But from reading that mailing list post and the error message text, it > sounds like adding "-pix_fmt yuv420p" affects the output. I do not need > to retain compatibility with terribly old devices (though I am using > baseline level 3.0), so I wanted to ask if there is a better way to > handle conversion in this case. You'll need yuv420p. Most non-FFmpeg based players and various devices don't support anything else. > There is also an option in Elements to export MPEG H.264 ("1080i 25" or > "1080i 30", providing profiles main/high, levels 4/4.1, default 1 pass > bitrate of 20, etc), but I don't understand all their settings and I > trust ffmpeg to do a better job and I don't want to encode twice if > possible. I probably wouldn't use it either. > Here are the options I'm using for H.264 conversion: > -movflags +faststart -codec:v libx264 -preset veryslow -profile:v > baseline -level:v 3.0 -codec:a aac You can omit -profile and -level if you don't care to support old devices, otherwise keep it if you want widest compatibility. > For VP8 conversion, I only get the first warning: > Guessed Channel Layout for Input Stream #0.1 : stereo > Otherwise, it completes without any errors. Ignore. From mrobti at insiberia.net Fri Dec 2 03:31:05 2016 From: mrobti at insiberia.net (MRob) Date: Thu, 01 Dec 2016 17:31:05 -0800 Subject: [FFmpeg-user] No pixel format specified - meaning of yuv420p? In-Reply-To: <1480638228.993439.805678473.7781FB7D@webmail.messagingengine.com> References: <1480638228.993439.805678473.7781FB7D@webmail.messagingengine.com> Message-ID: <347c693eaefd88a330e56d40f33aa2a6@insiberia.net> Thank you for the very fast response, it's appreciated. On 2016-12-01 16:23, Lou wrote: > On Thu, Dec 1, 2016, at 03:00 PM, MRob wrote: >> I'm exporting a video from an older Adobe Elements (Windows) with >> intention to put it on the web (both H.264 and VP8). I exported using >> Adobe's "DV AVI" which appears to be the most unmolested output format > > DV is not a good choice: it's lossy and will mess up your width, > height, > aspect ratio, etc. Install UT video. UT video is a free and open > compressed lossless format that works well as an intermediate format: > > http://umezawa.dyndns.info/archive/utvideo/?C=M;O=D > > Then restart Elements and export using that. Make sure Elements doesn't > change the width, height, frame rate, etc (I recall Adobe Media Encoder > doing that often). Finally, re-enode the intermediate file with ffmpeg. Oh, thank you for that information. Unfortunately, it looks like I'm working with Premier Elements, and after installing UT video, I don't see any facilities to export using it. Is this a limitation of Premier? Or am I looking in the wrong place? Thanks for the off-topic help with that. > [...] >> But from reading that mailing list post and the error message text, it >> sounds like adding "-pix_fmt yuv420p" affects the output. I do not >> need >> to retain compatibility with terribly old devices (though I am using >> baseline level 3.0), so I wanted to ask if there is a better way to >> handle conversion in this case. > > You'll need yuv420p. Most non-FFmpeg based players and various devices > don't support anything else. I see, so the reason I hadn't seen that before was because any other videos I'd encoded likely had the yuv420p pixel format in the video stream already? From anthony at chovy.com Fri Dec 2 09:22:14 2016 From: anthony at chovy.com (Anthony Ettinger) Date: Thu, 1 Dec 2016 23:22:14 -0800 Subject: [FFmpeg-user] continuous live stream from video files Message-ID: I found the concatenate option with ffmpeg as described here: https://trac.ffmpeg.org/wiki/Concatenate#protocol I can concatenate static files if I know the list ahead of time and produce an m3u8 stream as output with this: ffmpeg -i 'concat:intermediate1.ts|intermediate2.ts' -c copy test.m3u8 The problem I'm trying to solve is I want to be able to add files dynamically to the list and I also want the stream to run 24/7 continuously looping when it reaches last file in the list. Is this doable with ffmpeg and some bash? -- Anthony Ettinger http://anthony.ettinger.name anthony at ettinger.name +1 (831) 406-1123 From onemda at gmail.com Fri Dec 2 11:56:18 2016 From: onemda at gmail.com (Paul B Mahol) Date: Fri, 2 Dec 2016 10:56:18 +0100 Subject: [FFmpeg-user] continuous live stream from video files In-Reply-To: References: Message-ID: On 12/2/16, Anthony Ettinger wrote: > I found the concatenate option with ffmpeg as described here: > > https://trac.ffmpeg.org/wiki/Concatenate#protocol > > I can concatenate static files if I know the list ahead of time and produce > an m3u8 stream as output with this: > > ffmpeg -i 'concat:intermediate1.ts|intermediate2.ts' -c copy > test.m3u8 > > The problem I'm trying to solve is I want to be able to add files > dynamically to the list and I also want the stream to run 24/7 continuously > looping when it reaches last file in the list. > > Is this doable with ffmpeg and some bash? I doubt so, but feature could be added to concat demuxer. From singh.punit1990 at gmail.com Fri Dec 2 12:22:05 2016 From: singh.punit1990 at gmail.com (Puneet Singh) Date: Fri, 2 Dec 2016 15:52:05 +0530 Subject: [FFmpeg-user] unable to convert png to movie, error: Invalid PNG signature , Message-ID: Hi all, I am trying to convert a set of images to a video file. I have tried various ffmpeg command options but they all have failed. (command & error logs attached: ffmpeg_errors.txt) The following seems to work for me: ffmpeg -f concat -safe 0 -i <(cat < -------------- next part -------------- A non-text attachment was scrubbed... Name: image02.png Type: image/png Size: 15484 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image03.png Type: image/png Size: 14860 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image04.png Type: image/png Size: 17236 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image05.png Type: image/png Size: 17354 bytes Desc: not available URL: From ffmpeg at eml.cc Fri Dec 2 12:57:49 2016 From: ffmpeg at eml.cc (Victor dMdB) Date: Fri, 02 Dec 2016 18:57:49 +0800 Subject: [FFmpeg-user] VAAPI Decoding/Encoding with C code Message-ID: <1480676269.1708505.806097641.6DA6CD30@webmail.messagingengine.com> I was wondering if there were any examples of implementations with avformatcontext? I've looked at the source of ffmpeg vaapi implementation: https://www.ffmpeg.org/doxygen/trunk/ffmpeg__vaapi_8c_source.html and there is a reference to the cli values here https://ffmpeg.org/pipermail/ffmpeg-user/2016-May/032153.html But I'm not really sure how one actually implements the it within either decoding or encoding pipeline? From mrobti at insiberia.net Fri Dec 2 13:05:22 2016 From: mrobti at insiberia.net (MRob) Date: Fri, 02 Dec 2016 03:05:22 -0800 Subject: [FFmpeg-user] continuous live stream from video files In-Reply-To: References: Message-ID: On 2016-12-01 23:22, Anthony Ettinger wrote: > I found the concatenate option with ffmpeg as described here: > > https://trac.ffmpeg.org/wiki/Concatenate#protocol > > I can concatenate static files if I know the list ahead of time and > produce > an m3u8 stream Would you kindly describe what tools/setup you use to provide the stream after creating it with ffmpeg? > as output with this: > > ffmpeg -i 'concat:intermediate1.ts|intermediate2.ts' -c copy > test.m3u8 > > The problem I'm trying to solve is I want to be able to add files > dynamically to the list and I also want the stream to run 24/7 > continuously > looping when it reaches last file in the list. > > Is this doable with ffmpeg and some bash? From ceffmpeg at gmail.com Fri Dec 2 13:21:10 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Fri, 2 Dec 2016 12:21:10 +0100 Subject: [FFmpeg-user] unable to convert png to movie, error: Invalid PNG signature , In-Reply-To: References: Message-ID: 2016-12-02 11:22 GMT+01:00 Puneet Singh : > I am trying to convert a set of images to a video file. I have tried > various ffmpeg command options but they all have failed. > ffmpeg -r 1 -i image%02d.png Since your files are actually jpeg, not png, you have to force the right decoder: $ ffmpeg -r 1 -vcodec mjpeg -i image%2d.png > --extra-cflags=-fPIC Why do you think that this makes sense? Please remember that on this mailing list, only current FFmpeg git head is supported. Carl Eugen From tisch.daniel at gmail.com Fri Dec 2 13:30:37 2016 From: tisch.daniel at gmail.com (Daniel Tisch) Date: Fri, 2 Dec 2016 12:30:37 +0100 Subject: [FFmpeg-user] fault-tolerant streaming and local saving at the same time Message-ID: Hi Folks, I am trying to achieve what the subject says, and I would like to get some feedback on my setup and a bit of help. The problem: if I use a single ffmpeg command line to read the raw frames from my Blackmagic Decklink capture card, encode it and A) stream over RTMP to a remote server and B) save a local copy, then in case of either network error or file write error (e.g. disk full), the whole process stops, so not only the live stream fails, but I get no backup as well. My intended solution: use 3 processes instead of one: 1) for capturing from the decklink card and passing the media to 2 outputs, 2) for streaming and 3) for saving to file. But as far as I connect them through pipes, the problem remains. Now I think the best option would be to connect the processes with udp://127.0.0.1:xxxx style targets, because it is reliable enough on the localhost, but the sender will not get stuck if any of the receiver processes get stuck or die. For this to work, I need to use a muxer in 1), that ensures audio-video sync, and that enables 2) and 3) to demux the content even after they restart, so when they do not have the full output, just start to listen to it somewhere in the middle. I am trying to use mpegts for that. My first question: is it the way to go, or am I missing something that would enable a lot simpler setup? My second question: how to open the input in 2) and 3), if 1) looks something like this: ffmpeg -i some_source -acodec pcm_u16le -vcodec yuv4 -f mpegts udp:// 127.0.0.1:20000 I have tried more things like this: ffmpeg -f mpegts -f rawvideo -s 1280x720 -pix_fmt yuv420p -f u16le -ar 44100 -ac 2 -i udp://127.0.0.1:20000 some_output but I always get "Option video_size not found." Thank you very much for your insights! The full ffmpeg commands and outputs are below. Thanks, Daniel sender: user at host:~$ ffmpeg -i ~/Videos/Moments_of_Everyday_Life.mp4 -acodec pcm_u16le -vcodec yuv4 -f mpegts udp://127.0.0.1:20000 ffmpeg version 2.8.8-0ubuntu0.16.04.1 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.2) 20160609 configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/dani/Videos/Moments_of_Everyday_Life.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42mp41 creation_time : 2012-03-13 03:50:30 Duration: 00:01:07.94, start: 0.000000, bitrate: 7994 kb/s Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 7804 kb/s, 23.98 fps, 23.98 tbr, 23976 tbn, 47.95 tbc (default) Metadata: creation_time : 2012-03-13 03:50:30 handler_name : Mainconcept MP4 Video Media Handler encoder : AVC Coding Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 189 kb/s (default) Metadata: creation_time : 2012-03-13 03:50:30 handler_name : Mainconcept MP4 Sound Media Handler Output #0, mpegts, to 'udp://127.0.0.1:20000': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42mp41 encoder : Lavf56.40.101 Stream #0:0(eng): Video: yuv4, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 fps, 90k tbn, 23.98 tbc (default) Metadata: creation_time : 2012-03-13 03:50:30 handler_name : Mainconcept MP4 Video Media Handler encoder : Lavc56.60.100 yuv4 Stream #0:1(eng): Audio: pcm_u16le, 44100 Hz, stereo, s16, 1411 kb/s (default) Metadata: creation_time : 2012-03-13 03:50:30 handler_name : Mainconcept MP4 Sound Media Handler encoder : Lavc56.60.100 pcm_u16le Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> yuv4 (native)) Stream #0:1 -> #0:1 (aac (native) -> pcm_u16le (native)) Press [q] to stop, [?] for help frame= 930 fps=188 q=-0.0 Lsize= 1360964kB time=00:00:38.83 bitrate=287120.2kbits/s video:1255500kB audio:6684kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 7.826142% receiver: user at host:~$ ffmpeg -f mpegts -f rawvideo -s 1280x720 -pix_fmt yuv420p -f u16le -ar 44100 -ac 2 -i udp://127.0.0.1:20000 -vcodec mpeg4 -acodec mp3 -y Videos/output.flv ffmpeg version 2.8.8-0ubuntu0.16.04.1 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.2) 20160609 configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.100 Option video_size not found. From ceffmpeg at gmail.com Fri Dec 2 13:38:30 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Fri, 2 Dec 2016 12:38:30 +0100 Subject: [FFmpeg-user] fault-tolerant streaming and local saving at the same time In-Reply-To: References: Message-ID: 2016-12-02 12:30 GMT+01:00 Daniel Tisch : > ffmpeg -i some_source -acodec pcm_u16le -vcodec yuv4 -f mpegts This command line cannot work: You cannot put random data into mpegts. > ffmpeg version 2.8.8-0ubuntu0.16.04.1 Copyright (c) 2000-2016 the FFmpeg Please understand that only current FFmpeg git head is supported here. Carl Eugen From adf.lists at gmail.com Fri Dec 2 14:02:40 2016 From: adf.lists at gmail.com (Andy Furniss) Date: Fri, 2 Dec 2016 12:02:40 +0000 Subject: [FFmpeg-user] No pixel format specified - meaning of yuv420p? In-Reply-To: <347c693eaefd88a330e56d40f33aa2a6@insiberia.net> References: <1480638228.993439.805678473.7781FB7D@webmail.messagingengine.com> <347c693eaefd88a330e56d40f33aa2a6@insiberia.net> Message-ID: <584162E0.7080302@gmail.com> MRob wrote: > Thank you for the very fast response, it's appreciated. > > On 2016-12-01 16:23, Lou wrote: >> On Thu, Dec 1, 2016, at 03:00 PM, MRob wrote: >>> I'm exporting a video from an older Adobe Elements (Windows) >>> with intention to put it on the web (both H.264 and VP8). I >>> exported using Adobe's "DV AVI" which appears to be the most >>> unmolested output format >> >> DV is not a good choice: it's lossy and will mess up your width, >> height, aspect ratio, etc. Install UT video. UT video is a free and >> open compressed lossless format that works well as an intermediate >> format: >> >> http://umezawa.dyndns.info/archive/utvideo/?C=M;O=D >> >> Then restart Elements and export using that. Make sure Elements >> doesn't change the width, height, frame rate, etc (I recall Adobe >> Media Encoder doing that often). Finally, re-enode the intermediate >> file with ffmpeg. > > Oh, thank you for that information. Unfortunately, it looks like I'm > working with Premier Elements, and after installing UT video, I > don't see any facilities to export using it. Is this a limitation of > Premier? Or am I looking in the wrong place? Thanks for the off-topic > help with that. > >> [...] >>> But from reading that mailing list post and the error message >>> text, it sounds like adding "-pix_fmt yuv420p" affects the >>> output. I do not need to retain compatibility with terribly old >>> devices (though I am using baseline level 3.0), so I wanted to >>> ask if there is a better way to handle conversion in this case. >> >> You'll need yuv420p. Most non-FFmpeg based players and various >> devices don't support anything else. > > I see, so the reason I hadn't seen that before was because any other > videos I'd encoded likely had the yuv420p pixel format in the video > stream already? Possibly, or you didn't restrict to baseline. You really should know what format the source video is is to do things properly. If say it's interlaced and stored as 422 or 411 then the default conversion to 420 will be wrong. You would need to add interl=1 to the scale filter (even then it's not truly correct, but the difference is hard to see). If you want to keep as interlaced you would also need to encode as MBAFF with libx264 and be sure to check field dominance is correctly flagged in stream and container. Of course if the source is interlaced and you just want something "disposable" for the web rather than an archive, you could just de-interlace it. Choices still involved = framerate/fieldrate, but may (depending on source format) be able to avoid source chroma format issues. From adf.lists at gmail.com Fri Dec 2 14:06:13 2016 From: adf.lists at gmail.com (Andy Furniss) Date: Fri, 2 Dec 2016 12:06:13 +0000 Subject: [FFmpeg-user] No pixel format specified - meaning of yuv420p? In-Reply-To: <584162E0.7080302@gmail.com> References: <1480638228.993439.805678473.7781FB7D@webmail.messagingengine.com> <347c693eaefd88a330e56d40f33aa2a6@insiberia.net> <584162E0.7080302@gmail.com> Message-ID: <584163B5.9040706@gmail.com> Andy Furniss wrote: > Possibly, or you didn't restrict to baseline. > > You really should know what format the source video is is to do > things properly. > > If say it's interlaced and stored as 422 or 411 then the default > conversion to 420 will be wrong. You would need to add interl=1 to > the scale filter (even then it's not truly correct, but the > difference is hard to see). If you want to keep as interlaced you > would also need to encode as MBAFF with libx264 and be sure to check > field dominance is correctly flagged in stream and container. > > Of course if the source is interlaced and you just want something > "disposable" for the web rather than an archive, you could just > de-interlace it. Choices still involved = framerate/fieldrate, but > may (depending on source format) be able to avoid source chroma > format issues. Do you really need baseline - it's less efficient that other profiles, also it won't do MBAFF. From sw at jkqxz.net Fri Dec 2 15:03:05 2016 From: sw at jkqxz.net (Mark Thompson) Date: Fri, 2 Dec 2016 13:03:05 +0000 Subject: [FFmpeg-user] VAAPI Decoding/Encoding with C code In-Reply-To: <1480676269.1708505.806097641.6DA6CD30@webmail.messagingengine.com> References: <1480676269.1708505.806097641.6DA6CD30@webmail.messagingengine.com> Message-ID: <512d8697-bb67-3072-0094-2ac8f2843577@jkqxz.net> On 02/12/16 10:57, Victor dMdB wrote: > I was wondering if there were any examples of implementations with > avformatcontext? > > I've looked at the source of ffmpeg vaapi implementation: > https://www.ffmpeg.org/doxygen/trunk/ffmpeg__vaapi_8c_source.html > > and there is a reference to the cli values here > https://ffmpeg.org/pipermail/ffmpeg-user/2016-May/032153.html > > But I'm not really sure how one actually implements the it within either > decoding or encoding pipeline? Start by making an hwdevice. This can be done with av_hwdevice_ctx_create(), or if you already have a VADisplay (for example, to do stuff in X via DRI[23]) you can use av_hwdevice_ctx_alloc() followed by av_hwdevice_ctx_init(). For a decoder: Make the decoder as you normally would for software. You must set an AVCodecContext.get_format callback. Start feeding data to the decoder. Once enough there is enough data to determine the output format, the get_format callback will be called (this will always happen before any output is generated). The callback has a set of possible formats to use, this will contain AV_PIX_FMT_VAAPI if your stream is supported (note that not all streams are supported for a given decoder - for H.264 the hwaccel only supports YUV 4:2:0 in 8-bit depth). Make an hwframe context for the output frames and a struct vaapi_context containing a decode context*. See ffmpeg_vaapi.c:vaapi_decode_init() and its callees for this part. Attach your new hwframe context (AVCodecContext.hw_frames_ctx) and decode context (AVCodecContext.hwaccel_context) to the decoder. Once you return from the callback, decoding continues and will give you AV_PIX_FMT_VAAPI frames. If you need the output frames in normal memory rather than GPU memory, you can copy them back with av_hwframe_transfer_data(). For an encoder: Find an hwframe context to use as the encoder input. For a transcode case this can be the one from the decoder above, or it could be output from a filter like scale_vaapi. If only have frames in normal memory, you need to make a new one here. Make the encoder as you normally would (you'll need to get the codec by name (like "h264_vaapi"), because it will not choose it by default with just the ID), and set AVCodecContext.hw_frames_ctx with your hwframe context. Now feed the encoder with the AV_PIX_FMT_VAAPI frames from your hwframe context. If you only have input frames in normal memory, you will need to upload them to GPU memory in the hwframe context with av_hwframe_transfer_data() before giving them to the encoder. - Mark * It is intended that struct vaapi_context will be deprecated completely soon, and this part will not be required (lavc will handle that context creation). From tisch.daniel at gmail.com Fri Dec 2 15:13:20 2016 From: tisch.daniel at gmail.com (Daniel Tisch) Date: Fri, 2 Dec 2016 14:13:20 +0100 Subject: [FFmpeg-user] fault-tolerant streaming and local saving at the same time In-Reply-To: References: Message-ID: > > > ffmpeg -i some_source -acodec pcm_u16le -vcodec yuv4 -f mpegts > > This command line cannot work: > You cannot put random data into mpegts. > Ok, now I see that mpegts container does not support these raw codecs (however ffmpeg does not print a warning about that). Then I have 2 options to achieve my goal, right? 1) Choose some (preferably lossless) codec to use in mpegts instead of raw data. 2) Choose some other muxer instead of mpegts. Do you have a recommendation for the codecs/muxer? > > > ffmpeg version 2.8.8-0ubuntu0.16.04.1 Copyright (c) 2000-2016 the FFmpeg > > Please understand that only current FFmpeg git head is supported > here. > Thanks for noting this, now I am using that. Daniel From ceffmpeg at gmail.com Fri Dec 2 15:39:20 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Fri, 2 Dec 2016 14:39:20 +0100 Subject: [FFmpeg-user] fault-tolerant streaming and local saving at the same time In-Reply-To: References: Message-ID: 2016-12-02 14:13 GMT+01:00 Daniel Tisch : >> >> > ffmpeg -i some_source -acodec pcm_u16le -vcodec yuv4 -f mpegts >> >> This command line cannot work: >> You cannot put random data into mpegts. >> > Ok, now I see that mpegts container does not support these raw codecs > (however ffmpeg does not print a warning about that). Yes, but you are generally responsible for your command line. (That requests codec and format) > Then I have 2 options to achieve my goal, right? > 1) Choose some (preferably lossless) codec to use in mpegts > instead of raw data. FFmpeg contains its own lossless codec, ffv1. > 2) Choose some other muxer instead of mpegts. mkv does have a live option but it is not really suitable for rawvideo either. Carl Eugen From ffmpeg at eml.cc Fri Dec 2 16:05:13 2016 From: ffmpeg at eml.cc (Victor dMdB) Date: Fri, 02 Dec 2016 22:05:13 +0800 Subject: [FFmpeg-user] VAAPI Decoding/Encoding with C code In-Reply-To: <512d8697-bb67-3072-0094-2ac8f2843577@jkqxz.net> References: <1480676269.1708505.806097641.6DA6CD30@webmail.messagingengine.com> <512d8697-bb67-3072-0094-2ac8f2843577@jkqxz.net> Message-ID: <1480687513.2768418.806256529.2157C934@webmail.messagingengine.com> Thanks for the response Mark! I might be misreading the source code, but for decoding, doesn't vaapi_decode_init do all the heavy lifting? It seems to already call the functions and sets the variables you mentioned. So might the code be just: avcodec_open2(codecCtx, codec,NULL); vaapi_decode_init(codecCtx); On Fri, 2 Dec 2016, at 09:03 PM, Mark Thompson wrote: > On 02/12/16 10:57, Victor dMdB wrote: > > I was wondering if there were any examples of implementations with > > avformatcontext? > > > > I've looked at the source of ffmpeg vaapi implementation: > > https://www.ffmpeg.org/doxygen/trunk/ffmpeg__vaapi_8c_source.html > > > > and there is a reference to the cli values here > > https://ffmpeg.org/pipermail/ffmpeg-user/2016-May/032153.html > > > > But I'm not really sure how one actually implements the it within either > > decoding or encoding pipeline? > > Start by making an hwdevice. This can be done with > av_hwdevice_ctx_create(), or if you already have a VADisplay (for > example, to do stuff in X via DRI[23]) you can use > av_hwdevice_ctx_alloc() followed by av_hwdevice_ctx_init(). > > For a decoder: > > Make the decoder as you normally would for software. You must set an > AVCodecContext.get_format callback. > Start feeding data to the decoder. > Once enough there is enough data to determine the output format, the > get_format callback will be called (this will always happen before any > output is generated). > The callback has a set of possible formats to use, this will contain > AV_PIX_FMT_VAAPI if your stream is supported (note that not all streams > are supported for a given decoder - for H.264 the hwaccel only supports > YUV 4:2:0 in 8-bit depth). > Make an hwframe context for the output frames and a struct vaapi_context > containing a decode context*. See ffmpeg_vaapi.c:vaapi_decode_init() and > its callees for this part. > Attach your new hwframe context (AVCodecContext.hw_frames_ctx) and decode > context (AVCodecContext.hwaccel_context) to the decoder. > Once you return from the callback, decoding continues and will give you > AV_PIX_FMT_VAAPI frames. > If you need the output frames in normal memory rather than GPU memory, > you can copy them back with av_hwframe_transfer_data(). > > For an encoder: > > Find an hwframe context to use as the encoder input. For a transcode > case this can be the one from the decoder above, or it could be output > from a filter like scale_vaapi. If only have frames in normal memory, > you need to make a new one here. > Make the encoder as you normally would (you'll need to get the codec by > name (like "h264_vaapi"), because it will not choose it by default with > just the ID), and set AVCodecContext.hw_frames_ctx with your hwframe > context. > Now feed the encoder with the AV_PIX_FMT_VAAPI frames from your hwframe > context. > If you only have input frames in normal memory, you will need to upload > them to GPU memory in the hwframe context with av_hwframe_transfer_data() > before giving them to the encoder. > > > - Mark > > > * It is intended that struct vaapi_context will be deprecated completely > soon, and this part will not be required (lavc will handle that context > creation). > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From sw at jkqxz.net Fri Dec 2 17:03:51 2016 From: sw at jkqxz.net (Mark Thompson) Date: Fri, 2 Dec 2016 15:03:51 +0000 Subject: [FFmpeg-user] VAAPI Decoding/Encoding with C code In-Reply-To: <1480687513.2768418.806256529.2157C934@webmail.messagingengine.com> References: <1480676269.1708505.806097641.6DA6CD30@webmail.messagingengine.com> <512d8697-bb67-3072-0094-2ac8f2843577@jkqxz.net> <1480687513.2768418.806256529.2157C934@webmail.messagingengine.com> Message-ID: On 02/12/16 14:05, Victor dMdB wrote: > Thanks for the response Mark! > > I might be misreading the source code, but for decoding, doesn't > vaapi_decode_init > do all the heavy lifting? > It seems to already call the functions and sets the variables you > mentioned. > > So might the code be just: > > avcodec_open2(codecCtx, codec,NULL); > vaapi_decode_init(codecCtx); vaapi_decode_init() is a function inside the ffmpeg utility, not any of the libraries. You need to implement what it does in your own application. You can copy/adapt the relevant code directly from the ffmpeg utility into your application if you want (assuming you comply with the licence terms). - Mark > On Fri, 2 Dec 2016, at 09:03 PM, Mark Thompson wrote: >> On 02/12/16 10:57, Victor dMdB wrote: >>> I was wondering if there were any examples of implementations with >>> avformatcontext? >>> >>> I've looked at the source of ffmpeg vaapi implementation: >>> https://www.ffmpeg.org/doxygen/trunk/ffmpeg__vaapi_8c_source.html >>> >>> and there is a reference to the cli values here >>> https://ffmpeg.org/pipermail/ffmpeg-user/2016-May/032153.html >>> >>> But I'm not really sure how one actually implements the it within either >>> decoding or encoding pipeline? >> >> Start by making an hwdevice. This can be done with >> av_hwdevice_ctx_create(), or if you already have a VADisplay (for >> example, to do stuff in X via DRI[23]) you can use >> av_hwdevice_ctx_alloc() followed by av_hwdevice_ctx_init(). >> >> For a decoder: >> >> Make the decoder as you normally would for software. You must set an >> AVCodecContext.get_format callback. >> Start feeding data to the decoder. >> Once enough there is enough data to determine the output format, the >> get_format callback will be called (this will always happen before any >> output is generated). >> The callback has a set of possible formats to use, this will contain >> AV_PIX_FMT_VAAPI if your stream is supported (note that not all streams >> are supported for a given decoder - for H.264 the hwaccel only supports >> YUV 4:2:0 in 8-bit depth). >> Make an hwframe context for the output frames and a struct vaapi_context >> containing a decode context*. See ffmpeg_vaapi.c:vaapi_decode_init() and >> its callees for this part. >> Attach your new hwframe context (AVCodecContext.hw_frames_ctx) and decode >> context (AVCodecContext.hwaccel_context) to the decoder. >> Once you return from the callback, decoding continues and will give you >> AV_PIX_FMT_VAAPI frames. >> If you need the output frames in normal memory rather than GPU memory, >> you can copy them back with av_hwframe_transfer_data(). >> >> For an encoder: >> >> Find an hwframe context to use as the encoder input. For a transcode >> case this can be the one from the decoder above, or it could be output >> from a filter like scale_vaapi. If only have frames in normal memory, >> you need to make a new one here. >> Make the encoder as you normally would (you'll need to get the codec by >> name (like "h264_vaapi"), because it will not choose it by default with >> just the ID), and set AVCodecContext.hw_frames_ctx with your hwframe >> context. >> Now feed the encoder with the AV_PIX_FMT_VAAPI frames from your hwframe >> context. >> If you only have input frames in normal memory, you will need to upload >> them to GPU memory in the hwframe context with av_hwframe_transfer_data() >> before giving them to the encoder. >> >> >> - Mark >> >> >> * It is intended that struct vaapi_context will be deprecated completely >> soon, and this part will not be required (lavc will handle that context >> creation). From jnfo at grauman.com Fri Dec 2 17:51:50 2016 From: jnfo at grauman.com (Joshua Grauman) Date: Fri, 2 Dec 2016 07:51:50 -0800 (PST) Subject: [FFmpeg-user] Faster codec with alpha Message-ID: Hello all, I am using the following command successfully to generate a screencast. The video comes from my program 'gen-vid' which outputs the raw frames with alpha channel. The resulting .avi has alpha channel as well which is my goal. It all works great except that my computer can't handle doing it real-time. So I am wondering if there is a different vcodec I could use to achieve the same result that was less demaning on the cpu? I am willing to sacrifice some compression for more speed, but would prefer not to have to store all the raw frames without any compression. Storing the alpha channel is also a must. It is preferable if the compression is lossless. Does anyone have any other suggestions for compression other than png that may be faster? Thanks! ./gen-vid | ffmpeg -f rawvideo -pixel_format bgra -video_size 1920x1080 -framerate 30 -i - -vcodec png over.avi Josh From ceffmpeg at gmail.com Fri Dec 2 18:36:16 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Fri, 2 Dec 2016 17:36:16 +0100 Subject: [FFmpeg-user] Faster codec with alpha In-Reply-To: References: Message-ID: 2016-12-02 16:51 GMT+01:00 Joshua Grauman : > Hello all, > > I am using the following command successfully to generate a screencast. The > video comes from my program 'gen-vid' which outputs the raw frames with > alpha channel. The resulting .avi has alpha channel as well which is my > goal. It all works great except that my computer can't handle doing it > real-time. So I am wondering if there is a different vcodec I could use to > achieve the same result that was less demaning on the cpu? I am willing to > sacrifice some compression for more speed, but would prefer not to have to > store all the raw frames without any compression. Storing the alpha channel > is also a must. It is preferable if the compression is lossless. Does anyone > have any other suggestions for compression other than png that may be > faster? Thanks! > > ./gen-vid | ffmpeg -f rawvideo -pixel_format bgra -video_size 1920x1080 > -framerate 30 -i - -vcodec png over.avi utvideo is faster than png, consider to change gen-vid so it outputs rgba to slightly increase speed, this will also slightly increase performance with png. Carl Eugen From onemda at gmail.com Fri Dec 2 18:36:49 2016 From: onemda at gmail.com (Paul B Mahol) Date: Fri, 2 Dec 2016 17:36:49 +0100 Subject: [FFmpeg-user] Faster codec with alpha In-Reply-To: References: Message-ID: On 12/2/16, Joshua Grauman wrote: > Hello all, > > I am using the following command successfully to generate a screencast. > The video comes from my program 'gen-vid' which outputs the raw frames > with alpha channel. The resulting .avi has alpha channel as well which is > my goal. It all works great except that my computer can't handle doing it > real-time. So I am wondering if there is a different vcodec I could use to > achieve the same result that was less demaning on the cpu? I am willing to > sacrifice some compression for more speed, but would prefer not to have to > store all the raw frames without any compression. Storing the alpha > channel is also a must. It is preferable if the compression is lossless. > Does anyone have any other suggestions for compression other than png that > may be faster? Thanks! utvideo, huffyuv, ffvhuff > > ./gen-vid | ffmpeg -f rawvideo -pixel_format bgra -video_size 1920x1080 > -framerate 30 -i - -vcodec png over.avi > > Josh > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From jnfo at grauman.com Fri Dec 2 18:38:42 2016 From: jnfo at grauman.com (Joshua Grauman) Date: Fri, 2 Dec 2016 08:38:42 -0800 (PST) Subject: [FFmpeg-user] Faster codec with alpha In-Reply-To: References: Message-ID: Thanks guys, I'll look into these ideas! Josh On Fri, 2 Dec 2016, Paul B Mahol wrote: > On 12/2/16, Joshua Grauman wrote: >> Hello all, >> >> I am using the following command successfully to generate a screencast. >> The video comes from my program 'gen-vid' which outputs the raw frames >> with alpha channel. The resulting .avi has alpha channel as well which is >> my goal. It all works great except that my computer can't handle doing it >> real-time. So I am wondering if there is a different vcodec I could use to >> achieve the same result that was less demaning on the cpu? I am willing to >> sacrifice some compression for more speed, but would prefer not to have to >> store all the raw frames without any compression. Storing the alpha >> channel is also a must. It is preferable if the compression is lossless. >> Does anyone have any other suggestions for compression other than png that >> may be faster? Thanks! > > utvideo, huffyuv, ffvhuff > >> >> ./gen-vid | ffmpeg -f rawvideo -pixel_format bgra -video_size 1920x1080 >> -framerate 30 -i - -vcodec png over.avi >> >> Josh >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> >> To unsubscribe, visit link above, or email >> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From tisch.daniel at gmail.com Fri Dec 2 18:52:32 2016 From: tisch.daniel at gmail.com (Daniel Tisch) Date: Fri, 2 Dec 2016 17:52:32 +0100 Subject: [FFmpeg-user] fault-tolerant streaming and local saving at the same time In-Reply-To: References: Message-ID: > > > 1) Choose some (preferably lossless) codec to use in mpegts > > instead of raw data. > > FFmpeg contains its own lossless codec, ffv1. > mpegts does not support ffv1 either. ffmpeg can write ffv1 to mpegts without warning (just like for yuv), but can not read that back. user at host:~$ tools/ffmpeg/ffmpeg -i ~/Videos/Moments_of_Everyday_Life.mp4 -an -vcodec ffv1 -f mpegts Videos/test.ts ffmpeg version N-82721-g89092fa Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609 configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-openssl --enable-avresample --enable-avisynth --enable-libmp3lame --enable-libpulse --disable-librtmp --enable-libtheora --enable-libvorbis --enable-libx264 libavutil 55. 41.101 / 55. 41.101 libavcodec 57. 66.108 / 57. 66.108 libavformat 57. 58.101 / 57. 58.101 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libavresample 3. 2. 0 / 3. 2. 0 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/dani/Videos/Moments_of_Everyday_Life.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42mp41 creation_time : 2012-03-13T03:50:30.000000Z Duration: 00:01:07.94, start: 0.000000, bitrate: 7994 kb/s Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 7804 kb/s, 23.98 fps, 23.98 tbr, 23976 tbn, 47.95 tbc (default) Metadata: creation_time : 2012-03-13T03:50:30.000000Z handler_name : Mainconcept MP4 Video Media Handler encoder : AVC Coding Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 189 kb/s (default) Metadata: creation_time : 2012-03-13T03:50:30.000000Z handler_name : Mainconcept MP4 Sound Media Handler Output #0, mpegts, to 'Videos/test.ts': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42mp41 encoder : Lavf57.58.101 Stream #0:0(eng): Video: ffv1, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 fps, 90k tbn, 23.98 tbc (default) Metadata: creation_time : 2012-03-13T03:50:30.000000Z handler_name : Mainconcept MP4 Video Media Handler encoder : Lavc57.66.108 ffv1 Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> ffv1 (native)) Press [q] to stop, [?] for help frame= 1627 fps= 95 q=-0.0 Lsize= 424439kB time=00:01:07.81 bitrate=51269.8kbits/s speed=3.97x video:393553kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 7.848062% user at host:~$ tools/ffmpeg/ffmpeg -i Videos/test.ts -vcodec mpeg4 -y Videos/output.flv ffmpeg version N-82721-g89092fa Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609 configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-openssl --enable-avresample --enable-avisynth --enable-libmp3lame --enable-libpulse --disable-librtmp --enable-libtheora --enable-libvorbis --enable-libx264 libavutil 55. 41.101 / 55. 41.101 libavcodec 57. 66.108 / 57. 66.108 libavformat 57. 58.101 / 57. 58.101 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libavresample 3. 2. 0 / 3. 2. 0 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 Input #0, mpegts, from 'Videos/test.ts': Duration: 00:01:07.82, start: 1.400000, bitrate: 51269 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Data: bin_data ([6][0][0][0] / 0x0006) Output #0, flv, to 'Videos/output.flv': Output file #0 does not contain any stream Adding "-vcodec ffv1" before -i produces the same output. > > 2) Choose some other muxer instead of mpegts. > > mkv does have a live option but it is not really suitable > for rawvideo either. > I can not found any matroska related live option (or similar). After all I tried to go for mpegts with lossless H.264 for the video and high bitrate AAC for the audio, as there seem not to be any lossless audio alternative, that is compatible with mpegts. However, now I get the following errors on the receiving side. I am not sure, but guessing that this might come from lost UDP packets? user at host:~$ tools/ffmpeg/ffmpeg -f mpegts -i udp://127.0.0.1:20000 -acodec mp3 -vcodec flv -y Videos/output.flv ffmpeg version N-82721-g89092fa Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609 configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-openssl --enable-avresample --enable-avisynth --enable-libmp3lame --enable-libpulse --disable-librtmp --enable-libtheora --enable-libvorbis --enable-libx264 libavutil 55. 41.101 / 55. 41.101 libavcodec 57. 66.108 / 57. 66.108 libavformat 57. 58.101 / 57. 58.101 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libavresample 3. 2. 0 / 3. 2. 0 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 Input #0, mpegts, from 'udp://127.0.0.1:20000': Duration: N/A, start: 1.460200, bitrate: N/A Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc Stream #0:1[0x101](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 320 kb/s Output #0, flv, to 'Videos/output.flv': Metadata: encoder : Lavf57.58.101 Stream #0:0: Video: flv1 (flv) ([2][0][0][0] / 0x0002), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 fps, 1k tbn, 23.98 tbc Metadata: encoder : Lavc57.66.108 flv Side data: cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1 Stream #0:1(eng): Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 44100 Hz, stereo, fltp Metadata: encoder : Lavc57.66.108 libmp3lame Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> flv1 (flv)) Stream #0:1 -> #0:1 (aac (native) -> mp3 (libmp3lame)) Press [q] to stop, [?] for help [h264 @ 0x345d140] Invalid NAL unit 0, skipping.00:00:03.34 bitrate=2394.3kbits/s speed=6.58x [h264 @ 0x345d140] error while decoding MB 69 42, bytestream -15 [h264 @ 0x345d140] concealing 220 DC, 220 AC, 220 MV errors in I frame [h264 @ 0x2e11c60] Invalid NAL unit 8, skipping.00:00:18.12 bitrate=1671.9kbits/s speed=1.28x [h264 @ 0x2e11c60] error while decoding MB 4 41, bytestream -13 [h264 @ 0x2e11c60] Cannot use next picture in error concealment [h264 @ 0x2e11c60] concealing 365 DC, 365 AC, 365 MV errors in P frame [h264 @ 0x332f0c0] Invalid NAL unit 8, skipping.00:00:18.60 bitrate=1660.1kbits/s speed=1.27x [h264 @ 0x332f0c0] error while decoding MB 59 42, bytestream -33 [h264 @ 0x332f0c0] concealing 230 DC, 230 AC, 230 MV errors in P frame [h264 @ 0x332b8a0] Invalid NAL unit 8, skipping.00:00:20.14 bitrate=1637.0kbits/s speed=1.24x [h264 @ 0x332b8a0] error while decoding MB 3 44, bytestream -9 [h264 @ 0x332b8a0] concealing 126 DC, 126 AC, 126 MV errors in P frame frame= 677 fps= 28 q=31.0 Lsize= 5113kB time=00:00:28.59 bitrate=1464.6kbits/s speed=1.16x video:4642kB audio:443kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.547867% I am lost at this point. If it is really caused by lost UDP packets and not by some unlikely misconfiguration, then I really do not know, how to achieve reliable parallel streaming and local saving. Any ideas? Thanks, Daniel From f.fredperie at gmail.com Fri Dec 2 18:58:24 2016 From: f.fredperie at gmail.com (Fred Perie) Date: Fri, 2 Dec 2016 17:58:24 +0100 Subject: [FFmpeg-user] Faster codec with alpha In-Reply-To: References: Message-ID: 2016-12-02 17:38 GMT+01:00 Joshua Grauman : > > Thanks guys, I'll look into these ideas! > > Josh > > > On Fri, 2 Dec 2016, Paul B Mahol wrote: > >> On 12/2/16, Joshua Grauman wrote: >>> >>> Hello all, >>> >>> I am using the following command successfully to generate a screencast. >>> The video comes from my program 'gen-vid' which outputs the raw frames >>> with alpha channel. The resulting .avi has alpha channel as well which is >>> my goal. It all works great except that my computer can't handle doing it >>> real-time. So I am wondering if there is a different vcodec I could use to >>> achieve the same result that was less demaning on the cpu? I am willing to >>> sacrifice some compression for more speed, but would prefer not to have to >>> store all the raw frames without any compression. Storing the alpha >>> channel is also a must. It is preferable if the compression is lossless. >>> Does anyone have any other suggestions for compression other than png that >>> may be faster? Thanks! >> >> >> utvideo, huffyuv, ffvhuff >> >>> >>> ./gen-vid | ffmpeg -f rawvideo -pixel_format bgra -video_size 1920x1080 >>> -framerate 30 -i - -vcodec png over.avi >>> >>> Josh >>> _______________________________________________ >>> ffmpeg-user mailing list >>> ffmpeg-user at ffmpeg.org >>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >>> >>> To unsubscribe, visit link above, or email >>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". >> >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> >> To unsubscribe, visit link above, or email >> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". Hi Joshua I regularly use ffv1 with pix_fmt bgra If speed is really a problem when reading/decoding, you can also consider having two files one containing the alpha channel codec ffv1 pix_fmt gray8 and the color using a codec like H264 I don't know how to do this with the ffmpeg command. I use the ffmpeg libraries and a specific program. Fred -- From jnfo at grauman.com Fri Dec 2 19:00:31 2016 From: jnfo at grauman.com (Joshua Grauman) Date: Fri, 2 Dec 2016 09:00:31 -0800 (PST) Subject: [FFmpeg-user] Faster codec with alpha In-Reply-To: References: Message-ID: I'll keep that in mind if I really need extra speed. Thanks! Josh On Fri, 2 Dec 2016, Fred Perie wrote: > 2016-12-02 17:38 GMT+01:00 Joshua Grauman : >> >> Thanks guys, I'll look into these ideas! >> >> Josh >> >> >> On Fri, 2 Dec 2016, Paul B Mahol wrote: >> >>> On 12/2/16, Joshua Grauman wrote: >>>> >>>> Hello all, >>>> >>>> I am using the following command successfully to generate a screencast. >>>> The video comes from my program 'gen-vid' which outputs the raw frames >>>> with alpha channel. The resulting .avi has alpha channel as well which > is >>>> my goal. It all works great except that my computer can't handle doing > it >>>> real-time. So I am wondering if there is a different vcodec I could use > to >>>> achieve the same result that was less demaning on the cpu? I am willing > to >>>> sacrifice some compression for more speed, but would prefer not to have > to >>>> store all the raw frames without any compression. Storing the alpha >>>> channel is also a must. It is preferable if the compression is lossless. >>>> Does anyone have any other suggestions for compression other than png > that >>>> may be faster? Thanks! >>> >>> >>> utvideo, huffyuv, ffvhuff >>> >>>> >>>> ./gen-vid | ffmpeg -f rawvideo -pixel_format bgra -video_size 1920x1080 >>>> -framerate 30 -i - -vcodec png over.avi >>>> >>>> Josh >>>> _______________________________________________ >>>> ffmpeg-user mailing list >>>> ffmpeg-user at ffmpeg.org >>>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >>>> >>>> To unsubscribe, visit link above, or email >>>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". >>> >>> _______________________________________________ >>> ffmpeg-user mailing list >>> ffmpeg-user at ffmpeg.org >>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >>> >>> To unsubscribe, visit link above, or email >>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". >> >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> >> To unsubscribe, visit link above, or email >> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > > Hi Joshua > I regularly use ffv1 with pix_fmt bgra > If speed is really a problem when reading/decoding, you can also consider > having two files one containing the alpha channel codec ffv1 pix_fmt gray8 > and the color using a codec like H264 > I don't know how to do this with the ffmpeg command. I use the ffmpeg > libraries and a specific program. > > Fred > > > > -- > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From ricardo at americasnet.com Fri Dec 2 20:46:28 2016 From: ricardo at americasnet.com (Ricardo Kleemann) Date: Fri, 2 Dec 2016 10:46:28 -0800 Subject: [FFmpeg-user] testing rtmp input Message-ID: Hi, What would be the best way to test whether an rtmp stream is present? I'm reading an rtmp stream as input and creating an mp4 as output. But the stream isn't always present. I was thinking of doing a quick test for stream presence, maybe reading 5 seconds of input as a test prior to attempting the output. thanks Ricardo From marian.montagnino at graymeta.com Fri Dec 2 10:03:54 2016 From: marian.montagnino at graymeta.com (Marian Montagnino) Date: Fri, 2 Dec 2016 08:03:54 +0000 Subject: [FFmpeg-user] How do I add an audio track to an xdcam video? Message-ID: How do I add an audio track to an xdcam video using FFMPEG via command line? From christophgerstbauer at gmail.com Sat Dec 3 00:59:50 2016 From: christophgerstbauer at gmail.com (Christoph Gerstbauer) Date: Fri, 2 Dec 2016 23:59:50 +0100 Subject: [FFmpeg-user] MotionJpeg2000/ MXF In-Reply-To: References: Message-ID: Hi Joseph, Do you want to use MJPEG2000 or MJPEG2000 mathematically LOSSLESS? Best Regards Christoph Am 30.11.16 um 02:08 schrieb Crystal Mastering: > Hi Guys > > I need to convert some video files to MotionJpeg2000, and wrap them in an MXF container. > > I’m using iffmepg as an interface but it won’t allow me to do this. This is strange because I know lots of > people are able to combine MJP2k and MXF. > > I’d be more than happy to pay someone to write a script to do this for me. iffmpeg has direct terminal access so > I assume I can easily upload some code via this. > > Many thanks in advance > > Joseph > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From darkbluewonderfulworld at gmail.com Sat Dec 3 16:26:20 2016 From: darkbluewonderfulworld at gmail.com (bob Darkblue) Date: Sat, 3 Dec 2016 15:26:20 +0100 Subject: [FFmpeg-user] Can't synchronize two webcam streams side by side using ffmpeg Message-ID: Hello, I'm trying to put side by side two webcam streams to create a stereo vision setup. I'm on ubuntu 16.04 using v4l2. It works but there is a delay of ~1 second between the two screens. Here is what I do : ffmpeg -f v4l2 -framerate 15 -video_size 1280x720 -input_format mjpeg -i /dev/video1 -f v4l2 -framerate 15 -input_format mjpeg -video_size 1280x720 -i /dev/video0 -filter_complex " nullsrc=size=2560x720 [background]; [0:v] setpts=PTS-STARTPTS, scale=1280x720 [left]; [1:v] setpts=PTS-STARTPTS, scale=1280x720 [right]; [background][left] overlay=shortest=1 [background+left]; [background+left][right] overlay=shortest=1:x=1280 [left+right] " -map [left+right] -r 15 -f rtp_mpegts rtp://192.168.0.5:8888 ffplay -fflags nobuffer rtp://192.168.0.5:8888 Various options I've tried include various combinations of : -re flag -ts mono2abs -ts abs -fflags nobuffer different video size and input_format and frame rate It's not an hardware problem because I'm able using two ffmpeg process and two ffplay process to stream without synchronisation issue between the two stream : ffmpeg -re -fflags nobuffer -f v4l2 -framerate 15 -video_size 1280x720 -input_format mjpeg -i /dev/video1 -f rtp_mpegts rtp://192.168.0.5:8888 ffmpeg -re -fflags nobuffer -f v4l2 -framerate 15 -video_size 1280x720 -input_format mjpeg -i /dev/video0 -f rtp_mpegts rtp://192.168.0.5:9888 ffplay -fflags nobuffer rtp://192.168.0.5:8888 ffplay -fflags nobuffer rtp://192.168.0.5:9888 (When I tried to recombine the rtp stream using a third ffmpeg program it reintroduces the lag and it also work way worse than the first solution) Please advise. Bob PS: Output of ffmpeg look normal (the deprecated pixel format warning seems irrelevant): ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3) configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab --enable-libwavpack --enable-nvenc libavutil 55. 34.100 / 55. 34.100 libavcodec 57. 64.100 / 57. 64.100 libavformat 57. 56.100 / 57. 56.100 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libavresample 3. 1. 0 / 3. 1. 0 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100 Input #0, video4linux2,v4l2, from '/dev/video1': Duration: N/A, start: 858.256014, bitrate: N/A Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 1280x720, -2 kb/s, 15 fps, 15 tbr, 1000k tbn, 1000k tbc Input #1, video4linux2,v4l2, from '/dev/video0': Duration: N/A, start: 858.878636, bitrate: N/A Stream #1:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 1280x720, -2 kb/s, 15 fps, 15 tbr, 1000k tbn, 1000k tbc [swscaler @ 0x3282800] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x32b9840] deprecated pixel format used, make sure you did set range correctly Output #0, rtp_mpegts, to 'rtp://192.168.0.5:8888': Metadata: encoder : Lavf57.56.100 Stream #0:0: Video: mpeg4, yuv420p, 2560x720 [SAR 1:1 DAR 32:9], q=2-31, 200 kb/s, 15 fps, 90k tbn, 15 tbc (default) Metadata: encoder : Lavc57.64.100 mpeg4 Side data: cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1 Stream mapping: Stream #0:0 (mjpeg) -> setpts Stream #1:0 (mjpeg) -> setpts overlay -> Stream #0:0 (mpeg4) Press [q] to stop, [?] for help frame= 8 fps=0.0 q=12.5 size= 339kB time=00:00:00.46 bitrate=5942.2kbits/frame= 16 fps= 16 q=31.0 size= 384kB time=00:00:01.00 bitrate=3144.9kbits/ From ceffmpeg at gmail.com Sat Dec 3 16:46:14 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Sat, 3 Dec 2016 15:46:14 +0100 Subject: [FFmpeg-user] Can't synchronize two webcam streams side by side using ffmpeg In-Reply-To: References: Message-ID: 2016-12-03 15:26 GMT+01:00 bob Darkblue : > It works but there is a delay of ~1 second between the two screens. > ffmpeg -f v4l2 -framerate 15 -video_size 1280x720 -input_format mjpeg -i > /dev/video1 -f v4l2 -framerate 15 -input_format mjpeg -video_size 1280x720 > -i /dev/video0 -filter_complex " > nullsrc=size=2560x720 [background]; > [0:v] setpts=PTS-STARTPTS, > [1:v] setpts=PTS-STARTPTS, Isn't this making sure that the two streams are not synchronised? > ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers Please remember to test current FFmpeg git head before asking for support here. Carl Eugen From darkbluewonderfulworld at gmail.com Sat Dec 3 17:14:37 2016 From: darkbluewonderfulworld at gmail.com (bob Darkblue) Date: Sat, 3 Dec 2016 16:14:37 +0100 Subject: [FFmpeg-user] Can't synchronize two webcam streams side by side using ffmpeg In-Reply-To: References: Message-ID: >> [0:v] setpts=PTS-STARTPTS, >> [1:v] setpts=PTS-STARTPTS, >Isn't this making sure that the two streams are not synchronised? I copy pasted it from https://trac.ffmpeg.org/wiki/Create%20a%20mosaic%20out%20of%20several%20input%20videos I don't understand it quite well but it should take care of the little difference in start time between : Input #0, video4linux2,v4l2, from '/dev/video1': Duration: N/A, start:* 858.256014*, bitrate: N/A ... Input #1, video4linux2,v4l2, from '/dev/video0': Duration: N/A, start:* 858.878636*, bitrate: N/A I've also tried to remove the option and also tried with setpts=PTS but there is still a ~1s synchronization issue. >>> ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers >Please remember to test current FFmpeg git head before asking >for support here. I'm currently compiling it. Will retest on the git version when the compilation is done. On Sat, Dec 3, 2016 at 3:46 PM, Carl Eugen Hoyos wrote: > 2016-12-03 15:26 GMT+01:00 bob Darkblue >: > > > It works but there is a delay of ~1 second between the two screens. > > > ffmpeg -f v4l2 -framerate 15 -video_size 1280x720 -input_format mjpeg -i > > /dev/video1 -f v4l2 -framerate 15 -input_format mjpeg -video_size > 1280x720 > > -i /dev/video0 -filter_complex " > > nullsrc=size=2560x720 [background]; > > > [0:v] setpts=PTS-STARTPTS, > > [1:v] setpts=PTS-STARTPTS, > > Isn't this making sure that the two streams are not synchronised? > > > ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers > > Please remember to test current FFmpeg git head before asking > for support here. > > Carl Eugen > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From darkbluewonderfulworld at gmail.com Sat Dec 3 17:18:20 2016 From: darkbluewonderfulworld at gmail.com (bob Darkblue) Date: Sat, 3 Dec 2016 16:18:20 +0100 Subject: [FFmpeg-user] Can't synchronize two webcam streams side by side using ffmpeg In-Reply-To: References: Message-ID: Update to previous mail : Still not working with git version ./ffmpeg -re -f v4l2 -fflags nobuffer -framerate 15 -video_size 1280x720 -input_format mjpeg -i /dev/video1 -f v4l2 -re -fflags nobuffer -framerate 15 -input_format mjpeg -video_size 1280x720 -i /dev/video0 -filter_complex " > nullsrc=size=2560x720 [background]; > [0:v] scale=1280x720 [left]; > [1:v] scale=1280x720 [right]; > [background][left] overlay=shortest=1 [background+left]; > [background+left][right] overlay=shortest=1:x=1280 [left+right] > " -map [left+right] -r 15 -fflags nobuffer -f rtp_mpegts rtp:// 192.168.0.5:8888 ffmpeg version N-82748-g5a237c3 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609 configuration: --disable-yasm libavutil 55. 41.101 / 55. 41.101 libavcodec 57. 66.109 / 57. 66.109 libavformat 57. 58.101 / 57. 58.101 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 Input #0, video4linux2,v4l2, from '/dev/video1': Duration: N/A, start: 6803.700184, bitrate: N/A Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 1280x720, -2 kb/s, 15 fps, 15 tbr, 1000k tbn, 1000k tbc Input #1, video4linux2,v4l2, from '/dev/video0': Duration: N/A, start: 6804.458933, bitrate: N/A Stream #1:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 1280x720, -2 kb/s, 15 fps, 15 tbr, 1000k tbn, 1000k tbc [swscaler @ 0x338b480] deprecated pixel format used, make sure you did set range correctly [swscaler @ 0x33c24c0] deprecated pixel format used, make sure you did set range correctly Output #0, rtp_mpegts, to 'rtp://192.168.0.5:8888': Metadata: encoder : Lavf57.58.101 Stream #0:0: Video: mpeg4, yuv420p, 2560x720 [SAR 1:1 DAR 32:9], q=2-31, 200 kb/s, 15 fps, 90k tbn, 15 tbc (default) Metadata: encoder : Lavc57.66.109 mpeg4 Side data: cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1 Stream mapping: Stream #0:0 (mjpeg) -> scale Stream #1:0 (mjpeg) -> scale overlay -> Stream #0:0 (mpeg4) Press [q] to stop, [?] for help frame= 8 fps=0.0 q=2.1 size= 271kB time=00:00:00.46 bitrate=4758.4kbits/sframe= 16 fps= 16 q=13.5 size= 294kB time=00:00:01.00 bitrate=2411.8kbits/ On Sat, Dec 3, 2016 at 4:14 PM, bob Darkblue < darkbluewonderfulworld at gmail.com> wrote: > >> [0:v] setpts=PTS-STARTPTS, > >> [1:v] setpts=PTS-STARTPTS, > > >Isn't this making sure that the two streams are not synchronised? > I copy pasted it from https://trac.ffmpeg.org/wiki/ > Create%20a%20mosaic%20out%20of%20several%20input%20videos > > I don't understand it quite well but it should take care of the little > difference in start time between : > Input #0, video4linux2,v4l2, from '/dev/video1': > Duration: N/A, start:* 858.256014*, bitrate: N/A > ... > Input #1, video4linux2,v4l2, from '/dev/video0': > Duration: N/A, start:* 858.878636*, bitrate: N/A > > I've also tried to remove the option and also tried with setpts=PTS but > there is still a ~1s synchronization issue. > > > >>> ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers > > >Please remember to test current FFmpeg git head before asking > >for support here. > > I'm currently compiling it. Will retest on the git version when the > compilation is done. > > > > > On Sat, Dec 3, 2016 at 3:46 PM, Carl Eugen Hoyos > wrote: > >> 2016-12-03 15:26 GMT+01:00 bob Darkblue > >: >> >> > It works but there is a delay of ~1 second between the two screens. >> >> > ffmpeg -f v4l2 -framerate 15 -video_size 1280x720 -input_format mjpeg >> -i >> > /dev/video1 -f v4l2 -framerate 15 -input_format mjpeg -video_size >> 1280x720 >> > -i /dev/video0 -filter_complex " >> > nullsrc=size=2560x720 [background]; >> >> > [0:v] setpts=PTS-STARTPTS, >> > [1:v] setpts=PTS-STARTPTS, >> >> Isn't this making sure that the two streams are not synchronised? >> >> > ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers >> >> Please remember to test current FFmpeg git head before asking >> for support here. >> >> Carl Eugen >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> >> To unsubscribe, visit link above, or email >> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > > > From ceffmpeg at gmail.com Sat Dec 3 18:59:47 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Sat, 3 Dec 2016 17:59:47 +0100 Subject: [FFmpeg-user] Can't synchronize two webcam streams side by side using ffmpeg In-Reply-To: References: Message-ID: 2016-12-03 16:14 GMT+01:00 bob Darkblue : >>> [0:v] setpts=PTS-STARTPTS, >>> [1:v] setpts=PTS-STARTPTS, > >>Isn't this making sure that the two streams are not synchronised? > I copy pasted it from > https://trac.ffmpeg.org/wiki/Create%20a%20mosaic%20out%20of%20several%20input%20videos > > I don't understand it quite well but it should take care of the little > difference in start time between : > Input #0, video4linux2,v4l2, from '/dev/video1': > Duration: N/A, start:* 858.256014*, bitrate: N/A > ... > Input #1, video4linux2,v4l2, from '/dev/video0': > Duration: N/A, start:* 858.878636*, bitrate: N/A It "takes care" insofar as it removes any difference from the timestamps of the two streams. > I've also tried to remove the option and also tried with setpts=PTS but > there is still a ~1s synchronization issue. Please also try the hstack video filter. Carl Eugen From darkbluewonderfulworld at gmail.com Sat Dec 3 19:50:37 2016 From: darkbluewonderfulworld at gmail.com (bob Darkblue) Date: Sat, 3 Dec 2016 18:50:37 +0100 Subject: [FFmpeg-user] Can't synchronize two webcam streams side by side using ffmpeg In-Reply-To: References: Message-ID: When I try with the hstack filter : it stills have a synchronisation issue but it outputs a probably useful warning : *"Past duration 0.979973 too large"* Maybe you know what it means ? At least it gives a lead to follow. ./ffmpeg -f v4l2 -framerate 15 -video_size 1280x720 -input_format mjpeg -i /dev/video1 -f v4l2 -framerate 15 -input_format mjpeg -video_size 1280x720 -i /dev/video0 -filter_complex " [0:v][1:v]hstack [left+right]" -map [left+right] -r 15 -fflags nobuffer -f rtp_mpegts rtp://192.168.0.5:8888 ffmpeg version N-82748-g5a237c3 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609 configuration: --disable-yasm libavutil 55. 41.101 / 55. 41.101 libavcodec 57. 66.109 / 57. 66.109 libavformat 57. 58.101 / 57. 58.101 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 Input #0, video4linux2,v4l2, from '/dev/video1': Duration: N/A, start: 15838.916456, bitrate: N/A Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 1280x720, -2 kb/s, 15 fps, 15 tbr, 1000k tbn, 1000k tbc Input #1, video4linux2,v4l2, from '/dev/video0': Duration: N/A, start: 15839.810583, bitrate: N/A Stream #1:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 1280x720, -2 kb/s, 15 fps, 15 tbr, 1000k tbn, 1000k tbc [swscaler @ 0x295f000] deprecated pixel format used, make sure you did set range correctly Output #0, rtp_mpegts, to 'rtp://192.168.0.5:8888': Metadata: encoder : Lavf57.58.101 Stream #0:0: Video: mpeg4, yuv420p, 2560x720, q=2-31, 200 kb/s, 15 fps, 90k tbn, 15 tbc (default) Metadata: encoder : Lavc57.66.109 mpeg4 Side data: cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1 Stream mapping: Stream #0:0 (mjpeg) -> hstack:input0 Stream #1:0 (mjpeg) -> hstack:input1 hstack -> Stream #0:0 (mpeg4) Press [q] to stop, [?] for help Past duration 0.979973 too large Past duration 0.999535 too large frame= 8 fps=0.0 q=6.0 size= 113kB time=00:00:00.46 bitrate=1981.0kbits/sPast duration 0.979973 too large frame= 15 fps= 15 q=11.4 size= 160kB time=00:00:00.93 bitrate=1400.3kbits/Past duration 0.979973 too large Past duration 0.999977 too large frame= 23 fps= 15 q=12.3 size= 178kB time=00:00:01.46 bitrate= 992.5kbits/Past duration 0.979973 too large Past duration 0.999947 too large Past duration 0.979958 too large On Sat, Dec 3, 2016 at 5:59 PM, Carl Eugen Hoyos wrote: > 2016-12-03 16:14 GMT+01:00 bob Darkblue >: > >>> [0:v] setpts=PTS-STARTPTS, > >>> [1:v] setpts=PTS-STARTPTS, > > > >>Isn't this making sure that the two streams are not synchronised? > > I copy pasted it from > > https://trac.ffmpeg.org/wiki/Create%20a%20mosaic%20out% > 20of%20several%20input%20videos > > > > I don't understand it quite well but it should take care of the little > > difference in start time between : > > Input #0, video4linux2,v4l2, from '/dev/video1': > > Duration: N/A, start:* 858.256014*, bitrate: N/A > > ... > > Input #1, video4linux2,v4l2, from '/dev/video0': > > Duration: N/A, start:* 858.878636*, bitrate: N/A > > It "takes care" insofar as it removes any difference > from the timestamps of the two streams. > > > I've also tried to remove the option and also tried with setpts=PTS but > > there is still a ~1s synchronization issue. > > Please also try the hstack video filter. > > Carl Eugen > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > From ceffmpeg at gmail.com Sat Dec 3 21:30:04 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Sat, 3 Dec 2016 20:30:04 +0100 Subject: [FFmpeg-user] Can't synchronize two webcam streams side by side using ffmpeg In-Reply-To: References: Message-ID: 2016-12-03 18:50 GMT+01:00 bob Darkblue : > Input #0, video4linux2,v4l2, from '/dev/video1': > Duration: N/A, start: 15838.916456, bitrate: N/A > Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), > 1280x720, -2 kb/s, 15 fps, 15 tbr, 1000k tbn, 1000k tbc > Input #1, video4linux2,v4l2, from '/dev/video0': > Duration: N/A, start: 15839.810583, bitrate: N/A > Stream #1:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), > 1280x720, -2 kb/s, 15 fps, 15 tbr, 1000k tbn, 1000k tbc I know this is most likely not related to your issue but could you test if the following inlined patch fixes "-2"? Thank you, Carl Eugen diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index ae51d83..c6f739c 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -960,7 +960,7 @@ static int v4l2_read_header(AVFormatContext *ctx) st->codecpar->width = s->width; st->codecpar->height = s->height; if (st->avg_frame_rate.den) - st->codecpar->bit_rate = s->frame_size * av_q2d(st->avg_frame_rate) * 8; + st->codecpar->bit_rate = (int64_t)s->frame_size * av_q2d(st->avg_frame_rate) * 8; return 0; From darkbluewonderfulworld at gmail.com Sat Dec 3 23:09:03 2016 From: darkbluewonderfulworld at gmail.com (bob Darkblue) Date: Sat, 3 Dec 2016 22:09:03 +0100 Subject: [FFmpeg-user] Can't synchronize two webcam streams side by side using ffmpeg In-Reply-To: References: Message-ID: I patched the code but there is still *-2 kb/s* If I set a specific value *1000, I can read back specific value instead of -2 kb/s With a little printf debugging code added : printf("MYDEBUGSTART %0d %lf MYDEBUGEND\n", s->frame_size, av_q2d(st->avg_frame_rate) ); st->codecpar->bit_rate = (int64_t)s->frame_size * av_q2d(st->avg_frame_rate) * 8; Which outputs : MYDEBUGSTART *-22* 15.000000 MYDEBUGEND Input #0, video4linux2,v4l2, from '/dev/video1': Duration: N/A, start: 27554.436870, bitrate: N/A Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 1280x720, MYDEBUG -2 kb/s, 15 fps, 15 tbr, 1000k tbn, 1000k tbc MYDEBUGSTART *-22* 15.000000 MYDEBUGEND Input #1, video4linux2,v4l2, from '/dev/video0': Duration: N/A, start: 27555.194871, bitrate: N/A Stream #1:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 1280x720, MYDEBUG -2 kb/s, 15 fps, 15 tbr, 1000k tbn, 1000k tbc Hopefully it'll help. On Sat, Dec 3, 2016 at 8:30 PM, Carl Eugen Hoyos wrote: > 2016-12-03 18:50 GMT+01:00 bob Darkblue >: > > > Input #0, video4linux2,v4l2, from '/dev/video1': > > Duration: N/A, start: 15838.916456, bitrate: N/A > > Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), > > 1280x720, -2 kb/s, 15 fps, 15 tbr, 1000k tbn, 1000k tbc > > Input #1, video4linux2,v4l2, from '/dev/video0': > > Duration: N/A, start: 15839.810583, bitrate: N/A > > Stream #1:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), > > 1280x720, -2 kb/s, 15 fps, 15 tbr, 1000k tbn, 1000k tbc > > I know this is most likely not related to your issue but could > you test if the following inlined patch fixes "-2"? > > Thank you, Carl Eugen > > diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c > index ae51d83..c6f739c 100644 > --- a/libavdevice/v4l2.c > +++ b/libavdevice/v4l2.c > @@ -960,7 +960,7 @@ static int v4l2_read_header(AVFormatContext *ctx) > st->codecpar->width = s->width; > st->codecpar->height = s->height; > if (st->avg_frame_rate.den) > - st->codecpar->bit_rate = s->frame_size * > av_q2d(st->avg_frame_rate) * 8; > + st->codecpar->bit_rate = (int64_t)s->frame_size * > av_q2d(st->avg_frame_rate) * 8; > > return 0; > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > From anthony at chovy.com Sun Dec 4 00:14:51 2016 From: anthony at chovy.com (Anthony Ettinger) Date: Sat, 3 Dec 2016 14:14:51 -0800 Subject: [FFmpeg-user] continuous live stream from video files In-Reply-To: References: Message-ID: I just use nginx to server the static files. On Fri, Dec 2, 2016 at 3:05 AM, MRob wrote: > On 2016-12-01 23:22, Anthony Ettinger wrote: > >> I found the concatenate option with ffmpeg as described here: >> >> https://trac.ffmpeg.org/wiki/Concatenate#protocol >> >> I can concatenate static files if I know the list ahead of time and >> produce >> an m3u8 stream >> > > Would you kindly describe what tools/setup you use to provide the stream > after creating it with ffmpeg? > > > > as output with this: >> >> ffmpeg -i 'concat:intermediate1.ts|intermediate2.ts' -c copy >> test.m3u8 >> >> The problem I'm trying to solve is I want to be able to add files >> dynamically to the list and I also want the stream to run 24/7 >> continuously >> looping when it reaches last file in the list. >> >> Is this doable with ffmpeg and some bash? >> > -- Anthony Ettinger http://anthony.ettinger.name anthony at ettinger.name +1 (831) 406-1123 From tte at cs.fau.de Sun Dec 4 06:15:27 2016 From: tte at cs.fau.de (Toerless Eckert) Date: Sun, 4 Dec 2016 05:15:27 +0100 Subject: [FFmpeg-user] FFmpeg-user] VOB, DV, AVI, TS... Message-ID: <20161204041527.GA27711@faui40p.informatik.uni-erlangen.de> I am trying to encode TV recordings into the "best" container format, where "best" means that the video has changing aspect ratio, eg: some segments 16:3 then 4:3, then back to 16:9. Seems the only container formats supporting this and/or that ffmpeg can encode in a working fashion are TS, VOB / DVD (MPEG2 PS) and MPEG2 TS. Only mplayer can correctly play back aspect changes with AVI, kodi, ffplay, vlc all just play back with the initial aspect ratio. TS plays back correctly with all players - ffplay, kodi, vlic, mplayer, but TS has aout 10% overhead over all the other containers in my experience. The PS files created with "-f vob" or "-f dvd" in ffmpeg have about the same size as avi and are correctly played back with AR changes by ffplay, vlc, kodi. The versions of mplayer i tried only plays back mpeg2 video in PS, not h264. Alas, i have some important apps that leverage mplayer. So i am wondering: - Whats the difference between "-f vob" and "-f dvd" in ffmpeg ? - how "standards" compliant is it actually to encode h264 into vob/PS files. As in: i'd feel a lot safer if i'd know that my encoding was standard compliant and mplayer has a bug than if mplayer is right, and all the other players are just very forgiving. After all, h264 seems to only exist in Blu Ray and those seem to use TS, not PS... Any other format idea i could try ? The most widely used ones, mp4,mkv seemingly do not support AR changes. Cheers Toerless From francois.visagie at gmail.com Sun Dec 4 06:23:08 2016 From: francois.visagie at gmail.com (Francois Visagie) Date: Sun, 4 Dec 2016 07:23:08 +0300 Subject: [FFmpeg-user] FFmpeg-user] VOB, DV, AVI, TS... In-Reply-To: <20161204041527.GA27711@faui40p.informatik.uni-erlangen.de> References: <20161204041527.GA27711@faui40p.informatik.uni-erlangen.de> Message-ID: <003d01d24de6$2114e500$633eaf00$@gmail.com> > -----Original Message----- > From: ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of > Toerless Eckert > Sent: 04 December 2016 07:15 > To: FFmpeg user questions > Subject: [FFmpeg-user] FFmpeg-user] VOB, DV, AVI, TS... > > I am trying to encode TV recordings into the "best" container format, where > "best" means that the video has changing aspect ratio, eg: > some segments 16:3 then 4:3, then back to 16:9. > > Seems the only container formats supporting this and/or that ffmpeg can > encode in a working fashion are TS, VOB / DVD (MPEG2 PS) and MPEG2 TS. > > Only mplayer can correctly play back aspect changes with AVI, kodi, ffplay, vlc > all just play back with the initial aspect ratio. > > TS plays back correctly with all players - ffplay, kodi, vlic, mplayer, but TS has > aout 10% overhead over all the other containers in my experience. > > The PS files created with "-f vob" or "-f dvd" in ffmpeg have about the same > size as avi and are correctly played back with AR changes by ffplay, vlc, kodi. > The versions of mplayer i tried only plays back mpeg2 video in PS, not h264. > Alas, i have some important apps that leverage mplayer. > > So i am wondering: > - Whats the difference between "-f vob" and "-f dvd" in ffmpeg ? '-f vob' specifies the container format. '-f dvd' additionally sets encoder bitrate and restrictions to ensure DVD standards compliance. > - how "standards" compliant is it actually to encode h264 into vob/PS > files. As in: i'd feel a lot safer if i'd know that my encoding > was standard compliant and mplayer has a bug than if mplayer is right, > and all the other players are just very forgiving. > After all, h264 seems to only exist in Blu Ray and those seem to use TS, > not PS... > > Any other format idea i could try ? The most widely used ones, mp4,mkv > seemingly do not support AR changes. > > Cheers > Toerless > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org > with subject "unsubscribe". From ceffmpeg at gmail.com Sun Dec 4 11:00:24 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Sun, 4 Dec 2016 10:00:24 +0100 Subject: [FFmpeg-user] FFmpeg-user] VOB, DV, AVI, TS... In-Reply-To: <20161204041527.GA27711@faui40p.informatik.uni-erlangen.de> References: <20161204041527.GA27711@faui40p.informatik.uni-erlangen.de> Message-ID: 2016-12-04 5:15 GMT+01:00 Toerless Eckert : > I am trying to encode TV recordings into the "best" container format, > where "best" means that the video has changing aspect ratio, eg: > some segments 16:3 then 4:3, then back to 16:9. Then simply keep your ts recordings, they are for sure the "best" recordings by all means. (Feel free to cut them to your needs with mpegts-specific tools, once upon a time, I used ProjectX). > Seems the only container formats supporting this and/or that > ffmpeg can encode in a working fashion are TS, VOB / DVD > (MPEG2 PS) and MPEG2 TS. (TS and MPEG2 TS are the same.) This seems to imply that you know of other formats supporting aspect change that are not supported by FFmpeg. > Only mplayer can correctly play back aspect changes with AVI, > kodi, ffplay, vlc all just play back with the initial aspect ratio. The reason may be that aspect ratio change in avi is not well specified. > TS plays back correctly with all players - ffplay, kodi, vlic, mplayer, > but TS has aout 10% overhead over all the other containers in > my experience. Of course, it is meant for lossy transmission. > The PS files created with "-f vob" or "-f dvd" in ffmpeg have about > the same size as avi and are correctly played back with AR changes > by ffplay, vlc, kodi. The versions of mplayer i tried only plays back > mpeg2 video in PS, not h264. Alas, i have some important apps that > leverage mplayer. This should work with -demuxer lavf but it seems that the usual h264 timestamp problem hits us. > So i am wondering: > - Whats the difference between "-f vob" and "-f dvd" in ffmpeg ? -f dvd contains nav packets that you need if you plan to produce dvds. > - how "standards" compliant is it actually to encode h264 into vob/PS > files. As in: i'd feel a lot safer if i'd know that my encoding > was standard compliant and mplayer has a bug than if mplayer is > right, and all the other players are just very forgiving. > After all, h264 seems to only exist in Blu Ray and those seem to > use TS, not PS... This question makes no sense imo (you already forgot dvdhd) but in any case, keep your recordings. Carl Eugen From ceffmpeg at gmail.com Sun Dec 4 11:01:37 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Sun, 4 Dec 2016 10:01:37 +0100 Subject: [FFmpeg-user] FFmpeg-user] VOB, DV, AVI, TS... In-Reply-To: <003d01d24de6$2114e500$633eaf00$@gmail.com> References: <20161204041527.GA27711@faui40p.informatik.uni-erlangen.de> <003d01d24de6$2114e500$633eaf00$@gmail.com> Message-ID: 2016-12-04 5:23 GMT+01:00 Francois Visagie : >> - Whats the difference between "-f vob" and "-f dvd" in ffmpeg ? > > '-f vob' specifies the container format. '-f dvd' additionally sets > encoder bitrate and restrictions to ensure DVD standards compliance. This is not correct, the nav packets are the only difference. Carl Eugen From tte at cs.fau.de Sun Dec 4 21:43:17 2016 From: tte at cs.fau.de (Toerless Eckert) Date: Sun, 4 Dec 2016 20:43:17 +0100 Subject: [FFmpeg-user] FFmpeg-user] VOB, DV, AVI, TS... In-Reply-To: References: <20161204041527.GA27711@faui40p.informatik.uni-erlangen.de> <003d01d24de6$2114e500$633eaf00$@gmail.com> Message-ID: <20161204194317.GB27711@faui40p.informatik.uni-erlangen.de> Thanks! How about my question wrt. what is "standards compliant" inside VOB containers. Especially h264 or even h265.. Any ideas ? Or if not standard, then "how common" do folks think is vob/ps used as container for h264. Because i am not aware that i've ever seen it being used that way before (only MPEG2 VOB from DVD). My concern is to encode in a container that most likely all those embedded boxes, china, roku, amazon, etc.. pp would play. Cheers Toerless On Sun, Dec 04, 2016 at 10:01:37AM +0100, Carl Eugen Hoyos wrote: > 2016-12-04 5:23 GMT+01:00 Francois Visagie : > > >> - Whats the difference between "-f vob" and "-f dvd" in ffmpeg ? > > > > '-f vob' specifies the container format. '-f dvd' additionally sets > > encoder bitrate and restrictions to ensure DVD standards compliance. > > This is not correct, the nav packets are the only difference. > > Carl Eugen > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From rfg at tristatelogic.com Mon Dec 5 01:51:21 2016 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Sun, 04 Dec 2016 15:51:21 -0800 Subject: [FFmpeg-user] .vob output versus .mpg output versus .dvd output (?) Message-ID: <46185.1480895481@segfault.tristatelogic.com> I've noticed that for some certian .vob input files, if I simply pass both video and the output tracks to the output file, and if the output file is a .mpg file, then ffmpeg will offer me the following helpful suggestion: ac3 in MPEG-1 system streams is not widley supported, consider using the vob or the dvd muxer... OK, so I'm considering it. But I have no idea what the difference is. If my output filename ends with .mpg, then ffmpeg produces an output file which the mediainfo tool says is an MPEG-PS container. If on the other hand, I use ffmpeg to create an output file ending in .vob, then once again the mediainfo tool says that this is an MPEG-PS container. If I us ffmpeg to create an output file ending in .dvd, then once again, the mediainfo tool tells me that this also is an MPEG-PS container. The audio and video tracks are simply passed in all three cases, and yet the three output files have slightly dfferent sizes in each case. This is true, even though the audio and video streams are all the same in all cases, and and even though mediainfo says that the output file is an MPEG-PS container in all three cases. So what are the exact differences between .vob, .mpg, and .dvd output files and why are they all slighly different lengths? From af at cybernet.lu Mon Dec 5 11:00:10 2016 From: af at cybernet.lu (Armand Fumal) Date: Mon, 5 Dec 2016 09:00:10 +0000 Subject: [FFmpeg-user] ffmpeg problem decoding eac3. Message-ID: <2584E1ABC3629C4D85A61B8DC4D27297F4D0F642@EXCHANGELU.lu.cybernet.local> Hi, I have problem with stream in audio eac3, ffmpeg cannot detect the audio stream correctly. How to force it manually instead auto detect? Source MPEG-TS Thanks ffmpeg.exe -i "udp://@239.2.2.1:6670" -aspect 16:9 -filter_complex aresample=async=48000 -c:v hevc_nvenc -vb 1200000 -preset default -acodec aac -ab 128000 -ar 48000 -ac 2 -vf "yadif, scale=720:576" -mpegts_service_type digital_tv -f mpegts udp://@224.5.1.11:6700?pkt_size=1316 ffmpeg version N-82759-g1f5630a Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 41.101 / 55. 41.101 libavcodec 57. 66.109 / 57. 66.109 libavformat 57. 58.101 / 57. 58.101 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 [mpegts @ 00000000026a35c0] Could not find codec parameters for stream 1 (Audio: eac3 ([6][0][0][0] / 0x0006), 0 channels, fltp): unspecified sample rate Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 00000000026a35c0] Could not find codec parameters for stream 2 (Audio: eac3 ([6][0][0][0] / 0x0006), 0 channels, fltp): unspecified sample rate Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 00000000026a35c0] Could not find codec parameters for stream 5 (Audio: eac3 ([6][0][0][0] / 0x0006), 0 channels, fltp): unspecified sample rate Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 00000000026a35c0] Could not find codec parameters for stream 6 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mpegts, from 'udp://@239.2.2.1:6670': Duration: N/A, start: 49387.005767, bitrate: N/A Program 401 Metadata: service_name : TEST HD service_provider: Stream #0:0[0x32b]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x32c](fra): Audio: eac3 ([6][0][0][0] / 0x0006), 0 channels, fltp Stream #0:2[0x32d](qaa): Audio: eac3 ([6][0][0][0] / 0x0006), 0 channels, fltp Stream #0:3[0x32e](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired) Stream #0:4[0x32f](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) Stream #0:5[0x330](qad): Audio: eac3 ([6][0][0][0] / 0x0006), 0 channels, fltp (visual impaired) Stream #0:6[0x331]: Unknown: none ([5][0][0][0] / 0x0005) [abuffer @ 000000000015aee0] Value inf for parameter 'time_base' out of range [0 - 2.14748e+009] Last message repeated 3 times [abuffer @ 000000000015aee0] Error setting option time_base to value 1/0. [graph 0 input from stream 0:1 @ 000000000015ae20] Error applying options to the filter. Error configuring complex filters. Result too large Armand FUMAL From ceffmpeg at gmail.com Mon Dec 5 12:16:23 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Mon, 5 Dec 2016 11:16:23 +0100 Subject: [FFmpeg-user] ffmpeg problem decoding eac3. In-Reply-To: <2584E1ABC3629C4D85A61B8DC4D27297F4D0F642@EXCHANGELU.lu.cybernet.local> References: <2584E1ABC3629C4D85A61B8DC4D27297F4D0F642@EXCHANGELU.lu.cybernet.local> Message-ID: 2016-12-05 10:00 GMT+01:00 Armand Fumal : > I have problem with stream in audio eac3, ffmpeg cannot detect the audio stream correctly. Please provide a sample that allows to reproduce the issue. > How to force it manually instead auto detect? It doesn't look auto-detected... Carl Eugen From ceffmpeg at gmail.com Mon Dec 5 12:34:42 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Mon, 5 Dec 2016 11:34:42 +0100 Subject: [FFmpeg-user] .vob output versus .mpg output versus .dvd output (?) In-Reply-To: <46185.1480895481@segfault.tristatelogic.com> References: <46185.1480895481@segfault.tristatelogic.com> Message-ID: 2016-12-05 0:51 GMT+01:00 Ronald F. Guilmette : > If my output filename ends with .mpg, then ffmpeg produces an output file that is an MPEG-1 system stream. ac-3 in MPEG-1 system streams is not widely supported. > If on the other hand, I use ffmpeg to create an output file ending in .vob, that is an MPEG-2 program stream. ac-3 in MPEG-2 program streams is widely supported. > If I use ffmpeg to create an output file ending in .dvd, then that is an MPEG-2 program stream with nav packets (that I guess are not zero-sized). I have absolutely no issue whatsoever with Mediainfo but please note that (among the thousands of reports I worked on) I do not remember a single report or user question for which Mediainfo helped in any way. (FFmpeg command line and console output are nearly always required, especially when a user thinks that the issue is "obvious" or similar.) Carl Eugen From ceffmpeg at gmail.com Mon Dec 5 12:39:37 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Mon, 5 Dec 2016 11:39:37 +0100 Subject: [FFmpeg-user] FFmpeg-user] VOB, DV, AVI, TS... In-Reply-To: <20161204194317.GB27711@faui40p.informatik.uni-erlangen.de> References: <20161204041527.GA27711@faui40p.informatik.uni-erlangen.de> <003d01d24de6$2114e500$633eaf00$@gmail.com> <20161204194317.GB27711@faui40p.informatik.uni-erlangen.de> Message-ID: 2016-12-04 20:43 GMT+01:00 Toerless Eckert : > How about my question wrt. what is "standards compliant" inside VOB > containers. Especially h264 Definitely defined in some (!) standard. (Our mpegts muxer does not comply to any standard iirc, so please understand the difference between defined and conforming.) >or even h265. That my not be defined, I neither know (nor care much). > Because i am not aware that i've ever seen it being used that > way before (only MPEG2 VOB from DVD). I believe I gave a useful example for h264 in ps in my last email. > My concern is to encode in a container that most likely all those > embedded boxes, china, roku, amazon, etc.. pp would play. What's wrong with mkv? As said above, mpegts muxed with FFmpeg may not be a good idea unless you know what you are doing. Carl Eugen From af at cybernet.lu Mon Dec 5 12:54:38 2016 From: af at cybernet.lu (Armand Fumal) Date: Mon, 5 Dec 2016 10:54:38 +0000 Subject: [FFmpeg-user] ffmpeg problem decoding eac3. In-Reply-To: References: <2584E1ABC3629C4D85A61B8DC4D27297F4D0F642@EXCHANGELU.lu.cybernet.local> Message-ID: <2584E1ABC3629C4D85A61B8DC4D27297F4D0F8FB@EXCHANGELU.lu.cybernet.local> Hi Carl, Thanks for your help. Here is a sample file just created now. http://www.cybernet.lu/download/samples/stream.ts created with: ffmpeg -i udp://@239.2.2.1:6670 -vcodec copy -acodec copy stream.ts thanks Armand -----Message d'origine----- De : ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] De la part de Carl Eugen Hoyos Envoyé : lundi 5 décembre 2016 11:16 À : FFmpeg user questions Objet : Re: [FFmpeg-user] ffmpeg problem decoding eac3. 2016-12-05 10:00 GMT+01:00 Armand Fumal : > I have problem with stream in audio eac3, ffmpeg cannot detect the audio stream correctly. Please provide a sample that allows to reproduce the issue. > How to force it manually instead auto detect? It doesn't look auto-detected... Carl Eugen _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From ceffmpeg at gmail.com Mon Dec 5 13:21:18 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Mon, 5 Dec 2016 12:21:18 +0100 Subject: [FFmpeg-user] ffmpeg problem decoding eac3. In-Reply-To: <2584E1ABC3629C4D85A61B8DC4D27297F4D0F8FB@EXCHANGELU.lu.cybernet.local> References: <2584E1ABC3629C4D85A61B8DC4D27297F4D0F642@EXCHANGELU.lu.cybernet.local> <2584E1ABC3629C4D85A61B8DC4D27297F4D0F8FB@EXCHANGELU.lu.cybernet.local> Message-ID: 2016-12-05 11:54 GMT+01:00 Armand Fumal : > Here is a sample file just created now. > > http://www.cybernet.lu/download/samples/stream.ts > > created with: > ffmpeg -i udp://@239.2.2.1:6670 -vcodec copy -acodec copy stream.ts This makes no sense, the sample you created cannot be used to reproduce your issue. (Not necessarily related: FFmpeg is not meant to record ts streams, better and simpler tools like cat exist.) Please record the udp stream either with mplayer -dumpstream or tools/aviocat or any other tool of your choice. Please do not top-post here, Carl Eugen From lookup69 at gmail.com Mon Dec 5 14:51:23 2016 From: lookup69 at gmail.com (Archer Chang) Date: Mon, 5 Dec 2016 20:51:23 +0800 Subject: [FFmpeg-user] The transcoded file can't see the video played by the JW player which used the VAAPI to transcode file to the FLV format. Message-ID: I use the VAAPI HW ACCEL to transcode file to the FLV format that the command as follows. ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi -hwaccel_output_format vaapi -hwaccel_lax_profile_check -i infile.mkv -vf "format=nv12|vaapi,hwupload" -c:v h264_vaapi -c:a aac -ac 2 -ar 44100 *outfile1.flv* The transcoded file(outfile.flv) only can hear the audio but no video that played by the JW player. But when I transcode the file to the MKV and make the stream copy to the FLV format and this file can be played normally by the JW player. The command as follows. ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi -hwaccel_output_format vaapi -hwaccel_lax_profile_check -i infile.mkv -vf "format=nv12|vaapi,hwupload" -c:v h264_vaapi -c:a aac -ac 2 -ar 44100 outfile.mkv ffmpeg -i outfile.mkv -c:v copy -c:a copy *outfile2.flv* I try to use the flv parser utility to find out the difference between the outfile1.flv and the outfile2.flv. Seems the Video Tag1 were different. the content as follows. outfile1.flv (transcode using the ffmpeg directly with VAAPI) 09 00 00 05 00 00 00 00 00 00 00 17 00 00 00 00 outfile2.flv(mke the stream copy from transcoded file) 09 00 00 30 00 00 00 00 00 00 00 17 00 00 00 00 01 6E 00 28 FF E1 00 1A 67 6E 00 28 A6 CD 94 07 80 22 7E 5C 04 40 00 00 FA 40 00 2E E0 03 C6 0C 65 80 01 00 06 68 EB E3 CB 22 C0 I not familiar with the video transcoding. I trace the flvenc.c seems the par->extradata_size would be 0 when use the VAAPI to transcode the file to the FLV directly, And it has some value which makes stream copy or use SW transcode ffmpeg -i infile.mkv -c:v libx264 -c:a aac -ac 2 -ar 44100 *outfile.flv (can be played normally by JW Player)* Is it a bug of the ffmpeg? Regards, Archer Chang From ceffmpeg at gmail.com Mon Dec 5 14:59:05 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Mon, 5 Dec 2016 13:59:05 +0100 Subject: [FFmpeg-user] The transcoded file can't see the video played by the JW player which used the VAAPI to transcode file to the FLV format. In-Reply-To: References: Message-ID: 2016-12-05 13:51 GMT+01:00 Archer Chang : > I use the VAAPI HW ACCEL to transcode file to the FLV format that the > command as follows. > > ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi > -hwaccel_output_format vaapi -hwaccel_lax_profile_check > -i infile.mkv -vf "format=nv12|vaapi,hwupload" -c:v h264_vaapi > -c:a aac -ac 2 -ar 44100 *outfile1.flv* Does it work if you use libx264 instead? Please (test current FFmpeg git head and) provide the failing command line together with the complete, uncut console output. Carl Eugen From tte at cs.fau.de Mon Dec 5 16:59:09 2016 From: tte at cs.fau.de (Toerless Eckert) Date: Mon, 5 Dec 2016 15:59:09 +0100 Subject: [FFmpeg-user] .vob output versus .mpg output versus .dvd output (?) In-Reply-To: References: <46185.1480895481@segfault.tristatelogic.com> Message-ID: <20161205145909.GC27711@faui40p.informatik.uni-erlangen.de> On Mon, Dec 05, 2016 at 11:34:42AM +0100, Carl Eugen Hoyos wrote: > I have absolutely no issue whatsoever with Mediainfo but please note > that (among the thousands of reports I worked on) I do not remember a > single report or user question for which Mediainfo helped in any way. > (FFmpeg command line and console output are nearly always required, > especially when a user thinks that the issue is "obvious" or similar.) Wrt to being helpfull, maybe one example coming to mind: I am seeing mediainfo telling me "Scan Type: [MBAFF/progressive/interlaced]". I have been unable to figure out the scan type difference between MBAFF and interlaced from the output of ffprobe or another ffmpeg tool. How would i do that ? (If i remember correctly, ffmpeg interlaced encoded files are declared to be MBAFF, and files encoded with 1.2.1 mplayer are declared interlaced). Toerless > Carl Eugen > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From sw at jkqxz.net Mon Dec 5 17:52:29 2016 From: sw at jkqxz.net (Mark Thompson) Date: Mon, 5 Dec 2016 15:52:29 +0000 Subject: [FFmpeg-user] The transcoded file can't see the video played by the JW player which used the VAAPI to transcode file to the FLV format. In-Reply-To: References: Message-ID: <879b918e-262c-4c8e-beb2-ca8b750f79b9@jkqxz.net> On 05/12/16 12:51, Archer Chang wrote: > I use the VAAPI HW ACCEL to transcode file to the FLV format that the > command as follows. > > ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi > -hwaccel_output_format vaapi -hwaccel_lax_profile_check -i infile.mkv -vf > "format=nv12|vaapi,hwupload" -c:v h264_vaapi -c:a aac -ac 2 -ar 44100 > *outfile1.flv* > > The transcoded file(outfile.flv) only can hear the audio but no video that > played by the JW player. But when I transcode the file to the MKV and make > the stream copy to the FLV format and > this file can be played normally by the JW player. The command as follows. > > ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi > -hwaccel_output_format vaapi -hwaccel_lax_profile_check -i infile.mkv -vf > "format=nv12|vaapi,hwupload" -c:v h264_vaapi -c:a aac -ac 2 -ar 44100 > outfile.mkv > ffmpeg -i outfile.mkv -c:v copy -c:a copy *outfile2.flv* > > I try to use the flv parser utility to find out the difference between the > outfile1.flv and the outfile2.flv. > Seems the Video Tag1 were different. the content as follows. > > outfile1.flv (transcode using the ffmpeg directly with VAAPI) > 09 00 00 05 00 00 00 00 00 00 00 17 00 00 00 00 > > outfile2.flv(mke the stream copy from transcoded file) > 09 00 00 30 00 00 00 00 00 00 00 17 00 00 00 00 > 01 6E 00 28 FF E1 00 1A 67 6E 00 28 A6 CD 94 07 > 80 22 7E 5C 04 40 00 00 FA 40 00 2E E0 03 C6 0C > 65 80 01 00 06 68 EB E3 CB 22 C0 > > I not familiar with the video transcoding. I trace the flvenc.c seems the > par->extradata_size would be 0 when use the VAAPI to transcode the file to > the FLV directly, > And it has some value which makes stream copy or use SW transcode > > ffmpeg -i infile.mkv -c:v libx264 -c:a aac -ac 2 -ar 44100 *outfile.flv > (can be played normally by JW Player)* Is this JW player something which can only play streams with global headers, then? If so, try applying and see if it works. (This is on the assumption that you are using a packed-header VAAPI driver like i965, if you are using a whole-stream driver like mesa/gallium then it isn't really fixable.) - Mark From tte at cs.fau.de Mon Dec 5 18:56:37 2016 From: tte at cs.fau.de (Toerless Eckert) Date: Mon, 5 Dec 2016 17:56:37 +0100 Subject: [FFmpeg-user] FFmpeg-user] VOB, DV, AVI, TS... In-Reply-To: References: <20161204041527.GA27711@faui40p.informatik.uni-erlangen.de> Message-ID: <20161205165636.GD27711@faui40p.informatik.uni-erlangen.de> On Sun, Dec 04, 2016 at 10:00:24AM +0100, Carl Eugen Hoyos wrote: > 2016-12-04 5:15 GMT+01:00 Toerless Eckert : > > I am trying to encode TV recordings into the "best" container format, > > where "best" means that the video has changing aspect ratio, eg: > > some segments 16:3 then 4:3, then back to 16:9. > > Then simply keep your ts recordings, they are for sure the "best" > recordings by all means. > > TS plays back correctly with all players - ffplay, kodi, vlic, mplayer, > > but TS has aout 10% overhead over all the other containers in > > my experience. > > Of course, it is meant for lossy transmission. hmm.. Is it really redundancy or just the ability to quickly sync to a channel after channel changing in a broadcast system ? How about a nerd knob in ffmpeg "encode TS with any form of redundancy redundancy minimized. Aka: drop from encoding anything that could also drop in transmission without visual experience loss. > (TS and MPEG2 TS are the same.) > This seems to imply that you know of other formats supporting > aspect change that are not supported by FFmpeg. No, just PS/TS/AVI and i've tried to figure out if mp4/mkv support it, and the seeming asnwer is "no". > > Only mplayer can correctly play back aspect changes with AVI, > > kodi, ffplay, vlc all just play back with the initial aspect ratio. > > The reason may be that aspect ratio change in avi is not well > specified. Yeah.... how do i compare a badly documented Microsoft format that does support what i want with a probably much better specified open source format (matroska) that seemingly does not do what i want ;-)) > > The PS files created with "-f vob" or "-f dvd" in ffmpeg have about > > the same size as avi and are correctly played back with AR changes > > by ffplay, vlc, kodi. The versions of mplayer i tried only plays back > > mpeg2 video in PS, not h264. Alas, i have some important apps that > > leverage mplayer. > > This should work with -demuxer lavf but it seems that the usual h264 > timestamp problem hits us. http://grouper.ieee.org/groups/1722/contributions/2015/IEEE1722_H264_Timestamps.pdf ? > > - how "standards" compliant is it actually to encode h264 into vob/PS > > files. As in: i'd feel a lot safer if i'd know that my encoding > > was standard compliant and mplayer has a bug than if mplayer is > > right, and all the other players are just very forgiving. > > After all, h264 seems to only exist in Blu Ray and those seem to > > use TS, not PS... > > This question makes no sense imo (you already forgot dvdhd) but ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > in any case, keep your recordings. Sorry, trying to parse. was my question confusingly written ? Forget standards: companies that build media players will make them try to play back whatever the feel is sufficiently often used that enough customers would want to use it. I am not aware that any commercial media creates h264 inside MPEG-2 PS as their file format. If DVD-HD was doing that, that would be interesting, but alas not very relevant today. Cheers Toerless > > Carl Eugen > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". -- --- tte at cs.fau.de From archerchang at qnap.com Mon Dec 5 17:39:19 2016 From: archerchang at qnap.com (Archer Chang) Date: Mon, 5 Dec 2016 23:39:19 +0800 Subject: [FFmpeg-user] The transcoded file can't see the video played by the JW player which used the VAAPI to transcode file to the FLV format. In-Reply-To: References: Message-ID: Hi Carl, It can be played normally by the JW Player, if using the libx264 instead of the h264_vaapi. Failing command(only can hear the sound but no video) root at Lucy:~$ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi -hwaccel_output_format vaapi -hwaccel_lax_profile_check -i bbb_sunflower_1080p_30fps_normal.mp4 -vf "format=nv12|vaapi,hwupload" -c:v h264_vaapi -c:a aac -ac 2 -ar 44100 -t 60 -f flv vaapi.mp4.to.flv ffmpeg version 3.2.git Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3) configuration: --prefix=/opt/cdx --enable-gpl --enable-version3 --enable-nonfree --enable-shared --disable-nvenc --enable-vaapi --enable- libass --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libwavpack libavutil 55. 41.101 / 55. 41.101 libavcodec 57. 66.109 / 57. 66.109 libavformat 57. 58.101 / 57. 58.101 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 libva info: VA-API version 0.39.3 libva info: va_getDriverName() returns 0 libva info: Trying to open /opt/cdx/lib/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_39 libva info: va_openDriver() returns 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'bbb_sunflower_1080p_30fps_normal. mp4': Metadata: major_brand : isom minor_version : 1 compatible_brands: isomavc1 creation_time : 2013-12-16T17:44:39.000000Z title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net genre : Animation composer : Sacha Goedegebure Duration: 00:10:34.53, start: 0.000000, bitrate: 3481 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 2998 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default) Metadata: creation_time : 2013-12-16T17:44:39.000000Z handler_name : GPAC ISO Video Handler Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 160 kb/s (default) Metadata: creation_time : 2013-12-16T17:44:42.000000Z handler_name : GPAC ISO Audio Handler Stream #0:2(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 320 kb/s (default) Metadata: creation_time : 2013-12-16T17:44:42.000000Z handler_name : GPAC ISO Audio Handler Side data: audio service type: main File 'vaapi.mp4.to.flv' already exists. Overwrite ? [y/N] y Output #0, flv, to 'vaapi.mp4.to.flv': Metadata: major_brand : isom minor_version : 1 compatible_brands: isomavc1 composer : Sacha Goedegebure title : Big Buck Bunny, Sunflower version artist : Blender Foundation 2008, Janus Bager Kristensen 2013 comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net genre : Animation encoder : Lavf57.58.101 Stream #0:0(und): Video: h264 (h264_vaapi) (High) ([7][0][0][0] / 0x0007), vaapi_vld, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 30 fps, 1k tbn, 30 tbc (default) Metadata: creation_time : 2013-12-16T17:44:39.000000Z handler_name : GPAC ISO Video Handler encoder : Lavc57.66.109 h264_vaapi Stream #0:1(und): Audio: aac (LC) ([10][0][0][0] / 0x000A), 44100 Hz, stereo, fltp, 128 kb/s (default) Metadata: creation_time : 2013-12-16T17:44:42.000000Z handler_name : GPAC ISO Audio Handler encoder : Lavc57.66.109 aac Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_vaapi)) Stream #0:2 -> #0:1 (ac3 (native) -> aac (native)) Press [q] to stop, [?] for help [h264 @ 0x6ba8e0] Hardware accelerated decoding with frame threading is known to be unstable and its use is discouraged. Input stream #0:0 frame changed from size:1920x1080 fmt:yuv420p to size:1920x1080 fmt:vaapi_vld frame= 1798 fps= 65 q=-0.0 Lsize= 69354kB time=00:01:00.00 bitrate=9469.0kbits/s speed=2.17x video:68331kB audio:945kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.113605% [aac @ 0x73b0e0] Qavg: 447.803 By the way, Might I ask a question? What is the difference between ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi *-hwaccel_output_format vaapi* -hwaccel_lax_profile_check -i infile -vf "format=nv12|*vaapi*,hwupload" -c:v h264_vaapi outfile and ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi -hwaccel_lax_profile_check -i infile -vf "format=nv12,hwupload" -c:v h264_vaapi outfile Seems the transcoding speed is slow if the command without the -hwaccel_output_format vaapi parameter. Regards, Archer Chang 2016-12-05 20:59 GMT+08:00 Carl Eugen Hoyos : > 2016-12-05 13:51 GMT+01:00 Archer Chang : > > I use the VAAPI HW ACCEL to transcode file to the FLV format that the > > command as follows. > > > > ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi > > -hwaccel_output_format vaapi -hwaccel_lax_profile_check > > -i infile.mkv -vf "format=nv12|vaapi,hwupload" -c:v h264_vaapi > > -c:a aac -ac 2 -ar 44100 *outfile1.flv* > > Does it work if you use libx264 instead? > Please (test current FFmpeg git head and) provide the failing command line > together with the complete, uncut console output. > > Carl Eugen > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From archerchang at qnap.com Mon Dec 5 19:37:48 2016 From: archerchang at qnap.com (Archer Chang) Date: Tue, 6 Dec 2016 01:37:48 +0800 Subject: [FFmpeg-user] The transcoded file can't see the video played by the JW player which used the VAAPI to transcode file to the FLV format. In-Reply-To: <879b918e-262c-4c8e-beb2-ca8b750f79b9@jkqxz.net> References: <879b918e-262c-4c8e-beb2-ca8b750f79b9@jkqxz.net> Message-ID: Hi Mark, It works with the applying The JW player seem can only play streams with global headers. Thank you very much. Thanks again Archer Chang 2016-12-05 23:52 GMT+08:00 Mark Thompson : > On 05/12/16 12:51, Archer Chang wrote: > > I use the VAAPI HW ACCEL to transcode file to the FLV format that the > > command as follows. > > > > ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi > > -hwaccel_output_format vaapi -hwaccel_lax_profile_check -i infile.mkv > -vf > > "format=nv12|vaapi,hwupload" -c:v h264_vaapi -c:a aac -ac 2 -ar 44100 > > *outfile1.flv* > > > > The transcoded file(outfile.flv) only can hear the audio but no video > that > > played by the JW player. But when I transcode the file to the MKV and > make > > the stream copy to the FLV format and > > this file can be played normally by the JW player. The command as > follows. > > > > ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi > > -hwaccel_output_format vaapi -hwaccel_lax_profile_check -i infile.mkv > -vf > > "format=nv12|vaapi,hwupload" -c:v h264_vaapi -c:a aac -ac 2 -ar 44100 > > outfile.mkv > > ffmpeg -i outfile.mkv -c:v copy -c:a copy *outfile2.flv* > > > > I try to use the flv parser utility to find out the difference between > the > > outfile1.flv and the outfile2.flv. > > Seems the Video Tag1 were different. the content as follows. > > > > outfile1.flv (transcode using the ffmpeg directly with VAAPI) > > 09 00 00 05 00 00 00 00 00 00 00 17 00 00 00 00 > > > > outfile2.flv(mke the stream copy from transcoded file) > > 09 00 00 30 00 00 00 00 00 00 00 17 00 00 00 00 > > 01 6E 00 28 FF E1 00 1A 67 6E 00 28 A6 CD 94 07 > > 80 22 7E 5C 04 40 00 00 FA 40 00 2E E0 03 C6 0C > > 65 80 01 00 06 68 EB E3 CB 22 C0 > > > > I not familiar with the video transcoding. I trace the flvenc.c seems the > > par->extradata_size would be 0 when use the VAAPI to transcode the file > to > > the FLV directly, > > And it has some value which makes stream copy or use SW transcode > > > > ffmpeg -i infile.mkv -c:v libx264 -c:a aac -ac 2 -ar 44100 > *outfile.flv > > (can be played normally by JW Player)* > > Is this JW player something which can only play streams with global > headers, then? > > If so, try applying 0cf86fabfa5820596cca2cfead63c6f8df76c3f2> and see if it works. > > (This is on the assumption that you are using a packed-header VAAPI driver > like i965, if you are using a whole-stream driver like mesa/gallium then it > isn't really fixable.) > > - Mark > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > From dan at idomoo.com Sun Dec 4 10:01:54 2016 From: dan at idomoo.com (Dan Shamir) Date: Sun, 4 Dec 2016 10:01:54 +0200 Subject: [FFmpeg-user] ffmpeg reading from pipe selecting frames Message-ID: hi here is my problem im reading raw nv12 frames from a pipe with this command: ffmpeg -f rawvideo -pixel_format nv12 -s 1280x720 -i ppp -ss 0 -t 1 -f rawvideo -pixel_format nv12 -s 1280x720 -i ppp -ss 3 -t 1 -c:v libx264 -bf 2 -refs 4 -qmin 25 -qmax 25 -movflags +faststart -c:a aac -r 25 -g 25 -f mp4 xxx.mp4 im trying to read 1 sec of frames and then read more from sec 3 to 4 ffmpe seems to close the pipe or stop on the firts input any way to tell ffmpe to read and use onely selected parts from multiple inputs or event the same pipe? example: writing 100 frames to pipe first input is frames from 0-10 and then seconde input is 20-30 and get an mp4 with 20 frames total? any help please? -- Dan shamir Director of Graphic Technology *dan at idomoo.com * [image: idomoo_logo_moving people NEW email signature] -- *This email and any files transmitted with it contain information from Idomoo which may be privileged and confidential and intended solely for the use of the addressee. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is strictly prohibited; please notify us immediately by* *an **email reply and delete it from your system. Idomoo accepts no liability for any personal views or opinions expressed in this email. Email transmission cannot be guaranteed to be secure or error-free. Idomoo therefore is not liable for any errors or omissions in the contents of this message, which arise as a result of email transmission.* -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 4417 bytes Desc: not available URL: From looxonline at gmail.com Mon Dec 5 20:38:50 2016 From: looxonline at gmail.com (luke harrison) Date: Mon, 5 Dec 2016 20:38:50 +0200 Subject: [FFmpeg-user] Sync video and audio after using complex filters to blend two files Message-ID: Hi, I have an application where I am using FFMPEG to automatically edit and add to a highly predictably daily program. I start with a raw file which I then run an analysis on and determine where the start and end points are. I then cut that file using a simple copy command. I then want to merge the cut file with an introduction by blending the one into the other. The introduction does not have any audio but the cut file does. After blending them I need to get the audio from the cut file (which has been pushed forward by 11s in the blended file) and re-sync it with the blended file. For additional clarity the steps and commands that I use are below. My ultimate question is listed at the bottom. Thanks to anyone who can help in advance. Once my algorithm has identified the start and stop points I cut it using the following command. ffmpeg -i $(ls -t /Users/broadcastingza/Desktop/MorningWorshipRaw/*.MP4 | head -1) -ss ${opentime} -to ${closetime} -c:v copy -c:a copy main_file.mp4 -y Next I want to add an introduction to the file. The introduction is made up of images which are turned into videos. The following commands create the introduction. ffmpeg -framerate 1/10 -i frames/temp3.jpg -c:v libx264 -profile:v main -preset slow -b:v 1200k -vsync 1 -r 25 -pix_fmt yuv420p -s 1280x960 intro.mp4 -y ffmpeg -framerate 1/3 -i frames/black.jpeg -c:v libx264 -profile:v main -preset slow -b:v 1200k -vsync 1 -r 25 -pix_fmt yuv420p -s 1280x960 black.mp4 -y ffmpeg -i black.mp4 -i intro.mp4 -f lavfi -i color=black -filter_complex "[0:v]format=pix_fmts=yuva420p,fade=t=out:st=2:d=1:alpha=1,setpts=PTS-STARTPTS[va0];[1:v]format=pix_fmts=yuva420p,fade=t=in:st=0:d=1:alpha=1,setpts=PTS-STARTPTS+2/TB[va1];[2:v]scale=1280x960,trim=duration=12[over];[over][va0]overlay[over1];[over1][va1]overlay=format=yuv420[outv]" -vcodec libx264 -s 1280x960 -r 25 -vsync 1 -crf 18 -map [outv] introblend.mp4 -y The introduction is a blended composite made up of a 3s black intro overplayed on top of another 10s video. It changes dynamically each day and therefore has to be created each day. There is no audio at all in the introduction video. Once the introduction is complete I blend it and the main file together using the following command: trim=$(echo $closetime - $opentime | bc -l) trim=$(echo $trim + 11 | bc -l) ffmpeg -i introblend.mp4 -i main_file.mp4 -f lavfi -i color=black -filter_complex "[0:v]format=pix_fmts=yuva420p,fade=t=out:st=11:d=1:alpha=1,setpts=PTS-STARTPTS[va0];[1:v]format=pix_fmts=yuva420p,fade=t=in:st=0:d=1:alpha=1,setpts=PTS-STARTPTS+11/TB[va1];[2:v]scale=1280x960,trim=duration=$trim,setpts=PTS-STARTPTS[over];[over][va0]overlay[over1];[over1][va1]overlay=format=yuv420,setpts=PTS-STARTPTS[outv]" -c:v libx264 -crf 18 -r 25 -profile:v main -s 1280x960 -preset ultrafast -vsync 1 -map [outv] blended.mp4 -y This produces a file without any audio (I’ve tried mapping the audio to the output but it results in lost frames at the output for some reason and it still does not solve my audio sync issue). To produce a final file with audio I run the following command: ffmpeg -itsoffset 11 -i main_file.mp4 -i blended.mp4 -map 1:0 -map 0:1 -vcodec copy -acodec copy "final.mp4" -y This command aims to shift the STARTPTS of the main file out by the 11s that the main file is shifted in the blended video and then use the video track from the blended video and the audio track from the shifted video. All good in theory but not so good in practice. I have found that with some videos the sync is out by almost up to 1s throughout the file and with other videos the sync is almost spot on at the end of the process. I thought that it could be due to the various files having different PTS offsets at the start so I checked them all using ffprobe and found that the largest offset was that of the edited “main_file” and it was in the region of 0.009. Please could some kind soul with deeper insight into ffmpeg help me understand why I am not able to achieve sync using this technique and perhaps even suggest a fix/another technique which would allow me to blend two files while still maintaining the audio sync in the second one? Thanks, Luke. From sw at jkqxz.net Mon Dec 5 23:11:19 2016 From: sw at jkqxz.net (Mark Thompson) Date: Mon, 5 Dec 2016 21:11:19 +0000 Subject: [FFmpeg-user] The transcoded file can't see the video played by the JW player which used the VAAPI to transcode file to the FLV format. In-Reply-To: References: <879b918e-262c-4c8e-beb2-ca8b750f79b9@jkqxz.net> Message-ID: On 05/12/16 17:37, Archer Chang wrote: > 2016-12-05 23:52 GMT+08:00 Mark Thompson : >> On 05/12/16 12:51, Archer Chang wrote: >>> I use the VAAPI HW ACCEL to transcode file to the FLV format that the >>> command as follows. >>> >>> ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi >>> -hwaccel_output_format vaapi -hwaccel_lax_profile_check -i infile.mkv >> -vf >>> "format=nv12|vaapi,hwupload" -c:v h264_vaapi -c:a aac -ac 2 -ar 44100 >>> *outfile1.flv* >>> >>> The transcoded file(outfile.flv) only can hear the audio but no video >> that >>> played by the JW player. But when I transcode the file to the MKV and >> make >>> the stream copy to the FLV format and >>> this file can be played normally by the JW player. The command as >> follows. >>> >>> ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi >>> -hwaccel_output_format vaapi -hwaccel_lax_profile_check -i infile.mkv >> -vf >>> "format=nv12|vaapi,hwupload" -c:v h264_vaapi -c:a aac -ac 2 -ar 44100 >>> outfile.mkv >>> ffmpeg -i outfile.mkv -c:v copy -c:a copy *outfile2.flv* >>> >>> I try to use the flv parser utility to find out the difference between >> the >>> outfile1.flv and the outfile2.flv. >>> Seems the Video Tag1 were different. the content as follows. >>> >>> outfile1.flv (transcode using the ffmpeg directly with VAAPI) >>> 09 00 00 05 00 00 00 00 00 00 00 17 00 00 00 00 >>> >>> outfile2.flv(mke the stream copy from transcoded file) >>> 09 00 00 30 00 00 00 00 00 00 00 17 00 00 00 00 >>> 01 6E 00 28 FF E1 00 1A 67 6E 00 28 A6 CD 94 07 >>> 80 22 7E 5C 04 40 00 00 FA 40 00 2E E0 03 C6 0C >>> 65 80 01 00 06 68 EB E3 CB 22 C0 >>> >>> I not familiar with the video transcoding. I trace the flvenc.c seems the >>> par->extradata_size would be 0 when use the VAAPI to transcode the file >> to >>> the FLV directly, >>> And it has some value which makes stream copy or use SW transcode >>> >>> ffmpeg -i infile.mkv -c:v libx264 -c:a aac -ac 2 -ar 44100 >> *outfile.flv >>> (can be played normally by JW Player)* >> >> Is this JW player something which can only play streams with global >> headers, then? >> >> If so, try applying > 0cf86fabfa5820596cca2cfead63c6f8df76c3f2> and see if it works. >> >> (This is on the assumption that you are using a packed-header VAAPI driver >> like i965, if you are using a whole-stream driver like mesa/gallium then it >> isn't really fixable.) > > Hi Mark, > > It works with the applying 0cf86fabfa5820596cca2cfead63c6f8df76c3f2> > The JW player seem can only play streams with global headers. > > Thank you very much. > > Thanks again > Archer Chang Merged as below. Thanks, - Mark On 05/12/16 21:09, Mark Thompson wrote: > ffmpeg | branch: master | Mark Thompson | Sun Oct 2 08:48:34 2016 +0100| [51020adcecf4004c1586a708d96acc6cbddd050a] | committer: Mark Thompson > > vaapi_encode: Write sequence header as extradata > > Only works if packed headers are supported, where we can know the > output before generating the first frame. > > (cherry picked from commit 0cf86fabfa5820596cca2cfead63c6f8df76c3f2) > >> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=51020adcecf4004c1586a708d96acc6cbddd050a > --- > > libavcodec/vaapi_encode.c | 22 ++++++++++++++++++++++ > libavcodec/vaapi_encode.h | 2 ++ > 2 files changed, 24 insertions(+) > > diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c > index 262968a..a3c9991 100644 > --- a/libavcodec/vaapi_encode.c > +++ b/libavcodec/vaapi_encode.c > @@ -1405,6 +1405,28 @@ av_cold int ff_vaapi_encode_init(AVCodecContext *avctx) > // where it actually overlaps properly, though.) > ctx->issue_mode = ISSUE_MODE_MAXIMISE_THROUGHPUT; > > + if (ctx->va_packed_headers & VA_ENC_PACKED_HEADER_SEQUENCE && > + ctx->codec->write_sequence_header) { > + char data[MAX_PARAM_BUFFER_SIZE]; > + size_t bit_len = 8 * sizeof(data); > + > + err = ctx->codec->write_sequence_header(avctx, data, &bit_len); > + if (err < 0) { > + av_log(avctx, AV_LOG_ERROR, "Failed to write sequence header " > + "for extradata: %d.\n", err); > + goto fail; > + } else { > + avctx->extradata_size = (bit_len + 7) / 8; > + avctx->extradata = av_mallocz(avctx->extradata_size + > + AV_INPUT_BUFFER_PADDING_SIZE); > + if (!avctx->extradata) { > + err = AVERROR(ENOMEM); > + goto fail; > + } > + memcpy(avctx->extradata, data, avctx->extradata_size); > + } > + } > + > return 0; > > fail: > diff --git a/libavcodec/vaapi_encode.h b/libavcodec/vaapi_encode.h > index abce6b8..cc05ac8 100644 > --- a/libavcodec/vaapi_encode.h > +++ b/libavcodec/vaapi_encode.h > @@ -235,6 +235,8 @@ typedef struct VAAPIEncodeType { > int slice_header_type; > > // Write the packed header data to the provided buffer. > + // The sequence header is also used to fill the codec extradata > + // when the encoder is starting. > int (*write_sequence_header)(AVCodecContext *avctx, > char *data, size_t *data_len); > int (*write_picture_header)(AVCodecContext *avctx, From nik.gen at gmx.de Mon Dec 5 23:26:57 2016 From: nik.gen at gmx.de (Nikolaus Neusser) Date: Mon, 5 Dec 2016 22:26:57 +0100 Subject: [FFmpeg-user] Missing headers/libraries when crosscompiling ffmpeg Message-ID: Hello everybody, i couldn't find help in other forums, so i am trying your mailing list directly. I get a bunch of missing headers/libraries when*"crosscompiling ffmpeg for the raspberry pi*". I couldn't find those by googling. Can you tell me which packages i need to install? My host is running on debian 8. |atomic.h mbarrier.h windows.h conio.h io.h lzo/lzo1x.h X11/extensions/Xvlib.h CoreServices/CoreServices.h direct.h d3d11.h dxva.h dxva2api.h io.h libcrystalhd/libcrystalhd_if.h mach/mach_time.h net/udplite.h valgrind/valgrind.h vdpau/vdpau.h vdpau/vdpau_x11.h VideoDecodeAcceleration/VDADecoder.h VideoToolbox/VideoToolbox.h X11/extensions/XvMClib.h d3d9.h va/va.h vdpau/vdpau.h linux/videodev.h sys/videoio.h vfw.h dshow.h dev/bktr/ioctl_meteor.h machine/ioctl_meteor.h dev/video/meteor/ioctl_meteor.h dev/ic/bt8xx.h sndio.h soundcard.h va/va.h vdpau/vdpau.h My main configure options are the following: ECFLAGS="-mfpu=vfp -mfloat-abi=hard -mno-apcs-stack-check -mstructure-size-boundary=32 -mno-sched-prolog" ./configure \ --sysroot=$RPI_SYSROOT \ --extra-cflags="$ECFLAGS" \ --enable-cross-compile \ --enable-shared \ --enable-static \ --arch=arm \ --cpu=arm1176jzf-s \ --target-os=linux \ --disable-hwaccels \ --enable-parsers \ --disable-muxers \ --disable-filters \ --disable-encoders \ --disable-devices \ --disable-programs \ --enable-shared \ --disable-doc \ --disable-postproc \ --enable-gpl \ --enable-version3 \ --enable-protocols \ --enable-libsmbclient \ --enable-libssh \ --enable-nonfree \ --enable-openssl \ --enable-pthreads \ --enable-pic \ --disable-armv5te \ --disable-neon \ --enable-armv6t2 \ --enable-armv6 \ --enable-hardcoded-tables \ --disable-runtime-cpudetect \ --disable-debug \ --disable-crystalhd \ --disable-decoder=h264_vda \ --disable-decoder=h264_crystalhd \ --disable-decoder=h264_vdpau \ .. .. etc. .. --disable-decoder=idf \ --disable-decoder=hevc \ --enable-decoder=opus \ --cross-prefix=arm-linux-gnueabihf- \ --prefix=$PWD/ffmpeg_compiled \ --disable-symver \ --pkg-config=pkg-config | Thanks a lot, Nik From nik.gen at gmx.de Mon Dec 5 23:33:24 2016 From: nik.gen at gmx.de (Nikolaus Neusser) Date: Mon, 5 Dec 2016 22:33:24 +0100 Subject: [FFmpeg-user] Missing headers/libraries when crosscompiling ffmpeg In-Reply-To: References: Message-ID: ok, this time with (hopefully) working line breaks. ;-) 1) Missing header files. Can you tell me which packages i need to install? atomic.h mbarrier.h windows.h conio.h io.h lzo/lzo1x.h X11/extensions/Xvlib.h CoreServices/CoreServices.h direct.h d3d11.h dxva.h dxva2api.h io.h libcrystalhd/libcrystalhd_if.h mach/mach_time.h net/udplite.h valgrind/valgrind.h vdpau/vdpau.h vdpau/vdpau_x11.h VideoDecodeAcceleration/VDADecoder.h VideoToolbox/VideoToolbox.h X11/extensions/XvMClib.h d3d9.h va/va.h vdpau/vdpau.h linux/videodev.h sys/videoio.h vfw.h dshow.h dev/bktr/ioctl_meteor.h machine/ioctl_meteor.h dev/video/meteor/ioctl_meteor.h dev/ic/bt8xx.h sndio.h soundcard.h va/va.h vdpau/vdpau.h 2) My main configure options are the following: ECFLAGS="-mfpu=vfp -mfloat-abi=hard -mno-apcs-stack-check -mstructure-size-boundary=32 -mno-sched-prolog" ./configure \ --sysroot=$RPI_SYSROOT \ --extra-cflags="$ECFLAGS" \ --enable-cross-compile \ --enable-shared \ --enable-static \ --arch=arm \ --cpu=arm1176jzf-s \ --target-os=linux \ --disable-hwaccels \ --enable-parsers \ --disable-muxers \ --disable-filters \ --disable-encoders \ --disable-devices \ --disable-programs \ --enable-shared \ --disable-doc \ --disable-postproc \ --enable-gpl \ --enable-version3 \ --enable-protocols \ --enable-libsmbclient \ --enable-libssh \ --enable-nonfree \ --enable-openssl \ --enable-pthreads \ --enable-pic \ --disable-armv5te \ --disable-neon \ --enable-armv6t2 \ --enable-armv6 \ --enable-hardcoded-tables \ --disable-runtime-cpudetect \ --disable-debug \ --disable-crystalhd \ --disable-decoder=h264_vda \ --disable-decoder=h264_crystalhd \ --disable-decoder=h264_vdpau \ --disable-decoder=libstagefright_h264 \ --disable-decoder=vc1_crystalhd \ --disable-decoder=wmv3_crystalhd \ --disable-decoder=wmv3_vdpau \ --disable-decoder=mpeg1_vdpau \ --disable-decoder=mpeg2_crystalhd \ --disable-decoder=mpeg4_crystalhd \ --disable-decoder=mpeg4_vdpau \ --disable-decoder=mpeg_vdpau \ --disable-decoder=mpeg_xvmc \ --disable-decoder=msmpeg4_crystalhd \ --disable-decoder=vc1_vdpau \ --enable-decoder=mpegvideo \ --enable-decoder=mpeg1video \ --enable-decoder=mpeg2video \ --disable-decoder=mvc1 \ --disable-decoder=mvc2 \ --disable-decoder=h261 \ --disable-decoder=h263 \ --disable-decoder=rv10 \ --disable-decoder=rv20 \ --enable-decoder=mjpeg \ --enable-decoder=mjpegb \ --disable-decoder=sp5x \ --disable-decoder=jpegls \ --enable-decoder=mpeg4 \ --disable-decoder=rawvideo \ --disable-decoder=msmpeg4v1 \ .. etc .. --disable-decoder=cpia \ --disable-decoder=bintext \ --disable-decoder=xbin \ --disable-decoder=idf \ --disable-decoder=hevc \ --enable-decoder=opus \ --cross-prefix=arm-linux-gnueabihf- \ --prefix=$PWD/ffmpeg_compiled \ --disable-symver \ --pkg-config=pkg-config NIk Am 05.12.2016 um 22:26 schrieb Nikolaus Neusser: > Hello everybody, > i couldn't find help in other forums, so i am trying your mailing list directly. > I get a bunch of missing headers/libraries when*"crosscompiling ffmpeg for the raspberry pi*". > I couldn't find those by googling. Can you tell me which packages i need to install? My host is running on debian 8. > > |atomic.h mbarrier.h windows.h conio.h io.h lzo/lzo1x.h X11/extensions/Xvlib.h CoreServices/CoreServices.h > direct.h d3d11.h dxva.h dxva2api.h io.h libcrystalhd/libcrystalhd_if.h mach/mach_time.h net/udplite.h > valgrind/valgrind.h vdpau/vdpau.h vdpau/vdpau_x11.h VideoDecodeAcceleration/VDADecoder.h > VideoToolbox/VideoToolbox.h X11/extensions/XvMClib.h d3d9.h va/va.h vdpau/vdpau.h linux/videodev.h sys/videoio.h > vfw.h dshow.h dev/bktr/ioctl_meteor.h machine/ioctl_meteor.h dev/video/meteor/ioctl_meteor.h dev/ic/bt8xx.h > sndio.h soundcard.h va/va.h vdpau/vdpau.h My main configure options are the following: ECFLAGS="-mfpu=vfp > -mfloat-abi=hard -mno-apcs-stack-check -mstructure-size-boundary=32 -mno-sched-prolog" ./configure \ > --sysroot=$RPI_SYSROOT \ --extra-cflags="$ECFLAGS" \ --enable-cross-compile \ --enable-shared \ --enable-static \ > --arch=arm \ --cpu=arm1176jzf-s \ --target-os=linux \ --disable-hwaccels \ --enable-parsers \ --disable-muxers \ > --disable-filters \ --disable-encoders \ --disable-devices \ --disable-programs \ --enable-shared \ --disable-doc > \ --disable-postproc \ --enable-gpl \ --enable-version3 \ --enable-protocols \ --enable-libsmbclient \ > --enable-libssh \ --enable-nonfree \ --enable-openssl \ --enable-pthreads \ --enable-pic \ --disable-armv5te \ > --disable-neon \ --enable-armv6t2 \ --enable-armv6 \ --enable-hardcoded-tables \ --disable-runtime-cpudetect \ > --disable-debug \ --disable-crystalhd \ --disable-decoder=h264_vda \ --disable-decoder=h264_crystalhd \ > --disable-decoder=h264_vdpau \ .. .. etc. .. --disable-decoder=idf \ --disable-decoder=hevc \ > --enable-decoder=opus \ --cross-prefix=arm-linux-gnueabihf- \ --prefix=$PWD/ffmpeg_compiled \ --disable-symver \ > --pkg-config=pkg-config | > > Thanks a lot, > Nik > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From fernando.lopezjr at gmail.com Tue Dec 6 07:48:42 2016 From: fernando.lopezjr at gmail.com (ferdna) Date: Mon, 5 Dec 2016 21:48:42 -0800 (PST) Subject: [FFmpeg-user] How to use global_header, fflags, rtpflags parameter. In-Reply-To: References: Message-ID: <1481003322357-4678491.post@n4.nabble.com> https://en.wikibooks.org/wiki/FFMPEG_An_Intermediate_Guide/Flags_Flags#global_header -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/How-to-use-global-header-fflags-rtpflags-parameter-tp4360715p4678491.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From ceffmpeg at gmail.com Tue Dec 6 12:13:00 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Tue, 6 Dec 2016 11:13:00 +0100 Subject: [FFmpeg-user] Missing headers/libraries when crosscompiling ffmpeg In-Reply-To: References: Message-ID: 2016-12-05 22:33 GMT+01:00 Nikolaus Neusser : > 1) Missing header files. What do you mean with "missing"? How did you create this list of header files that you don't need (and that you don't have)? > Can you tell me which packages i need to install? You cannot install at least some of them, I wonder why you think you need them. > 2) My main configure options are the following: > > > ECFLAGS="-mfpu=vfp -mfloat-abi=hard -mno-apcs-stack-check > -mstructure-size-boundary=32 -mno-sched-prolog" Why is this needed? > --target-os=linux \ Sure? > --disable-... Why are you not using --disable-all? (But see below) > --enable-pic \ Why is this needed? Please understand that while for usage questions, minimal command lines make sense, for build issues, minimal configure lines are needed. Please remember not to top-post here, Carl Eugen From singh.punit1990 at gmail.com Tue Dec 6 12:07:54 2016 From: singh.punit1990 at gmail.com (Puneet Singh) Date: Tue, 6 Dec 2016 15:37:54 +0530 Subject: [FFmpeg-user] unable to convert png to movie, error: Invalid PNG signature , In-Reply-To: References: Message-ID: Hi , While compiling from sources on linux platform ,i set CFLAG/CXXFLAG to -fPIC. For ffmpeg -fPIC is not necessary (as libraries are static). How you were able to detect the image compression format information (jpeg) from the attached image files? Also , i tried ffmpeg -r 1 -vcodec mjpeg -i image%2d.png -vcodec libx264 -pix_fmt yuv420p video.mp4 and i am stuck at: ffmpeg version 3.2.1 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11) configuration: --prefix=/home/apps/FFMPEG/3.2.1/gnu --extra-cflags=-fPIC --extra-cxxflags=-fPIC --enable-libx264 --enable-gpl libavutil 55. 34.100 / 55. 34.100 libavcodec 57. 64.101 / 57. 64.101 libavformat 57. 56.100 / 57. 56.100 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100 Input #0, image2, from 'image%2d.png': Duration: 00:00:00.20, start: 0.000000, bitrate: N/A Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 481x480 [SAR 1:1 DAR 481:480], 25 fps, 25 tbr, 25 tbn, 25 tbc [swscaler @ 0x225d5c0] deprecated pixel format used, make sure you did set range correctly [libx264 @ 0x2248380] *width not divisible by 2* (481x480) Stream mapping: Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264)) Error while opening encoder for output stream #0:0 - *maybe incorrect parameters such as bit_rate, rate, width or height* Thanks & Regards, Puneet On 2 December 2016 at 16:51, Carl Eugen Hoyos wrote: > 2016-12-02 11:22 GMT+01:00 Puneet Singh : > > > I am trying to convert a set of images to a video file. I have tried > > various ffmpeg command options but they all have failed. > > > ffmpeg -r 1 -i image%02d.png > > Since your files are actually jpeg, not png, you have to force the > right decoder: > $ ffmpeg -r 1 -vcodec mjpeg -i image%2d.png > > > --extra-cflags=-fPIC > > Why do you think that this makes sense? > > Please remember that on this mailing list, only current > FFmpeg git head is supported. > > Carl Eugen > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From ceffmpeg at gmail.com Tue Dec 6 12:17:56 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Tue, 6 Dec 2016 11:17:56 +0100 Subject: [FFmpeg-user] unable to convert png to movie, error: Invalid PNG signature , In-Reply-To: References: Message-ID: 2016-12-06 11:07 GMT+01:00 Puneet Singh : > While compiling from sources on linux platform ,i set CFLAG/CXXFLAG to > -fPIC. > For ffmpeg -fPIC is not necessary (as libraries are static). If it is not necessary, don't use it. (If it would not have negative effects, it would likely be the default.) > How you were able to detect the image compression format information (jpeg) > from the attached image files? I used "ffmpeg -i input", but I assume "file input" would also have helped. > Also , i tried > ffmpeg -r 1 -vcodec mjpeg -i image%2d.png -vcodec libx264 -pix_fmt yuv420p > video.mp4 > and i am stuck at: > > ffmpeg version 3.2.1 Copyright (c) 2000-2016 the FFmpeg developers Again: Only current FFmpeg git head is supported here. > built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11) > configuration: --prefix=/home/apps/FFMPEG/3.2.1/gnu --extra-cflags=-fPIC > --extra-cxxflags=-fPIC --enable-libx264 --enable-gpl See above. > [libx264 @ 0x2248380] *width not divisible by 2* (481x480) What is unclear about this message? (Except for the asterisks.) Please remember not to top-post here, Carl Eugen From h.reindl at thelounge.net Tue Dec 6 12:24:54 2016 From: h.reindl at thelounge.net (Reindl Harald) Date: Tue, 6 Dec 2016 11:24:54 +0100 Subject: [FFmpeg-user] unable to convert png to movie, error: Invalid PNG signature , In-Reply-To: References: Message-ID: Am 06.12.2016 um 11:07 schrieb Puneet Singh: > [libx264 @ 0x2248380] *width not divisible by 2* (481x480) 481:480 is the problem hence when we calcultae values for padding in our php wrapper code pieces like below, you won't see that 1 pixel and it don't fail $diff = round($h_target - ($w_target / $vh_source)); if(fmod($diff, 2) <> 0) { $diff = $diff + 1; } $diff_single = $diff / 2; if(fmod($diff_single, 2) <> 0) { $diff_single = $diff_single + 1; } $this->pad_top = $diff_single; From jonathan.girven at trickbook.com Tue Dec 6 13:24:23 2016 From: jonathan.girven at trickbook.com (Jonathan Girven) Date: Tue, 6 Dec 2016 11:24:23 +0000 Subject: [FFmpeg-user] High memory usage when merging videos Message-ID: I use FFmpeg in my Android app to merge videos together. I have compiled an executable file that is run using ProcessBuilder. I am finding that with my recent FFmpeg build (updated FFmpeg and libraries to git master from a 2015 build[1]) the FFmpeg process is now being killed by Android for high memory usage. Is there some way I can log where the memory is being used by FFmpeg? E.g. the frames are being loaded into memory much faster than X complex filter can process them? ffmpeg -y -i new_504c08fa-6c0c-40e3-a59c-93a37d73d364.mp4 -i new_921ff756-bfd9-4ac0-b2fc-15c4d6a46c3d.mp4 -i video_stamp_720.png -f lavfi -i color=black:s=1280x720 -filter_complex [0:v]trim=0.0:14.59,setpts=PTS-STARTPTS[v0_trim0];[0:a]atrim=0.0:14.59,asetpts=PTS-STARTPTS[a0_trim0];[v0_trim0]scale=iw*min(1280/iw\,720/ih):ih*min(1280/iw\,720/ih),pad=1280:720:(ow-iw*min(ow/iw\,oh/ih))/2:(oh-ih*min(ow/iw\,oh/ih))/2,fade=t=in:st=0:d=1.0:alpha=1,fade=t=out:st=13.59:d=1.0:alpha=1,format=pix_fmts=yuva420p[v0];[a0_trim0]afade=t=in:st=0:d=1.0,afade=t=out:st=13.59:d=1.0[a_fade0];aevalsrc=0:d=0.0[na0];[na0][a_fade0]concat=n=2:v=0:a=1[a0];[1:v]trim=0.0:4.65,setpts=PTS-STARTPTS[v1_trim1];[1:a]atrim=0.0:4.65,asetpts=PTS-STARTPTS[a1_trim1];[v1_trim1]scale=iw*min(1280/iw\,720/ih):ih*min(1280/iw\,720/ih),pad=1280:720:(ow-iw*min(ow/iw\,oh/ih))/2:(oh-ih*min(ow/iw\,oh/ih))/2,fade=t=in:st=0:d=1.0:alpha=1,fade=t=out:st=3.65:d=1.0:alpha=1,format=pix_fmts=yuva420p,setpts=expr=PTS-STARTPTS+13.59/TB,fifo[v1];[a1_trim1]afade=t=in:st=0:d=1.0,afade=t=out:st=3.65:d=1.0[a_fade1];aevalsrc=0:d=13.59[na1];[na1][a_fade1]concat=n=2:v=0:a=1[a1];[a0][a1]amix=inputs=2[amixed];aevalsrc=0:d=0[sa0];[sa0][amixed]concat=n=2:v=0:a=1[complete_audio];[complete_audio]volume=1.0[audio_vol];[3:v]trim=duration=18.24[over0];[over0][v0]overlay=eof_action=pass[over1];[over1][v1]overlay=eof_action=pass[over2];[over2][2:v]overlay=0:0,format=yuva420p[over3] -vcodec libx264 -preset faster -map [over3] -map [audio_vol] -c:a libfdk_aac -ac 2 -b:a 128k -strict -2 new_50a51bd8-9a96-4c6c-afb2-95a2e130de89.mp4 ffmpeg version N-82612-g81147b5 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.9 (GCC) 20140827 (prerelease) configuration: --target-os=linux --prefix=/home/jon/workspace/writing-minds-ffmpeg-android/ffmpeg-build/armeabi-v7a --enable-cross-compile --arch=arm --cc=/home/jon/Development/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/jon/Development/android-ndk-r10e/platforms/android-5/arch-arm/ --cross-prefix=/home/jon/Development/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi- --nm=/home/jon/Development/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm --sysroot=/home/jon/Development/android-ndk-r10e/platforms/android-5/arch-arm/ --disable-shared --enable-static --extra-cflags='-I/home/jon/workspace/writing-minds-ffmpeg-android/ffmpeg-build/armeabi-v7a/include -O3 -fPIE -pie -mfloat-abi=softfp -mfpu=vfpv3-d16 -marm -march=armv7-a ' --extra-ldflags='-L/home/jon/workspace/writing-minds-ffmpeg-android/ffmpeg-build/armeabi-v7a/lib -fPIE -pie' --enable-gpl --enable-libfdk-aac --enable-libx264 --enable-jni --enable-mediacodec --enable-nonfree --enable-pic --enable-version3 --enable-zlib --disable-debug --disable-doc --disable-ffplay --disable-ffprobe --disable-ffserver --disable-outdevs --disable-decoders --enable-decoder='mpeg4,aac,h264,mpegvideo,mpeg1video,mpeg2video,png,mjpeg,rawvideo,mp3,pcm_s16le,pcm_u8' --disable-encoders --enable-encoder='mpeg4,aac,h264,libx264,mpeg1video,mpeg2video,png,mjpeg,libfdk_aac,rawvideo,pcm_s16le,wrapped_avframe' --disable-parsers --enable-parser='aac,mpeg4video,ac3,h261,h264,vc1,mpegvideo' --disable-demuxers --enable-demuxer='aac,h264,mpegvideo,m4v,mov,vc1,mp4,concat,image2,mpegts,mp3,pcm_s16le' --disable-muxers --enable-muxer='h264,mpeg1video,mpeg2video,m4v,mov,vc1,md5,mp4,image2,mpegts,segment,null' --disable-filters --enable-filter='aresample,scale,movie,overlay,color,fade,afade,pad,asetpts,amerge,aevalsrc,concat,amix,colorchannelmixer,eq,hue,atempo,hflip,vflip,transpose,volume,anullsrc' libavutil 55. 41.101 / 55. 41.101 libavcodec 57. 66.107 / 57. 66.107 libavformat 57. 58.100 / 57. 58.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 67.100 / 6. 67.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'new_504c08fa-6c0c-40e3-a59c-93a37d73d364.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.58.100 Duration: 00:00:14.62, start: 0.000000, bitrate: 1040 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 891 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 139 kb/s (default) Metadata: handler_name : SoundHandler Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'new_921ff756-bfd9-4ac0-b2fc-15c4d6a46c3d.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.58.100 Duration: 00:00:04.64, start: 0.000000, bitrate: 932 kb/s Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 778 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 119.88 tbc (default) Metadata: handler_name : VideoHandler Stream #1:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 140 kb/s (default) Metadata: handler_name : SoundHandler Input #2, image2, from 'video_stamp_720.png': Duration: 00:00:00.04, start: 0.000000, bitrate: 478 kb/s Stream #2:0: Video: png, pal8(pc), 1280x720, 25 tbr, 25 tbn, 25 tbc Input #3, lavfi, from 'color=black:s=1280x720': Duration: N/A, start: 0.000000, bitrate: N/A Stream #3:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc [libx264 @ 0xb8b01f10] using SAR=1/1 [libx264 @ 0xb8b01f10] using cpu capabilities: ARMv6 NEON [libx264 @ 0xb8b01f10] profile High, level 3.1 [libx264 @ 0xb8b01f10] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=4 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=20 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to 'new_50a51bd8-9a96-4c6c-afb2-95a2e130de89.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.58.100 Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default) Metadata: encoder : Lavc57.66.107 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 Stream #0:1: Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, s16, 128 kb/s (default) Metadata: encoder : Lavc57.66.107 libfdk_aac Stream mapping: Stream #0:0 (h264) -> trim Stream #0:1 (aac) -> atrim Stream #1:0 (h264) -> trim Stream #1:1 (aac) -> atrim Stream #2:0 (png) -> overlay:overlay Stream #3:0 (rawvideo) -> trim format -> Stream #0:0 (libx264) volume -> Stream #0:1 (libfdk_aac) Press [q] to stop, [?] for help frame= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x frame= 4 fps=3.4 q=0.0 size= 0kB time=00:00:00.11 bitrate= 0.0kbits/s speed=0.0988x frame= 7 fps=4.1 q=0.0 size= 0kB time=00:00:00.20 bitrate= 0.0kbits/s speed=0.123x frame= 10 fps=4.5 q=0.0 size= 0kB time=00:00:00.34 bitrate= 0.0kbits/s speed=0.158x frame= 13 fps=4.8 q=0.0 size= 0kB time=00:00:00.46 bitrate= 0.0kbits/s speed=0.171x frame= 16 fps=5.0 q=0.0 size= 0kB time=00:00:00.58 bitrate= 0.0kbits/s speed=0.18x frame= 19 fps=5.1 q=0.0 size= 0kB time=00:00:00.71 bitrate= 0.0kbits/s speed=0.193x frame= 22 fps=5.1 q=0.0 size= 0kB time=00:00:00.81 bitrate= 0.0kbits/s speed=0.19x frame= 25 fps=5.2 q=0.0 size= 0kB time=00:00:00.92 bitrate= 0.0kbits/s speed=0.194x frame= 26 fps=4.0 q=0.0 size= 0kB time=00:00:00.97 bitrate= 0.0kbits/s speed=0.151x frame= 29 fps=4.2 q=0.0 size= 0kB time=00:00:01.11 bitrate= 0.0kbits/s speed=0.16x frame= 32 fps=4.3 q=28.0 size= 10kB time=00:00:01.20 bitrate= 70.0kbits/s speed=0.161x frame= 34 fps=4.2 q=28.0 size= 23kB time=00:00:01.30 bitrate= 145.2kbits/s speed=0.162x frame= 35 fps=4.1 q=28.0 size= 34kB time=00:00:01.34 bitrate= 206.7kbits/s speed=0.158x frame= 37 fps=4.0 q=28.0 size= 59kB time=00:00:01.41 bitrate= 339.1kbits/s speed=0.152x frame= 40 fps=4.0 q=28.0 size= 96kB time=00:00:01.53 bitrate= 514.0kbits/s speed=0.155x frame= 43 fps=4.0 q=28.0 size= 128kB time=00:00:01.64 bitrate= 634.6kbits/s speed=0.152x frame= 47 fps=4.1 q=28.0 size= 170kB time=00:00:01.78 bitrate= 778.7kbits/s speed=0.158x frame= 50 fps=4.0 q=28.0 size= 210kB time=00:00:01.92 bitrate= 893.4kbits/s speed=0.155x frame= 53 fps=4.1 q=28.0 size= 267kB time=00:00:02.04 bitrate=1072.2kbits/s speed=0.157x frame= 55 fps=4.1 q=28.0 size= 299kB time=00:00:02.13 bitrate=1146.5kbits/s speed=0.158x frame= 57 fps=4.1 q=28.0 size= 314kB time=00:00:02.20 bitrate=1167.5kbits/s speed=0.157x frame= 60 fps=4.1 q=28.0 size= 339kB time=00:00:02.34 bitrate=1184.0kbits/s speed=0.161x frame= 62 fps=4.1 q=28.0 size= 358kB time=00:00:02.41 bitrate=1214.4kbits/s speed=0.16x frame= 64 fps=4.1 q=28.0 size= 375kB time=00:00:02.48 bitrate=1235.9kbits/s speed=0.159x frame= 67 fps=4.1 q=28.0 size= 402kB time=00:00:02.60 bitrate=1264.9kbits/s speed=0.16x frame= 69 fps=4.1 q=28.0 size= 412kB time=00:00:02.71 bitrate=1241.1kbits/s speed=0.162x frame= 71 fps=4.1 q=28.0 size= 430kB time=00:00:02.78 bitrate=1263.6kbits/s speed=0.162x frame= 75 fps=4.2 q=28.0 size= 452kB time=00:00:02.92 bitrate=1266.4kbits/s speed=0.164x frame= 78 fps=4.2 q=28.0 size= 471kB time=00:00:03.04 bitrate=1269.5kbits/s speed=0.162x frame= 82 fps=4.2 q=28.0 size= 502kB time=00:00:03.20 bitrate=1283.3kbits/s speed=0.166x frame= 85 fps=4.3 q=28.0 size= 519kB time=00:00:03.34 bitrate=1272.5kbits/s speed=0.168x frame= 88 fps=4.3 q=28.0 size= 541kB time=00:00:03.45 bitrate=1280.4kbits/s speed=0.168x frame= 90 fps=4.2 q=28.0 size= 565kB time=00:00:03.52 bitrate=1312.2kbits/s speed=0.166x frame= 94 fps=4.3 q=28.0 size= 593kB time=00:00:03.69 bitrate=1316.5kbits/s speed=0.169x frame= 96 fps=4.3 q=28.0 size= 603kB time=00:00:03.78 bitrate=1304.4kbits/s speed=0.169x frame= 98 fps=4.3 q=28.0 size= 624kB time=00:00:03.87 bitrate=1319.2kbits/s speed=0.17x frame= 101 fps=4.3 q=28.0 size= 648kB time=00:00:03.97 bitrate=1337.3kbits/s speed=0.169x frame= 103 fps=4.3 q=28.0 size= 661kB time=00:00:04.06 bitrate=1333.1kbits/s speed=0.17x frame= 107 fps=4.4 q=28.0 size= 695kB time=00:00:04.17 bitrate=1361.6kbits/s speed=0.171x frame= 108 fps=4.3 q=28.0 size= 702kB time=00:00:04.24 bitrate=1353.3kbits/s speed=0.17x frame= 111 fps=4.3 q=28.0 size= 719kB time=00:00:04.38 bitrate=1342.6kbits/s speed=0.172x frame= 114 fps=4.4 q=28.0 size= 742kB time=00:00:04.48 bitrate=1355.6kbits/s speed=0.172x frame= 116 fps=4.4 q=28.0 size= 762kB time=00:00:04.59 bitrate=1358.5kbits/s speed=0.173x frame= 118 fps=4.3 q=28.0 size= 776kB time=00:00:04.64 bitrate=1369.2kbits/s speed=0.17x frame= 121 fps=4.4 q=28.0 size= 801kB time=00:00:04.78 bitrate=1372.5kbits/s speed=0.172x frame= 125 fps=4.4 q=28.0 size= 830kB time=00:00:04.89 bitrate=1387.8kbits/s speed=0.173x frame= 126 fps=4.4 q=28.0 size= 836kB time=00:00:04.96 bitrate=1378.1kbits/s speed=0.172x frame= 130 fps=4.4 q=28.0 size= 862kB time=00:00:05.13 bitrate=1376.7kbits/s speed=0.174x frame= 131 fps=4.4 q=28.0 size= 878kB time=00:00:05.17 bitrate=1389.4kbits/s speed=0.173x frame= 133 fps=4.4 q=28.0 size= 896kB time=00:00:05.24 bitrate=1399.4kbits/s speed=0.172x frame= 136 fps=4.4 q=28.0 size= 926kB time=00:00:05.38 bitrate=1408.7kbits/s speed=0.173x frame= 139 fps=4.4 q=28.0 size= 945kB time=00:00:05.50 bitrate=1406.9kbits/s speed=0.174x frame= 141 fps=4.4 q=28.0 size= 956kB time=00:00:05.57 bitrate=1404.6kbits/s speed=0.174x frame= 144 fps=4.4 q=28.0 size= 977kB time=00:00:05.71 bitrate=1401.1kbits/s speed=0.175x frame= 146 fps=4.4 q=28.0 size= 989kB time=00:00:05.78 bitrate=1401.8kbits/s speed=0.174x frame= 149 fps=4.4 q=28.0 size= 1014kB time=00:00:05.89 bitrate=1409.0kbits/s speed=0.175x frame= 151 fps=4.4 q=28.0 size= 1024kB time=00:00:05.96 bitrate=1406.1kbits/s speed=0.174x frame= 153 fps=4.4 q=28.0 size= 1045kB time=00:00:06.06 bitrate=1413.2kbits/s speed=0.172x frame= 157 fps=4.4 q=28.0 size= 1075kB time=00:00:06.22 bitrate=1414.6kbits/s speed=0.174x frame= 160 fps=4.4 q=28.0 size= 1091kB time=00:00:06.33 bitrate=1409.4kbits/s speed=0.174x frame= 163 fps=4.4 q=28.0 size= 1111kB time=00:00:06.45 bitrate=1410.1kbits/s speed=0.175x frame= 166 fps=4.4 q=28.0 size= 1132kB time=00:00:06.57 bitrate=1411.7kbits/s speed=0.175x frame= 167 fps=4.4 q=28.0 size= 1139kB time=00:00:06.61 bitrate=1410.4kbits/s speed=0.174x frame= 171 fps=4.4 q=28.0 size= 1168kB time=00:00:06.78 bitrate=1411.0kbits/s speed=0.176x frame= 173 fps=4.4 q=28.0 size= 1176kB time=00:00:06.84 bitrate=1406.7kbits/s speed=0.175x frame= 175 fps=4.4 q=28.0 size= 1203kB time=00:00:06.94 bitrate=1419.3kbits/s speed=0.175x frame= 179 fps=4.4 q=28.0 size= 1235kB time=00:00:07.08 bitrate=1428.4kbits/s speed=0.176x frame= 180 fps=4.4 q=28.0 size= 1250kB time=00:00:07.15 bitrate=1431.9kbits/s speed=0.175x frame= 183 fps=4.4 q=28.0 size= 1277kB time=00:00:07.26 bitrate=1439.6kbits/s speed=0.176x frame= 186 fps=4.4 q=28.0 size= 1300kB time=00:00:07.36 bitrate=1447.3kbits/s speed=0.175x frame= 189 fps=4.4 q=28.0 size= 1323kB time=00:00:07.50 bitrate=1445.3kbits/s speed=0.176x frame= 192 fps=4.5 q=28.0 size= 1349kB time=00:00:07.61 bitrate=1451.2kbits/s speed=0.177x frame= 195 fps=4.4 q=28.0 size= 1369kB time=00:00:07.73 bitrate=1450.2kbits/s speed=0.176x frame= 198 fps=4.4 q=28.0 size= 1389kB time=00:00:07.84 bitrate=1449.5kbits/s speed=0.176x frame= 201 fps=4.5 q=28.0 size= 1406kB time=00:00:07.96 bitrate=1446.2kbits/s speed=0.177x frame= 203 fps=4.5 q=28.0 size= 1418kB time=00:00:08.05 bitrate=1442.2kbits/s speed=0.177x frame= 207 fps=4.5 q=28.0 size= 1443kB time=00:00:08.21 bitrate=1438.4kbits/s speed=0.177x frame= 210 fps=4.5 q=28.0 size= 1460kB time=00:00:08.35 bitrate=1430.8kbits/s speed=0.178x frame= 213 fps=4.5 q=28.0 size= 1475kB time=00:00:08.45 bitrate=1429.3kbits/s speed=0.178x frame= 216 fps=4.5 q=28.0 size= 1492kB time=00:00:08.56 bitrate=1426.5kbits/s speed=0.178x frame= 218 fps=4.5 q=28.0 size= 1502kB time=00:00:08.66 bitrate=1420.5kbits/s speed=0.178x frame= 222 fps=4.5 q=28.0 size= 1525kB time=00:00:08.80 bitrate=1419.9kbits/s speed=0.179x frame= 225 fps=4.5 q=28.0 size= 1540kB time=00:00:08.93 bitrate=1411.3kbits/s speed=0.18x frame= 227 fps=4.5 q=28.0 size= 1550kB time=00:00:09.03 bitrate=1405.7kbits/s speed=0.18x frame= 230 fps=4.5 q=28.0 size= 1567kB time=00:00:09.12 bitrate=1406.6kbits/s speed=0.179x frame= 234 fps=4.5 q=28.0 size= 1590kB time=00:00:09.28 bitrate=1402.0kbits/s speed=0.18x frame= 237 fps=4.5 q=28.0 size= 1618kB time=00:00:09.40 bitrate=1409.5kbits/s speed=0.18x frame= 238 fps=4.5 q=28.0 size= 1626kB time=00:00:09.45 bitrate=1409.1kbits/s speed=0.179x frame= 242 fps=4.5 q=28.0 size= 1650kB time=00:00:09.61 bitrate=1405.9kbits/s speed=0.18x frame= 245 fps=4.5 q=28.0 size= 1665kB time=00:00:09.72 bitrate=1401.6kbits/s speed=0.18x frame= 249 fps=4.6 q=28.0 size= 1685kB time=00:00:09.89 bitrate=1395.7kbits/s speed=0.181x frame= 252 fps=4.6 q=28.0 size= 1700kB time=00:00:10.00 bitrate=1391.9kbits/s speed=0.181x frame= 255 fps=4.6 q=28.0 size= 1710kB time=00:00:10.12 bitrate=1383.9kbits/s speed=0.181x frame= 258 fps=4.6 q=28.0 size= 1725kB time=00:00:10.24 bitrate=1379.6kbits/s speed=0.181x frame= 261 fps=4.6 q=28.0 size= 1738kB time=00:00:10.37 bitrate=1371.9kbits/s speed=0.182x frame= 265 fps=4.6 q=28.0 size= 1757kB time=00:00:10.54 bitrate=1365.0kbits/s speed=0.182x frame= 268 fps=4.6 q=28.0 size= 1781kB time=00:00:10.65 bitrate=1369.3kbits/s speed=0.182x frame= 270 fps=4.6 q=28.0 size= 1803kB time=00:00:10.72 bitrate=1377.1kbits/s speed=0.182x frame= 273 fps=4.6 q=28.0 size= 1825kB time=00:00:10.86 bitrate=1376.1kbits/s speed=0.182x frame= 276 fps=4.6 q=25.0 size= 1853kB time=00:00:10.98 bitrate=1382.2kbits/s speed=0.181x frame= 280 fps=4.6 q=28.0 size= 1878kB time=00:00:11.12 bitrate=1383.4kbits/s speed=0.182x frame= 283 fps=4.6 q=28.0 size= 1929kB time=00:00:11.26 bitrate=1403.6kbits/s speed=0.183x frame= 285 fps=4.6 q=28.0 size= 1945kB time=00:00:11.33 bitrate=1406.4kbits/s speed=0.182x frame= 288 fps=4.6 q=28.0 size= 1958kB time=00:00:11.44 bitrate=1401.2kbits/s speed=0.182x frame= 290 fps=4.6 q=28.0 size= 1975kB time=00:00:11.54 bitrate=1402.1kbits/s speed=0.182x frame= 292 fps=4.6 q=28.0 size= 1985kB time=00:00:11.60 bitrate=1400.3kbits/s speed=0.182x frame= 295 fps=4.6 q=28.0 size= 2003kB time=00:00:11.74 bitrate=1396.7kbits/s speed=0.183x frame= 298 fps=4.6 q=28.0 size= 2028kB time=00:00:11.84 bitrate=1403.2kbits/s speed=0.182x frame= 301 fps=4.6 q=28.0 size= 2043kB time=00:00:11.98 bitrate=1397.0kbits/s speed=0.183x frame= 304 fps=4.6 q=28.0 size= 2059kB time=00:00:12.09 bitrate=1394.3kbits/s speed=0.183x frame= 306 fps=4.6 q=28.0 size= 2066kB time=00:00:12.16 bitrate=1390.9kbits/s speed=0.183x frame= 309 fps=4.6 q=28.0 size= 2085kB time=00:00:12.28 bitrate=1390.8kbits/s speed=0.183x frame= 312 fps=4.6 q=28.0 size= 2106kB time=00:00:12.42 bitrate=1388.7kbits/s speed=0.183x frame= 314 fps=4.6 q=28.0 size= 2130kB time=00:00:12.49 bitrate=1396.8kbits/s speed=0.183x frame= 318 fps=4.6 q=28.0 size= 2152kB time=00:00:12.65 bitrate=1393.0kbits/s speed=0.183x frame= 320 fps=4.6 q=28.0 size= 2168kB time=00:00:12.74 bitrate=1393.1kbits/s speed=0.183x frame= 324 fps=4.6 q=28.0 size= 2195kB time=00:00:12.88 bitrate=1395.0kbits/s speed=0.183x frame= 328 fps=4.6 q=28.0 size= 2215kB time=00:00:13.04 bitrate=1390.3kbits/s speed=0.184x frame= 330 fps=4.6 q=28.0 size= 2232kB time=00:00:13.14 bitrate=1391.0kbits/s speed=0.184x frame= 334 fps=4.6 q=28.0 size= 2257kB time=00:00:13.28 bitrate=1392.1kbits/s speed=0.183x frame= 336 fps=4.6 q=28.0 size= 2267kB time=00:00:13.39 bitrate=1386.2kbits/s speed=0.184x frame= 339 fps=4.6 q=28.0 size= 2290kB time=00:00:13.49 bitrate=1390.5kbits/s speed=0.184x frame= 341 fps=4.6 q=28.0 size= 2304kB time=00:00:13.60 bitrate=1386.9kbits/s speed=0.184x frame= 343 fps=4.6 q=28.0 size= 2314kB time=00:00:13.69 bitrate=1383.6kbits/s speed=0.184x frame= 345 fps=4.6 q=28.0 size= 2328kB time=00:00:13.79 bitrate=1382.6kbits/s speed=0.184x frame= 347 fps=4.6 q=28.0 size= 2335kB time=00:00:13.86 bitrate=1380.0kbits/s speed=0.183x frame= 349 fps=4.6 q=28.0 size= 2349kB time=00:00:13.93 bitrate=1381.2kbits/s speed=0.183x frame= 351 fps=4.6 q=28.0 size= 2357kB time=00:00:14.02 bitrate=1376.6kbits/s speed=0.183x frame= 353 fps=4.6 q=28.0 size= 2366kB time=00:00:14.11 bitrate=1373.1kbits/s speed=0.183x frame= 355 fps=4.6 q=28.0 size= 2379kB time=00:00:14.16 bitrate=1376.0kbits/s speed=0.182x frame= 357 fps=4.6 q=28.0 size= 2395kB time=00:00:14.23 bitrate=1378.2kbits/s speed=0.182x frame= 359 fps=4.6 q=28.0 size= 2414kB time=00:00:14.32 bitrate=1380.1kbits/s speed=0.182x frame= 361 fps=4.6 q=28.0 size= 2424kB time=00:00:14.39 bitrate=1379.1kbits/s speed=0.182x frame= 363 fps=4.5 q=28.0 size= 2443kB time=00:00:14.48 bitrate=1381.1kbits/s speed=0.182x frame= 365 fps=4.5 q=28.0 size= 2455kB time=00:00:14.60 bitrate=1377.2kbits/s speed=0.182x frame= 365 fps=4.5 q=28.0 size= 2455kB time=00:00:14.86 bitrate=1353.5kbits/s speed=0.184x frame= 365 fps=4.5 q=28.0 size= 2455kB time=00:00:15.11 bitrate=1330.7kbits/s speed=0.186x frame= 365 fps=4.5 q=28.0 size= 2455kB time=00:00:15.34 bitrate=1310.5kbits/s speed=0.187x frame= 365 fps=4.4 q=28.0 size= 2455kB time=00:00:15.51 bitrate=1296.8kbits/s speed=0.188x frame= 365 fps=4.4 q=28.0 size= 2455kB time=00:00:15.69 bitrate=1281.4kbits/s speed=0.189x frame= 365 fps=4.4 q=28.0 size= 2455kB time=00:00:15.97 bitrate=1259.1kbits/s speed=0.192x frame= 365 fps=4.3 q=28.0 size= 2455kB time=00:00:16.16 bitrate=1244.6kbits/s speed=0.193x frame= 365 fps=4.3 q=28.0 size= 2455kB time=00:00:16.39 bitrate=1227.0kbits/s speed=0.194x frame= 365 fps=4.3 q=28.0 size= 2455kB time=00:00:16.62 bitrate=1209.9kbits/s speed=0.196x frame= 365 fps=4.3 q=28.0 size= 2455kB time=00:00:16.76 bitrate=1199.8kbits/s speed=0.196x processComplete: 9 I understand that my FFmpeg command does some unnecessary filtering, e.g. scale a 720p video to be 720p, but I didn't think this would be the main cause (maybe I am wrong?). It is in there because the command is automatically generated and is supposed to work with many input videos. Performing the same command as above (2 clips), except without fifo, completed without an error on my test device (Albeit the second clip freezes on an early frame). Doubling everything up to 4 clips, FFmpeg is again killed due to high memory usage. So, some improvement. I can see in dmesg, when the process is killed: <4>[ 9706.743390,3] send sigkill to 26935 (ffmpeg), adj 0, size 114805 Apologies if you have already seen this on SuperUser and were unable to help then. [1]: http://superuser.com/questions/1148520/ffmpeg-crf-compression-slower-on-master-than-old-version From ceffmpeg at gmail.com Tue Dec 6 16:52:21 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Tue, 6 Dec 2016 15:52:21 +0100 Subject: [FFmpeg-user] High memory usage when merging videos In-Reply-To: References: Message-ID: 2016-12-06 12:24 GMT+01:00 Jonathan Girven : > --enable-jni --enable-mediacodec --enable-nonfree I am sure you can confirm that this is not the binary you are shipping, right? Patches are discussed that may improve the memory usage. Carl Eugen From jonathan.girven at trickbook.com Tue Dec 6 17:51:58 2016 From: jonathan.girven at trickbook.com (Jonathan Girven) Date: Tue, 6 Dec 2016 15:51:58 +0000 Subject: [FFmpeg-user] High memory usage when merging videos In-Reply-To: References: Message-ID: > I am sure you can confirm that this is not the binary you are shipping, right? Correct, this is just a binary I am playing around with to see the improvements. It is not being redistributed. "--enable-jni --enable-mediacodec" I was testing because I had heard about MediaCodec support in FFmpeg, but I understand now this isn't used if you compile a binary. It can probably be removed. Why do you point to these? "--enable-nonfree" I understand means it cannot be redistributed. > Patches are discussed that may improve the memory usage. Where can I follow the progress of these? ffmpeg-devel mailing list is best? Otherwise there isn't much I can do to improve my FFmpeg command? From kaotixpro at gmail.com Tue Dec 6 23:17:55 2016 From: kaotixpro at gmail.com (Edgar H) Date: Tue, 6 Dec 2016 22:17:55 +0100 Subject: [FFmpeg-user] Encoding raw data written in real time into vorbis? Message-ID: Hello guys, I have a Java application which writes into a file without extension all the bytes that are read from a given mixer in the system. Those raw bytes should be encoded into a .ogg file so that it can be sent in real time to Icecast and stream it to the net. The fact is that I'm facing problems with this as it's my first time with ffmpeg and I'm quite lost. What I've tried so far are the following things. - Write/overwrite bytes into .au file in 4kb chunks > Encode .au chunk to .ogg and merge all .ogg files in realtime. (It seems that concatenated files don't work in some software). - Write/overwrite raw bytes into file in 4kb chunks > Encode raw chunk file to .ogg and merge all .ogg files in realtime. (The same problem as with the previous approach). And another possible solution that I don't know if it's possible... Writing constantly all the bytes into the file, open ffmpeg in another thread and encode the file which is being written in real time to .ogg? If this isn't possible, how could I solve the concatenation problems? From erikb at mediamods.com Wed Dec 7 15:40:28 2016 From: erikb at mediamods.com (Erik Blankinship) Date: Wed, 7 Dec 2016 08:40:28 -0500 Subject: [FFmpeg-user] get in-time for clips after filter_complex concat In-Reply-To: References: Message-ID: Here is a link to the videos I am using to try and solve this problem: https://www.dropbox.com/sh/a7ia4ssy1dqtupy/AABX-3MoO-QqSiKgQKkkkTOba?dl=0 Also at that link is the python script I use to measure the clips' durations. To recap: I want to concat videos, but blank footage between them, *and* know the *exact* in-time for each video. It would be super if there were a way to make the in-times on a rounded second, but my ffmpeg-fu is not that strong. Help greatly appreciated! On Tue, Nov 29, 2016 at 5:46 PM, Erik Blankinship wrote: > I've concatenated some videos (with audio tracks) together using ffmpeg's > filter_complex. Between each video is a blank video (black with silent > audio). > > #the blank video > ffmpeg -f lavfi -i color=c=black:s={w}x{h}:d={duration} -f lavfi -i aevalsrc=0:c=2:d={duration} {target_file} > #concat the videos > ffmpeg -i b.mp4 -i clip0.mp4 -i clip1.mp4 -i clip2.mp4 -i clip3.mp4 -filter_complex '[1:0] [1:1] [0:0] [0:1] [2:0] [2:1] [0:0] [0:1] [3:0] [3:1] [0:0] [0:1] [4:0] [4:1] concat=n=7:v=1:a=1 [v] [a]' -map '[v]' -map '[a]' argh.mp4 -report > > Once created, the resultant video looks great and sounds great! > > Now I need to know the exact time or frame the videos are inserted into > the output file. > > My attempts to sum up the durations of the clips which were used to make > the output movie often leaves me off by one frame. > > I got the durations for the clips using ffprobe and have tried using the > audio durations, video durations, and the "format" durations. However, > whichever of the clip durations I sum to determine the inpoint of the clip > in the concatenated video is off by ~1 frame for some of the last clips :-/ > > What is the right way to solve this problem? Is there a better way to > construct my video so that I can accurately find the inpoints in the > concatenated video? > > (If it is helpful I can post the videos somewhere). > From anacelia.sarlo at gmail.com Thu Dec 8 03:42:44 2016 From: anacelia.sarlo at gmail.com (Anacelia Sarlo) Date: Wed, 7 Dec 2016 22:42:44 -0300 Subject: [FFmpeg-user] Stop reading m3u8 playlist after network disconnection Message-ID: Hello, I'am trying to send a live stream (m3u8 playlist), delayed some seconds to an udp stream. Sometimes it run ok, except when there is a network disconnection (for about few seconds), where the second ffmpeg hangs, waiting for another entry from play.m3u8 or something else. This is the configuration: The first ffmpeg command to download the stream and generate .ts segments ffmpeg -nostdin -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 1 -i http://xxxx/playlist.m3u8 -c copy -f stream_segment -y -segment_list_flags +live -segment_list_type m3u8 -segment_list play.m3u8 -segment_time 8 -segment_wrap 20 -segment_list_size 20 -segment_format mpegts playtv%02d.ts The second ffmpeg command (delayed 1 minute) to generate the udp stream ffmpeg -nostdin -rw_timeout 10000 -re -itsoffset -0.25 -i play.m3u8 -i play.m3u8 -map 0:0 -map 1:1 -c:v copy -c:a ac3 -b:a 128k -bufsize 40M -f mpegts -mpegts_pmt_start_pid 56 -streamid 0:58 -streamid 1:57 udp:// 192.168.1.144:1234?pkt_size=1316 /dev/null And this the ffmpeg version ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.7 (Debian 4.7.2-5) configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --disable-shared --enable-openssl --enable-gnutls --enable-nonfree libavutil 55. 34.100 / 55. 34.100 libavcodec 57. 64.100 / 57. 64.100 libavformat 57. 56.100 / 57. 56.100 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100 I don't know if this is the correct way to do that, or is there an option, that ends the process after (about some seconds) trying to read the play.m3u8 with no success. Thanks for your suggestions. Regards, Ana From rpmurph83 at gmail.com Thu Dec 8 04:22:27 2016 From: rpmurph83 at gmail.com (Robert Murphy) Date: Wed, 7 Dec 2016 21:22:27 -0500 Subject: [FFmpeg-user] Can't Download FFmpeg For Windows Message-ID: <001c01d250f9$ec4ec630$c4ec5290$@gmail.com> Hi, I am trying to download the latest version of FFmpeg from the official website and when you click on the link you get a HTTP 403 Forbidden message. Is this a bug and when will the link be restored? Thanks. From jd1008 at gmail.com Thu Dec 8 04:40:20 2016 From: jd1008 at gmail.com (jd1008) Date: Wed, 7 Dec 2016 19:40:20 -0700 Subject: [FFmpeg-user] Can't Download FFmpeg For Windows In-Reply-To: <001c01d250f9$ec4ec630$c4ec5290$@gmail.com> References: <001c01d250f9$ec4ec630$c4ec5290$@gmail.com> Message-ID: <5848C814.1080804@gmail.com> I went to ffmpeg.org and am able to download. Can you be more verbose as to the page you tried to download from? On 12/07/2016 07:22 PM, Robert Murphy wrote: > Hi, > > > > I am trying to download the latest version of FFmpeg from the official > website and when you click on the link you get a HTTP 403 Forbidden message. > Is this a bug and when will the link be restored? Thanks. > > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From rpmurph83 at gmail.com Thu Dec 8 05:13:13 2016 From: rpmurph83 at gmail.com (Robert Murphy) Date: Wed, 7 Dec 2016 22:13:13 -0500 Subject: [FFmpeg-user] Can't Download FFmpeg For Windows In-Reply-To: <5848C814.1080804@gmail.com> References: <001c01d250f9$ec4ec630$c4ec5290$@gmail.com> <5848C814.1080804@gmail.com> Message-ID: <002601d25101$03c7f960$0b57ec20$@gmail.com> Thanks for the reply. The link address that is failing is http://ffmpeg.zeranoe.com/builds/ >From ffmpeg.org I go to download and then click on the windows logo for those builds. Not sure if screenshots are accept here. If so I can send one. -----Original Message----- From: ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of jd1008 Sent: Wednesday, December 7, 2016 9:40 PM To: ffmpeg-user at ffmpeg.org Subject: Re: [FFmpeg-user] Can't Download FFmpeg For Windows I went to ffmpeg.org and am able to download. Can you be more verbose as to the page you tried to download from? On 12/07/2016 07:22 PM, Robert Murphy wrote: > Hi, > > > > I am trying to download the latest version of FFmpeg from the official > website and when you click on the link you get a HTTP 403 Forbidden message. > Is this a bug and when will the link be restored? Thanks. > > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From tte at cs.fau.de Thu Dec 8 07:11:27 2016 From: tte at cs.fau.de (Toerless Eckert) Date: Thu, 8 Dec 2016 06:11:27 +0100 Subject: [FFmpeg-user] FFmpeg looses audio sync on broken TS files... mencoder not ; -( Message-ID: <20161208051126.GA9354@faui40p.informatik.uni-erlangen.de> [resending with attachment zipped and stripped to pass the the mailing list size gate] (Still) Trying to encode TS files generated from linux DVB receiver app. Alas, sometimes, the app has the problem of skipping some randomn blocks of data due do buffer overflow - or during rain, LNB SNR goes so much down that blocks do not get decoded correctly. Example recording had errors between ca. 8..11 min into the recording. When playing back after the 11 min mark (when everything is fine again): - Original (MPEG2) TS from DVB receiver app plays fine - Encoded (H.264/MP3) with ffmpeg in TS container plays back fine - Encoded (H.264/MP3) with ffmpeg in AVI container plays back without AVsync: eg: at 11 min mark you hear audio already from 12 min mark. And during the broken segment (8..11 min), you hear less stopping of audio, eg: it goes on continuously - which explains why it's off. - Encoded (H.264/MP3) with mplayer in AVI container plays back fine! - Encoded (H.264/MP3) with ffmpeg in MKV container plays back fine ... but the file seems to have insufficient/missing indices, eg: Kodi can't skip forward into the file (works fine with ffmpeg encodings from non-broken TS files). - Encoded (H.264/MP3) with mplayer in MKV container plays back fine! (and skipping in file as well). I tried the little options for changing sync behavior i thought i understand, but it didn't help: - (none) - -map 0:0,0:0 -map 0:1,0:0 (0:0 is video, 0:1 audio, aka: trying to sync audio from video) - -map 0:0,0:1 -map 0:1,0:1 Any ideas what i could try to do in terms of eg: magic ffmpeg options to make this work in ffmpeg ? Of course, it would be great if it would work in ffmpeg without magic options - like it does in mplayer. Attached example of three .avi encodings with ffmpeg, mencoder and the .TS encoding - followed by the console output of the commands. I don't know how i could provide reasonable useful broken input or output files - the input file is 2GB large, the output files also a couple hundred MBs. Not sure if any small cut would help (and if curring wouldn't change the result). Thanks Toerless -------------- next part -------------- A non-text attachment was scrubbed... Name: console-output.txt.bz2 Type: application/octet-stream Size: 183129 bytes Desc: not available URL: From ceffmpeg at gmail.com Thu Dec 8 11:39:42 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Thu, 8 Dec 2016 10:39:42 +0100 Subject: [FFmpeg-user] FFmpeg looses audio sync on broken TS files... mencoder not ; -( In-Reply-To: <20161208051126.GA9354@faui40p.informatik.uni-erlangen.de> References: <20161208051126.GA9354@faui40p.informatik.uni-erlangen.de> Message-ID: 2016-12-08 6:11 GMT+01:00 Toerless Eckert : > [resending with attachment zipped and stripped to pass the the mailing list size gate] Why is this necessary? Console output typically has 100 - 200 lines, why did you have to compress? [...] > I don't know how i could provide reasonable useful broken input or > output files Please do not provide output files unless specifically asked - they nearly always lead to confusion. > - the input file is 2GB large Do I understand correctly that if you cut the input file in two 1GB samples, both do not allow to reproduce the issue? Carl Eugen From ceffmpeg at gmail.com Thu Dec 8 11:46:42 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Thu, 8 Dec 2016 10:46:42 +0100 Subject: [FFmpeg-user] Can't Download FFmpeg For Windows In-Reply-To: <001c01d250f9$ec4ec630$c4ec5290$@gmail.com> References: <001c01d250f9$ec4ec630$c4ec5290$@gmail.com> Message-ID: 2016-12-08 3:22 GMT+01:00 Robert Murphy : > I am trying to download the latest version of FFmpeg from the official > website Just to avoid any confusion: FFmpeg does not provide any "official" binaries, the FFmpeg project only provides source code (no "products"). Kind people like Zeranoe provide binaries, if something is wrong with their service, please ask on their forum. Carl Eugen From barsnick at gmx.net Thu Dec 8 16:17:32 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Thu, 8 Dec 2016 15:17:32 +0100 Subject: [FFmpeg-user] Encoding raw data written in real time into vorbis? In-Reply-To: References: Message-ID: <20161208141732.GB30611@sunshine.barsnick.net> On Tue, Dec 06, 2016 at 22:17:55 +0100, Edgar H wrote: > I have a Java application which writes into a file without extension all > the bytes that are read from a given mixer in the system. Those raw bytes > should be encoded into a .ogg file so that it can be sent in real time to > Icecast and stream it to the net. You could just pipe these chunks to ffmpeg's stdin: $ whatever_throws_the_chunks | ffmpeg -f s16le -ar 48000 -ac 2 -i - -f ogg rtmp://stream_url > And another possible solution that I don't know if it's possible... Writing > constantly all the bytes into the file, open ffmpeg in another thread and > encode the file which is being written in real time to .ogg? That's basically what I'm suggesting. I don't see the point of encoding individual chunks, just to concatenate them afterwards. The problem with an intermediate file is that if ffmpeg encodes faster than it is filled, ffmpeg will reach EOF and stop. Using a pipe as above or a named pipe is preferable. (Using "-re" as an input option may avoid this.) hope this helps, Moritz From tte at cs.fau.de Thu Dec 8 17:39:29 2016 From: tte at cs.fau.de (Toerless Eckert) Date: Thu, 8 Dec 2016 16:39:29 +0100 Subject: [FFmpeg-user] FFmpeg looses audio sync on broken TS files... mencoder not ; -( In-Reply-To: References: <20161208051126.GA9354@faui40p.informatik.uni-erlangen.de> Message-ID: <20161208153929.GB24835@faui40p.informatik.uni-erlangen.de> On Thu, Dec 08, 2016 at 10:39:42AM +0100, Carl Eugen Hoyos wrote: > 2016-12-08 6:11 GMT+01:00 Toerless Eckert : > > [resending with attachment zipped and stripped to pass the the mailing list size gate] > > Why is this necessary? > Console output typically has 100 - 200 lines, why did you have > to compress? Did you check the file that i attached ? Given how the problem is about errors in the to be encoded, i thought i should leave all the lines of error indications that ffmpeg output during encoding. It could explain to you if/why/how AV gets out of sync. And for the five test runs i provided with different parameters it turned out to be some megabytes of output which is why i had to strip it and compress it. > > - the input file is 2GB large > > Do I understand correctly that if you cut the input file in two 1GB > samples, both do not allow to reproduce the issue? I think i can cut down the input file to < 1 GByte and still allow to reproduce the problem. I just don't know where to upload an eg: 800 MByte file to. Cheers Toerless > Carl Eugen > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". -- --- tte at cs.fau.de From ceffmpeg at gmail.com Thu Dec 8 17:42:05 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Thu, 8 Dec 2016 16:42:05 +0100 Subject: [FFmpeg-user] FFmpeg looses audio sync on broken TS files... mencoder not ; -( In-Reply-To: <20161208153929.GB24835@faui40p.informatik.uni-erlangen.de> References: <20161208051126.GA9354@faui40p.informatik.uni-erlangen.de> <20161208153929.GB24835@faui40p.informatik.uni-erlangen.de> Message-ID: 2016-12-08 16:39 GMT+01:00 Toerless Eckert : > On Thu, Dec 08, 2016 at 10:39:42AM +0100, Carl Eugen Hoyos wrote: >> > - the input file is 2GB large >> >> Do I understand correctly that if you cut the input file in two 1GB >> samples, both do not allow to reproduce the issue? > > I think i can cut down the input file to < 1 GByte and still allow > to reproduce the problem. I just don't know where to upload an > eg: 800 MByte file to. Do I understand correctly that the two 400MB files that you can cut the 800MB file into do not allow to reproduce the issue? Carl Eugen From rpmurph83 at gmail.com Thu Dec 8 18:33:58 2016 From: rpmurph83 at gmail.com (Rob Murphy) Date: Thu, 8 Dec 2016 11:33:58 -0500 Subject: [FFmpeg-user] Can't Download FFmpeg For Windows In-Reply-To: References: <001c01d250f9$ec4ec630$c4ec5290$@gmail.com> Message-ID: <14EF5ED9-1474-4A57-960E-1E9957C215B4@gmail.com> Do you know how I get in touch with them and did you experience the same issue with the link not working? Sent from my iPhone > On Dec 8, 2016, at 4:46 AM, Carl Eugen Hoyos wrote: > > 2016-12-08 3:22 GMT+01:00 Robert Murphy : > >> I am trying to download the latest version of FFmpeg from the official >> website > > Just to avoid any confusion: > FFmpeg does not provide any "official" binaries, the FFmpeg project > only provides source code (no "products"). > > Kind people like Zeranoe provide binaries, if something > is wrong with their service, please ask on their forum. > > Carl Eugen > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From h.reindl at thelounge.net Thu Dec 8 18:56:42 2016 From: h.reindl at thelounge.net (Reindl Harald) Date: Thu, 8 Dec 2016 17:56:42 +0100 Subject: [FFmpeg-user] Can't Download FFmpeg For Windows In-Reply-To: <14EF5ED9-1474-4A57-960E-1E9957C215B4@gmail.com> References: <001c01d250f9$ec4ec630$c4ec5290$@gmail.com> <14EF5ED9-1474-4A57-960E-1E9957C215B4@gmail.com> Message-ID: <403414a5-71eb-1b71-09a8-09baf93e92ae@thelounge.net> Am 08.12.2016 um 17:33 schrieb Rob Murphy: > Do you know how I get in touch with them and did you experience the same issue with the link not working? google "Zeranoe" leads to the first result showing Zeranoe FFmpeg: Builds https://ffmpeg.zeranoe.com/builds/ Forum: https://ffmpeg.zeranoe.com/forum/ is it *really* that hard to operate a webbrowser? >> On Dec 8, 2016, at 4:46 AM, Carl Eugen Hoyos wrote: >> >> 2016-12-08 3:22 GMT+01:00 Robert Murphy : >> >>> I am trying to download the latest version of FFmpeg from the official >>> website >> >> Just to avoid any confusion: >> FFmpeg does not provide any "official" binaries, the FFmpeg project >> only provides source code (no "products"). >> >> Kind people like Zeranoe provide binaries, if something >> is wrong with their service, please ask on their forum From rpmurph83 at gmail.com Thu Dec 8 19:05:51 2016 From: rpmurph83 at gmail.com (Rob Murphy) Date: Thu, 8 Dec 2016 12:05:51 -0500 Subject: [FFmpeg-user] Can't Download FFmpeg For Windows In-Reply-To: <403414a5-71eb-1b71-09a8-09baf93e92ae@thelounge.net> References: <001c01d250f9$ec4ec630$c4ec5290$@gmail.com> <14EF5ED9-1474-4A57-960E-1E9957C215B4@gmail.com> <403414a5-71eb-1b71-09a8-09baf93e92ae@thelounge.net> Message-ID: <657F38AD-BA66-43CB-AE55-DD382F49CA75@gmail.com> Way to be insulting.... As of yesterday and my posting of this topic the link was broken and not accessible. I just tried it and now it works. Sent from my iPhone > On Dec 8, 2016, at 11:56 AM, Reindl Harald wrote: > > > >> Am 08.12.2016 um 17:33 schrieb Rob Murphy: >> Do you know how I get in touch with them and did you experience the same issue with the link not working? > > google "Zeranoe" leads to the first result showing > > Zeranoe FFmpeg: Builds > https://ffmpeg.zeranoe.com/builds/ > > Forum: > https://ffmpeg.zeranoe.com/forum/ > > is it *really* that hard to operate a webbrowser? > >>> On Dec 8, 2016, at 4:46 AM, Carl Eugen Hoyos wrote: >>> >>> 2016-12-08 3:22 GMT+01:00 Robert Murphy : >>> >>>> I am trying to download the latest version of FFmpeg from the official >>>> website >>> >>> Just to avoid any confusion: >>> FFmpeg does not provide any "official" binaries, the FFmpeg project >>> only provides source code (no "products"). >>> >>> Kind people like Zeranoe provide binaries, if something >>> is wrong with their service, please ask on their forum > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From h.reindl at thelounge.net Thu Dec 8 19:14:42 2016 From: h.reindl at thelounge.net (Reindl Harald) Date: Thu, 8 Dec 2016 18:14:42 +0100 Subject: [FFmpeg-user] Can't Download FFmpeg For Windows In-Reply-To: <657F38AD-BA66-43CB-AE55-DD382F49CA75@gmail.com> References: <001c01d250f9$ec4ec630$c4ec5290$@gmail.com> <14EF5ED9-1474-4A57-960E-1E9957C215B4@gmail.com> <403414a5-71eb-1b71-09a8-09baf93e92ae@thelounge.net> <657F38AD-BA66-43CB-AE55-DD382F49CA75@gmail.com> Message-ID: <7d0f8cf2-70d5-50d0-96eb-9189ae52888b@thelounge.net> Am 08.12.2016 um 18:05 schrieb Rob Murphy: > Way to be insulting.... > > As of yesterday and my posting of this topic the link was broken and not accessible. I just tried it and now it works. and you did not try it again *before* your post *today* - why? when they had server troubles the very last thing they need is that every random guy "get in touch with them" - just wait and retry or build from source >> On Dec 8, 2016, at 11:56 AM, Reindl Harald wrote: >> >>> Am 08.12.2016 um 17:33 schrieb Rob Murphy: >>> Do you know how I get in touch with them and did you experience the same issue with the link not working? >> >> google "Zeranoe" leads to the first result showing >> >> Zeranoe FFmpeg: Builds >> https://ffmpeg.zeranoe.com/builds/ >> >> Forum: >> https://ffmpeg.zeranoe.com/forum/ >> >> is it *really* that hard to operate a webbrowser? >> >>>> On Dec 8, 2016, at 4:46 AM, Carl Eugen Hoyos wrote: >>>> >>>> 2016-12-08 3:22 GMT+01:00 Robert Murphy : >>>> >>>>> I am trying to download the latest version of FFmpeg from the official >>>>> website >>>> >>>> Just to avoid any confusion: >>>> FFmpeg does not provide any "official" binaries, the FFmpeg project >>>> only provides source code (no "products"). >>>> >>>> Kind people like Zeranoe provide binaries, if something >>>> is wrong with their service, please ask on their forum From lou at lrcd.com Thu Dec 8 22:51:42 2016 From: lou at lrcd.com (Lou) Date: Thu, 8 Dec 2016 11:51:42 -0900 Subject: [FFmpeg-user] Can't Download FFmpeg For Windows In-Reply-To: <657F38AD-BA66-43CB-AE55-DD382F49CA75@gmail.com> References: <001c01d250f9$ec4ec630$c4ec5290$@gmail.com> <14EF5ED9-1474-4A57-960E-1E9957C215B4@gmail.com> <403414a5-71eb-1b71-09a8-09baf93e92ae@thelounge.net> <657F38AD-BA66-43CB-AE55-DD382F49CA75@gmail.com> Message-ID: <20161208115142.1639114e@jagoff.localdomain> On Thu, 8 Dec 2016 12:05:51 -0500 Rob Murphy wrote: > Way to be insulting.... He's usually like that. Don't take it personally. > I just tried it and now it works. There are some automatic or zombie downloaders abusing the Zeranoe site causing ongoing network transfer issues resulting in the host occasionally suspending the account. From dave at bit.st Wed Dec 7 16:42:16 2016 From: dave at bit.st (David Cecco) Date: Thu, 8 Dec 2016 01:42:16 +1100 Subject: [FFmpeg-user] ffmpeg and handler_name in a mov Message-ID: Hi guys, Is there any way to change the handler_name metadata field in a mov file? I am trying to avoid having a Final Cut Pro message pop up regarding media optimisation. Here is what I am currently trying: ffmpeg -y -i test.mxf -vf setfield=tff -flags +ilme+ildct -map 0:1 -map 0:0 -metadata:s handler_name="Apple Alias Data Handler" -metadata:s encoder="\"Apple ProRes 422 LT\"" -acodec pcm_s16le -vcodec prores_ks -profile:v 1 -copytb -1 test.mov I tried the above with a Matroska file and it worked, I have tried this will the latest source code on git too. Thank you in advance for any help you can offer! /dave. From barsnick at gmx.net Thu Dec 8 23:33:09 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Thu, 8 Dec 2016 22:33:09 +0100 Subject: [FFmpeg-user] ffmpeg and handler_name in a mov In-Reply-To: References: Message-ID: <20161208213309.GA1625@sunshine.barsnick.net> On Thu, Dec 08, 2016 at 01:42:16 +1100, David Cecco wrote: > Is there any way to change the handler_name metadata field in a mov > file? I am trying to avoid having a Final Cut Pro message pop up > regarding media optimisation. Is that field really the only issue? >From what I can tell in the source code, the handler_name cannot be set by the user (but I may be mistaken - it's late). If this is really useful, it might be worth a feature request. Moritz From 14mseesrasool at seecs.edu.pk Fri Dec 9 12:26:01 2016 From: 14mseesrasool at seecs.edu.pk (Syed Hamid Rasool) Date: Fri, 9 Dec 2016 15:26:01 +0500 Subject: [FFmpeg-user] Very high latency of RTMP laptop webcam Message-ID: Hi, I am getting very high latency when I am testing out webcam output: I am entering the command: ffmpeg -rtbufsize *500M* -r 30 -f dshow -s 640x360 -i video="HP Truevision HD" -vcodec *h264* -b:a *300k* -f flv "rtmp://10.3.93.118:1935/transcode/key " ​derived from this post .​ And the rtmp address is NGINX-RTMP server. ​ I have experimented with different options for rtbufsize (100M-5000M), -b:a (200k-1000k) and -vcodec h264 and libx264 with -g option to (keyframe) 50-500. Also even though I have tried setting -b:a option to around 600k, the transmitted rate of produced frames are in the range of 2500-4000 kbps. My webcam outputs are in pix_fmt yuyv422 and mjpeg. I even added -tune zerolatency and -preset ultrafast/basic options but in all cases I am getting 8-10 seconds delay in LOCAL network. Even if you take away 3 seconds default jwplayer buffer (I tried and failed to set it to 0.1 - player disappears), the delay is too much. I am currently using gestures like blocking the camera with hand to estimate delay by viewing the feed on a separate screen so hopefully anyone can provide a proper method to measure it. Thanks . -- Regards, Syed Hamid Rasool From rpmurph83 at gmail.com Fri Dec 9 15:08:21 2016 From: rpmurph83 at gmail.com (Rob Murphy) Date: Fri, 9 Dec 2016 08:08:21 -0500 Subject: [FFmpeg-user] Can't Download FFmpeg For Windows In-Reply-To: <20161208115142.1639114e@jagoff.localdomain> References: <001c01d250f9$ec4ec630$c4ec5290$@gmail.com> <14EF5ED9-1474-4A57-960E-1E9957C215B4@gmail.com> <403414a5-71eb-1b71-09a8-09baf93e92ae@thelounge.net> <657F38AD-BA66-43CB-AE55-DD382F49CA75@gmail.com> <20161208115142.1639114e@jagoff.localdomain> Message-ID: <64D612D2-A029-4193-AE6D-A04D9D253738@gmail.com> Thanks for the heads up. Sent from my iPhone > On Dec 8, 2016, at 3:51 PM, Lou wrote: > > On Thu, 8 Dec 2016 12:05:51 -0500 > Rob Murphy wrote: > >> Way to be insulting.... > > He's usually like that. Don't take it personally. > >> I just tried it and now it works. > > There are some automatic or zombie downloaders abusing the Zeranoe site > causing ongoing network transfer issues resulting in the host > occasionally suspending the account. > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From barsnick at gmx.net Fri Dec 9 15:59:13 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Fri, 9 Dec 2016 14:59:13 +0100 Subject: [FFmpeg-user] Very high latency of RTMP laptop webcam In-Reply-To: References: Message-ID: <20161209135913.GC10381@sunshine.barsnick.net> On Fri, Dec 09, 2016 at 15:26:01 +0500, Syed Hamid Rasool wrote: > ffmpeg -rtbufsize *500M* -r 30 -f dshow -s 640x360 -i video="HP Truevision > HD" -vcodec *h264* -b:a *300k* -f flv "rtmp://10.3.93.118:1935/transcode/key" > Also even though I have tried setting -b:a option to around 600k, the > transmitted rate of produced frames are in the range of 2500-4000 kbps. As noted on StackOverflow, you are trying to set the *audio* bitrate. That won't restrict the video bitrate. Use "-b:v" for video. > I even added -tune zerolatency and -preset ultrafast/basic options but in > all cases I am getting 8-10 seconds delay in LOCAL network. Have you read https://trac.ffmpeg.org/wiki/StreamingGuide#Latency ?? The very first paragraph is certainly of interest: Reduce the size of a GOP (group of pictures), i.e. the interval between I-frames. x264 defaults to 250 (I believe), you may want to use "-g 25" or something like that. And there's an important paragraph in there regarding "-rtbufsize": more buffer means more delay, of course! Please let us know whether this helps. Moritz From ceffmpeg at gmail.com Sat Dec 10 15:12:13 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Sat, 10 Dec 2016 14:12:13 +0100 Subject: [FFmpeg-user] get in-time for clips after filter_complex concat In-Reply-To: References: Message-ID: 2016-11-29 23:46 GMT+01:00 Erik Blankinship : > I've concatenated some videos (with audio tracks) together using ffmpeg's > filter_complex. Between each video is a blank video (black with silent > audio). > > #the blank video > ffmpeg -f lavfi -i color=c=black:s={w}x{h}:d={duration} -f lavfi -i > aevalsrc=0:c=2:d={duration} {target_file} > #concat the videos > ffmpeg -i b.mp4 -i clip0.mp4 -i clip1.mp4 -i clip2.mp4 -i clip3.mp4 > -filter_complex '[1:0] [1:1] [0:0] [0:1] [2:0] [2:1] [0:0] [0:1] [3:0] > [3:1] [0:0] [0:1] [4:0] [4:1] concat=n=7:v=1:a=1 [v] [a]' -map '[v]' > -map '[a]' argh.mp4 -report > > Once created, the resultant video looks great and sounds great! > > Now I need to know the exact time or frame the videos are inserted into the > output file. Doesn't -loglevel verbose add some information about when streams end? Carl Eugen From bouke at videotoolshed.com Sat Dec 10 16:07:54 2016 From: bouke at videotoolshed.com (Bouke / VideoToolShed) Date: Sat, 10 Dec 2016 15:07:54 +0100 Subject: [FFmpeg-user] ffmpeg and handler_name in a mov In-Reply-To: References: Message-ID: > On Dec 7, 2016, at 15:42, David Cecco wrote: > > Is there any way to change the handler_name metadata field in a mov file? I am trying to avoid having a Final Cut Pro message pop up regarding media optimisation. > > Here is what I am currently trying: > > ffmpeg -y -i test.mxf -vf setfield=tff -flags +ilme+ildct -map 0:1 -map 0:0 -metadata:s handler_name="Apple Alias Data Handler" -metadata:s encoder="\"Apple ProRes 422 LT\"" -acodec pcm_s16le -vcodec prores_ks -profile:v 1 -copytb -1 test.mov Hi David, Did you try adding a Reelname & Timecode? (And, a gotcha, don’t forget to quote drop frame timecode…) And / or in combination with faststart. I can’t remember having issues when this was all done. (But it’s some time ago for me…) Bouke From ceffmpeg at gmail.com Sat Dec 10 17:30:18 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Sat, 10 Dec 2016 16:30:18 +0100 Subject: [FFmpeg-user] FFmpeg-user] VOB, DV, AVI, TS... In-Reply-To: <20161205165636.GD27711@faui40p.informatik.uni-erlangen.de> References: <20161204041527.GA27711@faui40p.informatik.uni-erlangen.de> <20161205165636.GD27711@faui40p.informatik.uni-erlangen.de> Message-ID: 2016-12-05 17:56 GMT+01:00 Toerless Eckert : >> > Only mplayer can correctly play back aspect changes with AVI, >> > kodi, ffplay, vlc all just play back with the initial aspect ratio. >> >> The reason may be that aspect ratio change in avi is not well >> specified. > > Yeah.... how do i compare a badly documented Microsoft format that I suspect that the MS specification of avi does not support aspect ratio change, just MEncoder's implementation. > does support what i want with a probably much better specified > open source format (matroska) that seemingly does not do what i want ;-)) Did you verify that this isn't just a bug in FFmpeg? >> > The PS files created with "-f vob" or "-f dvd" in ffmpeg have about >> > the same size as avi and are correctly played back with AR changes >> > by ffplay, vlc, kodi. The versions of mplayer i tried only plays back >> > mpeg2 video in PS, not h264. Alas, i have some important apps that >> > leverage mplayer. >> >> This should work with -demuxer lavf but it seems that the usual h264 >> timestamp problem hits us. > > http://grouper.ieee.org/groups/1722/contributions/2015/IEEE1722_H264_Timestamps.pdf > ? I forgot: Patch (very) welcome, note that the relevant document, H.222, is not easy to implement though. [...] > I am not aware that any commercial media creates h264 inside MPEG-2 PS As said this is not true (not even that you are not aware). Carl Eugen From ceffmpeg at gmail.com Sat Dec 10 17:52:36 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Sat, 10 Dec 2016 16:52:36 +0100 Subject: [FFmpeg-user] ffmpeg reading from pipe selecting frames In-Reply-To: References: Message-ID: 2016-12-04 9:01 GMT+01:00 Dan Shamir : > hi > here is my problem > im reading raw nv12 frames from a pipe with this command: > ffmpeg -f rawvideo -pixel_format nv12 -s 1280x720 -i ppp -ss 0 -t 1 > -f rawvideo -pixel_format nv12 -s 1280x720 -i ppp -ss 3 -t 1 -c:v > libx264 -bf 2 -refs 4 -qmin 25 -qmax 25 -movflags +faststart -c:a aac -r > 25 -g 25 -f mp4 xxx.mp4 I wonder if -r 25 is what you want. Complete, uncut console output missing. > im trying to read 1 sec of frames and then read more from sec 3 to 4 > ffmpe seems to close the pipe or stop on the firts input > any way to tell ffmpe to read and use onely selected parts from multiple > inputs or event the same pipe? Did you try the select filter? > *This email and any files transmitted with it contain information from > Idomoo which may be privileged and confidential Please remove this from emails sent to a public mailing list. Carl Eugen From ceffmpeg at gmail.com Sat Dec 10 17:55:19 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Sat, 10 Dec 2016 16:55:19 +0100 Subject: [FFmpeg-user] .vob output versus .mpg output versus .dvd output (?) In-Reply-To: <20161205145909.GC27711@faui40p.informatik.uni-erlangen.de> References: <46185.1480895481@segfault.tristatelogic.com> <20161205145909.GC27711@faui40p.informatik.uni-erlangen.de> Message-ID: 2016-12-05 15:59 GMT+01:00 Toerless Eckert : > On Mon, Dec 05, 2016 at 11:34:42AM +0100, Carl Eugen Hoyos wrote: >> I have absolutely no issue whatsoever with Mediainfo but please note >> that (among the thousands of reports I worked on) I do not remember a >> single report or user question for which Mediainfo helped in any way. >> (FFmpeg command line and console output are nearly always required, >> especially when a user thinks that the issue is "obvious" or similar.) > > Wrt to being helpfull, maybe one example coming to mind: (I did not claim that Mediainfo isn't helpful, just that I don't remember a question on this mailing list or a bug report where it was helpful.) > I am seeing mediainfo telling me "Scan Type: [MBAFF/progressive/interlaced]". How is "paff and mbaff" signaled? How mixed progressive and mbaff? How mixed paff and progressive? Carl Eugen From brandon at brandonglatz.com Sat Dec 10 13:54:53 2016 From: brandon at brandonglatz.com (Brandon Glatz) Date: Sat, 10 Dec 2016 03:54:53 -0800 Subject: [FFmpeg-user] FFMPEG can not open tcp rstp stream. Nonmatching transport in server reply. Other viewers fine. Message-ID: FFMPEG can not open a tcp rstp stream. Nonmatching transport in server reply. Other viewers fine. Just spent my entire weekend on this, still not working, I know >what< the problem is but not >why< Bought some ultra cheap ptz cams from china (spare me the lecture, I know the quality and other things can connect fine) and plan to use them with zoneminder. Zoneminder uses ffmpeg to read these as they do not work with the built in rtsp. Fine. In ffmpeg however, then run UDP, which after a good portion of a day messing with seems to just not work with ffmpeg reliably. I switched it to tcp, but it wouldn't connect. Hours of messing around later and running ffmpeg on my machine locally, I am to the point where I can open the tcp stream from other software totally fine, however ffmpeg just will not open it and complains about a Nonmatching transport. After exhausing google, I figured up wireshark to see what the heck is going on. The results is captures from ffmpeg, vlc, and a third party rtsp viewer are look identical. Here is a screenshot of the captures side-by-side: http://img.superunicorn.net/i/cwzrmk.png Here is the text of the packets: ******FFMPEG SETUP rtsp://10.0.0.110:554/onvif1/track1 RTSP/1.0 Transport: RTP/AVP/TCP;unicast;interleaved=0-1 CSeq: 3 User-Agent: Lavf55.48.101 RTSP/1.0 200 OK CSeq: 3 Transport: RTP/AVP;unicast;destination=192.168.1.90;source=10.0.0.110;interleaved=0-1 Session: 1dbd7430;timeout=60 ******VLC SETUP rtsp://10.0.0.110:554/onvif1/track1 RTSP/1.0 CSeq: 4 User-Agent: LibVLC/2.1.5 (LIVE555 Streaming Media v2014.05.27) Transport: RTP/AVP/TCP;unicast;interleaved=0-1 RTSP/1.0 200 OK CSeq: 4 Transport: RTP/AVP;unicast;destination=192.168.1.90;source=10.0.0.110;interleaved=0-1 Session: 729e991b;timeout=60 SETUP rtsp://10.0.0.110:554/onvif1/track2 RTSP/1.0 CSeq: 5 User-Agent: LibVLC/2.1.5 (LIVE555 Streaming Media v2014.05.27) Transport: RTP/AVP/TCP;unicast;interleaved=2-3 Session: 729e991b RTSP/1.0 200 OK CSeq: 5 Transport: RTP/AVP;unicast;destination=192.168.1.90;source=10.0.0.110;interleaved=2-3 Session: 729e991b;timeout=60 PLAY rtsp://10.0.0.110:554/onvif1 RTSP/1.0 CSeq: 6 User-Agent: LibVLC/2.1.5 (LIVE555 Streaming Media v2014.05.27) Session: 729e991b Range: npt=0.000- RTSP/1.0 200 OK ******RTSP Viewer SETUP rtsp://10.0.0.110:554/onvif1/track1 RTSP/1.0 CSeq: 3 Transport: RTP/AVP/TCP;unicast;interleaved=0-1 User-Agent: happytimesoft rtsp client RTSP/1.0 200 OK CSeq: 3 Transport: RTP/AVP;unicast;destination=192.168.1.90;source=10.0.0.110;interleaved=0-1 Session: 160f5956;timeout=60 SETUP rtsp://10.0.0.110:554/onvif1/track2 RTSP/1.0 CSeq: 4 Session: 160f5956 Transport: RTP/AVP/TCP;unicast;interleaved=2-3 User-Agent: happytimesoft rtsp client RTSP/1.0 200 OK CSeq: 4 Transport: RTP/AVP;unicast;destination=192.168.1.90;source=10.0.0.110;interleaved=2-3 Session: 160f5956;timeout=60 PLAY rtsp://10.0.0.110:554/onvif1 RTSP/1.0 CSeq: 5 Session: 160f5956 Range: npt=0.0- User-Agent: happytimesoft rtsp client RTSP/1.0 200 OK As you can see, ffmpeg stops after sending the setup command. Here is the console output of ffmpeg as a screenshot: http://img.superunicorn.net/i/kghotz.png and as text: F:\User\Documents\ffmpeg\bin>ffmpeg -f rtsp -rtsp_transport tcp -i "rtsp://10.0.0.110:554/onvif1" ffmpeg version N-64870-g135b1a3 Copyright (c) 2000-2014 the FFmpeg developers built on Jul 21 2014 22:09:49 with gcc 4.8.3 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls - -enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc -- enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable -libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwben c --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-deck link --enable-zlib libavutil 52. 92.101 / 52. 92.101 libavcodec 55. 69.100 / 55. 69.100 libavformat 55. 48.101 / 55. 48.101 libavdevice 55. 13.102 / 55. 13.102 libavfilter 4. 11.102 / 4. 11.102 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 / 0. 19.100 libpostproc 52. 3.100 / 52. 3.100 [rtsp @ 0000000000310820] Nonmatching transport in server reply rtsp://10.0.0.110:554/onvif1: Invalid data found when processing input Looking around on google, there seems to be a lot of results for that error but nothing that really explains /why/ that could be happening. Comparing the request ffmpeg sent with the reply, they are exactly the same as what was requested and the same as what the other programs requested: http://img.superunicorn.net/i/hmgegt.png I looked at the source for ffmpeg to see the relavent lines generating that error to try and understand what exactly it might be having problems with, but I do not quite understand what that is checking. /* Fail if the server responded with another lower transport mode * than what we requested. */ if (reply->transports[0].lower_transport != lower_transport) { av_log(s, AV_LOG_ERROR, "Nonmatching transport in server reply\n"); err = AVERROR_INVALIDDATA; goto fail; } I assume that is checking that it offers what ffmpeg requests, which from the above screenshot seems to be the case? I have been stuck here for a few hours now and have yet to find any solution. Same thing happens with avconv. Am I missing something blatantly obvious here? Any help even a shove in the right direction would be much appreciated. From ceffmpeg at gmail.com Sun Dec 11 00:30:46 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Sat, 10 Dec 2016 23:30:46 +0100 Subject: [FFmpeg-user] FFMPEG can not open tcp rstp stream. Nonmatching transport in server reply. Other viewers fine. In-Reply-To: References: Message-ID: 2016-12-10 12:54 GMT+01:00 Brandon Glatz : > F:\User\Documents\ffmpeg\bin>ffmpeg -f rtsp -rtsp_transport tcp -i > "rtsp://10.0.0.110:554/onvif1" > ffmpeg version N-64870-g135b1a3 Copyright (c) 2000-2014 Please test current FFmpeg git head and report back. Carl Eugen From tte at cs.fau.de Sun Dec 11 05:49:28 2016 From: tte at cs.fau.de (Toerless Eckert) Date: Sun, 11 Dec 2016 04:49:28 +0100 Subject: [FFmpeg-user] .vob output versus .mpg output versus .dvd output (?) In-Reply-To: References: <46185.1480895481@segfault.tristatelogic.com> <20161205145909.GC27711@faui40p.informatik.uni-erlangen.de> Message-ID: <20161211034927.GA17341@faui40p.informatik.uni-erlangen.de> On Sat, Dec 10, 2016 at 04:55:19PM +0100, Carl Eugen Hoyos wrote: > > Wrt to being helpfull, maybe one example coming to mind: > > (I did not claim that Mediainfo isn't helpful, just that I don't > remember a question on this mailing list or a bug report > where it was helpful.) > > > I am seeing mediainfo telling me "Scan Type: [MBAFF/progressive/interlaced]". > > How is "paff and mbaff" signaled? > How mixed progressive and mbaff? > How mixed paff and progressive? I thought i did ask the same thing ;-) Toerless > Carl Eugen > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". -- --- tte at cs.fau.de From jnfo at grauman.com Sun Dec 11 08:21:04 2016 From: jnfo at grauman.com (Joshua Grauman) Date: Sat, 10 Dec 2016 22:21:04 -0800 (PST) Subject: [FFmpeg-user] hyperthreading support Message-ID: Hello all, I am thinking about upgrading my cpu from a Core i5-4690K to a Core i7-4790K. At the same clock speed, will ffmpeg run faster with the i7? Does ffmpeg support hyperthreading or other features of the i7? For reference, here is the command that I want to increase the speed of: ./shm | ffmpeg -f rawvideo -pixel_format bgra -video_size $SIZE -framerate 30 -i - -vcodec utvideo out.avi Thanks! Josh From peterlingoal at gmail.com Sun Dec 11 08:41:25 2016 From: peterlingoal at gmail.com (peterlingoal) Date: Sun, 11 Dec 2016 14:41:25 +0800 Subject: [FFmpeg-user] convert a 3D MXF to various mp4 format Message-ID: Hi All, Could anyone tell me how to convert a 3D MXF file into following formats: 1. two separate mp4 files, left and right channel individually 2. one single mp4, with side by side 3D 3. one single mp4, with frame sequential 3D Thanks! Regards, Peter From onemda at gmail.com Sun Dec 11 09:57:28 2016 From: onemda at gmail.com (Paul B Mahol) Date: Sun, 11 Dec 2016 08:57:28 +0100 Subject: [FFmpeg-user] convert a 3D MXF to various mp4 format In-Reply-To: References: Message-ID: On 12/11/16, peterlingoal wrote: > Hi All, > > Could anyone tell me how to convert a 3D MXF file into following formats: > 1. two separate mp4 files, left and right channel individually > 2. one single mp4, with side by side 3D > 3. one single mp4, with frame sequential 3D Could you provide input 3D MXF file? > > Thanks! > > Regards, > Peter > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From h.reindl at thelounge.net Sun Dec 11 12:00:37 2016 From: h.reindl at thelounge.net (Reindl Harald) Date: Sun, 11 Dec 2016 11:00:37 +0100 Subject: [FFmpeg-user] hyperthreading support In-Reply-To: References: Message-ID: Am 11.12.2016 um 07:21 schrieb Joshua Grauman: > I am thinking about upgrading my cpu from a Core i5-4690K to a Core > i7-4790K. At the same clock speed, will ffmpeg run faster with the i7? > Does ffmpeg support hyperthreading or other features of the i7? there are no other features then HT which are different expect the clock speed - no idea why you are saying "same clock speed" - anyways, HT brings you around 15% and the i7 has larger cches and a higher clock speed combined with HT http://lists.ffmpeg.org/pipermail/ffmpeg-user/2011-March/000081.html http://ark.intel.com/de/products/80811/Intel-Core-i5-4690K-Processor-6M-Cache-up-to-3_90-GHz https://ark.intel.com/de/products/80807/Intel-Core-i7-4790K-Processor-8M-Cache-up-to-4_40-GHz From nik.gen at gmx.de Sun Dec 11 14:37:31 2016 From: nik.gen at gmx.de (Nikolaus Neusser) Date: Sun, 11 Dec 2016 13:37:31 +0100 Subject: [FFmpeg-user] Missing headers/libraries when crosscompiling ffmpeg In-Reply-To: References: Message-ID: <5673b88f-5ed2-3dec-91a8-95094f3a844b@gmx.de> I finally found a few packages, but there are still a lot missing. Does anyone know where i can find the packages for debian? atomic.h mbarrier.h windows.h conio.h io.h lzo/lzo1x.h X11/extensions/Xvlib.h CoreServices/CoreServices.h direct.h d3d11.h dxva.h dxva2api.h io.h libcrystalhd/libcrystalhd_if.h mach/mach_time.h net/udplite.h valgrind/valgrind.h VideoDecodeAcceleration/VDADecoder.h VideoToolbox/VideoToolbox.h X11/extensions/XvMClib.h d3d9.h linux/videodev.h sys/videoio.h vfw.h dshow.h dev/bktr/ioctl_meteor.h machine/ioctl_meteor.h tdev/video/meteor/ioctl_meteor.h dev/ic/bt8xx.h soundcard.h Thanks a lot, Nik Am 05.12.2016 um 22:33 schrieb Nikolaus Neusser: > ok, this time with (hopefully) working line breaks. ;-) > > 1) Missing header files. > Can you tell me which packages i need to install? > > atomic.h > mbarrier.h > windows.h > conio.h > io.h > lzo/lzo1x.h > X11/extensions/Xvlib.h > CoreServices/CoreServices.h > direct.h > d3d11.h > dxva.h > dxva2api.h > io.h > libcrystalhd/libcrystalhd_if.h > mach/mach_time.h > net/udplite.h > valgrind/valgrind.h > vdpau/vdpau.h > vdpau/vdpau_x11.h > VideoDecodeAcceleration/VDADecoder.h > VideoToolbox/VideoToolbox.h > X11/extensions/XvMClib.h > d3d9.h > va/va.h > vdpau/vdpau.h > linux/videodev.h > sys/videoio.h > vfw.h > dshow.h > dev/bktr/ioctl_meteor.h > machine/ioctl_meteor.h > dev/video/meteor/ioctl_meteor.h > dev/ic/bt8xx.h > sndio.h > soundcard.h > va/va.h > vdpau/vdpau.h > > > 2) My main configure options are the following: > > ECFLAGS="-mfpu=vfp -mfloat-abi=hard -mno-apcs-stack-check -mstructure-size-boundary=32 -mno-sched-prolog" > > ./configure \ > --sysroot=$RPI_SYSROOT \ > --extra-cflags="$ECFLAGS" \ > --enable-cross-compile \ > --enable-shared \ > --enable-static \ > --arch=arm \ > --cpu=arm1176jzf-s \ > --target-os=linux \ > --disable-hwaccels \ > --enable-parsers \ > --disable-muxers \ > --disable-filters \ > --disable-encoders \ > --disable-devices \ > --disable-programs \ > --enable-shared \ > --disable-doc \ > --disable-postproc \ > --enable-gpl \ > --enable-version3 \ > --enable-protocols \ > --enable-libsmbclient \ > --enable-libssh \ > --enable-nonfree \ > --enable-openssl \ > --enable-pthreads \ > --enable-pic \ > --disable-armv5te \ > --disable-neon \ > --enable-armv6t2 \ > --enable-armv6 \ > --enable-hardcoded-tables \ > --disable-runtime-cpudetect \ > --disable-debug \ > --disable-crystalhd \ > --disable-decoder=h264_vda \ > --disable-decoder=h264_crystalhd \ > --disable-decoder=h264_vdpau \ > --disable-decoder=libstagefright_h264 \ > --disable-decoder=vc1_crystalhd \ > --disable-decoder=wmv3_crystalhd \ > --disable-decoder=wmv3_vdpau \ > --disable-decoder=mpeg1_vdpau \ > --disable-decoder=mpeg2_crystalhd \ > --disable-decoder=mpeg4_crystalhd \ > --disable-decoder=mpeg4_vdpau \ > --disable-decoder=mpeg_vdpau \ > --disable-decoder=mpeg_xvmc \ > --disable-decoder=msmpeg4_crystalhd \ > --disable-decoder=vc1_vdpau \ > --enable-decoder=mpegvideo \ > --enable-decoder=mpeg1video \ > --enable-decoder=mpeg2video \ > --disable-decoder=mvc1 \ > --disable-decoder=mvc2 \ > --disable-decoder=h261 \ > --disable-decoder=h263 \ > --disable-decoder=rv10 \ > --disable-decoder=rv20 \ > --enable-decoder=mjpeg \ > --enable-decoder=mjpegb \ > --disable-decoder=sp5x \ > --disable-decoder=jpegls \ > --enable-decoder=mpeg4 \ > --disable-decoder=rawvideo \ > --disable-decoder=msmpeg4v1 \ > .. > etc > .. > --disable-decoder=cpia \ > --disable-decoder=bintext \ > --disable-decoder=xbin \ > --disable-decoder=idf \ > --disable-decoder=hevc \ > --enable-decoder=opus \ > --cross-prefix=arm-linux-gnueabihf- \ > --prefix=$PWD/ffmpeg_compiled \ > --disable-symver \ > --pkg-config=pkg-config > > > NIk > > > Am 05.12.2016 um 22:26 schrieb Nikolaus Neusser: >> Hello everybody, >> i couldn't find help in other forums, so i am trying your mailing list directly. >> I get a bunch of missing headers/libraries when*"crosscompiling ffmpeg for the raspberry pi*". >> I couldn't find those by googling. Can you tell me which packages i need to install? My host is running on >> debian 8. >> >> |atomic.h mbarrier.h windows.h conio.h io.h lzo/lzo1x.h X11/extensions/Xvlib.h CoreServices/CoreServices.h >> direct.h d3d11.h dxva.h dxva2api.h io.h libcrystalhd/libcrystalhd_if.h mach/mach_time.h net/udplite.h >> valgrind/valgrind.h vdpau/vdpau.h vdpau/vdpau_x11.h VideoDecodeAcceleration/VDADecoder.h >> VideoToolbox/VideoToolbox.h X11/extensions/XvMClib.h d3d9.h va/va.h vdpau/vdpau.h linux/videodev.h sys/videoio.h >> vfw.h dshow.h dev/bktr/ioctl_meteor.h machine/ioctl_meteor.h dev/video/meteor/ioctl_meteor.h dev/ic/bt8xx.h >> sndio.h soundcard.h va/va.h vdpau/vdpau.h My main configure options are the following: ECFLAGS="-mfpu=vfp >> -mfloat-abi=hard -mno-apcs-stack-check -mstructure-size-boundary=32 -mno-sched-prolog" ./configure \ >> --sysroot=$RPI_SYSROOT \ --extra-cflags="$ECFLAGS" \ --enable-cross-compile \ --enable-shared \ --enable-static >> \ --arch=arm \ --cpu=arm1176jzf-s \ --target-os=linux \ --disable-hwaccels \ --enable-parsers \ --disable-muxers >> \ --disable-filters \ --disable-encoders \ --disable-devices \ --disable-programs \ --enable-shared \ >> --disable-doc \ --disable-postproc \ --enable-gpl \ --enable-version3 \ --enable-protocols \ >> --enable-libsmbclient \ --enable-libssh \ --enable-nonfree \ --enable-openssl \ --enable-pthreads \ --enable-pic >> \ --disable-armv5te \ --disable-neon \ --enable-armv6t2 \ --enable-armv6 \ --enable-hardcoded-tables \ >> --disable-runtime-cpudetect \ --disable-debug \ --disable-crystalhd \ --disable-decoder=h264_vda \ >> --disable-decoder=h264_crystalhd \ --disable-decoder=h264_vdpau \ .. .. etc. .. --disable-decoder=idf \ >> --disable-decoder=hevc \ --enable-decoder=opus \ --cross-prefix=arm-linux-gnueabihf- \ >> --prefix=$PWD/ffmpeg_compiled \ --disable-symver \ --pkg-config=pkg-config | >> >> Thanks a lot, >> Nik >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> >> To unsubscribe, visit link above, or email >> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From ceffmpeg at gmail.com Sun Dec 11 16:05:51 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Sun, 11 Dec 2016 15:05:51 +0100 Subject: [FFmpeg-user] Missing headers/libraries when crosscompiling ffmpeg In-Reply-To: <5673b88f-5ed2-3dec-91a8-95094f3a844b@gmx.de> References: <5673b88f-5ed2-3dec-91a8-95094f3a844b@gmx.de> Message-ID: 2016-12-11 13:37 GMT+01:00 Nikolaus Neusser : > I finally found a few packages, but there are still a lot missing. Why do you think they are missing? How did you produce the list? > Does anyone know where i can find the packages for debian? Some of them do not exist for Debian, others should not be necessary. In any case, the list does not make any sense since it contains packages that do not exist on any Linux system. Please remember not to top-post here, Carl Eugen From ceffmpeg at gmail.com Sun Dec 11 16:10:22 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Sun, 11 Dec 2016 15:10:22 +0100 Subject: [FFmpeg-user] hyperthreading support In-Reply-To: References: Message-ID: 2016-12-11 7:21 GMT+01:00 Joshua Grauman : > I am thinking about upgrading my cpu from a Core i5-4690K to a Core > i7-4790K. > At the same clock speed, will ffmpeg run faster with the i7? If the i7 has a newer architecture than the i5 (I didn't check) you can expect a (very) slightly better performance. If the i7 has a larger cache than the i5 (I didn't check) you can expect an improved performance. > Does ffmpeg support hyperthreading or other features of the i7? FFmpeg does - afaik - not contain any code specific to hyperthreading (and I am not sure if any program contains code specific to hyperthreading) but some decoders and some encoders support (frame or slice) threading which profits from hyperthreading, this is also true for the utvideo encoder. Carl Eugen From nik.gen at gmx.de Sun Dec 11 22:18:34 2016 From: nik.gen at gmx.de (Nikolaus Neusser) Date: Sun, 11 Dec 2016 21:18:34 +0100 Subject: [FFmpeg-user] Missing headers/libraries when crosscompiling ffmpeg In-Reply-To: References: <5673b88f-5ed2-3dec-91a8-95094f3a844b@gmx.de> Message-ID: <1583c421-1421-ef8c-b1e4-2309ef6223e4@gmx.de> >Why do you think they are missing? >How did you produce the list? After running ./configure and make i checked the logfile" config.log". There were several entries about "no such file or directory" like the ones below. So i used "grep" to find all those lines and manually deleted the beginning and the end of each line. I am not an expert for cross-compilation. I assumed all those errors are relevant. check_header dev/bktr/ioctl_meteor.h check_cpp BEGIN /tmp/ffconf.XUb4ayNi.c 1 #include 2 int x; END /tmp/ffconf.XUb4ayNi.c arm-linux-gnueabihf-gcc --sysroot=/home/niki/opt_qt_for_rpi/qt5.7.0/sysroot -isysroot /home/niki/opt_qt_for_rpi/qt5.7.0/sysroot -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -mfpu=vfp -mfloat-abi=hard -mno-apcs-stack-check -mstructure-size-boundary=32 -mno-sched-prolog -mcpu=arm1176jzf-s -std=c99 -fomit-frame-pointer -fPIC -marm -pthread -I/home/niki/opt_qt_for_rpi/qt5.7.0/sysroot/usr/include/samba-4.0 -E -o /tmp/ffconf.4SN9BchH.o /tmp/ffconf.XUb4ayNi.c /tmp/ffconf.XUb4ayNi.c:1:35: fatal error: dev/bktr/ioctl_meteor.h: No such file or directory #include ^ compilation terminated. >Please remember not to top-post here, Carl Eugen I am sorry, so i keep only the relevant parts when answering, right? Nik Am 11.12.2016 um 15:05 schrieb Carl Eugen Hoyos: > 2016-12-11 13:37 GMT+01:00 Nikolaus Neusser : >> I finally found a few packages, but there are still a lot missing. > Why do you think they are missing? > How did you produce the list? > >> Does anyone know where i can find the packages for debian? > Some of them do not exist for Debian, others should not > be necessary. > In any case, the list does not make any sense since it > contains packages that do not exist on any Linux system. > > Please remember not to top-post here, Carl Eugen > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From barsnick at gmx.net Sun Dec 11 22:25:12 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Sun, 11 Dec 2016 21:25:12 +0100 Subject: [FFmpeg-user] Missing headers/libraries when crosscompiling ffmpeg In-Reply-To: <1583c421-1421-ef8c-b1e4-2309ef6223e4@gmx.de> References: <5673b88f-5ed2-3dec-91a8-95094f3a844b@gmx.de> <1583c421-1421-ef8c-b1e4-2309ef6223e4@gmx.de> Message-ID: <20161211202512.GA8076@sunshine.barsnick.net> On Sun, Dec 11, 2016 at 21:18:34 +0100, Nikolaus Neusser wrote: > >How did you produce the list? > > After running ./configure and make i checked the logfile" config.log". > There were several entries about "no such file or directory" like the ones below. > So i used "grep" to find all those lines and manually deleted the beginning and the end of each line. > I am not an expert for cross-compilation. I assumed all those errors are relevant. No no no. Don't do that. That's ffmpeg automatically checking for certain features. E.g. different platforms require different headers, so do various libraries. ffmpeg is checking for availability and adjusting the build process. It doesn't necessarily matter if they're not found! Not all of them can be found - e.g. some are Windows-specific, some Mac-specific, and so on. All that matters is the result of ./configure, and perhaps the first 50 and last 50 lines of configure.log to see what actually went wrong. If you could please just strip your ./configure command line down to only the cross-compile relevant options, and try whether that works. And/or post the output of your complete ./configure, and those first and last 50 lines (if it fails). Moritz From nik.gen at gmx.de Sun Dec 11 23:09:18 2016 From: nik.gen at gmx.de (Nikolaus Neusser) Date: Sun, 11 Dec 2016 22:09:18 +0100 Subject: [FFmpeg-user] Missing headers/libraries when crosscompiling ffmpeg In-Reply-To: <20161211202512.GA8076@sunshine.barsnick.net> References: <5673b88f-5ed2-3dec-91a8-95094f3a844b@gmx.de> <1583c421-1421-ef8c-b1e4-2309ef6223e4@gmx.de> <20161211202512.GA8076@sunshine.barsnick.net> Message-ID: <2b4d1e1d-07fb-44f0-1625-290e726ab3e2@gmx.de> >>> How did you produce the list? >> After running ./configure and make i checked the logfile" config.log". >> There were several entries about "no such file or directory" like the ones below. >> So i used "grep" to find all those lines and manually deleted the beginning and the end of each line. >> I am not an expert for cross-compilation. I assumed all those errors are relevant. > No no no. Don't do that. That's ffmpeg automatically checking for > certain features. E.g. different platforms require different headers, > so do various libraries. ffmpeg is checking for availability and > adjusting the build process. It doesn't necessarily matter if they're > not found! Not all of them can be found - e.g. some are > Windows-specific, some Mac-specific, and so on. Ah, ok. Thanks a lot for the explanation. Then i might not even have a problem any more. I am using ffmpeg through a plugin for qt and that seems to work after a few tests. >And/or post the output of your complete ./configure, and those first >and last 50 lines (if it fails). Make finishes without errors. The first few lines of ./configure are: Configuring... Prefix to /home/niki/opt_qt_for_rpi/qt5.7.0/qtsrc/pot/pi/3rdparty/ffmpeg/ffmpeg_src... install prefix /home/niki/opt_qt_for_rpi/qt5.7.0/qtsrc/pot/pi/3rdparty/ffmpeg/ffmpeg_src/ffmpeg_compiled source path . C compiler arm-linux-gnueabihf-gcc C library glibc host C compiler gcc host C library glibc ARCH arm (arm1176jzf-s) big-endian no runtime cpu detection no ARMv5TE enabled no ARMv6 enabled yes ARMv6T2 enabled yes VFP enabled yes NEON enabled no THUMB enabled no debug symbols no strip symbols yes optimize for size no optimizations yes static yes shared yes postprocessing support no new filter support yes network support yes threading support pthreads safe bitstream reader yes SDL support no opencl enabled no texi2html enabled no perl enabled yes pod2man enabled yes makeinfo enabled yes makeinfo supports HTML yes Enabled programs: External libraries: bzlib libssh xlib iconv openssl zlib libsmbclient Thanks a lot, NIk From erikb at mediamods.com Mon Dec 12 04:03:51 2016 From: erikb at mediamods.com (Erik Blankinship) Date: Sun, 11 Dec 2016 21:03:51 -0500 Subject: [FFmpeg-user] get in-time for clips after filter_complex concat In-Reply-To: References: Message-ID: > > > > Now I need to know the exact time or frame the videos are inserted into > the > > output file. > > Doesn't -loglevel verbose add some information about when streams end? > Thanks Carl! Yes, I see entries like `Segment finished at pts=248169037` Which, when converted to 248.169037 seconds [looks like it] brings me to the correct frame! Is there a way to get -loglevel to export to JSON or something more readily parsable? Or has someone written a log parsing tool for ffmpeg? From ceffmpeg at gmail.com Mon Dec 12 12:06:02 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Mon, 12 Dec 2016 11:06:02 +0100 Subject: [FFmpeg-user] get in-time for clips after filter_complex concat In-Reply-To: References: Message-ID: 2016-12-12 3:03 GMT+01:00 Erik Blankinship : >> >> >> > Now I need to know the exact time or frame the videos are inserted into >> > the output file. >> >> Doesn't -loglevel verbose add some information about when streams end? >> > > Thanks Carl! > > Yes, I see entries like `Segment finished at pts=248169037` > Which, when converted to 248.169037 seconds [looks like it] brings me to > the correct frame! > > Is there a way to get -loglevel to export to JSON I don't think so and I don't think this can be easily implemented. > or something more readily parsable? A new option for the concat filter would have to be implemented. Carl Eugen From ceffmpeg at gmail.com Mon Dec 12 12:07:54 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Mon, 12 Dec 2016 11:07:54 +0100 Subject: [FFmpeg-user] Missing headers/libraries when crosscompiling ffmpeg In-Reply-To: <2b4d1e1d-07fb-44f0-1625-290e726ab3e2@gmx.de> References: <5673b88f-5ed2-3dec-91a8-95094f3a844b@gmx.de> <1583c421-1421-ef8c-b1e4-2309ef6223e4@gmx.de> <20161211202512.GA8076@sunshine.barsnick.net> <2b4d1e1d-07fb-44f0-1625-290e726ab3e2@gmx.de> Message-ID: 2016-12-11 22:09 GMT+01:00 Nikolaus Neusser : > Then i might not even have a problem any more. lzo and v4l2 may be useful depending on your usecase. Carl Eugen From ceffmpeg at gmail.com Mon Dec 12 13:31:57 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Mon, 12 Dec 2016 12:31:57 +0100 Subject: [FFmpeg-user] .vob output versus .mpg output versus .dvd output (?) In-Reply-To: <20161205145909.GC27711@faui40p.informatik.uni-erlangen.de> References: <46185.1480895481@segfault.tristatelogic.com> <20161205145909.GC27711@faui40p.informatik.uni-erlangen.de> Message-ID: 2016-12-05 15:59 GMT+01:00 Toerless Eckert : > I am seeing mediainfo telling me "Scan Type: [MBAFF/progressive/interlaced]". How is "paff and mbaff" signaled by mediainfo? How does mediainfo signal mixed progressive and mbaff? What does mediainfo tell for mixed paff and progressive? If showing this information would be easy (in the sense of "non confusing") it would probably be done by FFmpeg. Carl Eugen From traycold at gmail.com Mon Dec 12 00:25:46 2016 From: traycold at gmail.com (traycold) Date: Sun, 11 Dec 2016 14:25:46 -0800 (PST) Subject: [FFmpeg-user] VP9 to HEVC hdr demo conversion? In-Reply-To: <20161113193251.2456dd85@zooty> References: <20161113193251.2456dd85@zooty> Message-ID: <1481495146647-4678540.post@n4.nabble.com> hi, I tried the same (convert a vp9.2 hdr video to hevc to watch it on a samsung smart tv). So far, I tried this command (input.mkv contains both VP9.2 video stream and audio stream): ffmpeg -i input.mkv -vf scale=out_color_matrix=bt2020:out_h_chr_pos=0:out_v_chr_pos=0,format=yuv420p10 -pix_fmt yuv420p10le -c:v libx265 -x265-params "colorprim=bt2020:transfer=smpte-st-2084:colormatrix=bt2020nc" -crf 22 -c:a copy output.mkv It works in the sense that the video is visible on smart TV. Looking with mediainfo it seems ok to me, but the video is notably darker and color different than original (for instance: orange becomes almost a dark red). So probably there is something wrong. Honestly I just put that command together looking at various forums, threads, tutorials I found on the web, as I'm a totally noob with encoding and ffmpeg. Hope this may help, anyway. And someone can provide a better way to convert. $ ffmpeg -i input.mkv ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 6.2.1 (GCC) 20160916 (Red Hat 6.2.1-2) configuration: --arch=x86_64 --bindir=/usr/bin --datadir=/usr/share/ffmpeg --disable-debug --disable-static --disable-stripping --enable-avfilter --enable-avresample --enable-bzlib --enable-cuda --enable-cuvid --enable-libnpp --enable-doc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libbluray --enable-libcdio --enable-libdc1394 --enable-libebur128 --enable-libfdk-aac --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libkvazaar --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-libxcb-shape --enable-libxvid --enable-libzvbi --enable-lzma --enable-nonfree --enable-openal --enable-opencl --enable-nvenc --enable-opengl --enable-postproc --enable-pthreads --enable-sdl2 --enable-shared --enable-version3 --enable-x11grab --enable-xlib --enable-zlib --extra-cflags='-I/usr/include/nvenc -I/usr/include/cuda' --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' --prefix=/usr --shlibdir=/usr/lib64 --enable-runtime-cpudetect libavutil 55. 34.100 / 55. 34.100 libavcodec 57. 64.101 / 57. 64.101 libavformat 57. 56.100 / 57. 56.100 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libavresample 3. 1. 0 / 3. 1. 0 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100 Input #0, matroska,webm, from 'input.mkv': Metadata: ENCODER : Lavf57.56.100 Duration: 00:14:09.76, start: -0.007000, bitrate: 13227 kb/s Stream #0:0(eng): Video: vp9 (Profile 2), yuv420p10le(tv, bt2020nc/unknown/unknown), 3840x1600, lossless, SAR 1:1 DAR 12:5, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc (default) Metadata: DURATION : 00:14:09.730000000 Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default) Metadata: DURATION : 00:14:09.761000000 Stream #0:2(eng): Subtitle: webvtt Metadata: DURATION : 00:11:26.380000000 $ ffmpeg -i output.mkv ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 6.2.1 (GCC) 20160916 (Red Hat 6.2.1-2) configuration: --arch=x86_64 --bindir=/usr/bin --datadir=/usr/share/ffmpeg --disable-debug --disable-static --disable-stripping --enable-avfilter --enable-avresample --enable-bzlib --enable-cuda --enable-cuvid --enable-libnpp --enable-doc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libbluray --enable-libcdio --enable-libdc1394 --enable-libebur128 --enable-libfdk-aac --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libkvazaar --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-libxcb-shape --enable-libxvid --enable-libzvbi --enable-lzma --enable-nonfree --enable-openal --enable-opencl --enable-nvenc --enable-opengl --enable-postproc --enable-pthreads --enable-sdl2 --enable-shared --enable-version3 --enable-x11grab --enable-xlib --enable-zlib --extra-cflags='-I/usr/include/nvenc -I/usr/include/cuda' --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' --prefix=/usr --shlibdir=/usr/lib64 --enable-runtime-cpudetect libavutil 55. 34.100 / 55. 34.100 libavcodec 57. 64.101 / 57. 64.101 libavformat 57. 56.100 / 57. 56.100 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libavresample 3. 1. 0 / 3. 1. 0 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100 Input #0, matroska,webm, from 'output.mkv': Metadata: ENCODER : Lavf57.56.100 Duration: 00:14:09.76, start: -0.007000, bitrate: 1509 kb/s Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084, progressive), 3840x1600 [SAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) Metadata: ENCODER : Lavc57.64.101 libx265 DURATION : 00:14:09.724000000 Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default) Metadata: DURATION : 00:14:09.761000000 -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/VP9-to-HEVC-hdr-demo-conversion-tp4678255p4678540.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From adf.lists at gmail.com Mon Dec 12 21:28:21 2016 From: adf.lists at gmail.com (Andy Furniss) Date: Mon, 12 Dec 2016 19:28:21 +0000 Subject: [FFmpeg-user] VP9 to HEVC hdr demo conversion? In-Reply-To: <1481495146647-4678540.post@n4.nabble.com> References: <20161113193251.2456dd85@zooty> <1481495146647-4678540.post@n4.nabble.com> Message-ID: <584EFA55.4080303@gmail.com> traycold wrote: > hi, > I tried the same (convert a vp9.2 hdr video to hevc to watch it on a samsung > smart tv). > So far, I tried this command (input.mkv contains both VP9.2 video stream and > audio stream): > > ffmpeg -i input.mkv -vf > scale=out_color_matrix=bt2020:out_h_chr_pos=0:out_v_chr_pos=0,format=yuv420p10 > -pix_fmt yuv420p10le -c:v libx265 -x265-params > "colorprim=bt2020:transfer=smpte-st-2084:colormatrix=bt2020nc" -crf 22 -c:a > copy output.mkv > > It works in the sense that the video is visible on smart TV. Looking with > mediainfo it seems ok to me, but the video is notably darker and color > different than original (for instance: orange becomes almost a dark red). > > So probably there is something wrong. Honestly I just put that command > together looking at various forums, threads, tutorials I found on the web, > as I'm a totally noob with encoding and ffmpeg. > > Hope this may help, anyway. And someone can provide a better way to convert. I am not sure if it's currently possible or not - I don't have a TV to test. Looking with ffprobe at HDR hevc from the web you will see extradata in the stream. I don't know how to write that with ffmpeg. libx265 does have options to add some HDR info into the headers - possibly they could work. mpv auto converts HDR 2020 to 709 SDR. For the youtube vid mentioned mpv -v will see and act on this metadata, I don't know how to see it with ffmpeg. mpv -v The\ World\ in\ HDR-tO01J-M3g0U.webm .... [demux] Trying demuxers for level=normal. [mkv] Found the head... [mkv] + a segment... [mkv] Parsing seek head... [mkv] |+ segment information... [mkv] | + muxing app: google [mkv] | + writing app: google [mkv] | + timecode scale: 1000000 [mkv] | + duration: 154.538s [mkv] |+ segment tracks... [mkv] | + a track... [mkv] | + Track number: 1 [mkv] | + Track type: Video [mkv] | + Video track [mkv] | + Pixel width: 3840 [mkv] | + Pixel height: 2160 [mkv] | + Matrix: bt.2020-ncl [mkv] | + Primaries: bt.2020 [mkv] | + Gamma: st2084 [mkv] | + Levels: limited [mkv] | + HDR peak: 1000.000000 [mkv] | + Codec ID: V_VP9 [mkv] | + Default duration: 16.683ms ( = 59.940 fps) [mkv] Parsing cues... [mkv] |+ found cluster [mkv] All headers are parsed! .... The HDR peak is info that you can get into hevc via libx265 - but whether anything will read it I don't know (mpv won't). x265 -h | grep -i hdr --master-display SMPTE ST 2086 master display color volume info SEI (HDR) --max-cll Emit content light level info SEI as "cll,fall" (HDR) I guess max-cll 1000,1000 may work, but I haven't got a clue if, or what to, master-display would need setting. From ceffmpeg at gmail.com Mon Dec 12 21:38:53 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Mon, 12 Dec 2016 20:38:53 +0100 Subject: [FFmpeg-user] VP9 to HEVC hdr demo conversion? In-Reply-To: <1481495146647-4678540.post@n4.nabble.com> References: <20161113193251.2456dd85@zooty> <1481495146647-4678540.post@n4.nabble.com> Message-ID: 2016-12-11 23:25 GMT+01:00 traycold : > hi, > I tried the same (convert a vp9.2 hdr video to hevc to watch it on a samsung > smart tv). > So far, I tried this command (input.mkv contains both VP9.2 video stream and > audio stream): > > ffmpeg -i input.mkv -vf > scale=out_color_matrix=bt2020:out_h_chr_pos=0:out_v_chr_pos=0,format=yuv420p10 > -pix_fmt yuv420p10le -c:v libx265 -x265-params > "colorprim=bt2020:transfer=smpte-st-2084:colormatrix=bt2020nc" -crf 22 -c:a > copy output.mkv Did you also try the following? $ ffmpeg -i input.mkv -vcodec hevc output.mkv Do you have a hevc file that plays better? Carl Eugen From brandon at brandonglatz.com Mon Dec 12 22:32:05 2016 From: brandon at brandonglatz.com (Brandon Glatz) Date: Mon, 12 Dec 2016 12:32:05 -0800 Subject: [FFmpeg-user] FFMPEG can not open tcp rstp stream. Nonmatching transport in server reply. Other viewers fine. Message-ID: >2016-12-10 12:54 GMT+01:00 Brandon Glatz : > >> F:\User\Documents\ffmpeg\bin>ffmpeg -f rtsp -rtsp_transport tcp -i >> "rtsp://10.0.0.110:554/onvif1" >> ffmpeg version N-64870-g135b1a3 Copyright (c) 2000-2014 > >Please test current FFmpeg git head and report back. > >Carl Eugen My bad, I had multiple copies and used the wrong one when compiling the post. Here is the newest version, same error: C:\Users\Brandon\Desktop\ffmpeg-20161210-edb4f5d-win64-static\ffmpeg-20161210-edb4f5d-win64-static\bin>ffmpeg -f rtsp -r tsp_transport tcp -i "rtsp://10.0.0.110:554/onvif1" ffmpeg version N-82833-gedb4f5d Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --ena ble-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable- libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enab le-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-li bopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspe ex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzi mg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 67.100 / 57. 67.100 libavformat 57. 59.100 / 57. 59.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 [rtsp @ 000000000049e400] Nonmatching transport in server reply rtsp://10.0.0.110:554/onvif1: Invalid data found when processing input From Thomas.Matthias at dolby.com Mon Dec 12 22:37:03 2016 From: Thomas.Matthias at dolby.com (Matthias, Thomas) Date: Mon, 12 Dec 2016 20:37:03 +0000 Subject: [FFmpeg-user] Generating Multichannel Sine Wave Audio Message-ID: I see that there is a sine wave filter when using ‘-f lavfi –i “sine=frequency=1000:duration=60”, which is great! However, what is the easiest/best way to get this into a multichannel format, say 5.1 or even 16 channels? Ideally it would be nice to specify multiple frequencies for each channel, but if I want say 16 channels of the exact same sinewave in each, how would I do this? Is there a way to “copy” the first channel into the remaining 15? Do I need to specify an input for each channel and then use –map correctly? I’ve tried a few different things, but no success so far. From cus at passwd.hu Mon Dec 12 23:01:19 2016 From: cus at passwd.hu (Marton Balint) Date: Mon, 12 Dec 2016 22:01:19 +0100 (CET) Subject: [FFmpeg-user] Generating Multichannel Sine Wave Audio In-Reply-To: References: Message-ID: On Mon, 12 Dec 2016, Matthias, Thomas wrote: > I see that there is a sine wave filter when using ‘-f lavfi –i “sine=frequency=1000:duration=60”, which is great! However, what is the easiest/best way to get this into a multichannel format, say 5.1 or even 16 channels? Ideally it would be nice to specify multiple frequencies for each channel, but if I want say 16 channels of the exact same sinewave in each, how would I do this? Is there a way to “copy” the first channel into the remaining 15? Do I need to specify an input for each channel and then use –map correctly? > > I’ve tried a few different things, but no success so far. > Probably easier to do this with aevalsrc, you can find examples here: https://www.ffmpeg.org/ffmpeg-all.html#Examples-59 And yout command line should look something like: ffmpeg -f lavfi -i "aevalsrc=16c:d=60:sin(440*2*PI*t)|sin(440*2*PI*t)|sin(440*2*PI*t)|sin(440*2*PI*t)|sin(440*2*PI*t)|sin(440*2*PI*t)|sin(440*2*PI*t)|sin(440*2*PI*t)|sin(440*2*PI*t)|sin(440*2*PI*t)|sin(440*2*PI*t)|sin(440*2*PI*t)|sin(440*2*PI*t)|sin(440*2*PI*t)|sin(440*2*PI*t)|sin(440*2*PI*t)" out.wav Regards, Marton From barsnick at gmx.net Mon Dec 12 23:13:13 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Mon, 12 Dec 2016 22:13:13 +0100 Subject: [FFmpeg-user] Generating Multichannel Sine Wave Audio In-Reply-To: References: Message-ID: <20161212211313.GA13343@sunshine.barsnick.net> On Mon, Dec 12, 2016 at 20:37:03 +0000, Matthias, Thomas wrote: > I see that there is a sine wave filter when using ‘-f lavfi –i > “sine=frequency=1000:duration=60”, which is great! However, what is > the easiest/best way to get this into a multichannel format, say 5.1 > or even 16 channels? Ideally it would be nice to specify multiple > frequencies for each channel, but if I want say 16 channels of the > exact same sinewave in each, how would I do this? Is there a way to > “copy” the first channel into the remaining 15? Do I need to specify > an input for each channel and then use –map correctly? All your suggestions are basically correct. Perhaps the magic bit you are missing is the "amerge" filter. Firstly, if you want to duplicate the same input, you can reuse it with filter_complex: $ ffmpeg -f lavfi -i sine -filter_complex "[0][0][0][0][0][0]amerge=inputs=6" -t 1 -f ipod /dev/null -y For differing frequencies, you can just as well add various input sources: $ ffmpeg -f lavfi -i sine=f=440 -f lavfi -i sine=f=880 -filter_complex "[0][1]amerge" -t 1 -f ipod /dev/null -y (These are somewhat shorthand filter_complex usages, missing an output pad "[out]" and mapping '-map "[out]"'.) You can find some more mapping inspiration (minus the duplicated audio sources) here: https://trac.ffmpeg.org/wiki/AudioChannelManipulation Cheers, Moritz From jnfo at grauman.com Mon Dec 12 23:14:57 2016 From: jnfo at grauman.com (Joshua Grauman) Date: Mon, 12 Dec 2016 13:14:57 -0800 (PST) Subject: [FFmpeg-user] hyperthreading support In-Reply-To: References: Message-ID: Thanks. Yes, you are right. I was thinking it might have an enhanced instruction set. But it's just improved in clock speed, L3 cache, and HT. So since I know what the improvement in clock speed looks like, I was trying to figure out the other improvements, but you guys answered it all. Thanks! Josh > > > Am 11.12.2016 um 07:21 schrieb Joshua Grauman: >> I am thinking about upgrading my cpu from a Core i5-4690K to a Core >> i7-4790K. At the same clock speed, will ffmpeg run faster with the i7? >> Does ffmpeg support hyperthreading or other features of the i7? > > there are no other features then HT which are different expect the clock > speed - no idea why you are saying "same clock speed" - anyways, HT brings > you around 15% and the i7 has larger cches and a higher clock speed combined > with HT > > http://lists.ffmpeg.org/pipermail/ffmpeg-user/2011-March/000081.html > > > http://ark.intel.com/de/products/80811/Intel-Core-i5-4690K-Processor-6M-Cache-up-to-3_90-GHz > https://ark.intel.com/de/products/80807/Intel-Core-i7-4790K-Processor-8M-Cache-up-to-4_40-GHz > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > From jnfo at grauman.com Mon Dec 12 23:23:09 2016 From: jnfo at grauman.com (Joshua Grauman) Date: Mon, 12 Dec 2016 13:23:09 -0800 (PST) Subject: [FFmpeg-user] Convert commandline to program Message-ID: Hello again, One more question. Trying to squeeze every ounce of performance out I realized that it would be somewhat faster to use the ffmpeg libs directly rather than piping the output of my program to ffmpeg, as it would be one less copy. I've started looking at the devel libs, but am a little overwhelmed. How hard would it be to implement the following commandline in c/c++? Anyone have any same code to get me started? Thanks again so much!!! ./gen-vid | ffmpeg -f rawvideo -pixel_format bgra -video_size 1920x1080 -framerate 30 -i - -vcodec utvideo out.avi Josh From muttoni at gmail.com Tue Dec 13 00:22:37 2016 From: muttoni at gmail.com (Leonardo Muttoni) Date: Mon, 12 Dec 2016 20:22:37 -0200 Subject: [FFmpeg-user] Problem when using named pipe (fifo) in ffplay input to play a mpegts live stream Message-ID: Hello, I'm having a strange behavior when using ffplay on linux: I created a program that output a live mpegts stream to a fifo (a file created by mkfifo). I'm trying to use ffplay to watch to this stream, in this way: > ffplay -probesize 100k -analyzeduration 100k - < fifo_file.ts First I start this player command, then in another console I start the program that outputs the stream to the fifo file. With this setup, I have to wait about 1 minute (or more sometimes) to get the audio/video to play, BUT when I interrupt (CTRL+C) the program that write the live stream to the fifo, the entire (since startup) video start playing instantly, something like a buffer problem... Note 1: When I use the command "hexdump < fifo_file.ts" instead of ffplay, I got the usual uninterrupted hex stream flow on console, then I think that the program that feed the fifo file is doing his job properly). Note 2: I also tryed to mess with probesize and analyzeduration values and nothing helps. Note 3: When I use the ffplay option "-v debug", I got several messages like this "[mpegts @ 0x7f4fbc000920] probing stream 2 pp:2499" the last number (2499) keep decreasing at a rate about once a second, in that time, I cannot get the video, but again: when I interrupt the source side of fifo, It appears that ffplay "wakes", and show the video immediately. If I don't interrupt and wait for about one minute, the video starts playing. The console output in this case are in: http://pastebin.com/fZDWNqF5 Note 4: From above pastebin, It appears that the stream 2 have nothing useful. **** Questions **** **** Primary question: 1) How can I play this live stream faster (starting soon, without waiting a long time) **** Secondary questions: 2) How can I tell ffplay to skip/ignore the 2nd stream, or to give up this stream early ? 3) Why when I interrupt the source program in the other side of the fifo, the video starts playing immediately? Thanks in advance. From adf.lists at gmail.com Tue Dec 13 02:35:03 2016 From: adf.lists at gmail.com (Andy Furniss) Date: Tue, 13 Dec 2016 00:35:03 +0000 Subject: [FFmpeg-user] VP9 to HEVC hdr demo conversion? In-Reply-To: References: <20161113193251.2456dd85@zooty> <1481495146647-4678540.post@n4.nabble.com> Message-ID: <584F4237.8080003@gmail.com> Carl Eugen Hoyos wrote: > 2016-12-11 23:25 GMT+01:00 traycold : >> hi, >> I tried the same (convert a vp9.2 hdr video to hevc to watch it on a samsung >> smart tv). >> So far, I tried this command (input.mkv contains both VP9.2 video stream and >> audio stream): >> >> ffmpeg -i input.mkv -vf >> scale=out_color_matrix=bt2020:out_h_chr_pos=0:out_v_chr_pos=0,format=yuv420p10 >> -pix_fmt yuv420p10le -c:v libx265 -x265-params >> "colorprim=bt2020:transfer=smpte-st-2084:colormatrix=bt2020nc" -crf 22 -c:a >> copy output.mkv > > Did you also try the following? > $ ffmpeg -i input.mkv -vcodec hevc output.mkv I did a bit of digging into this and ffmpeg doesn't read the mastering data in the webm due to the test - if (s->strict_std_compliance <= FF_COMPLIANCE_UNOFFICIAL) in libavformat/matroskadec.c roughly line 2438 (or less I have printfs sprinkled around) removing the check + printfs reveals the mastering meta = ADF has_mastering_primaries = 1 ADF has_mastering_luminance = 1 ADF mastering_meta->r_x = 0.680000 ADF mastering_meta->r_y = 0.319960 ADF mastering_meta->g_x = 0.264940 ADF mastering_meta->g_y = 0.689960 ADF mastering_meta->b_x = 0.150000 ADF mastering_meta->b_y = 0.059980 ADF mastering_meta->white_x = 0.312700 ADF mastering_meta->white_y = 0.328960 ADF mastering_meta->max_luminance = 1000.000000 ADF mastering_meta->min_luminance = 0.001000 Input #0, matroska,webm, from 'The World in HDR-tO01J-M3g0U.webm': Though a quick test shows they do not get written using your command. Probably need to look in enc as well. From 14mseesrasool at seecs.edu.pk Tue Dec 13 12:01:42 2016 From: 14mseesrasool at seecs.edu.pk (Syed Hamid Rasool) Date: Tue, 13 Dec 2016 15:01:42 +0500 Subject: [FFmpeg-user] Very high latency of RTMP laptop webcam In-Reply-To: <20161209135913.GC10381@sunshine.barsnick.net> References: <20161209135913.GC10381@sunshine.barsnick.net> Message-ID: Hi Moritz, Thanks for the response. Have got it slightly lower but it is still very large (around 7-8 seconds). I have ran into another issue when running FFMpeg with a USB2.0 webcam. The laptop's camera had compressed output (MJPEG) but this utility webcam only has raw pixel format (yuyv422). Using the same command as above causes it to work at speed 0.3x resulting in laggy and jittering output (10fps compared to 30) when viewing it from server. So in this case, what would be the correct way to encode it to 1.0x speed. I have tried it on both Core 2 Duo and i7 systems but getting similar performance. On Fri, Dec 9, 2016 at 6:59 PM, Moritz Barsnick wrote: > On Fri, Dec 09, 2016 at 15:26:01 +0500, Syed Hamid Rasool wrote: > > ffmpeg -rtbufsize *500M* -r 30 -f dshow -s 640x360 -i video="HP > Truevision > > HD" -vcodec *h264* -b:a *300k* -f flv "rtmp://10.3.93.118:1935/ > transcode/key" > > > Also even though I have tried setting -b:a option to around 600k, the > > transmitted rate of produced frames are in the range of 2500-4000 kbps. > > As noted on StackOverflow, you are trying to set the *audio* bitrate. > That won't restrict the video bitrate. Use "-b:v" for video. > > > I even added -tune zerolatency and -preset ultrafast/basic options but in > > all cases I am getting 8-10 seconds delay in LOCAL network. > > Have you read > https://trac.ffmpeg.org/wiki/StreamingGuide#Latency > ?? > > The very first paragraph is certainly of interest: Reduce the size of a > GOP (group of pictures), i.e. the interval between I-frames. x264 > defaults to 250 (I believe), you may want to use "-g 25" or something > like that. > > And there's an important paragraph in there regarding "-rtbufsize": > more buffer means more delay, of course! > > Please let us know whether this helps. > > Moritz > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". -- Regards, Syed Hamid Rasool From ceffmpeg at gmail.com Tue Dec 13 12:17:38 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Tue, 13 Dec 2016 11:17:38 +0100 Subject: [FFmpeg-user] VP9 to HEVC hdr demo conversion? In-Reply-To: <584F4237.8080003@gmail.com> References: <20161113193251.2456dd85@zooty> <1481495146647-4678540.post@n4.nabble.com> <584F4237.8080003@gmail.com> Message-ID: 2016-12-13 1:35 GMT+01:00 Andy Furniss : > Carl Eugen Hoyos wrote: >> >> 2016-12-11 23:25 GMT+01:00 traycold : >>> >>> hi, >>> I tried the same (convert a vp9.2 hdr video to hevc to watch it on a >>> samsung >>> smart tv). >>> So far, I tried this command (input.mkv contains both VP9.2 video stream >>> and >>> audio stream): >>> >>> ffmpeg -i input.mkv -vf >>> >>> scale=out_color_matrix=bt2020:out_h_chr_pos=0:out_v_chr_pos=0,format=yuv420p10 >>> -pix_fmt yuv420p10le -c:v libx265 -x265-params >>> "colorprim=bt2020:transfer=smpte-st-2084:colormatrix=bt2020nc" -crf 22 >>> -c:a >>> copy output.mkv >> >> >> Did you also try the following? >> $ ffmpeg -i input.mkv -vcodec hevc output.mkv > > > I did a bit of digging into this and ffmpeg doesn't read the mastering data > in the webm due to the test - (Thank you!) So this means that the following does not produce HDR output? $ ffmpeg -i input.mkv -vcodec vp9 out.mkv Carl Eugen From stanvictor2003 at yahoo.com Tue Dec 13 12:27:37 2016 From: stanvictor2003 at yahoo.com (stan victor) Date: Tue, 13 Dec 2016 10:27:37 +0000 (UTC) Subject: [FFmpeg-user] can ffplay convert input video and then playback to screen? References: <2061573851.2774071.1481624857819.ref@mail.yahoo.com> Message-ID: <2061573851.2774071.1481624857819@mail.yahoo.com> given: input.avi (codec=msvideo1/pix_fmt=rgb555le) want to convert it to pix_fmt rgb8 and view resulting video image. would like to do this all in ffplay so do not have to pre-convert using ffmpeg to rgb8 and then do ffplay. the following commandsdo work but this is not preferable solution vector: ./ffmpeg -i ../../reference_video/left_to_right.avi -vcodec rawvideo -pix_fmt rgb8 ../../reference_video/output.nut ffmpeg version N-79766-gdc75019 Copyright (c) 2000-2016 the FFmpeg developersbuilt with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010configuration: libavutil 55. 23.100 / 55. 23.100libavcodec 57. 38.100 / 57. 38.100libavformat 57. 36.100 / 57. 36.100libavdevice 57. 0.101 / 57. 0.101libavfilter 6. 44.100 / 6. 44.100libswscale 4. 1.100 / 4. 1.100libswresample 2. 0.101 / 2. 0.101Input #0, avi, from '../../reference_video/left_to_right.avi':Duration: 00:00:02.82, start: 0.000000, bitrate: 15377 kb/sStream #0:0: Video: msvideo1 (CRAM / 0x4D415243), rgb555le, 640x480, 15470 kb/s, 50 fps, 50 tbr, 50 tbn[nut @ 0x2e3af00] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.Output #0, nut, to '../../reference_video/output.nut':Metadata:encoder : Lavf57.36.100Stream #0:0: Video: rawvideo (RGB[8] / 0x8424752), rgb8, 640x480, q=2-31, 200 kb/s, 50 fps, 51200 tbnMetadata:encoder : Lavc57.38.100 rawvideoStream mapping:Stream #0:0 -> #0:0 (msvideo1 (native) -> rawvideo (native))Press [q] to stop, [?] for helpframe= 24 fps=0.0 q=-0.0 size= 7201kB time=00:00:00.46 bitrate=128233.6kbitframe= 46 fps= 44 q=-0.0 size= 13802kB time=00:00:00.90 bitrate=125622.2kbitframe= 69 fps= 44 q=-0.0 size= 20702kB time=00:00:01.36 bitrate=124698.7kbitframe= 94 fps= 45 q=-0.0 size= 28203kB time=00:00:01.86 bitrate=124213.1kbitframe= 118 fps= 46 q=-0.0 size= 35404kB time=00:00:02.34 bitrate=123942.1kbitframe= 139 fps= 45 q=-0.0 size= 41704kB time=00:00:02.76 bitrate=123782.3kbitframe= 141 fps= 44 q=-0.0 Lsize= 42305kB time=00:00:02.80 bitrate=123771.6kbits/s speed=0.88x video:42300kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.011970% ./ffprobe ../../reference_video/output.nut ffprobe version N-79766-gdc75019 Copyright (c) 2007-2016 the FFmpeg developersbuilt with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010configuration: libavutil 55. 23.100 / 55. 23.100libavcodec 57. 38.100 / 57. 38.100libavformat 57. 36.100 / 57. 36.100libavdevice 57. 0.101 / 57. 0.101libavfilter 6. 44.100 / 6. 44.100libswscale 4. 1.100 / 4. 1.100libswresample 2. 0.101 / 2. 0.101Input #0, nut, from '../../reference_video/output.nut':Metadata:encoder : Lavf57.36.100Duration: 00:00:02.80, start: 0.000000, bitrate: 123772 kb/sStream #0:0: Video: rawvideo (RGB[8] / 0x8424752), rgb8, 640x480, 50 fps, 50 tbr, 51200 tbnMetadata:encoder : Lavc57.38.100 rawvideo was hoping i could use ffplay like so: ./ffplay -i ../../reference_video/left_to_right.avi -vcodec rawvideo -pix_fmt rgb8 -autoexit ffplay version N-79766-gdc75019 Copyright (c) 2003-2016 the FFmpeg developersbuilt with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010configuration: libavutil 55. 23.100 / 55. 23.100libavcodec 57. 38.100 / 57. 38.100libavformat 57. 36.100 / 57. 36.100libavdevice 57. 0.101 / 57. 0.101libavfilter 6. 44.100 / 6. 44.100libswscale 4. 1.100 / 4. 1.100libswresample 2. 0.101 / 2. 0.101Option -pix_fmt is deprecated, use -pixel_format.Option pixel_format not found.= 0KB vq= 0KB sq= 0B f=0/0 nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0  tried non-deprecated form of pix_fmt and got same effective failure: ./ffplay -i ../../reference_video/left_to_right.avi -vcodec rawvideo -pixel_format rgb8 -autoexit ffplay version N-79766-gdc75019 Copyright (c) 2003-2016 the FFmpeg developersbuilt with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010configuration: libavutil 55. 23.100 / 55. 23.100libavcodec 57. 38.100 / 57. 38.100libavformat 57. 36.100 / 57. 36.100libavdevice 57. 0.101 / 57. 0.101libavfilter 6. 44.100 / 6. 44.100libswscale 4. 1.100 / 4. 1.100libswresample 2. 0.101 / 2. 0.101Option pixel_format not found.= 0KB vq= 0KB sq= 0B f=0/0 nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 new to ffplay/ffmpeg so don't even know if what i want to do is possible... however, i do feel it would be a value add if could doencoding conversions through ffplay and see resulting video directly... this capability would facilitate quick visual evaluation ofdifferent conversion options From ceffmpeg at gmail.com Tue Dec 13 13:43:38 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Tue, 13 Dec 2016 12:43:38 +0100 Subject: [FFmpeg-user] can ffplay convert input video and then playback to screen? In-Reply-To: <2061573851.2774071.1481624857819@mail.yahoo.com> References: <2061573851.2774071.1481624857819.ref@mail.yahoo.com> <2061573851.2774071.1481624857819@mail.yahoo.com> Message-ID: 2016-12-13 11:27 GMT+01:00 stan victor : > input.avi (codec=msvideo1/pix_fmt=rgb555le) want to convert it to pix_fmt rgb8 and > view resulting video image. would like to do this all in ffplay so do not have to > pre-convert using ffmpeg to rgb8 and then do ffplay. FFplay cannot do any conversions but FFmpeg can play video using the sdl output device. Please set your mailer to text-only, your email is difficult to read, Carl Eugen From ceffmpeg at gmail.com Tue Dec 13 13:44:53 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Tue, 13 Dec 2016 12:44:53 +0100 Subject: [FFmpeg-user] Very high latency of RTMP laptop webcam In-Reply-To: References: <20161209135913.GC10381@sunshine.barsnick.net> Message-ID: 2016-12-13 11:01 GMT+01:00 Syed Hamid Rasool <14mseesrasool at seecs.edu.pk>: > I have ran into another issue when running FFMpeg with a USB2.0 webcam. The > laptop's camera had compressed output (MJPEG) but this utility webcam only > has raw pixel format (yuyv422). Using the same command as above causes it > to work at speed 0.3x resulting in laggy and jittering output (10fps > compared to 30) when viewing it from server. Command line and complete, uncut console output missing. Please do not top-post here, Carl Eugen From 14mseesrasool at seecs.edu.pk Tue Dec 13 13:58:30 2016 From: 14mseesrasool at seecs.edu.pk (Syed Hamid Rasool) Date: Tue, 13 Dec 2016 16:58:30 +0500 Subject: [FFmpeg-user] Very high latency of RTMP laptop webcam In-Reply-To: References: <20161209135913.GC10381@sunshine.barsnick.net> Message-ID: Command: ffmpeg -rtbufsize 100M -r 30 -f dshow -s 320x240 -i video="USB2.0 Camera" -vcodec h264 -pix_fmt yuyv422 -b:v 300k -preset ultrafast -f flv "rtmp://10.3.101.28/transcode/key" Output: Output #0, flv, to 'rtmp://111.68.101.48/transcode/pass': Metadata: encoder : Lavf57.59.100 Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv422p, 320x240, q=-1--1, 300 kb/s, 30 fps, 1k tbn, 30 tbc Metadata: encoder : Lavc57.67.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/300000 buffer size: 0 vbv_delay: -1 Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264)) Press [q] to stop, [?] for help frame= 8 fps=0.0 q=28.0 size= 4kB time=00:00:00.00 bitrate=32504.0kbitsframe= 12 fps= 12 q=34.0 size= 22kB time=00:00:00.13 bitrate=1343.9kbits/frame= 16 fps= 11 q=35.0 size= 33kB time=00:00:00.26 bitrate=1003.0kbits/frame= 21 fps= 10 q=32.0 size= 34kB time=00:00:00.43 bitrate= 642.1kbits/frame= 25 fps=9.9 q=30.0 size= 35kB time=00:00:00.56 bitrate= 505.5kbits/frame= 29 fps=9.6 q=29.0 size= 38kB time=00:00:00.70 bitrate= 444.9kbits/frame= 33 fps=9.3 q=29.0 size= 42kB time=00:00:00.83 bitrate= 412.7kbits/frame= 37 fps=9.1 q=29.0 size= 46kB time=00:00:00.96 bitrate= 387.2kbits/frame= 42 fps=9.2 q=29.0 size= 50kB time=00:00:01.13 bitrate= 364.7kbits/frame= 46 fps=9.1 q=28.0 size= 54kB time=00:00:01.26 bitrate= 348.4kbits/frame= 50 fps=9.0 q=28.0 size= 59kB time=00:00:01.40 bitrate= 342.9kbits/frame= 54 fps=8.9 q=29.0 size= 64kB time=00:00:01.53 bitrate= 341.2kbits/frame= 59 fps=9.0 q=29.0 size= 70kB time=00:00:01.70 bitrate= 336.6kbits/frame= 63 fps=8.9 q=29.0 size= 74kB time=00:00:01.83 bitrate= 332.5kbits/s speed=0.258x On Tue, Dec 13, 2016 at 4:44 PM, Carl Eugen Hoyos wrote: > 2016-12-13 11:01 GMT+01:00 Syed Hamid Rasool <14mseesrasool at seecs.edu.pk>: > > > I have ran into another issue when running FFMpeg with a USB2.0 webcam. > The > > laptop's camera had compressed output (MJPEG) but this utility webcam > only > > has raw pixel format (yuyv422). Using the same command as above causes it > > to work at speed 0.3x resulting in laggy and jittering output (10fps > > compared to 30) when viewing it from server. > > Command line and complete, uncut console output missing. > > Please do not top-post here, Carl Eugen > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > -- Regards, Syed Hamid Rasool From adf.lists at gmail.com Tue Dec 13 14:32:59 2016 From: adf.lists at gmail.com (Andy Furniss) Date: Tue, 13 Dec 2016 12:32:59 +0000 Subject: [FFmpeg-user] VP9 to HEVC hdr demo conversion? In-Reply-To: References: <20161113193251.2456dd85@zooty> <1481495146647-4678540.post@n4.nabble.com> <584F4237.8080003@gmail.com> Message-ID: <584FEA7B.5020408@gmail.com> Carl Eugen Hoyos wrote: > 2016-12-13 1:35 GMT+01:00 Andy Furniss : >> Carl Eugen Hoyos wrote: >>> >>> 2016-12-11 23:25 GMT+01:00 traycold : >>>> >>>> hi, >>>> I tried the same (convert a vp9.2 hdr video to hevc to watch it on a >>>> samsung >>>> smart tv). >>>> So far, I tried this command (input.mkv contains both VP9.2 video stream >>>> and >>>> audio stream): >>>> >>>> ffmpeg -i input.mkv -vf >>>> >>>> scale=out_color_matrix=bt2020:out_h_chr_pos=0:out_v_chr_pos=0,format=yuv420p10 >>>> -pix_fmt yuv420p10le -c:v libx265 -x265-params >>>> "colorprim=bt2020:transfer=smpte-st-2084:colormatrix=bt2020nc" -crf 22 >>>> -c:a >>>> copy output.mkv >>> >>> >>> Did you also try the following? >>> $ ffmpeg -i input.mkv -vcodec hevc output.mkv >> >> >> I did a bit of digging into this and ffmpeg doesn't read the mastering data >> in the webm due to the test - > > (Thank you!) Ugh, seems my ffmpeg was a day too old = the strict check is removed in master now, so ffmpeg -i will show the info. > So this means that the following does not produce HDR output? > $ ffmpeg -i input.mkv -vcodec vp9 out.mkv It doesn't seem to in the sense that ffmpeg -i out.mkv doesn't show the mastering info or the transfer info. andy [377]$ ffmpeg -i The\ World\ in\ HDR-tO01J-M3g0U.webm -vcodec vp9 out.mkv ffmpeg version N-82844-g265d451 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.3.0 (GCC) configuration: --prefix=/usr --disable-doc --enable-gpl --enable-omx --enable-opencl --enable-libvpx --enable-libx265 --enable-libmp3lame --enable-libx264 --enable-gnutls libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 67.100 / 57. 67.100 libavformat 57. 59.100 / 57. 59.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 Input #0, matroska,webm, from 'The World in HDR-tO01J-M3g0U.webm': Metadata: encoder : google Duration: 00:02:34.54, start: 0.000000, bitrate: 18208 kb/s Stream #0:0(eng): Video: vp9 (Profile 2), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160, SAR 1:1 DAR 16:9, 59.94 fps, 59.94 tbr, 1k tbn, 1k tbc (default) Side data: Mastering Display Metadata, has_primaries:1 has_luminance:1 r(0.6800,0.3200) g(0.2649,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.001000, max_luminance=1000.000000 File 'out.mkv' already exists. Overwrite ? [y/N] y [libvpx-vp9 @ 0x20b2240] v1.6.0-815-g5d4aa32 Output #0, matroska, to 'out.mkv': Metadata: encoder : Lavf57.59.100 Stream #0:0(eng): Video: vp9 (libvpx-vp9) (VP90 / 0x30395056), yuv420p10le, 3840x2160 [SAR 1:1 DAR 16:9], q=-1--1, 200 kb/s, 59.94 fps, 1k tbn, 59.94 tbc (default) Metadata: encoder : Lavc57.67.100 libvpx-vp9 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 Stream mapping: Stream #0:0 -> #0:0 (vp9 (native) -> vp9 (libvpx-vp9)) Press [q] to stop, [?] for help frame= 46 fps=0.4 q=0.0 Lsize= 32kB time=00:00:00.75 bitrate= 350.3kbits/s speed=0.00686x video:31kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.280642% andy [377]$ ffmpeg -i out.mkv ffmpeg version N-82844-g265d451 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.3.0 (GCC) configuration: --prefix=/usr --disable-doc --enable-gpl --enable-omx --enable-opencl --enable-libvpx --enable-libx265 --enable-libmp3lame --enable-libx264 --enable-gnutls libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 67.100 / 57. 67.100 libavformat 57. 59.100 / 57. 59.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 Input #0, matroska,webm, from 'out.mkv': Metadata: ENCODER : Lavf57.59.100 Duration: 00:00:00.77, start: 0.000000, bitrate: 343 kb/s Stream #0:0(eng): Video: vp9 (Profile 2), yuv420p10le(tv, progressive), 3840x2160, SAR 1:1 DAR 16:9, 59.94 fps, 59.94 tbr, 1k tbn, 1k tbc (default) Metadata: ENCODER : Lavc57.67.100 libvpx-vp9 DURATION : 00:00:00.768000000 At least one output file must be specified From stanvictor2003 at yahoo.com Tue Dec 13 14:47:15 2016 From: stanvictor2003 at yahoo.com (stan victor) Date: Tue, 13 Dec 2016 12:47:15 +0000 (UTC) Subject: [FFmpeg-user] can ffplay convert input video and then playback to screen? In-Reply-To: References: <2061573851.2774071.1481624857819.ref@mail.yahoo.com> <2061573851.2774071.1481624857819@mail.yahoo.com> Message-ID: <1052525242.2877411.1481633235711@mail.yahoo.com> Carl, thanks for the quick reply... tried the ffmpeg solution vector you suggested and got the following error: ./gffmpeg -i ../../reference_video/input.avi -vcodec rawvideo -pix_fmt rgb8 -f sdl "SDL output" ffmpeg version N-79766-gdc75019 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010 configuration: progs_prefix=g libavutil 55. 23.100 / 55. 23.100 libavcodec 57. 38.100 / 57. 38.100 libavformat 57. 36.100 / 57. 36.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 44.100 / 6. 44.100 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 0.101 / 2. 0.101 Input #0, avi, from '../../reference_video/input.avi': Duration: 00:00:02.82, start: 0.000000, bitrate: 15377 kb/s Stream #0:0: Video: msvideo1 (CRAM / 0x4D415243), rgb555le, 640x480, 15470 kb/s, 50 fps, 50 tbr, 50 tbn [sdl @ 0x238fd80] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead. [sdl @ 0x238fd80] Unsupported pixel format 'rgb8', choose one of yuv420p, yuyv422, or uyvy422 Output #0, sdl, to 'SDL output': Metadata: encoder : Lavf57.36.100 Stream #0:0: Video: rawvideo (RGB[8] / 0x8424752), rgb8, 640x480, q=2-31, 200 kb/s, 50 fps, 50 tbn Metadata: encoder : Lavc57.38.100 rawvideo Stream mapping: Stream #0:0 -> #0:0 (msvideo1 (native) -> rawvideo (native)) Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument following above suggested solution vector changed the pix_fmt to yuv420p as shown below and got the video display ./gffmpeg -i ../../reference_video/input.avi -vcodec rawvideo -pix_fmt yuv420p -f sdl "SDL output" ffmpeg version N-79766-gdc75019 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010 configuration: progs_prefix=g libavutil 55. 23.100 / 55. 23.100 libavcodec 57. 38.100 / 57. 38.100 libavformat 57. 36.100 / 57. 36.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 44.100 / 6. 44.100 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 0.101 / 2. 0.101 Input #0, avi, from '../../reference_video/input.avi': Duration: 00:00:02.82, start: 0.000000, bitrate: 15377 kb/s Stream #0:0: Video: msvideo1 (CRAM / 0x4D415243), rgb555le, 640x480, 15470 kb/s, 50 fps, 50 tbr, 50 tbn [sdl @ 0x39b0d80] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead. Output #0, sdl, to 'SDL output': Metadata: encoder : Lavf57.36.100 Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 640x480, q=2-31, 200 kb/s, 50 fps, 50 tbn Metadata: encoder : Lavc57.38.100 rawvideo Stream mapping: Stream #0:0 -> #0:0 (msvideo1 (native) -> rawvideo (native)) Press [q] to stop, [?] for help frame= 10 fps=0.0 q=-0.0 size=N/A time=00:00:00.20 bitrate=N/A speed=0.389x frame= 21 fps= 20 q=-0.0 size=N/A time=00:00:00.42 bitrate=N/A speed=0.405x frame= 32 fps= 20 q=-0.0 size=N/A time=00:00:00.64 bitrate=N/A speed=0.405x frame= 43 fps= 20 q=-0.0 size=N/A time=00:00:00.86 bitrate=N/A speed=0.405x frame= 54 fps= 20 q=-0.0 size=N/A time=00:00:01.08 bitrate=N/A speed=0.408x frame= 76 fps= 21 q=-0.0 size=N/A time=00:00:01.52 bitrate=N/A speed=0.412x frame= 87 fps= 21 q=-0.0 size=N/A time=00:00:01.74 bitrate=N/A speed=0.413x frame= 98 fps= 21 q=-0.0 size=N/A time=00:00:01.96 bitrate=N/A speed=0.413x frame= 109 fps= 21 q=-0.0 size=N/A time=00:00:02.18 bitrate=N/A speed=0.413x frame= 120 fps= 21 q=-0.0 size=N/A time=00:00:02.40 bitrate=N/A speed=0.413x frame= 131 fps= 21 q=-0.0 size=N/A time=00:00:02.62 bitrate=N/A speed=0.413x frame= 141 fps= 21 q=-0.0 size=N/A time=00:00:02.82 bitrate=N/A speed=0.411x frame= 141 fps= 21 q=-0.0 Lsize=N/A time=00:00:02.82 bitrate=N/A speed=0.41x video:63450kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown however did not get video converted to pix_fmt rgb8 and subsequently displayed which is my end goal... is there a way to do a 2 phase conversion with ffmpeg utility??? the first phase to converts to rgb8 and the second phase to yuv420p/sdl output... thanks again for your quick response, stan victor ________________________________ From: Carl Eugen Hoyos To: FFmpeg user questions Sent: Tuesday, December 13, 2016 6:43 AM Subject: Re: [FFmpeg-user] can ffplay convert input video and then playback to screen? 2016-12-13 11:27 GMT+01:00 stan victor : > input.avi (codec=msvideo1/pix_fmt=rgb555le) want to convert it to pix_fmt rgb8 and > view resulting video image. would like to do this all in ffplay so do not have to > pre-convert using ffmpeg to rgb8 and then do ffplay. FFplay cannot do any conversions but FFmpeg can play video using the sdl output device. Please set your mailer to text-only, your email is difficult to read, Carl Eugen _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From adf.lists at gmail.com Tue Dec 13 17:14:21 2016 From: adf.lists at gmail.com (Andy Furniss) Date: Tue, 13 Dec 2016 15:14:21 +0000 Subject: [FFmpeg-user] VP9 to HEVC hdr demo conversion? In-Reply-To: <584EFA55.4080303@gmail.com> References: <20161113193251.2456dd85@zooty> <1481495146647-4678540.post@n4.nabble.com> <584EFA55.4080303@gmail.com> Message-ID: <5850104D.3060804@gmail.com> Andy Furniss wrote: > traycold wrote: >> hi, >> I tried the same (convert a vp9.2 hdr video to hevc to watch it on a >> samsung >> smart tv). >> So far, I tried this command (input.mkv contains both VP9.2 video >> stream and >> audio stream): >> >> ffmpeg -i input.mkv -vf >> scale=out_color_matrix=bt2020:out_h_chr_pos=0:out_v_chr_pos=0,format=yuv420p10 >> >> -pix_fmt yuv420p10le -c:v libx265 -x265-params >> "colorprim=bt2020:transfer=smpte-st-2084:colormatrix=bt2020nc" -crf 22 >> -c:a >> copy output.mkv >> >> It works in the sense that the video is visible on smart TV. Looking with >> mediainfo it seems ok to me, but the video is notably darker and color >> different than original (for instance: orange becomes almost a dark red). >> >> So probably there is something wrong. Honestly I just put that command >> together looking at various forums, threads, tutorials I found on the >> web, >> as I'm a totally noob with encoding and ffmpeg. >> >> Hope this may help, anyway. And someone can provide a better way to >> convert. > > I am not sure if it's currently possible or not - I don't have a TV to > test. > > Looking with ffprobe at HDR hevc from the web you will see extradata in > the stream. > > I don't know how to write that with ffmpeg. Some progress now git head ffmpeg outputs mastering info from youtube webm. I don't know how to get it into an output mkv - but in the case of hevc it may not matter as long as it's in the hevc headers. Turns out max-cll and max-fall are separate from st2086 metadata and they don't seem to be in the youtube mkv (in fact I couldn't see that they would be read - so tried adding code, but they came out 0 anyway). The hevc online help shows how to make a mastering string and their example is close to the data in the yt mkv so an easy paste just changing min luma x10. Below seems to make a stream that has mastering side data in the hevc that mpv will read OK - so maybe try something like below, just a test of course and you would need to tweak the mastering to match input as shown by ffmpeg for each file (so finding a way to get ffmpeg to do it for you will be far better). Don't know if the cll/fall should be explicitly set to 0 or just omitted. libx265 documentation on mastering and cll pasted below test console output. Though ffmpeg -i output.mkv doesn't show mastering, ffprobe -show_frames does. andy [377]$ ffm -i The\ World\ in\ HDR-tO01J-M3g0U.webm -c:v libx265 -x265-params "colorprim=bt2020:transfer=smpte-st-2084:colormatrix=bt2020nc:master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,10):max-cll=0,0" -vframes 100 output.mkv ffmpeg version N-82844-g265d451 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.3.0 (GCC) configuration: --prefix=/usr --disable-doc --enable-gpl --enable-omx --enable-opencl --enable-libvpx --enable-libx265 --enable-libmp3lame --enable-libx264 --enable-gnutls libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 67.100 / 57. 67.100 libavformat 57. 59.100 / 57. 59.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 ADF max_cll = 0 ADF max_fall = 0 Input #0, matroska,webm, from 'The World in HDR-tO01J-M3g0U.webm': Metadata: encoder : google Duration: 00:02:34.54, start: 0.000000, bitrate: 18208 kb/s Stream #0:0(eng): Video: vp9 (Profile 2), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160, SAR 1:1 DAR 16:9, 59.94 fps, 59.94 tbr, 1k tbn, 1k tbc (default) Side data: Mastering Display Metadata, has_primaries:1 has_luminance:1 r(0.6800,0.3200) g(0.2649,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.001000, max_luminance=1000.000000 File 'output.mkv' already exists. Overwrite ? [y/N] y x265 [info]: HEVC encoder version 2.1 x265 [info]: build info [Linux][GCC 5.3.0][64 bit] 10bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT x265 [info]: Main 10 profile, Level-5.1 (Main tier) x265 [info]: Thread pool created using 4 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 2 / wpp(34 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2 x265 [info]: Keyframe min / max / scenecut : 25 / 250 / 40 x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 3 / on / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60 x265 [info]: tools: rd=3 psy-rd=2.00 rskip signhide tmvp strong-intra-smoothing x265 [info]: tools: lslices=8 deblock sao Output #0, matroska, to 'output.mkv': Metadata: encoder : Lavf57.59.100 Stream #0:0(eng): Video: hevc (libx265), yuv420p10le, 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 59.94 fps, 1k tbn, 59.94 tbc (default) Metadata: encoder : Lavc57.67.100 libx265 Stream mapping: Stream #0:0 -> #0:0 (vp9 (native) -> hevc (libx265)) Press [q] to stop, [?] for help frame= 100 fps=1.0 q=-0.0 Lsize= 388kB time=00:00:01.61 bitrate=1965.3kbits/s speed=0.0156x video:386kB audio:0kB subtitle:0kB other streams:0kB global headers:1kB muxing overhead: 0.649109% x265 [info]: frame I: 1, Avg QP:26.06 kb/s: 83339.70 x265 [info]: frame P: 24, Avg QP:30.42 kb/s: 3231.43 x265 [info]: frame B: 75, Avg QP:38.68 kb/s: 378.67 x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0% x265 [info]: consecutive B-frames: 4.0% 0.0% 0.0% 84.0% 12.0% encoded 100 frames in 104.10s (0.96 fps), 1892.94 kb/s, Avg QP:36.57 andy [377]$ andy [377]$ andy [377]$ ffm -i output.mkv ffmpeg version N-82844-g265d451 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.3.0 (GCC) configuration: --prefix=/usr --disable-doc --enable-gpl --enable-omx --enable-opencl --enable-libvpx --enable-libx265 --enable-libmp3lame --enable-libx264 --enable-gnutls libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 67.100 / 57. 67.100 libavformat 57. 59.100 / 57. 59.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 Input #0, matroska,webm, from 'output.mkv': Metadata: ENCODER : Lavf57.59.100 Duration: 00:00:01.67, start: 0.000000, bitrate: 1906 kb/s Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084, progressive), 3840x2160 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 1k tbn, 59.94 tbc (default) Metadata: ENCODER : Lavc57.67.100 libx265 DURATION : 00:00:01.669000000 At least one output file must be specified --master-display SMPTE ST 2086 mastering display color volume SEI info, specified as a string which is parsed when the stream header SEI are emitted. The string format is “G(%hu,%hu)B(%hu,%hu)R(%hu,%hu)WP(%hu,%hu)L(%u,%u)” where %hu are unsigned 16bit integers and %u are unsigned 32bit integers. The SEI includes X,Y display primaries for RGB channels and white point (WP) in units of 0.00002 and max,min luminance (L) values in units of 0.0001 candela per meter square. (HDR) Example for a P3D65 1000-nits monitor, where G(x=0.265, y=0.690), B(x=0.150, y=0.060), R(x=0.680, y=0.320), WP(x=0.3127, y=0.3290), L(max=1000, min=0.0001): G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1) Note that this string value will need to be escaped or quoted to protect against shell expansion on many platforms. No default. --max-cll Maximum content light level (MaxCLL) and maximum frame average light level (MaxFALL) as required by the Consumer Electronics Association 861.3 specification. Specified as a string which is parsed when the stream header SEI are emitted. The string format is “%hu,%hu” where %hu are unsigned 16bit integers. The first value is the max content light level (or 0 if no maximum is indicated), the second value is the maximum picture average light level (or 0). (HDR) Example for MaxCLL=1000 candela per square meter, MaxFALL=400 candela per square meter: –max-cll ?1000,400? Note that this string value will need to be escaped or quoted to protect against shell expansion on many platforms. No default. From ffmpeg at eml.cc Tue Dec 13 17:28:07 2016 From: ffmpeg at eml.cc (Victor dMdB) Date: Tue, 13 Dec 2016 23:28:07 +0800 Subject: [FFmpeg-user] Rotating output in transcode pipeline with C Message-ID: <1481642887.188027.817634513.03524BB0@webmail.messagingengine.com> Hi! I have an input stream which comes from a mobile device, and therefore has rotation metadata and side_data display matrix. I would like to transcode this, then output a stream, physically rotated without metadata. Do I have to use avfilter? Or can I set a parameter in avformatcontext to transpose it? I've tried setting the output side_data, but would prefer directly output the rotated frames. Thanks in advance for the help! From barsnick at gmx.net Tue Dec 13 23:57:18 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Tue, 13 Dec 2016 22:57:18 +0100 Subject: [FFmpeg-user] Very high latency of RTMP laptop webcam In-Reply-To: References: <20161209135913.GC10381@sunshine.barsnick.net> Message-ID: <20161213215718.GB13523@sunshine.barsnick.net> Carl Eugen wrote: > Command line and complete, uncut console output missing. Syed, that wasn't the complete, uncut console output you gave us. Please give us *all*. On Tue, Dec 13, 2016 at 16:58:30 +0500, Syed Hamid Rasool wrote: > Command: ffmpeg -rtbufsize 100M -r 30 -f dshow -s 320x240 -i video="USB2.0 > Camera" -vcodec h264 -pix_fmt yuyv422 -b:v 300k -preset ultrafast -f flv > "rtmp://10.3.101.28/transcode/key" That should be encodable even by the weakest hardware, even if libx264 was compiled with asm support. BTW, your command line has: "-pix_fmt yuyv422" but you omitted this from your output: > Incompatible pixel format 'yuyv422' for codec 'libx264', auto-selecting format 'yuv422p' Did you notice? > Output #0, flv, to 'rtmp://111.68.101.48/transcode/pass': What happens if you encode to "-f null -" instead of to RTMP? Do you achieve the 30 fps then? Moritz From zhangpengcheng at btime.com Wed Dec 14 06:12:24 2016 From: zhangpengcheng at btime.com (=?gb2312?B?1cXF9LPM?=) Date: Wed, 14 Dec 2016 04:12:24 +0000 Subject: [FFmpeg-user] Duration of source video and substracted audio different Message-ID: <1481688752849.95627@btime.com> Hi! The duration of source video and substracted wav audio is different , why? I'm recorgnizing subtitle from audio, and I need to add subtitle back to video. So I want the duration of audio and video the same. I run command "ffmpeg -i http://cdn.live.360.cn/huikan_news/vod-media/_XW_203286B417B7C6466B3B_20160627185953.m3u8 -vntest.wav -y?" I paste my CLI here, http://pastebin.com/iwDFv6zC Thanks a lot! From kples at mail.ru Wed Dec 14 10:00:41 2016 From: kples at mail.ru (=?UTF-8?B?0J/Qu9C10YHQvtCy0YHQutC40YUg0JrRgdC10L3QuNGP?=) Date: Wed, 14 Dec 2016 11:00:41 +0300 Subject: [FFmpeg-user] =?utf-8?q?how_to_correctly_configure_parameters_of_?= =?utf-8?q?ffmpeg=3F?= Message-ID: <1481702441.56935680@f386.i.mail.ru> Hi. I try to start stream with ffmpeg via ffserver and have the error "conversion failed". What I doing wrong? Here is the output from console.  PS C:\WINDOWS\system32> cd c:\ffmpeg\bin PS C:\ffmpeg\bin> .\ffmpeg -threads 0 -y -i rtsp://mpv.cdn3.bigCDN.com/bigCDN/mp4:bigbuckbunnyiphone_400.mp4 -i rtsp://m pv.cdn3.bigCDN.com/bigCDN/mp4:bigbuckbunnyiphone_400.mp4 -i rtsp://mpv.cdn3.bigCDN.com/bigCDN/mp4:bigbuckbunnyiphone_400 .mp4 -i rtsp://mpv.cdn3.bigCDN.com/bigCDN/mp4:bigbuckbunnyiphone_400.mp4 -filter_complex "nullsrc=size=1920x1080 [base]; >> [0:v] setpts=PTS-STARTPTS, scale=960x540 [upperleft]; >> [1:v] setpts=PTS-STARTPTS, scale=960x540 [upperright]; >> [2:v] setpts=PTS-STARTPTS, scale=960x540 [lowerleft]; >> [3:v] setpts=PTS-STARTPTS, scale=960x540 [lowerright]; >> [base][upperleft] overlay=shortest=1 [tmp1]; >> [tmp1][upperright] overlay=shortest=1:x=960 [tmp2]; >> [tmp2][lowerleft] overlay=shortest=1:y=540 [tmp3]; >> [tmp3][lowerright] overlay=shortest=1:x=960:y=540 >> "-an -vcodec libx264 -f mpegts http://127.0.0.1:8090/feed2.ffm ffmpeg version N-78410-g588e2e3 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.3.0 (GCC) configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --e nable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --ena ble-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-lib twolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libw ebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 17.100 / 55. 17.100 libavcodec 57. 24.102 / 57. 24.102 libavformat 57. 25.100 / 57. 25.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 31.100 / 6. 31.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100 Input #0, rtsp, from 'rtsp://mpv.cdn3.bigCDN.com/bigCDN/mp4:bigbuckbunnyiphone_400.mp4': Metadata: title : bigbuckbunnyiphone_400.mp4 Duration: 00:09:56.46, start: 0.000000, bitrate: N/A Stream #0:0: Audio: aac (LC), 48000 Hz, stereo, fltp Stream #0:1: Video: h264 (Constrained Baseline), yuv420p, 320x180, 24 tbr, 90k tbn, 180k tbc Input #1, rtsp, from 'rtsp://mpv.cdn3.bigCDN.com/bigCDN/mp4:bigbuckbunnyiphone_400.mp4': Metadata: title : bigbuckbunnyiphone_400.mp4 Duration: 00:09:56.46, start: 0.000000, bitrate: N/A Stream #1:0: Audio: aac (LC), 48000 Hz, stereo, fltp Stream #1:1: Video: h264 (Constrained Baseline), yuv420p, 320x180, 24 tbr, 90k tbn, 180k tbc Input #2, rtsp, from 'rtsp://mpv.cdn3.bigCDN.com/bigCDN/mp4:bigbuckbunnyiphone_400.mp4': Metadata: title : bigbuckbunnyiphone_400.mp4 Duration: 00:09:56.46, start: 0.000000, bitrate: N/A Stream #2:0: Audio: aac (LC), 48000 Hz, stereo, fltp Stream #2:1: Video: h264 (Constrained Baseline), yuv420p, 320x180, 24 tbr, 90k tbn, 180k tbc Input #3, rtsp, from 'rtsp://mpv.cdn3.bigCDN.com/bigCDN/mp4:bigbuckbunnyiphone_400.mp4': Metadata: title : bigbuckbunnyiphone_400.mp4 Duration: 00:09:56.46, start: 0.000000, bitrate: N/A Stream #3:0: Audio: aac (LC), 48000 Hz, stereo, fltp Stream #3:1: Video: h264 (Constrained Baseline), yuv420p, 320x180, 24 tbr, 90k tbn, 180k tbc [libx264 @ 03e797c0] using SAR=1/1 [libx264 @ 03e797c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2 [libx264 @ 03e797c0] profile High, level 4.0 Output #0, mpegts, to 'http://127.0.0.1:8090/feed2.ffm': Metadata: title : bigbuckbunnyiphone_400.mp4 encoder : Lavf57.25.100 Stream #0:0: Video: h264 (libx264), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 90k tbn, 25 tbc (default ) Metadata: encoder : Lavc57.24.102 libx264 Side data: unknown side data type 10 (24 bytes) Stream mapping: Stream #0:1 (h264) -> setpts Stream #1:1 (h264) -> setpts Stream #2:1 (h264) -> setpts Stream #3:1 (h264) -> setpts overlay -> Stream #0:0 (libx264) Press [q] to stop, [?] for help [rtsp @ 03361400] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8) [rtsp @ 03aec200] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8) [rtsp @ 03a3ec60] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8) [rtsp @ 03d4e180] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8) [rtsp @ 03aec200] max delay reached. need to consume packetbitrate=N/A speed= 0x [NULL @ 0343b540] RTP: missed 1 packets [rtsp @ 03a3ec60] max delay reached. need to consume packetbitrate=N/A speed= 0x [NULL @ 03a940a0] RTP: missed 1 packets [rtsp @ 03361400] max delay reached. need to consume packet [NULL @ 033649c0] RTP: missed 1 packets [rtsp @ 03aec200] max delay reached. need to consume packet [NULL @ 0343b540] RTP: missed 1 packets [rtsp @ 03aec200] max delay reached. need to consume packet [NULL @ 0343b540] RTP: missed 5 packets [rtsp @ 03aec200] max delay reached. need to consume packet [NULL @ 03aefd00] RTP: missed 1 packets [h264 @ 03e76f60] concealing 60 DC, 60 AC, 60 MV errors in P frame [h264 @ 050ea040] concealing 60 DC, 60 AC, 60 MV errors in P frame=N/A speed= 0x [rtsp @ 03361400] max delay reached. need to consume packet [NULL @ 033649c0] RTP: missed 1 packets [rtsp @ 03361400] max delay reached. need to consume packet [NULL @ 033649c0] RTP: missed 40 packets [rtsp @ 03361400] max delay reached. need to consume packetbitrate=N/A speed= 0x [NULL @ 033649c0] RTP: missed 1 packets [rtsp @ 03361400] max delay reached. need to consume packet [NULL @ 03367860] RTP: missed 1 packets [h264 @ 03e79fc0] concealing 60 DC, 60 AC, 60 MV errors in P frame [rtsp @ 03361400] max delay reached. need to consume packetbitrate=N/A speed= 0x [NULL @ 03367860] RTP: missed 1 packets [rtsp @ 03a3ec60] max delay reached. need to consume packet [NULL @ 03a940a0] RTP: missed 1 packets av_interleaved_write_frame(): Unknown error Error writing trailer of http://127.0.0.1:8090/feed2.ffm: Error number -10053 occurredframe= 52 fps=8.8 q=28.0 Lsize= 2kB time=00:00:00.00 bitrate=N/A speed= 0x video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 67.607727% [libx264 @ 03e797c0] frame I:4 Avg QP:13.48 size: 6723 [libx264 @ 03e797c0] frame P:44 Avg QP:18.21 size: 9220 [libx264 @ 03e797c0] frame B:4 Avg QP:13.00 size: 68 [libx264 @ 03e797c0] consecutive B-frames: 88.5% 3.8% 0.0% 7.7% [libx264 @ 03e797c0] mb I I16..4: 53.1% 46.6% 0.3% [libx264 @ 03e797c0] mb P I16..4: 15.3% 40.0% 0.1% P16..4: 11.6% 2.0% 0.7% 0.0% 0.0% skip:30.4% [libx264 @ 03e797c0] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct: 0.0% skip:100.0% L0:100.0% L1 : 0.0% BI: 0.0% [libx264 @ 03e797c0] 8x8 transform intra:68.7% inter:87.3% [libx264 @ 03e797c0] coded y,uvDC,uvAC intra: 4.4% 11.0% 0.2% inter: 7.0% 15.3% 0.0% [libx264 @ 03e797c0] i16 v,h,dc,p: 50% 36% 8% 7% [libx264 @ 03e797c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 15% 47% 0% 0% 0% 0% 0% 0% [libx264 @ 03e797c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 21% 36% 3% 4% 3% 2% 2% 2% [libx264 @ 03e797c0] i8c dc,h,v,p: 72% 18% 10% 1% [libx264 @ 03e797c0] Weighted P-Frames: Y:81.8% UV:45.5% [libx264 @ 03e797c0] ref P L0: 68.7% 26.8% 4.4% 0.1% 0.0% [libx264 @ 03e797c0] kb/s:1664.75 Conversion failed! and conf file from ffserver Port 8090 RTSPPort 8544 # Address on which the server is bound. Only useful if you have # several network interfaces. #RTSPBindAddress 127.0.0.1 #HTTPBindAddress 0.0.0.0 # Number of simultaneous HTTP connections that can be handled. It has # to be defined *before* the MaxClients parameter, since it defines the # MaxClients maximum limit. MaxHTTPConnections 2000 # Number of simultaneous requests that can be handled. Since FFServer # is very fast, it is more likely that you will want to leave this high # and use MaxBandwidth, below. MaxClients 1000 # This the maximum amount of kbit/sec that you are prepared to # consume when streaming to clients. MaxBandwidth 10000 # Access log file (uses standard Apache log file format) # '-' is the standard output. CustomLog - File temp/feed2.ffm FileMaxSize 50M #ACL allow 127.0.0.1 Feed feed2.ffm Format rtp VideoCodec libx264 #VideoCodec copy VideoFrameRate 24 VideoSize 480x320 #VideoBitRate 256 VideoBitRate 1000 #VideoBufferSize 4000 #VideoQMin 1 #VideoQMax 1 #VideoGopSize 30 AVPresetVideo default AVPresetVideo baseline AVOptionVideo flags +global_header #AudioSampleRate 44100 #AudioBitRate 64 #AudioCodec libmp3lame NoAudio StartSendOnKey #AudioCodec libfaac #AudioBitRate 32 #AudioChannels 2 #AudioSampleRate 22050 #AVOptionAudio flags +global_header # Server status Format status # Only allow local people to get the status #ACL allow localhost #ACL allow 192.168.0.0 192.168.255.255 #FaviconURL http://pond1.gladstonefamily.net:8080/favicon.ico From adf.lists at gmail.com Wed Dec 14 12:49:21 2016 From: adf.lists at gmail.com (Andy Furniss) Date: Wed, 14 Dec 2016 10:49:21 +0000 Subject: [FFmpeg-user] VP9 to HEVC hdr demo conversion? In-Reply-To: <20161114052912.4db372d6@zooty> References: <20161113193251.2456dd85@zooty> <20161114052912.4db372d6@zooty> Message-ID: <585123B1.9000000@gmail.com> Tom Horsley wrote: > On Mon, 14 Nov 2016 02:02:08 +0100 > Carl Eugen Hoyos wrote: > >>> Can anyone suggest a command line this poor >>> ignorant human can use to convert these to >>> HEVC files, preserving the HDRness? >> >> Either provide command line and complete, uncut console >> output for what you have already tried or at least "ffmpeg -i" >> output for the files you downloaded. > > Here's the one that seems to give players the most trouble: > Input #0, matroska,webm, from 'The World in HDR.mkv': > Metadata: > encoder : libebml v1.3.4 + libmatroska v1.4.5 > creation_time : 2016-11-08 02:38:04 A couple of other issues WRT getting this to work - Your libx265 will need to be compiled for 10bit encoding. Whatever you use to download from youtube may mess things up when it merges the sound and video = possibly loose some info. Using youtube-dl for the tests I did I was using the vid alone. youtube-dl --list-formats will show all available formats you can then get the the audio and video separately and join them when you do the hevc conversion. What format audio to get may depend on what container you need to use to make the TV work, though you could always re-code that as well. From ssshukla26 at gmail.com Wed Dec 14 15:11:27 2016 From: ssshukla26 at gmail.com (ssshukla26) Date: Wed, 14 Dec 2016 05:11:27 -0800 (PST) Subject: [FFmpeg-user] make fate is failing ? Message-ID: <1481721087049-4678569.post@n4.nabble.com> I am referring this link and getting the following error. *make fate-rsync SAMPLES=fate-suite/* rsync -vrltLW --timeout=60 --contimeout=60 rsync://fate-suite.ffmpeg.org/fate-suite/ fate-suite/ rsync: safe_read failed to read 1 bytes [Receiver]: Connection reset by peer (104) rsync error: error in rsync protocol data stream (code 12) at io.c(251) [Receiver=3.1.0] make: *** [fate-rsync] Error 12 Please help. I wanna submit a patch in a day or two. -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/make-fate-is-failing-tp4678569.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From barsnick at gmx.net Wed Dec 14 16:25:53 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Wed, 14 Dec 2016 15:25:53 +0100 Subject: [FFmpeg-user] make fate is failing ? In-Reply-To: <1481721087049-4678569.post@n4.nabble.com> References: <1481721087049-4678569.post@n4.nabble.com> Message-ID: <20161214142553.GB8115@sunshine.barsnick.net> On Wed, Dec 14, 2016 at 05:11:27 -0800, ssshukla26 wrote: > I am referring this link and getting the > following error. > > *make fate-rsync SAMPLES=fate-suite/* > > rsync -vrltLW --timeout=60 --contimeout=60 > rsync://fate-suite.ffmpeg.org/fate-suite/ fate-suite/ > rsync: safe_read failed to read 1 bytes [Receiver]: Connection reset by peer > (104) > rsync error: error in rsync protocol data stream (code 12) at io.c(251) > [Receiver=3.1.0] > make: *** [fate-rsync] Error 12 > > Please help. I wanna submit a patch in a day or two. Your firewall isn't allowing access from your host to the rsync port of the fate suite server. I don't know of a different way to download all the samples. (Somebody mentioned a workaround here: http://stackoverflow.com/q/26419645/3974309 but forgot to share it.) If you don't have control over this firewall (it being a corporate one e.g.) you will have to run this rsync command from a host outside your firewall and copy the file set over. Alternatively, perhaps you can http-mirror this host: http://fate-suite.ffmpeg.org/ as such: $ wget -Sv --mirror --no-host-directories http://fate-suite.ffmpeg.org/ -P fate-suite/ This *seems* to work, but I can't guarantee, the performance may be bad, and it may be frowned upon by the website owners. ;-) Moritz From hdlmnate at gmail.com Wed Dec 14 18:41:21 2016 From: hdlmnate at gmail.com (Nathaniel Finney) Date: Wed, 14 Dec 2016 16:41:21 +0000 Subject: [FFmpeg-user] drawtext timecode drop frame 23.967 Message-ID: It seems the drawtext filter timecode option doesn't allow using 23.967: .... timecode='00\:00\:00\;00':rate=24000/1001: ... [Parsed_drawtext_4 @ 0x7ff2c74010c0] Drop frame is only allowed with 30000/1001 or 60000/1001 FPS I'm not sure why this is, 23.967 is a common NTSC frame rate, any ideas on this? From barsnick at gmx.net Wed Dec 14 19:26:43 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Wed, 14 Dec 2016 18:26:43 +0100 Subject: [FFmpeg-user] drawtext timecode drop frame 23.967 In-Reply-To: References: Message-ID: <20161214172643.GD8115@sunshine.barsnick.net> On Wed, Dec 14, 2016 at 16:41:21 +0000, Nathaniel Finney wrote: > It seems the drawtext filter timecode option doesn't allow using 23.967: > .... timecode='00\:00\:00\;00':rate=24000/1001: ... > > [Parsed_drawtext_4 @ 0x7ff2c74010c0] Drop frame is only allowed with > 30000/1001 or 60000/1001 FPS > > I'm not sure why this is, 23.967 is a common NTSC frame rate, any ideas on > this? SMPTE frame (drop) counting is not defined for 23.967: http://www.hpaonline.com/wp-content/uploads/2015/02/Dalet_Telestream_W1130-hpa2015.pdf This code of ffmpeg's av_timecode_adjust_ntsc_framenum2(), which is used there: https://github.com/FFmpeg/FFmpeg/blob/b46dcd5209a77254345ae098b83a872634c5591b/libavutil/timecode.c#L34 does consequently not implement 23.967. You're provoking drop-frame notation by using the semi-colon ';' (or dot '.') instead of the colon ':', I believe. Moritz From adf.lists at gmail.com Wed Dec 14 19:32:10 2016 From: adf.lists at gmail.com (Andy Furniss) Date: Wed, 14 Dec 2016 17:32:10 +0000 Subject: [FFmpeg-user] drawtext timecode drop frame 23.967 In-Reply-To: References: Message-ID: <5851821A.1020000@gmail.com> Nathaniel Finney wrote: > It seems the drawtext filter timecode option doesn't allow using 23.967: > .... timecode='00\:00\:00\;00':rate=24000/1001: ... > > [Parsed_drawtext_4 @ 0x7ff2c74010c0] Drop frame is only allowed with > 30000/1001 or 60000/1001 FPS > > I'm not sure why this is, 23.967 is a common NTSC frame rate, any ideas on > this? I don't think 23.967 is a NTSC rate. Maybe a typo of 23.976 which is nearly 24000/1001. If you are dealing with NTSC any rates should really be written as xx000/1001 From ssshukla26 at gmail.com Wed Dec 14 21:28:09 2016 From: ssshukla26 at gmail.com (ssshukla26) Date: Wed, 14 Dec 2016 11:28:09 -0800 (PST) Subject: [FFmpeg-user] make fate is failing ? In-Reply-To: <20161214142553.GB8115@sunshine.barsnick.net> References: <1481721087049-4678569.post@n4.nabble.com> <20161214142553.GB8115@sunshine.barsnick.net> Message-ID: <1481743689477-4678574.post@n4.nabble.com> Thanks, I ran the same command in a non-restrictive network and it worked. -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/make-fate-is-failing-tp4678569p4678574.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From ssshukla26 at gmail.com Wed Dec 14 21:33:58 2016 From: ssshukla26 at gmail.com (ssshukla26) Date: Wed, 14 Dec 2016 11:33:58 -0800 (PST) Subject: [FFmpeg-user] make fate is failing ? In-Reply-To: <1481743689477-4678574.post@n4.nabble.com> References: <1481721087049-4678569.post@n4.nabble.com> <20161214142553.GB8115@sunshine.barsnick.net> <1481743689477-4678574.post@n4.nabble.com> Message-ID: <1481744038380-4678575.post@n4.nabble.com> But after I apply my patch its showing me the following error. $ *make fate* warning: only a subset of the fate tests will be run because SAMPLES is not specified TEST checkasm TEST source --- ./tests/ref/fate/source 2016-12-14 23:46:01.898790057 +0530 +++ tests/data/fate/source 2016-12-15 01:13:23.114993944 +0530 @@ -31,3 +31,5 @@ compat/float/float.h compat/float/limits.h compat/nvenc/nvEncodeAPI.h +libavutil/special_format.h +libswscale/nv12tiled2nv12.h *Test source failed. Look at tests/data/fate/source.err for details.* make: *** [fate-source] Error 1 But tests/data/fate/source.err is empty. One more thing the license header under my files is as follows, is it ok ?? */* * /Description of my patch/ * Copyright (c) 2016 Sunny Shukla * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */* What am I missing ? Please help. -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/make-fate-is-failing-tp4678569p4678575.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From william.caulfield at contentbridge.tv Wed Dec 14 22:43:03 2016 From: william.caulfield at contentbridge.tv (William Caulfield) Date: Wed, 14 Dec 2016 12:43:03 -0800 Subject: [FFmpeg-user] drawtext timecode drop frame 23.967 In-Reply-To: References: Message-ID: On Wed, Dec 14, 2016 at 8:41 AM, Nathaniel Finney wrote: > It seems the drawtext filter timecode option doesn't allow using 23.967: > .... timecode='00\:00\:00\;00':rate=24000/1001: ... > > [Parsed_drawtext_4 @ 0x7ff2c74010c0] Drop frame is only allowed with > 30000/1001 or 60000/1001 FPS > > I'm not sure why this is, 23.967 is a common NTSC frame rate, any ideas on > this? > On a practical level, I have to do this quite a bit when creating proxy files for translators creating subtitles. I use "-r 24000/1001" in the script, but "rate=24" in the drawtext. Not sure if that applies to your situation. -- *William Caulfield *| *ContentBridge Systems* From ssshukla26 at gmail.com Wed Dec 14 22:33:47 2016 From: ssshukla26 at gmail.com (ssshukla26) Date: Wed, 14 Dec 2016 12:33:47 -0800 (PST) Subject: [FFmpeg-user] make fate is failing ? In-Reply-To: <1481744038380-4678575.post@n4.nabble.com> References: <1481721087049-4678569.post@n4.nabble.com> <20161214142553.GB8115@sunshine.barsnick.net> <1481743689477-4678574.post@n4.nabble.com> <1481744038380-4678575.post@n4.nabble.com> Message-ID: <1481747627962-4678577.post@n4.nabble.com> My *include guards* were improper. For *libavutil/special_format.h* It must be as follows. #ifndef AVUTIL_SPECIAL_FORMAT_H #define AVUTIL_SPECIAL_FORMAT_H For *libswscale/nv12tiled2nv12.h* it must be as follows. #ifndef SWSCALE_NV12TILED2NV12_H #define SWSCALE_NV12TILED2NV12_H Now make fate is working properly. -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/make-fate-is-failing-tp4678569p4678577.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From info at denisgottardello.it Thu Dec 15 00:00:05 2016 From: info at denisgottardello.it (Denis) Date: Wed, 14 Dec 2016 23:00:05 +0100 Subject: [FFmpeg-user] Buind ffmpeg-3.2.2 on Mac OS X Message-ID: <2628773.S0SxnnbsXl@tomcat> Hi. I have a problem on build ffmpeg on Mac OSX. I'm using the follow line Mac-mini-di-Denis:ffmpeg-3.2.2 denis$ ./configure --enable-gpl --enable-nonfree --enable-libx264 --enable-shared --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-opencl --enable-version3 --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-x11grab but I obtain this error: *ERROR: libx264 not found* If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solve the problem. I assure that the latest x264 lib is installed. -rw-r--r-- 1 denis staff 1,5M 14 Dic 21:57 libvpx.a *-rwxr-xr-x 1 root wheel 715K 14 Dic 22:14 libx264.148.dylib* *-rw-r--r-- 1 root wheel 820K 14 Dic 22:14 libx264.a* *lrwxr-xr-x 1 root wheel 17B 14 Dic 22:14 libx264.dylib -> libx264.148.dylib* -rw-r--r-- 1 root wheel 3,1M 25 Dic 2014 libyasm.a drwxr-xr-x 6 root wheel 204B 14 Dic 22:14 pkgconfig drwxr-xr-x 3 root wheel 102B 20 Set 2015 python2.7 Mac-mini-di-Denis:lib denis$ On Debian 8 all works correctly. Please have a look at my attached config.log file. Regards. -- www.denisgottardello.it Blog: https://itlnlab.com/ GMT+1 Skype: mrdebug -------------- next part -------------- A non-text attachment was scrubbed... Name: config.log Type: text/x-log Size: 351803 bytes Desc: not available URL: From coniophora at gmail.com Thu Dec 15 01:08:09 2016 From: coniophora at gmail.com (Jim Worrall) Date: Wed, 14 Dec 2016 16:08:09 -0700 Subject: [FFmpeg-user] Rotating output in transcode pipeline with C In-Reply-To: References: <1481642887.188027.817634513.03524BB0@webmail.messagingengine.com> Message-ID: Oh, if you need to remove the metadata, assuming the rotation metadata belongs to the stream, add -map_metadata:s -1 to the command, or just -map_metadata -1 to remove all metadata, stream or global. On Wed, Dec 14, 2016 at 4:05 PM, Jim Worrall wrote: > I don't fully understand your question, but you can rotate video clockwise > 90* as you input it by adding -vf "transpose=1" before -i > > -vf transpose=2 should rotate it counter-clockwise. > > On Tue, Dec 13, 2016 at 8:28 AM, Victor dMdB wrote: > >> Hi! >> >> I have an input stream which comes from a mobile device, and therefore >> has rotation metadata and side_data display matrix. >> >> I would like to transcode this, then output a stream, physically rotated >> without metadata. >> >> Do I have to use avfilter? Or can I set a parameter in avformatcontext >> to transpose it? >> >> I've tried setting the output side_data, but would prefer directly >> output the rotated frames. >> >> Thanks in advance for the help! >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> >> To unsubscribe, visit link above, or email >> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > > > From coniophora at gmail.com Thu Dec 15 01:05:35 2016 From: coniophora at gmail.com (Jim Worrall) Date: Wed, 14 Dec 2016 16:05:35 -0700 Subject: [FFmpeg-user] Rotating output in transcode pipeline with C In-Reply-To: <1481642887.188027.817634513.03524BB0@webmail.messagingengine.com> References: <1481642887.188027.817634513.03524BB0@webmail.messagingengine.com> Message-ID: I don't fully understand your question, but you can rotate video clockwise 90* as you input it by adding -vf "transpose=1" before -i -vf transpose=2 should rotate it counter-clockwise. On Tue, Dec 13, 2016 at 8:28 AM, Victor dMdB wrote: > Hi! > > I have an input stream which comes from a mobile device, and therefore > has rotation metadata and side_data display matrix. > > I would like to transcode this, then output a stream, physically rotated > without metadata. > > Do I have to use avfilter? Or can I set a parameter in avformatcontext > to transpose it? > > I've tried setting the output side_data, but would prefer directly > output the rotated frames. > > Thanks in advance for the help! > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From h.reindl at thelounge.net Thu Dec 15 03:15:20 2016 From: h.reindl at thelounge.net (Reindl Harald) Date: Thu, 15 Dec 2016 02:15:20 +0100 Subject: [FFmpeg-user] Buind ffmpeg-3.2.2 on Mac OS X In-Reply-To: <2628773.S0SxnnbsXl@tomcat> References: <2628773.S0SxnnbsXl@tomcat> Message-ID: <0976737a-d754-c26f-37be-9664887ddff3@thelounge.net> Am 14.12.2016 um 23:00 schrieb Denis: > Hi. I have a problem on build ffmpeg on Mac OSX. > I'm using the follow line > > Mac-mini-di-Denis:ffmpeg-3.2.2 denis$ ./configure --enable-gpl --enable-nonfree --enable-libx264 --enable-shared --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-opencl --enable-version3 --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-x11grab > > but I obtain this error: > > *ERROR: libx264 not found* and what exactly is unclear here? you say "--enable-libx264" but there is no lib264 with the tyical development stuff (for a serious operating system i would say just install x264-dev, x264-devel or however the package is called on your distribution) From ffmpeg at eml.cc Thu Dec 15 05:10:36 2016 From: ffmpeg at eml.cc (Victor dMdB) Date: Thu, 15 Dec 2016 11:10:36 +0800 Subject: [FFmpeg-user] Rotating output in transcode pipeline with C In-Reply-To: References: <1481642887.188027.817634513.03524BB0@webmail.messagingengine.com> Message-ID: <1481771436.3237671.819558057.75EAA0F5@webmail.messagingengine.com> Sorry, my question wasnt clear enough! It is referring to the ffmpeg C lib, not the cli! As in how does one implement the rotation with avformatcontext/avcodeccontext/avstream/avpacket/avframe (I'm not sure which one to use in this case). Show quoted text On Thu, 15 Dec 2016, at 07:05 AM, Jim Worrall wrote: > I don't fully understand your question, but you can rotate video > clockwise > 90* as you input it by adding -vf "transpose=1" before -i > > -vf transpose=2 should rotate it counter-clockwise. > > On Tue, Dec 13, 2016 at 8:28 AM, Victor dMdB wrote: > > > Hi! > > > > I have an input stream which comes from a mobile device, and therefore > > has rotation metadata and side_data display matrix. > > > > I would like to transcode this, then output a stream, physically rotated > > without metadata. > > > > Do I have to use avfilter? Or can I set a parameter in avformatcontext > > to transpose it? > > > > I've tried setting the output side_data, but would prefer directly > > output the rotated frames. > > > > Thanks in advance for the help! > > _______________________________________________ > > ffmpeg-user mailing list > > ffmpeg-user at ffmpeg.org > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > To unsubscribe, visit link above, or email > > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From nvdung12101 at gmail.com Thu Dec 15 06:55:47 2016 From: nvdung12101 at gmail.com (Peter Gade) Date: Thu, 15 Dec 2016 11:55:47 +0700 Subject: [FFmpeg-user] Rotating output in transcode pipeline with C In-Reply-To: <1481771436.3237671.819558057.75EAA0F5@webmail.messagingengine.com> References: <1481642887.188027.817634513.03524BB0@webmail.messagingengine.com> <1481771436.3237671.819558057.75EAA0F5@webmail.messagingengine.com> Message-ID: hello gúy i need code change frequency audio. (my imput is imput.mp4). I want to change up to 98kHz. Thanks 2016-12-15 10:10 GMT+07:00 Victor dMdB : > Sorry, my question wasnt clear enough! > > It is referring to the ffmpeg C lib, not the cli! > > As in how does one implement the rotation with > avformatcontext/avcodeccontext/avstream/avpacket/avframe (I'm not sure > which one to use in this case). > Show quoted text > > > On Thu, 15 Dec 2016, at 07:05 AM, Jim Worrall wrote: > > I don't fully understand your question, but you can rotate video > > clockwise > > 90* as you input it by adding -vf "transpose=1" before -i > > > > -vf transpose=2 should rotate it counter-clockwise. > > > > On Tue, Dec 13, 2016 at 8:28 AM, Victor dMdB wrote: > > > > > Hi! > > > > > > I have an input stream which comes from a mobile device, and therefore > > > has rotation metadata and side_data display matrix. > > > > > > I would like to transcode this, then output a stream, physically > rotated > > > without metadata. > > > > > > Do I have to use avfilter? Or can I set a parameter in avformatcontext > > > to transpose it? > > > > > > I've tried setting the output side_data, but would prefer directly > > > output the rotated frames. > > > > > > Thanks in advance for the help! > > > _______________________________________________ > > > ffmpeg-user mailing list > > > ffmpeg-user at ffmpeg.org > > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > > > To unsubscribe, visit link above, or email > > > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > > _______________________________________________ > > ffmpeg-user mailing list > > ffmpeg-user at ffmpeg.org > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > To unsubscribe, visit link above, or email > > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > From looxonline at gmail.com Thu Dec 15 08:10:51 2016 From: looxonline at gmail.com (luke harrison) Date: Thu, 15 Dec 2016 08:10:51 +0200 Subject: [FFmpeg-user] Buind ffmpeg-3.2.2 on Mac OS X In-Reply-To: <0976737a-d754-c26f-37be-9664887ddff3@thelounge.net> References: <2628773.S0SxnnbsXl@tomcat> <0976737a-d754-c26f-37be-9664887ddff3@thelounge.net> Message-ID: Hi Denis, Try to install lib264 using homebrew. If you are not sure then perhaps google it. If that still does not work then use the CFLAGS=-I and LDFLAGS=-L flags in the config string to tell the config file exactly where to look for the libraries and their include files. See this post. http://ffmpeg-users.933282.n4.nabble.com/libtheora-libmp3lame-vidstab-libvorbis-and-libxvid-not-found-on-OS-X-td4675660.html#a4675751 Warm regards, Luke Harrison. On Thu, Dec 15, 2016 at 3:15 AM, Reindl Harald wrote: > > > Am 14.12.2016 um 23:00 schrieb Denis: > >> Hi. I have a problem on build ffmpeg on Mac OSX. >> I'm using the follow line >> >> Mac-mini-di-Denis:ffmpeg-3.2.2 denis$ ./configure --enable-gpl >> --enable-nonfree --enable-libx264 --enable-shared --disable-ffmpeg >> --disable-ffplay --disable-ffprobe --disable-ffserver --disable-opencl >> --enable-version3 --enable-gpl --enable-version3 --enable-nonfree >> --enable-postproc --enable-pthreads --enable-x11grab >> >> but I obtain this error: >> >> *ERROR: libx264 not found* >> > > and what exactly is unclear here? > > you say "--enable-libx264" but there is no lib264 with the tyical > development stuff (for a serious operating system i would say just install > x264-dev, x264-devel or however the package is called on your distribution) > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". -- Kind regards, Luke Harrison From fernando.lopezjr at gmail.com Thu Dec 15 08:17:15 2016 From: fernando.lopezjr at gmail.com (Fernando Lopez) Date: Wed, 14 Dec 2016 23:17:15 -0700 Subject: [FFmpeg-user] help trying to record video+live stream from an ipcam. Message-ID: I would like to capture video from my ip camera into 60min segments but live stream that video at the same time. how could I do this? the current problem that I am facing right now is that it records the video in 60 mins segments but when I play the generated .m3u8 playlist it starts at the beginning of the video and not at the end like a live stream. any solution to this? ffmpeg -i inputfromcam.h264 -map 0 -c:v copy -an -flags -global_header -f ssegment -segment_list_flags +live -segment_time 3600 -segment_list play.m3u8 outputseg%03d.ts Thank you. =) -- ------------ Regards, Fernando Lopez Jr. From ceffmpeg at gmail.com Thu Dec 15 10:28:58 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Thu, 15 Dec 2016 09:28:58 +0100 Subject: [FFmpeg-user] Buind ffmpeg-3.2.2 on Mac OS X In-Reply-To: <2628773.S0SxnnbsXl@tomcat> References: <2628773.S0SxnnbsXl@tomcat> Message-ID: 2016-12-14 23:00 GMT+01:00 Denis : > Hi. I have a problem on build ffmpeg on Mac OSX. Please understand that on osx, only current FFmpeg is supported. > I'm using the follow line > > Mac-mini-di-Denis:ffmpeg-3.2.2 denis$ ./configure --enable-gpl --enable-nonfree --enable-libx264 --enable-shared --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-opencl --enable-version3 --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-x11grab This configure line looks very unusual: What are you planning to do with the resulting binaries? At least --enable-postproc and --enable-pthreads have no effect. > but I obtain this error: > > *ERROR: libx264 not found* > If you think configure made a mistake, make sure you are using the latest > version from Git. If the latest version fails, report the problem to the > ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. > Include the log file "config.log" produced by configure as this will help > solve the problem. Did you read this? > I assure that the latest x264 lib is installed. > > -rw-r--r-- 1 denis staff 1,5M 14 Dic 21:57 libvpx.a > *-rwxr-xr-x 1 root wheel 715K 14 Dic 22:14 libx264.148.dylib* > *-rw-r--r-- 1 root wheel 820K 14 Dic 22:14 libx264.a* > *lrwxr-xr-x 1 root wheel 17B 14 Dic 22:14 libx264.dylib -> libx264.148.dylib* You didn't tell where you installed it. If it is in the default location "/usr/local", it should be picked up automatically. Carl Eugen From ceffmpeg at gmail.com Thu Dec 15 10:31:29 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Thu, 15 Dec 2016 09:31:29 +0100 Subject: [FFmpeg-user] Rotating output in transcode pipeline with C In-Reply-To: <1481771436.3237671.819558057.75EAA0F5@webmail.messagingengine.com> References: <1481642887.188027.817634513.03524BB0@webmail.messagingengine.com> <1481771436.3237671.819558057.75EAA0F5@webmail.messagingengine.com> Message-ID: 2016-12-15 4:10 GMT+01:00 Victor dMdB : > Sorry, my question wasnt clear enough! > > It is referring to the ffmpeg C lib, not the cli! Then please consider reading https://ffmpeg.org/contact.html (again), this mailing list is about using ffmpeg, ffplay etc. libavcodec cannot rotate, libavfilter can. Please do not top-post here (or on libav-user), Carl Eugen From ceffmpeg at gmail.com Thu Dec 15 10:41:46 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Thu, 15 Dec 2016 09:41:46 +0100 Subject: [FFmpeg-user] how to correctly configure parameters of ffmpeg? In-Reply-To: <1481702441.56935680@f386.i.mail.ru> References: <1481702441.56935680@f386.i.mail.ru> Message-ID: 2016-12-14 9:00 GMT+01:00 Плесовских Ксения : > ffmpeg version N-78410-g588e2e3 Copyright (c) 2000-2016 the FFmpeg developers Please test current FFmpeg git head. Carl Eugen From ceffmpeg at gmail.com Thu Dec 15 11:02:03 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Thu, 15 Dec 2016 10:02:03 +0100 Subject: [FFmpeg-user] Duration of source video and substracted audio different In-Reply-To: <1481688752849.95627@btime.com> References: <1481688752849.95627@btime.com> Message-ID: 2016-12-14 5:12 GMT+01:00 张鹏程 : > The duration of source video and substracted wav audio is different , why? It seems to me downloading segments fails sometimes, ffplay will pause / output silence, ffmpeg (without -async 1) simply cuts over the missing parts. I don't know if there is a bug or a network issue. > I'm recorgnizing subtitle from audio, and I need to add subtitle back to > video. So I want the duration of audio and video the same. > I run command "ffmpeg -i http://cdn.live.360.cn/huikan_news/vod-media/_XW_203286B417B7C6466B3B_20160627185953.m3u8 -vntest.wav -y?" Consider using a script that first downloads all segments, then check if something is missing. > I paste my CLI here, http://pastebin.com/iwDFv6zC For future questions: Do not use external resources, post console output in your mail! Carl Eugen From ceffmpeg at gmail.com Thu Dec 15 11:03:33 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Thu, 15 Dec 2016 10:03:33 +0100 Subject: [FFmpeg-user] Very high latency of RTMP laptop webcam In-Reply-To: <20161213215718.GB13523@sunshine.barsnick.net> References: <20161209135913.GC10381@sunshine.barsnick.net> <20161213215718.GB13523@sunshine.barsnick.net> Message-ID: 2016-12-13 22:57 GMT+01:00 Moritz Barsnick : > BTW, your command line has: > "-pix_fmt yuyv422" > but you omitted this from your output: >> Incompatible pixel format 'yuyv422' for codec 'libx264', auto-selecting format 'yuv422p' Iirc, I implemented the warning so that it is only shown if -pix_fmt was not specified (and "auto-selecting format" happens). Carl Eugen From barsnick at gmx.net Thu Dec 15 12:55:18 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Thu, 15 Dec 2016 11:55:18 +0100 Subject: [FFmpeg-user] Buind ffmpeg-3.2.2 on Mac OS X In-Reply-To: References: <2628773.S0SxnnbsXl@tomcat> Message-ID: <20161215105518.GA22447@sunshine.barsnick.net> On Thu, Dec 15, 2016 at 09:28:58 +0100, Carl Eugen Hoyos wrote: > > Include the log file "config.log" produced by configure as this will help > > solve the problem. > > Did you read this? He did, and he did include config.log. > > I assure that the latest x264 lib is installed. > > > > -rw-r--r-- 1 denis staff 1,5M 14 Dic 21:57 libvpx.a > > *-rwxr-xr-x 1 root wheel 715K 14 Dic 22:14 libx264.148.dylib* > > *-rw-r--r-- 1 root wheel 820K 14 Dic 22:14 libx264.a* > > *lrwxr-xr-x 1 root wheel 17B 14 Dic 22:14 libx264.dylib -> libx264.148.dylib* > > You didn't tell where you installed it. > If it is in the default location "/usr/local", it should be picked up > automatically. The problem is clearly outlined at the very bottom of config.log: > /var/folders/z_/pqkmr0g95ll4dszy7z6ns3v40000gn/T//ffconf.WnmjwMvN.c:1:10: fatal error: 'x264.h' file not found > #include > ^ > 1 error generated. > ERROR: libx264 not found You (Denis) do indeed have the libs installed, but you also need the headers in order to compile against an external library such as libx264. As Carl Eugen mentioned, both the libraries and the headers (or a pkgconfig file) must be under standard locations in order to be found automatcally. Environment variables and ./configure options can help point the configure process to locations which differ. Moritz From barsnick at gmx.net Thu Dec 15 13:23:42 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Thu, 15 Dec 2016 12:23:42 +0100 Subject: [FFmpeg-user] Duration of source video and substracted audio different In-Reply-To: References: <1481688752849.95627@btime.com> Message-ID: <20161215112342.GB22447@sunshine.barsnick.net> On Thu, Dec 15, 2016 at 10:02:03 +0100, Carl Eugen Hoyos wrote: > Consider using a script that first downloads all segments, then check > if something is missing. Yesterday, when looking into this report, I did exactly that: I downloaded the segments using wget: $ wget -Sv http://cdn.live.360.cn/huikan_news/vod-media/_XW_203286B417B7C6466B3B_20160627185953.m3u8 $ for u in `grep -F .ts ../_XW_203286B417B7C6466B3B_20160627185953.m3u8`; do wget -Sv "$u"; done Then concatenated them in order (under the assumption that they don't overlap): $ for f in $(grep -F .ts ../_XW_203286B417B7C6466B3B_20160627185953.m3u8 | perl -pe 's|.*/([^/]+)$|$1|'); do cat $f; done > _XW_203286B417B7C6466B3B_20160627185953.ts This resulting MPEG-TS shows the same duration as the original HLS: Duration: 00:06:52.07, start: 1.400000, bitrate: 673 kb/s Using $ ffmpeg -i _XW_203286B417B7C6466B3B_20160627185953.ts -vn -f null - or $ ffmpeg -i _XW_203286B417B7C6466B3B_20160627185953.ts -vn _XW_203286B417B7C6466B3B_20160627185953.wav ffmpeg will seem to process 00:06:51.84: size= 31904kB time=00:06:51.84 bitrate= 634.6kbits/s speed= 261x and also copy this duration into other formats' metadata, such as M4A. Yet the contained AAC stream is apparently shorter: $ ffmpeg -i _XW_203286B417B7C6466B3B_20160627185953.ts -vn -c copy _XW_203286B417B7C6466B3B_20160627185953.aac $ ffmpeg -i _XW_203286B417B7C6466B3B_20160627185953.aac -f null - [...] size=N/A time=00:06:10.40 bitrate=N/A speed= 426x So the AAC stream is just shorter than the video, apparently??? Apparently not: What's interesting is that the MPEG-TS has audio packets with actual samples at the higher timestamps: media_type=audio best_effort_timestamp_time=413.218211 nb_samples=1024 And if you watch the resulting MPEG-TS, you will notice that the audio plays for more that 06:10. Converting with "-loglevel verbose" shows a lot of continuity check errors, perhaps they have to do with this?: [mpegts @ 0xbc3d900] Continuity check failed for pid 17 expected 1 got 0 [...] Moritz From coniophora at gmail.com Thu Dec 15 14:55:14 2016 From: coniophora at gmail.com (Jim Worrall) Date: Thu, 15 Dec 2016 05:55:14 -0700 Subject: [FFmpeg-user] Buind ffmpeg-3.2.2 on Mac OS X In-Reply-To: <20161215105518.GA22447@sunshine.barsnick.net> References: <2628773.S0SxnnbsXl@tomcat> <20161215105518.GA22447@sunshine.barsnick.net> Message-ID: <272DFB0B-EFDD-492C-BC94-4889D115DDD3@gmail.com> Moritz pinpointed the problem to missing/lost x264.h. In my mac system that is at /usr/local/include, so if you can find it, you could perhaps move it there. If that doesn’t work, I second the suggestion of Luke to use homebrew to install a lot of these dependencies and such. It works well and has up-to-date versions. The command brew install libogg libvorbis libgsm libvpx fdk-aac lame libass orc sdl xvid yasm pkg-config x264 installs all those things. Then next time you want to update ffmpeg, just brew update brew upgrade And like Carl, I’m confused by some of the options you chose. Are you sure you want to build ffmpeg but --disable-ffmpeg? I’m curious what the resulting product would be. From jd1008 at gmail.com Thu Dec 15 20:27:52 2016 From: jd1008 at gmail.com (jd1008) Date: Thu, 15 Dec 2016 11:27:52 -0700 Subject: [FFmpeg-user] transcoding belches out "Past duration 0.939156 too large" Message-ID: <5852E0A8.8060707@gmail.com> using 3.0.2-static: ffmpeg -i vid_1.mkv -vb 4000k -s 1920x1080 -vf hflip,scale=1920:1080 -y vid_1-hflip.mkv is belching out lots of Past duration 0.939156 too large Any ideas why? From signalsender103 at gmail.com Thu Dec 15 20:52:15 2016 From: signalsender103 at gmail.com (signalsender103 at gmail.com) Date: Thu, 15 Dec 2016 10:52:15 -0800 (PST) Subject: [FFmpeg-user] hearing higher frequencies than expected from generated audio using aevalsrc Message-ID: <5852e65f.1635c80a.ee14.b268@mx.google.com> Hello, When I perform this command to generate what I expect should be a sine wave sweeping from 262 hZ to the next octave higher over a duration of 10 seconds, using this command: ffmpeg -f lavfi -i aevalsrc=sin(262*2^^(t/10)*2*PI*t):d=10 test.ogg I get the following output: ffmpeg version N-82759-g1f5630a Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 41.101 / 55. 41.101 libavcodec 57. 66.109 / 57. 66.109 libavformat 57. 58.101 / 57. 58.101 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 Input #0, lavfi, from 'aevalsrc=sin(262*2^(t/10)*2*PI*t):d=10': Duration: N/A, start: 0.000000, bitrate: 2822 kb/s Stream #0:0: Audio: pcm_f64le, 44100 Hz, mono, dbl, 2822 kb/s Output #0, ogg, to 'test.ogg': Metadata: encoder : Lavf57.58.101 Stream #0:0: Audio: vorbis (libvorbis), 44100 Hz, mono, fltp Metadata: encoder : Lavc57.66.109 libvorbis Stream mapping: Stream #0:0 -> #0:0 (pcm_f64le (native) -> vorbis (libvorbis)) Press [q] to stop, [?] for help size= 21kB time=00:00:09.99 bitrate= 17.1kbits/s speed=47.7x video:0kB audio:17kB subtitle:0kB other streams:0kB global headers:3kB muxing overhead: 23.471869% resulting in the attached Ogg file. The resulting frequency sweep ends up almost an octave higher than I expected. What am I doing wrong? How can I fix this? Thanks, Adam -------------- next part -------------- A non-text attachment was scrubbed... Name: test.ogg Type: audio/ogg Size: 21331 bytes Desc: not available URL: From echarles at bostonproductions.com Thu Dec 15 20:56:47 2016 From: echarles at bostonproductions.com (DevOfAllTrades) Date: Thu, 15 Dec 2016 10:56:47 -0800 (PST) Subject: [FFmpeg-user] Sync video and audio after using complex filters to blend two files In-Reply-To: References: Message-ID: <1481828207620-4678596.post@n4.nabble.com> I'm having a similar problem. This is the call I'm using: ffmpeg -y -r 30 -i titleCard.mp4 -i rawRecording.mp4 -i credits.mp4 -i longSong.mp3 -filter_complex "[0:0][0:1][1:0][1:1][2:0][2:1] concat=n=3:v=1:a=1 [concatv] [concata], [3:0]aformat=sample_fmts=fltp:sample_rates=48000:channel_layouts=stereo,volume=0.4[quiet], [concata][quiet]amerge=inputs=2[aout]" -map [concatv] -map [aout] -pix_fmt yuv420p -c:a aac -strict -2 output.mp4 I've tested this on a bunch of platforms, and I've found that it plays back with no issues on Windows Media Player and the new Windows 10 Movies & TV app (of all things), but not in Chrome, Quicktime, VLC, etc. What platform are you trying to play your output file back on? I'd be curious to see if it plays with no sync issues on any platform. -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Sync-video-and-audio-after-using-complex-filters-to-blend-two-files-tp4678487p4678596.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From belcampo at zonnet.nl Thu Dec 15 21:32:33 2016 From: belcampo at zonnet.nl (Henk D. Schoneveld) Date: Thu, 15 Dec 2016 20:32:33 +0100 Subject: [FFmpeg-user] transcoding belches out "Past duration 0.939156 too large" In-Reply-To: <5852E0A8.8060707@gmail.com> References: <5852E0A8.8060707@gmail.com> Message-ID: <58E73D80-5DC4-4789-A65F-4DD16DA81F51@zonnet.nl> On 15 Dec 2016, at 19:27, jd1008 wrote: > using 3.0.2-static: > > ffmpeg -i vid_1.mkv -vb 4000k -s 1920x1080 -vf hflip,scale=1920:1080 -y vid_1-hflip.mkv > > is belching out lots of > Past duration 0.939156 too large Probably the result of a framerate conversion, the source is probably different from the default chosen, you didn’t specify a framerate > > Any ideas why? > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From ceffmpeg at gmail.com Fri Dec 16 00:11:32 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Thu, 15 Dec 2016 23:11:32 +0100 Subject: [FFmpeg-user] transcoding belches out "Past duration 0.939156 too large" In-Reply-To: <5852E0A8.8060707@gmail.com> References: <5852E0A8.8060707@gmail.com> Message-ID: 2016-12-15 19:27 GMT+01:00 jd1008 : > using 3.0.2-static: Please test current FFmpeg git head, if the issue is still reproducible, please provide both the command line you tested and the complete, uncut console output. Carl Eugen From ceffmpeg at gmail.com Fri Dec 16 00:13:54 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Thu, 15 Dec 2016 23:13:54 +0100 Subject: [FFmpeg-user] Buind ffmpeg-3.2.2 on Mac OS X In-Reply-To: References: <2628773.S0SxnnbsXl@tomcat> Message-ID: 2016-12-15 9:28 GMT+01:00 Carl Eugen Hoyos : > 2016-12-14 23:00 GMT+01:00 Denis : >> If you think configure made a mistake, make sure you are using the latest >> version from Git. If the latest version fails, report the problem to the >> ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. >> Include the log file "config.log" produced by configure as this will help >> solve the problem. > > Did you read this? Sorry about this! As Moritz explained, please put x264.h in /usr/local/include and test again. Carl Eugen From jd1008 at gmail.com Fri Dec 16 03:58:55 2016 From: jd1008 at gmail.com (jd1008) Date: Thu, 15 Dec 2016 18:58:55 -0700 Subject: [FFmpeg-user] transcoding belches out "Past duration 0.939156 too large" In-Reply-To: References: <5852E0A8.8060707@gmail.com> Message-ID: <58534A5F.9090607@gmail.com> On 12/15/2016 03:11 PM, Carl Eugen Hoyos wrote: > 2016-12-15 19:27 GMT+01:00 jd1008 : >> using 3.0.2-static: > Please test current FFmpeg git head, if the issue is still reproducible, > please provide both the command line you tested and the complete, > uncut console output. > > Carl Eugen $ /bin/ffmpeg -i vid_1.mkv -vb 4000k -s 1920x1080 -vf "hflip",scale=1920:1080 -y vid_1-hflip.mkv ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.8.3 (GCC) 20140911 (Red Hat 4.8.3-7) configuration: --prefix=/usr libavutil 55. 34.100 / 55. 34.100 libavcodec 57. 64.101 / 57. 64.101 libavformat 57. 56.100 / 57. 56.100 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 Input #0, matroska,webm, from 'vid_1.mkv': Metadata: CREATION_TIME : 2016-08-28 20:13:56 MAJOR_BRAND : dash MINOR_VERSION : 0 COMPATIBLE_BRANDS: iso6avc1mp41 ENCODER : Lavf56.1.0 Duration: 01:29:28.07, start: 0.026000, bitrate: 427 kb/s Stream #0:0(und): Video: h264 (Main), yuv420p(tv, bt709, progressive), 640x360 [SAR 1:1 DAR 16:9], 30.30 fps, 29.83 tbr, 1k tbn, 59.74 tbc (default) Metadata: CREATION_TIME : 2016-08-28 20:13:56 LANGUAGE : und Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default) Output #0, matroska, to 'vid_1-hflip.mkv': Metadata: COMPATIBLE_BRANDS: iso6avc1mp41 MAJOR_BRAND : dash MINOR_VERSION : 0 encoder : Lavf57.56.100 Stream #0:0(und): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 4000 kb/s, 29.83 fps, 1k tbn, 29.83 tbc (default) Metadata: CREATION_TIME : 2016-08-28 20:13:56 LANGUAGE : und encoder : Lavc57.64.101 mpeg4 Side data: cpb: bitrate max/min/avg: 0/0/4000000 buffer size: 0 vbv_delay: -1 Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 192 kb/s (default) Metadata: LANGUAGE : eng encoder : Lavc57.64.101 ac3 Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native)) Stream #0:1 -> #0:1 (opus (native) -> ac3 (native)) Press [q] to stop, [?] for help Past duration 0.611992 too large 7312kB time=00:00:20.89 bitrate=2867.2kbits/s speed=1.07x Past duration 0.613152 too large 7645kB time=00:00:21.53 bitrate=2908.7kbits/s speed=1.07x Past duration 0.614326 too large Past duration 0.615486 too large Past duration 0.601158 too large Past duration 0.616661 too large Past duration 0.602333 too large Past duration 0.617821 too large Past duration 0.603493 too large Past duration 0.618996 too large Past duration 0.604652 too large Past duration 0.620155 too large Past duration 0.605827 too large Past duration 0.621330 too large . . . . . . ... tons of these messages .... > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From zhangpengcheng at btime.com Fri Dec 16 05:22:38 2016 From: zhangpengcheng at btime.com (=?gb2312?B?1cXF9LPM?=) Date: Fri, 16 Dec 2016 03:22:38 +0000 Subject: [FFmpeg-user] =?gb2312?b?tPC4tDogIER1cmF0aW9uIG9mIHNvdXJjZSB2aWRl?= =?gb2312?b?byBhbmQgc3Vic3RyYWN0ZWQgYXVkaW8gZGlmZmVyZW50?= In-Reply-To: <20161215112342.GB22447@sunshine.barsnick.net> References: <1481688752849.95627@btime.com> , <20161215112342.GB22447@sunshine.barsnick.net> Message-ID: <1481858570999.7697@btime.com> Thanks a lot! I think it's because the source video loss some frames. I draw the pts of all frames here https://flic.kr/p/Q2UDWj ________________________________________ 发件人: ffmpeg-user 代表 Moritz Barsnick 发送时间: 2016年12月15日 19:23 收件人: FFmpeg user discussions 主题: Re: [FFmpeg-user] Duration of source video and substracted audio different On Thu, Dec 15, 2016 at 10:02:03 +0100, Carl Eugen Hoyos wrote: > Consider using a script that first downloads all segments, then check > if something is missing. Yesterday, when looking into this report, I did exactly that: I downloaded the segments using wget: $ wget -Sv http://cdn.live.360.cn/huikan_news/vod-media/_XW_203286B417B7C6466B3B_20160627185953.m3u8 $ for u in `grep -F .ts ../_XW_203286B417B7C6466B3B_20160627185953.m3u8`; do wget -Sv "$u"; done Then concatenated them in order (under the assumption that they don't overlap): $ for f in $(grep -F .ts ../_XW_203286B417B7C6466B3B_20160627185953.m3u8 | perl -pe 's|.*/([^/]+)$|$1|'); do cat $f; done > _XW_203286B417B7C6466B3B_20160627185953.ts This resulting MPEG-TS shows the same duration as the original HLS: Duration: 00:06:52.07, start: 1.400000, bitrate: 673 kb/s Using $ ffmpeg -i _XW_203286B417B7C6466B3B_20160627185953.ts -vn -f null - or $ ffmpeg -i _XW_203286B417B7C6466B3B_20160627185953.ts -vn _XW_203286B417B7C6466B3B_20160627185953.wav ffmpeg will seem to process 00:06:51.84: size= 31904kB time=00:06:51.84 bitrate= 634.6kbits/s speed= 261x and also copy this duration into other formats' metadata, such as M4A. Yet the contained AAC stream is apparently shorter: $ ffmpeg -i _XW_203286B417B7C6466B3B_20160627185953.ts -vn -c copy _XW_203286B417B7C6466B3B_20160627185953.aac $ ffmpeg -i _XW_203286B417B7C6466B3B_20160627185953.aac -f null - [...] size=N/A time=00:06:10.40 bitrate=N/A speed= 426x So the AAC stream is just shorter than the video, apparently??? Apparently not: What's interesting is that the MPEG-TS has audio packets with actual samples at the higher timestamps: media_type=audio best_effort_timestamp_time=413.218211 nb_samples=1024 And if you watch the resulting MPEG-TS, you will notice that the audio plays for more that 06:10. Converting with "-loglevel verbose" shows a lot of continuity check errors, perhaps they have to do with this?: [mpegts @ 0xbc3d900] Continuity check failed for pid 17 expected 1 got 0 [...] Moritz _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From looxonline at gmail.com Fri Dec 16 06:23:11 2016 From: looxonline at gmail.com (Luke Harrison) Date: Fri, 16 Dec 2016 06:23:11 +0200 Subject: [FFmpeg-user] Sync video and audio after using complex filters to blend two files In-Reply-To: <1481828207620-4678596.post@n4.nabble.com> References: <1481828207620-4678596.post@n4.nabble.com> Message-ID: Managed to fix mine. Will respond in full later. Regards, Luke. Sent from my iPhone > On 15 Dec 2016, at 8:56 PM, DevOfAllTrades wrote: > > I'm having a similar problem. > > This is the call I'm using: > > ffmpeg -y -r 30 -i titleCard.mp4 -i rawRecording.mp4 -i credits.mp4 -i > longSong.mp3 -filter_complex "[0:0][0:1][1:0][1:1][2:0][2:1] > concat=n=3:v=1:a=1 [concatv] [concata], > [3:0]aformat=sample_fmts=fltp:sample_rates=48000:channel_layouts=stereo,volume=0.4[quiet], > [concata][quiet]amerge=inputs=2[aout]" -map [concatv] -map [aout] -pix_fmt > yuv420p -c:a aac -strict -2 output.mp4 > > I've tested this on a bunch of platforms, and I've found that it plays back > with no issues on Windows Media Player and the new Windows 10 Movies & TV > app (of all things), but not in Chrome, Quicktime, VLC, etc. > > What platform are you trying to play your output file back on? I'd be > curious to see if it plays with no sync issues on any platform. > > > > > -- > View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Sync-video-and-audio-after-using-complex-filters-to-blend-two-files-tp4678487p4678596.html > Sent from the FFmpeg-users mailing list archive at Nabble.com. > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From applemax82 at 163.com Sat Dec 17 09:41:30 2016 From: applemax82 at 163.com (qw) Date: Sat, 17 Dec 2016 15:41:30 +0800 (CST) Subject: [FFmpeg-user] how to convert one mp4 file into multiple files with different setting Message-ID: <1ed88d3f.365e.1590bba8596.Coremail.applemax82@163.com> Hi, I want to use ffmpeg to do the following complicated task: I have one mp4 file with one audio and one video stream. I want to convert the mp4 file into three encoding settings, and then save each output with one encoding setting into 3 files. How to do it by using single ffmpeg command? Thanks! Regards Andrew From cleyfaye at gmail.com Sat Dec 17 12:21:45 2016 From: cleyfaye at gmail.com (Cley Faye) Date: Sat, 17 Dec 2016 11:21:45 +0100 Subject: [FFmpeg-user] how to convert one mp4 file into multiple files with different setting In-Reply-To: <1ed88d3f.365e.1590bba8596.Coremail.applemax82@163.com> References: <1ed88d3f.365e.1590bba8596.Coremail.applemax82@163.com> Message-ID: 2016-12-17 8:41 GMT+01:00 qw : > I want to use ffmpeg to do the following complicated task: > > > I have one mp4 file with one audio and one video stream. I want to convert > the mp4 file into three encoding settings, and then save each output with > one encoding setting into 3 files. > > > How to do it by using single ffmpeg command? > ​Every time you provide an output filename, all output settings are reset. You could do something like this: $ ffmpeg -i input.mp4 -c copy out1.mp4 -c:v h264 -c:a libvorbis out2.mp4 -c copy -map 0:v out3.mp4 Each output will have the preceding options applied to them. From kieran.o.leary at gmail.com Sat Dec 17 21:30:34 2016 From: kieran.o.leary at gmail.com (Kieran O Leary) Date: Sat, 17 Dec 2016 19:30:34 +0000 Subject: [FFmpeg-user] setfield and display order and storage order In-Reply-To: References: Message-ID: Hi, On 29 Nov 2016 14:23, wrote: I found that if I add '-field_order tt', then I can force a 'top first' output with mov, but an mkv output with '-field_order tt' stays as 'top coded first (swapped)'. Dave I am also curious about an answer to this but perhaps no one answered due to the thread hijacking. From PKIRCHHOFFER at msn.com Sat Dec 17 20:05:38 2016 From: PKIRCHHOFFER at msn.com (PAUL Kirchhoffer) Date: Sat, 17 Dec 2016 18:05:38 +0000 Subject: [FFmpeg-user] Help recovering video of cherished moment Message-ID: Dear ffmpeg user community, I hope you will forgive my ignorance in this domain. I'm can generally solve my own problems in the tech domain but this one has me stumped. I have 4 very old .avi video files taken shortly after our youngest son's birth. The videos are small and grainy but they capture a cherished event so I would love to recover them. I've been floundering around trying to solve this problem on my own and have come to the realization that I need help. Here's what I think I know about these files: - I've used media analysis software including ffprobe (thank you) to determine what codec was used to encode them o codec_type=video | codec_tag_string=VDO3 | codec_tag=0x334f4456 o the remainder of an ffprobe command I found on the web is in the attached avi.txt file along with a sample video o the codec was developed by a company that no longer exists - based on what I read, their technology was incorporated into NetShow Tools, then Direct Show, then Windows Media Player If you are inclined to help and know how, perhaps all you need to is the sample video. If you could use some comic relief in your life this holiday season, continue reading the short chronicle of my failures below. Thanks in advance for any suggestions this group may have on how to proceed. I've tried everything I know how to do and many things I have no clue how to do: - I found the original codec file using the wayback machine but couldn't install it in the Windows10 version of WMP - I tried unsuccessfully to set up a winXP media Center virtualbox but failed when I couldn't locate a copy of the operating system - I succeeded in installing WMP9 and WMP10 using wine on Ubunutu but learned my 32-bit codec wouldn't work on a 64-bit machine - I tried using ffmpeg on both Ubuntu and Windows but it looks like the codec is not yet supported - The MPlayer documentation indicated the codec was supported and I finally succeeded in getting Mplayer running on a 32-bit Ubuntu virtualbox. I think I succeeded in getting Mplayer to use the correct codec but I got no video. The videos have been copied to many different hard drives over the years - maybe they are corrupt. Thanks to generosity and brilliance of others, I got much farther than I ever would have on my own, but am still coming up short. Happy Holidays, Paul Kirchhoffer -------------- next part -------------- A non-text attachment was scrubbed... Name: tjkfirstseconds.avi Type: video/avi Size: 145408 bytes Desc: tjkfirstseconds.avi URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: avi.txt URL: From ceffmpeg at gmail.com Sun Dec 18 07:07:27 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Sun, 18 Dec 2016 06:07:27 +0100 Subject: [FFmpeg-user] Help recovering video of cherished moment In-Reply-To: References: Message-ID: 2016-12-17 19:05 GMT+01:00 PAUL Kirchhoffer : > - The MPlayer documentation indicated the codec was supported and I > finally succeeded in getting Mplayer running on a 32-bit Ubuntu virtualbox. Please test with an MPlayer Windows binary: It may never have been tested on Linux, I just tested with MPlayer from 2008 when the relevant code was added and it did not work either on Linux. > I think I succeeded in getting Mplayer to use the correct codec but I got > no video. > The videos have been copied to many different hard drives over the > years - maybe they are corrupt. This is not very likely. Carl Eugen From profissional at gmail.com Sun Dec 18 13:59:38 2016 From: profissional at gmail.com (Caio Cesar Moreira) Date: Sun, 18 Dec 2016 09:59:38 -0200 Subject: [FFmpeg-user] FFMPEG 3.2.2 - "could not find codec parameters" Message-ID: Hi, I'm trying to dump video frames from a TS file but for some reason ffmpeg is failing. Command used: ffmpeg -i playlist.m3u8 -vcodec -r 1 "output_%04d.png" -loglevel 99 m3u8 content: #EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:5 #EXT-X-MEDIA-SEQUENCE:160983 #EXT-X-PROGRAM-DATE-TIME:2016-12-17 13:08:01+00:00 #EXT-X-KEY:METHOD=AES-128,URI="key.bin" #EXTINF:5.0000, myfile.ts #EXT-X-ENDLIST myfile.ts and key.bin are in the same folder as the m3u8 file. ============== OUTPUT: ============== ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers built with llvm-gcc 4.2.1 (LLVM build 2336.11.00) configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --disable-doc --arch=x86_64 --enable-runtime-cpudetect libavutil 55. 34.100 / 55. 34.100 libavcodec 57. 64.101 / 57. 64.101 libavformat 57. 56.100 / 57. 56.100 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100 Splitting the commandline. Reading option '-i' ... matched as input url with argument 'playlist.m3u8'. Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument '-r'. Reading option '1' ... matched as output url. Reading option 'output_%04d.png' ... matched as output url. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'. Finished splitting the commandline. Parsing a group of options: global . Applying option loglevel (set logging level) with argument 99. Successfully parsed a group of options. Parsing a group of options: input url playlist.m3u8. Successfully parsed a group of options. Opening an input file: playlist.m3u8. [file @ 0x7fd5f850daa0] Setting default whitelist 'file,crypto' Probing hls,applehttp score:100 size:245 [hls,applehttp @ 0x7fd5f9002600] Format hls,applehttp probed with size=2048 and score=100 [hls,applehttp @ 0x7fd5f9002600] new_program: id=0x0000 [hls,applehttp @ 0x7fd5f9002600] HLS request for url 'globo-sp1_2564-1481980676-18500029200.ts', offset 0, playlist 0 [AVIOContext @ 0x7fd5f850e1a0] Statistics: 16 bytes read, 0 seeks Probing mp3 score:1 size:2048 Probing mpeg score:25 size:2048 Probing mpegts score:50 size:2048 Format mpegts probed with size=2048 and score=50 score: 44, dvhs_score: -1, fec_score: -3 [mpegts @ 0x7fd5f900c200] Filter: pid=0x11 type=1 [mpegts @ 0x7fd5f900c200] Filter: pid=0x0 type=1 [AVIOContext @ 0x7fd5f850e1c0] Statistics: 1733924 bytes read, 0 seeks [mpegts @ 0x7fd5f900c200] tuning done [hls,applehttp @ 0x7fd5f9002600] Before avformat_find_stream_info() pos: 245 bytes read:245 seeks:0 nb_streams:0 [hls,applehttp @ 0x7fd5f9002600] No longer receiving playlist 0 [hls,applehttp @ 0x7fd5f9002600] format: start_time: -9223372036854.775 duration: 5.000 bitrate=0 kb/s [hls,applehttp @ 0x7fd5f9002600] After avformat_find_stream_info() pos: 245 bytes read:245 seeks:0 frames:0 playlist.m3u8: could not find codec parameters [AVIOContext @ 0x7fd5f850db20] Statistics: 245 bytes read, 0 seeks ============== On a Macbook Pro: Darwin 15.6.0 Darwin Kernel Version 15.6.0: Thu Sep 1 15:01:16 PDT 2016; root:xnu-3248.60.11~2/RELEASE_X86_64 x86_64 I tried an older version of FFMPEG (3.1.5) and I get another error message for the same command line, which is: Output file #0 does not contain any stream. Any idea of what's going on? Thanks in advance! Caio From signalsender103 at gmail.com Sun Dec 18 21:24:41 2016 From: signalsender103 at gmail.com (Adam Puckett) Date: Sun, 18 Dec 2016 14:24:41 -0500 Subject: [FFmpeg-user] FFMPEG 3.2.2 - "could not find codec parameters" In-Reply-To: References: Message-ID: On 12/18/16, Caio Cesar Moreira wrote: > Hi, > > I'm trying to dump video frames from a TS file but for some reason ffmpeg > is failing. > > Command used: ffmpeg -i playlist.m3u8 -vcodec -r 1 "output_%04d.png" > -loglevel 99 > > m3u8 content: > > #EXTM3U > > #EXT-X-VERSION:3 > > #EXT-X-TARGETDURATION:5 > > #EXT-X-MEDIA-SEQUENCE:160983 > > #EXT-X-PROGRAM-DATE-TIME:2016-12-17 13:08:01+00:00 > > #EXT-X-KEY:METHOD=AES-128,URI="key.bin" > > #EXTINF:5.0000, > > myfile.ts > > #EXT-X-ENDLIST > > myfile.ts and key.bin are in the same folder as the m3u8 file. > > ============== > OUTPUT: > ============== > > ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers > > built with llvm-gcc 4.2.1 (LLVM build 2336.11.00) > > configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl > --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx > --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora > --enable-libvorbis --enable-libx264 --enable-avfilter > --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters > --enable-libgsm --enable-libvidstab --enable-libx265 --disable-doc > --arch=x86_64 --enable-runtime-cpudetect > > libavutil 55. 34.100 / 55. 34.100 > > libavcodec 57. 64.101 / 57. 64.101 > > libavformat 57. 56.100 / 57. 56.100 > > libavdevice 57. 1.100 / 57. 1.100 > > libavfilter 6. 65.100 / 6. 65.100 > > libswscale 4. 2.100 / 4. 2.100 > > libswresample 2. 3.100 / 2. 3.100 > > libpostproc 54. 1.100 / 54. 1.100 > > Splitting the commandline. > > Reading option '-i' ... matched as input url with argument 'playlist.m3u8'. > > Reading option '-vcodec' ... matched as option 'vcodec' (force video codec > ('copy' to copy stream)) with argument '-r'. > > Reading option '1' ... matched as output url. > > Reading option 'output_%04d.png' ... matched as output url. > > Reading option '-loglevel' ... matched as option 'loglevel' (set logging > level) with argument '99'. > > Finished splitting the commandline. > > Parsing a group of options: global . > > Applying option loglevel (set logging level) with argument 99. > > Successfully parsed a group of options. > > Parsing a group of options: input url playlist.m3u8. > > Successfully parsed a group of options. > > Opening an input file: playlist.m3u8. > > [file @ 0x7fd5f850daa0] Setting default whitelist 'file,crypto' > > Probing hls,applehttp score:100 size:245 > > [hls,applehttp @ 0x7fd5f9002600] Format hls,applehttp probed with size=2048 > and score=100 > > [hls,applehttp @ 0x7fd5f9002600] new_program: id=0x0000 > > [hls,applehttp @ 0x7fd5f9002600] HLS request for url > 'globo-sp1_2564-1481980676-18500029200.ts', offset 0, playlist 0 > > [AVIOContext @ 0x7fd5f850e1a0] Statistics: 16 bytes read, 0 seeks > > Probing mp3 score:1 size:2048 > > Probing mpeg score:25 size:2048 > > Probing mpegts score:50 size:2048 > > Format mpegts probed with size=2048 and score=50 > > score: 44, dvhs_score: -1, fec_score: -3 > > [mpegts @ 0x7fd5f900c200] Filter: pid=0x11 type=1 > > [mpegts @ 0x7fd5f900c200] Filter: pid=0x0 type=1 > > [AVIOContext @ 0x7fd5f850e1c0] Statistics: 1733924 bytes read, 0 seeks > > [mpegts @ 0x7fd5f900c200] tuning done > > [hls,applehttp @ 0x7fd5f9002600] Before avformat_find_stream_info() pos: > 245 bytes read:245 seeks:0 nb_streams:0 > > [hls,applehttp @ 0x7fd5f9002600] No longer receiving playlist 0 > > [hls,applehttp @ 0x7fd5f9002600] format: start_time: -9223372036854.775 > duration: 5.000 bitrate=0 kb/s > > [hls,applehttp @ 0x7fd5f9002600] After avformat_find_stream_info() pos: 245 > bytes read:245 seeks:0 frames:0 > > playlist.m3u8: could not find codec parameters > > [AVIOContext @ 0x7fd5f850db20] Statistics: 245 bytes read, 0 seeks > > ============== > > On a Macbook Pro: Darwin 15.6.0 Darwin Kernel Version 15.6.0: Thu Sep 1 > 15:01:16 PDT 2016; root:xnu-3248.60.11~2/RELEASE_X86_64 x86_64 > I tried an older version of FFMPEG (3.1.5) and I get another error message > for the same command line, which is: Output file #0 does not contain any > stream. > > Any idea of what's going on? > Thanks in advance! > Caio > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". Please remove "-vcodec" from your command line. From cleyfaye at gmail.com Sun Dec 18 21:25:03 2016 From: cleyfaye at gmail.com (Cley Faye) Date: Sun, 18 Dec 2016 20:25:03 +0100 Subject: [FFmpeg-user] FFMPEG 3.2.2 - "could not find codec parameters" In-Reply-To: References: Message-ID: 2016-12-18 12:59 GMT+01:00 Caio Cesar Moreira : > I'm trying to dump video frames from a TS file but for some reason ffmpeg > is failing. > > Command used: ffmpeg -i playlist.m3u8 -vcodec -r 1 "output_%04d.png" > -loglevel 99 > > > Reading option '-vcodec' ... matched as option 'vcodec' (force video codec > ('copy' to copy stream)) with argument '-r'. > > Reading option '1' ... matched as output url. > C ​an't tell about the rest of your message, but you must put a codec name after -vcodec. As it is, your command mean "use codec​ '-r' for the video of output named '1'", which is probably not what you want. From signalsender103 at gmail.com Sun Dec 18 21:29:34 2016 From: signalsender103 at gmail.com (Adam Puckett) Date: Sun, 18 Dec 2016 14:29:34 -0500 Subject: [FFmpeg-user] aevalsrc question Message-ID: Hey list, Some time ago I posted a question about sweeping from one frequency to another using aevalsrc and the t parameter of the expression. My command line was something like: ffmpeg -f lavfi -i aevalsrc=sin(262*2^^(t/10)*2*PI*t):d=10 test.ogg and I'm still hearing higher frequencies than the desired output. I'm also trying lots of other variations in the formula, and I'm trying to do it without loading and storing commands. What am I doing wrong and how an I fix this? Adam From onemda at gmail.com Sun Dec 18 21:31:44 2016 From: onemda at gmail.com (Paul B Mahol) Date: Sun, 18 Dec 2016 20:31:44 +0100 Subject: [FFmpeg-user] aevalsrc question In-Reply-To: References: Message-ID: On 12/18/16, Adam Puckett wrote: > Hey list, > > Some time ago I posted a question about sweeping from one frequency to > another using aevalsrc and the t parameter of the expression. My > command line was something like: > > ffmpeg -f lavfi -i aevalsrc=sin(262*2^^(t/10)*2*PI*t):d=10 test.ogg > > and I'm still hearing higher frequencies than the desired output. I'm > also trying lots of other variations in the formula, and I'm trying to > do it without loading and storing commands. > > What am I doing wrong and how an I fix this? I don't get what you want. Can you explain it with math and logic? From signalsender103 at gmail.com Sun Dec 18 21:41:45 2016 From: signalsender103 at gmail.com (Adam Puckett) Date: Sun, 18 Dec 2016 14:41:45 -0500 Subject: [FFmpeg-user] aevalsrc question In-Reply-To: References: Message-ID: On 12/18/16, Paul B Mahol wrote: > On 12/18/16, Adam Puckett wrote: >> Hey list, >> >> Some time ago I posted a question about sweeping from one frequency to >> another using aevalsrc and the t parameter of the expression. My >> command line was something like: >> >> ffmpeg -f lavfi -i aevalsrc=sin(262*2^^(t/10)*2*PI*t):d=10 test.ogg >> >> and I'm still hearing higher frequencies than the desired output. I'm >> also trying lots of other variations in the formula, and I'm trying to >> do it without loading and storing commands. >> >> What am I doing wrong and how an I fix this? > > I don't get what you want. Can you explain it with math and logic? > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". What I'm trying to do is exponential interpolation from 262 Hz to 524 Hz over the duration of 10 seconds. From michael.heuberger at binarykitchen.com Sun Dec 18 22:57:27 2016 From: michael.heuberger at binarykitchen.com (Michael Heuberger) Date: Mon, 19 Dec 2016 09:57:27 +1300 Subject: [FFmpeg-user] Why is length and bitrate zero? Message-ID: <29804827-9cd7-bf28-0998-0aa8e69fa378@binarykitchen.com> Hello folks I just have encoded a webm video with a duration of about 2 mins. But when I play it on a website or in a video player, it tells me length is zero. Weird. So I have inspected it in my local Ubuntu SM video player, see attached image. Indeed, length and bitrate are zero. This is the ffmpeg command I used to encode the video based on image frames: ffmpeg -f image2 -thread_queue_size 2048 -framerate 18.9 -i /home/michael-heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e6-c1e3-fc2ad020-ae4a-290f0f20d08f/frames/%d.webp -y -an -vcodec libvpx -filter:v drawtext=fontfile=/home/michael-heuberger/binarykitchen/code/videomail.io/src/assets/fonts/Varela-Regular.ttf:text=www.videomail.io:fontsize=10:fontcolor=0xFFFFFF at 0.25:x=text_h:y=main_h-(text_h*2):shadowcolor=0x111111 at 0.15:shadowx=1:shadowy=1,scale=trunc(iw/2)*2:trunc(ih/2)*2 -crf 8 -pix_fmt yuv420p -deadline good -cpu-used 1 -loglevel warning /home/michael-heuberger/binarykitchen/code/videomail.io/var/local/uploads/videomail.io/videomail/11e6/c1/e3/11e6-c1e3-fc2ad020-ae4a-290f0f20d08f/videomail_good.webm Yes, it is a bit long and has a lot in it. It's for the www.videomail.io webservice. But I hope someone of you can spot what I am doing wrong with the ffmpeg parameters. Is there a reason why bitrate and length is zero? Thanks for any clues! Michael -- Binary Kitchen Michael Heuberger 1/33 Parrish Road Sandringham Auckland 1025 (New Zealand) Mobile (text only) ... +64 21 261 89 81 Email ................ michael at binarykitchen.com Website .............. http://www.binarykitchen.com -------------- next part -------------- A non-text attachment was scrubbed... Name: example-webm-info.png Type: image/png Size: 34454 bytes Desc: not available URL: From cleyfaye at gmail.com Sun Dec 18 23:03:50 2016 From: cleyfaye at gmail.com (Cley Faye) Date: Sun, 18 Dec 2016 22:03:50 +0100 Subject: [FFmpeg-user] Why is length and bitrate zero? In-Reply-To: <29804827-9cd7-bf28-0998-0aa8e69fa378@binarykitchen.com> References: <29804827-9cd7-bf28-0998-0aa8e69fa378@binarykitchen.com> Message-ID: 2016-12-18 21:57 GMT+01:00 Michael Heuberger < michael.heuberger at binarykitchen.com>: > ffmpeg -f image2 -thread_queue_size 2048 -framerate 18.9 -i > /home/michael-heuberger/binarykitchen/code/videomail.io/var/ > local/tmp/clients/videomail.io/11e6-c1e3-fc2ad020-ae4a- > 290f0f20d08f/frames/%d.webp > -y -an -vcodec libvpx -filter:v > drawtext=fontfile=/home/michael-heuberger/binarykitchen/code/ > videomail.io/src/assets/fonts/Varela-Regular.ttf:text= > www.videomail.io:fontsize=10:fontcolor=0xFFFFFF at 0.25:x=text_ > h:y=main_h-(text_h*2):shadowcolor=0x111111 at 0.15:shadowx=1: > shadowy=1,scale=trunc(iw/2)*2:trunc(ih/2)*2 > -crf 8 -pix_fmt yuv420p -deadline good -cpu-used 1 -loglevel warning > /home/michael-heuberger/binarykitchen/code/videomail.io/var/ > local/uploads/videomail.io/videomail/11e6/c1/e3/11e6- > c1e3-fc2ad020-ae4a-290f0f20d08f/videomail_good.webm > ​Unless I missed something obvious here, the full output of ffmpeg (including headers) will be required to be able to tell more. From george at nsup.org Mon Dec 19 00:10:06 2016 From: george at nsup.org (Nicolas George) Date: Sun, 18 Dec 2016 23:10:06 +0100 Subject: [FFmpeg-user] aevalsrc question In-Reply-To: References: Message-ID: <20161218221006.GA2677276@phare.normalesup.org> L'octidi 28 frimaire, an CCXXV, Adam Puckett a écrit : > Some time ago I posted a question about sweeping from one frequency to > another using aevalsrc and the t parameter of the expression. My > command line was something like: > > ffmpeg -f lavfi -i aevalsrc=sin(262*2^^(t/10)*2*PI*t):d=10 test.ogg > > and I'm still hearing higher frequencies than the desired output. I'm > also trying lots of other variations in the formula, and I'm trying to > do it without loading and storing commands. > > What am I doing wrong and how an I fix this? You have a suspicious double circumflex. If I fix it, the command works for me. Regards, -- Nicolas George -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: Digital signature URL: From programmer at bardware.de Mon Dec 19 00:58:46 2016 From: programmer at bardware.de (=?UTF-8?Q?Bernhard_D=c3=b6bler?=) Date: Sun, 18 Dec 2016 23:58:46 +0100 Subject: [FFmpeg-user] cutoff argument not passed to libmp3lame Message-ID: Hi, i recently looked into an mp3 file. It contained the string with arguments is was encoded with. It looked like: -m j -V 0 -q 0 -lowpass 22.1 --vbr-mt -b 32 I looked into ffmpeg documentation and saw there's an argument "-cutoff" that should do, what "-lowpass" does in LAME. I encoded some files with ffmpeg playing with the cutoff argument and saw no change in the resulting file. When I used "-c:a aac" instead of "-c:a libmp3lame" cutoff had an impact. I looked at the mp3/m4a file with a tool "Spek" that draws a graph of the frequencies used in the file. I now wonder why the argument is not passed to the LAME library? Best, Bernhard Döbler From signalsender103 at gmail.com Mon Dec 19 01:26:55 2016 From: signalsender103 at gmail.com (Adam Puckett) Date: Sun, 18 Dec 2016 18:26:55 -0500 Subject: [FFmpeg-user] aevalsrc question In-Reply-To: <20161218221006.GA2677276@phare.normalesup.org> References: <20161218221006.GA2677276@phare.normalesup.org> Message-ID: On 12/18/16, Nicolas George wrote: > L'octidi 28 frimaire, an CCXXV, Adam Puckett a écrit : >> Some time ago I posted a question about sweeping from one frequency to >> another using aevalsrc and the t parameter of the expression. My >> command line was something like: >> >> ffmpeg -f lavfi -i aevalsrc=sin(262*2^^(t/10)*2*PI*t):d=10 test.ogg >> >> and I'm still hearing higher frequencies than the desired output. I'm >> also trying lots of other variations in the formula, and I'm trying to >> do it without loading and storing commands. >> >> What am I doing wrong and how an I fix this? > > You have a suspicious double circumflex. If I fix it, the command works > for me. > > Regards, > > -- > Nicolas George > When you say it "works" for you (I have to double the ^ to escape on Windows), does it produce this file? -------------- next part -------------- A non-text attachment was scrubbed... Name: test.ogg Type: audio/ogg Size: 21331 bytes Desc: not available URL: From ceffmpeg at gmail.com Mon Dec 19 02:53:40 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Mon, 19 Dec 2016 01:53:40 +0100 Subject: [FFmpeg-user] Why is length and bitrate zero? In-Reply-To: <29804827-9cd7-bf28-0998-0aa8e69fa378@binarykitchen.com> References: <29804827-9cd7-bf28-0998-0aa8e69fa378@binarykitchen.com> Message-ID: 2016-12-18 21:57 GMT+01:00 Michael Heuberger : > ffmpeg -f image2 -thread_queue_size 2048 -framerate 18.9 -i > /home/michael-heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e6-c1e3-fc2ad020-ae4a-290f0f20d08f/frames/%d.webp > -y -an -vcodec libvpx -filter:v > drawtext=fontfile=/home/michael-heuberger/binarykitchen/code/videomail.io/src/assets/fonts/Varela-Regular.ttf:text=www.videomail.io:fontsize=10:fontcolor=0xFFFFFF at 0.25:x=text_h:y=main_h-(text_h*2):shadowcolor=0x111111 at 0.15:shadowx=1:shadowy=1,scale=trunc(iw/2)*2:trunc(ih/2)*2 > -crf 8 -pix_fmt yuv420p -deadline good -cpu-used 1 -loglevel warning > /home/michael-heuberger/binarykitchen/code/videomail.io/var/local/uploads/videomail.io/videomail/11e6/c1/e3/11e6-c1e3-fc2ad020-ae4a-290f0f20d08f/videomail_good.webm Apart from what Cley wrote (complete, uncut console output missing), please note that questions with "-loglevel warning" are only acceptable if you have a question about loglevel, please remove it. Is the issue reproducible with one of the following command lines? $ ffmpeg -f lavfi -i testsrc=d=10 -pix_fmt yuv420p -vcodec libvpx out1.mkv $ ffmpeg -f lavfi -i testsrc=d=10 -pix_fmt yuv420p -vcodec libvpx -crf 8 out2.mkv (You do agree that if one of the two command lines allow to reproduce the issue, it will be much easier to track it down, no?) Carl Eugen From ceffmpeg at gmail.com Mon Dec 19 02:56:40 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Mon, 19 Dec 2016 01:56:40 +0100 Subject: [FFmpeg-user] cutoff argument not passed to libmp3lame In-Reply-To: References: Message-ID: 2016-12-18 23:58 GMT+01:00 Bernhard Döbler : > I looked into ffmpeg documentation and saw there's an argument "-cutoff" > that should do, what "-lowpass" does in LAME. Why do you think so / where does it say so in the documentation? (Since this looks trivial to add, consider sending a patch. The alternative is to open an enhancement ticket on trac.) Carl Eugen From ceffmpeg at gmail.com Mon Dec 19 03:31:24 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Mon, 19 Dec 2016 02:31:24 +0100 Subject: [FFmpeg-user] High memory usage when merging videos In-Reply-To: References: Message-ID: 2016-12-06 16:51 GMT+01:00 Jonathan Girven : >> Patches are discussed that may improve the memory usage. > > Where can I follow the progress of these? A patch that I believe is a prerequisite for the improvement was just committed: http://ffmpeg.org/pipermail/ffmpeg-cvslog/2016-December/103759.html > ffmpeg-devel mailing list is best? > Otherwise there isn't much I can do to improve my FFmpeg > command? I wonder if the (input?) option "-re" can improve your situation... Carl Eugen From looxonline at gmail.com Mon Dec 19 09:24:52 2016 From: looxonline at gmail.com (luke harrison) Date: Mon, 19 Dec 2016 09:24:52 +0200 Subject: [FFmpeg-user] Sync video and audio after using complex filters to blend two files In-Reply-To: References: <1481828207620-4678596.post@n4.nabble.com> Message-ID: I actually fixed my issue by including my audio processing into my complex filter instead of trying to use a shortcut copy command with offset once the complex filter command was done. I see that your use case is a little different to mine but you also include your audio processing into the complex filter. It seems as if you have an audio track from the mp3 that spans the duration of the file at a lower volume while still maintaining the audio from all of the other files at the input volume. It's interesting that all of the players which are traditionally looked down on are the ones that play without a loss of sync. Could it be that their slack approach to decoding is actually overlooking some data within the files? Maybe even the PTS info? I'm very inexperienced with complex filters so I can't confirm that this would work but perhaps try to first set the PTS info back to a zero start point for each segment manually (audio and video), thereby removing any input offset that they may come with. Once each video and audio stream has a normalized PTS offset you can then concat them. Have a look at my command up top where I normalize video using setpts=PTS-STARTPTS. There is also an audio analog, "asetpts" which could be used to accomplish the same thing with the audio stream of each segment. As an interesting side note the manual for the concat filter states "For this filter to work correctly, all segments must start at timestamp 0." Regards, Luke. On Fri, Dec 16, 2016 at 6:23 AM, Luke Harrison wrote: > Managed to fix mine. Will respond in full later. > > Regards, > Luke. > > Sent from my iPhone > > > On 15 Dec 2016, at 8:56 PM, DevOfAllTrades com> wrote: > > > > I'm having a similar problem. > > > > This is the call I'm using: > > > > ffmpeg -y -r 30 -i titleCard.mp4 -i rawRecording.mp4 -i credits.mp4 -i > > longSong.mp3 -filter_complex "[0:0][0:1][1:0][1:1][2:0][2:1] > > concat=n=3:v=1:a=1 [concatv] [concata], > > [3:0]aformat=sample_fmts=fltp:sample_rates=48000:channel_ > layouts=stereo,volume=0.4[quiet], > > [concata][quiet]amerge=inputs=2[aout]" -map [concatv] -map [aout] > -pix_fmt > > yuv420p -c:a aac -strict -2 output.mp4 > > > > I've tested this on a bunch of platforms, and I've found that it plays > back > > with no issues on Windows Media Player and the new Windows 10 Movies & TV > > app (of all things), but not in Chrome, Quicktime, VLC, etc. > > > > What platform are you trying to play your output file back on? I'd be > > curious to see if it plays with no sync issues on any platform. > > > > > > > > > > -- > > View this message in context: http://ffmpeg-users.933282.n4. > nabble.com/Sync-video-and-audio-after-using-complex- > filters-to-blend-two-files-tp4678487p4678596.html > > Sent from the FFmpeg-users mailing list archive at Nabble.com. > > _______________________________________________ > > ffmpeg-user mailing list > > ffmpeg-user at ffmpeg.org > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > To unsubscribe, visit link above, or email > > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > -- Kind regards, Luke Harrison From george at nsup.org Mon Dec 19 09:55:14 2016 From: george at nsup.org (Nicolas George) Date: Mon, 19 Dec 2016 08:55:14 +0100 Subject: [FFmpeg-user] aevalsrc question In-Reply-To: References: <20161218221006.GA2677276@phare.normalesup.org> Message-ID: <20161219075514.GA2926865@phare.normalesup.org> L'octidi 28 frimaire, an CCXXV, Adam Puckett a écrit : > When you say it "works" for you (I have to double the ^ to escape on > Windows), My condoleances. > does it produce this file? Yes, approximatively. Are you just hearing Vorbis artifacts? Regards, -- Nicolas George -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: Digital signature URL: From wscanf at 126.com Mon Dec 19 10:45:53 2016 From: wscanf at 126.com (Fang Yong) Date: Mon, 19 Dec 2016 16:45:53 +0800 (CST) Subject: [FFmpeg-user] Cannot skip initial bytes of a file Message-ID: <6f371d34.859.15916423011.Coremail.wscanf@126.com> My video file have some initial bytes for my own file header. I try to play it with ffplay using the -skip_initial_bytes option. But it does not work.Here is the detail. Did I use this option correctlly? or should I increase probesize? ➜  Downloads $ffmpeg -skip_initial_bytes 8 -i cache.output.mp4 ffmpeg version 3.1.3 Copyright (c) 2000-2016 the FFmpeg developers   built with Apple LLVM version 8.0.0 (clang-800.0.42.1)   configuration: --prefix=/usr/local/Cellar/ffmpeg/3.1.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --enable-ffplay --disable-lzma --enable-vda   libavutil      55. 28.100 / 55. 28.100   libavcodec     57. 48.101 / 57. 48.101   libavformat    57. 41.100 / 57. 41.100   libavdevice    57.  0.101 / 57.  0.101   libavfilter     6. 47.100 /  6. 47.100   libavresample   3.  0.  0 /  3.  0.  0   libswscale      4.  1.100 /  4.  1.100   libswresample   2.  1.100 /  2.  1.100   libpostproc    54.  0.100 / 54.  0.100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd865800000] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible! [h264 @ 0x7fd865001000] Invalid nal size 159290 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 511590222 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -391050801 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1224072330 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 32381148 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 248906135 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 537612480 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 620581924 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1102680866 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 308369572 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1257709459 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -355472042 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1656963695 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1806751098 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1720016505 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1424389612 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -938718578 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1828105194 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 2060392767 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 422636247 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1689107192 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1106058329 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 458162881 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1692419039 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1540267551 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -372081251 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 955407506 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1079775041 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 808862211 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -985818671 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1467437711 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 54684121 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1730688408 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -289305377 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1387239564 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 225075851 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1559738940 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -662869797 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1171762705 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 319025987 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -350143502 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -261677640 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1681415403 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1758724489 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -2071357923 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1709921542 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1738172466 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1120341744 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1527908514 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1763119797 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1276352169 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 818067673 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 249320565 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 2032312955 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -578534875 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1395232334 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 455106853 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 914832508 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1618381079 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -490283222 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 116612493 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -234995184 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1370435826 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1585559534 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1642844359 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 103588890 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -245814915 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1843549083 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1458850179 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1921915774 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1360989425 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1586393244 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -128420269 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 33828559 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 372551634 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 781092671 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1492452836 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1119686364 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1434675042 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -151803150 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1178411496 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -309124191 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 418048181 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 784122301 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -560519404 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1341006703 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1811456906 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1009479109 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -19496868 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -2121718991 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 49142104 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -619924201 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -2063742288 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 712176185 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -1515856200 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 2144887763 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 965499340 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size -2095131681 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 151058157 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [h264 @ 0x7fd865001000] Invalid nal size 1154573945 [h264 @ 0x7fd865001000] Error splitting the input into NAL units. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd865800000] decoding for stream 0 failed [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd865800000] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 326x224, 149 kb/s): unspecified pixel format Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'cache.output.mp4':   Metadata:     major_brand     : isom     minor_version   : 512     compatible_brands: isomiso2avc1mp41     encoder         : Lavf57.41.100   Duration: 00:00:08.50, start: 0.000000, bitrate: 152 kb/s     Stream #0:0(und): Video: h264 (avc1 / 0x31637661), none, 326x224, 149 kb/s, 20 fps, 20 tbr, 10240 tbn, 20480 tbc (default)     Metadata:       handler_name    : VideoHandler At least one output file must be specified ➜  Downloads From george at nsup.org Mon Dec 19 11:06:42 2016 From: george at nsup.org (Nicolas George) Date: Mon, 19 Dec 2016 10:06:42 +0100 Subject: [FFmpeg-user] Cannot skip initial bytes of a file In-Reply-To: <6f371d34.859.15916423011.Coremail.wscanf@126.com> References: <6f371d34.859.15916423011.Coremail.wscanf@126.com> Message-ID: <20161219090642.GA2954245@phare.normalesup.org> Le nonidi 29 frimaire, an CCXXV, Fang Yong a écrit : > My video file have some initial bytes for my own file header. I try to > play it with ffplay using the -skip_initial_bytes option. But it does > not work.Here is the detail. > > Did I use this option correctlly? MP4 requires seeking around in the file, this option does not adjust the seeks, it only affects the initial read. You can try using the subfile protocol instead. Regards, -- Nicolas George -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: Digital signature URL: From wscanf at 126.com Mon Dec 19 11:20:51 2016 From: wscanf at 126.com (Fang Yong) Date: Mon, 19 Dec 2016 17:20:51 +0800 (CST) Subject: [FFmpeg-user] Cannot skip initial bytes of a file In-Reply-To: <20161219090642.GA2954245@phare.normalesup.org> References: <6f371d34.859.15916423011.Coremail.wscanf@126.com> <20161219090642.GA2954245@phare.normalesup.org> Message-ID: <38bc8ebb.949.15916623308.Coremail.wscanf@126.com> It works! Thank you very much. :) 在 2016-12-19 17:06:42,"Nicolas George" 写道: >Le nonidi 29 frimaire, an CCXXV, Fang Yong a écrit : >> My video file have some initial bytes for my own file header. I try to >> play it with ffplay using the -skip_initial_bytes option. But it does >> not work.Here is the detail. >> >> Did I use this option correctlly? > >MP4 requires seeking around in the file, this option does not adjust the >seeks, it only affects the initial read. You can try using the subfile >protocol instead. > >Regards, > >-- > Nicolas George From michael.heuberger at binarykitchen.com Mon Dec 19 12:17:00 2016 From: michael.heuberger at binarykitchen.com (Michael Heuberger) Date: Mon, 19 Dec 2016 23:17:00 +1300 Subject: [FFmpeg-user] Why is length and bitrate zero? In-Reply-To: References: <29804827-9cd7-bf28-0998-0aa8e69fa378@binarykitchen.com> Message-ID: <1df06a8c-182e-2d9a-b0be-229a2c73d3a7@binarykitchen.com> Hi Cley Sure, sorry for not sharing the full output earlier. Here again, the command: ffmpeg -f image2 -thread_queue_size 2048 -framerate 17.8 -i /home/michael-heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e6-c5d3-b5af3a70-b169-7fad3fc24aa1/frames/%d.webp -y -an -vcodec libvpx -filter:v drawtext=fontfile=/home/michael-heuberger/binarykitchen/code/videomail.io/src/assets/fonts/Varela-Regular.ttf:text=www.videomail.io:fontsize=10:fontcolor=0xFFFFFF at 0.25:x=text_h:y=main_h-(text_h*2):shadowcolor=0x111111 at 0.15:shadowx=1:shadowy=1,scale=trunc(iw/2)*2:trunc(ih/2)*2 -crf 12 -pix_fmt yuv420p -deadline realtime -cpu-used 4 /home/michael-heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e6-c5d3-b5af3a70-b169-7fad3fc24aa1/videomail_preview.webm And the full output ffmpeg version 3.0.5-0ubuntu0.16.10.1 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 6.2.0 (Ubuntu 6.2.0-5ubuntu12) 20161005 configuration: --prefix=/usr --extra-version=0ubuntu0.16.10.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-chromaprint --enable-libx264 libavutil 55. 17.103 / 55. 17.103 libavcodec 57. 24.102 / 57. 24.102 libavformat 57. 25.100 / 57. 25.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 31.100 / 6. 31.100 libavresample 3. 0. 0 / 3. 0. 0 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100 Input #0, image2, from '/home/michael-heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e6-c5d3-b5af3a70-b169-7fad3fc24aa1/frames/%d.webp': Duration: 00:00:02.30, start: 0.000000, bitrate: N/A Stream #0:0: Video: webp, yuv420p(tv, bt470bg/unknown/unknown), 400x300, 17.83 fps, 17.80 tbr, 17.80 tbn, 17.80 tbc [libvpx @ 0x55b4300d8d40] v1.5.0 Output #0, webm, to '/home/michael-heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e6-c5d3-b5af3a70-b169-7fad3fc24aa1/videomail_preview.webm': Metadata: encoder : Lavf57.25.100 Stream #0:0: Video: vp8 (libvpx), yuv420p, 400x300, q=-1--1, 200 kb/s, 17.80 fps, 1k tbn, 17.80 tbc Metadata: encoder : Lavc57.24.102 libvpx Side data: unknown side data type 10 (24 bytes) Stream mapping: Stream #0:0 -> #0:0 (webp (native) -> vp8 (libvpx)) Press [q] to stop, [?] for help frame= 41 fps=0.0 q=0.0 Lsize= 53kB time=00:00:02.30 bitrate= 187.8kbits/s speed=18.6x video:52kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.400739% Hope this gives any clues why the produced video had a length and bitrate of zero? Thanks Michael On 19/12/16 10:03, Cley Faye wrote: > 2016-12-18 21:57 GMT+01:00 Michael Heuberger < > michael.heuberger at binarykitchen.com>: > >> ffmpeg -f image2 -thread_queue_size 2048 -framerate 18.9 -i >> /home/michael-heuberger/binarykitchen/code/videomail.io/var/ >> local/tmp/clients/videomail.io/11e6-c1e3-fc2ad020-ae4a- >> 290f0f20d08f/frames/%d.webp >> -y -an -vcodec libvpx -filter:v >> drawtext=fontfile=/home/michael-heuberger/binarykitchen/code/ >> videomail.io/src/assets/fonts/Varela-Regular.ttf:text= >> www.videomail.io:fontsize=10:fontcolor=0xFFFFFF at 0.25:x=text_ >> h:y=main_h-(text_h*2):shadowcolor=0x111111 at 0.15:shadowx=1: >> shadowy=1,scale=trunc(iw/2)*2:trunc(ih/2)*2 >> -crf 8 -pix_fmt yuv420p -deadline good -cpu-used 1 -loglevel warning >> /home/michael-heuberger/binarykitchen/code/videomail.io/var/ >> local/uploads/videomail.io/videomail/11e6/c1/e3/11e6- >> c1e3-fc2ad020-ae4a-290f0f20d08f/videomail_good.webm >> > ​Unless I missed something obvious here, the full output of ffmpeg > (including headers) will be required to be able to tell more. > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". -- Binary Kitchen Michael Heuberger 1/33 Parrish Road Sandringham Auckland 1025 (New Zealand) Mobile (text only) ... +64 21 261 89 81 Email ................ michael at binarykitchen.com Website .............. http://www.binarykitchen.com From michael.heuberger at binarykitchen.com Mon Dec 19 12:21:56 2016 From: michael.heuberger at binarykitchen.com (Michael Heuberger) Date: Mon, 19 Dec 2016 23:21:56 +1300 Subject: [FFmpeg-user] Why is length and bitrate zero? In-Reply-To: References: <29804827-9cd7-bf28-0998-0aa8e69fa378@binarykitchen.com> Message-ID: <3cd36f0e-5cc9-9983-2b9e-2c124f5c8070@binarykitchen.com> Hi Carl Nice one. The first command $ ffmpeg -f lavfi -i testsrc=d=10 -pix_fmt yuv420p -vcodec libvpx out1.mkv resulted into a video whose length is 00:00:10 but with a bitrate of 0 kbps (says my SMPlayer) The second command is exactly the same. Defined length 00:00:10 but zero bitrate on the SMPlayer. - Michael On 19/12/16 13:53, Carl Eugen Hoyos wrote: > 2016-12-18 21:57 GMT+01:00 Michael Heuberger > : > >> ffmpeg -f image2 -thread_queue_size 2048 -framerate 18.9 -i >> /home/michael-heuberger/binarykitchen/code/videomail.io/var/local/tmp/clients/videomail.io/11e6-c1e3-fc2ad020-ae4a-290f0f20d08f/frames/%d.webp >> -y -an -vcodec libvpx -filter:v >> drawtext=fontfile=/home/michael-heuberger/binarykitchen/code/videomail.io/src/assets/fonts/Varela-Regular.ttf:text=www.videomail.io:fontsize=10:fontcolor=0xFFFFFF at 0.25:x=text_h:y=main_h-(text_h*2):shadowcolor=0x111111 at 0.15:shadowx=1:shadowy=1,scale=trunc(iw/2)*2:trunc(ih/2)*2 >> -crf 8 -pix_fmt yuv420p -deadline good -cpu-used 1 -loglevel warning >> /home/michael-heuberger/binarykitchen/code/videomail.io/var/local/uploads/videomail.io/videomail/11e6/c1/e3/11e6-c1e3-fc2ad020-ae4a-290f0f20d08f/videomail_good.webm > Apart from what Cley wrote (complete, uncut console output missing), > please note that questions with "-loglevel warning" are only acceptable > if you have a question about loglevel, please remove it. > > Is the issue reproducible with one of the following command lines? > $ ffmpeg -f lavfi -i testsrc=d=10 -pix_fmt yuv420p -vcodec libvpx out1.mkv > $ ffmpeg -f lavfi -i testsrc=d=10 -pix_fmt yuv420p -vcodec libvpx -crf > 8 out2.mkv > (You do agree that if one of the two command lines allow to reproduce > the issue, it will be much easier to track it down, no?) > > Carl Eugen > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". -- Binary Kitchen Michael Heuberger 1/33 Parrish Road Sandringham Auckland 1025 (New Zealand) Mobile (text only) ... +64 21 261 89 81 Email ................ michael at binarykitchen.com Website .............. http://www.binarykitchen.com From jonathan.girven at trickbook.com Mon Dec 19 14:02:49 2016 From: jonathan.girven at trickbook.com (Jonathan Girven) Date: Mon, 19 Dec 2016 12:02:49 +0000 Subject: [FFmpeg-user] High memory usage when merging videos In-Reply-To: References: Message-ID: > A patch that I believe is a prerequisite for the improvement was > just committed: > http://ffmpeg.org/pipermail/ffmpeg-cvslog/2016-December/103759.html Thanks for letting me know. I assume by "prerequisite for the improvement" there are still more changes to come, but I thought I'd try the current head anyway. I pulled the master branch of FFmpeg & x264 and compiled a new binary. FFmpeg seems to be hanging now at the transition between the two videos. I have tried a couple of times with different videos of different lengths and get the same result. dmesg shows other processes being killed on the device around the same time, but not FFmpeg. ffmpeg -y -i new_f2f63d36-4d99-4b61-a212-7cf25bb9c45e_0_14300.mp4 -i new_aa8ab6af-fa88-4026-9e09-8aff1b59174b_0_5910.mp4 -i app_images/video_stamp_720.png -f lavfi -i color=black:s=1280x720 -filter_complex "[0:v]setpts=PTS-STARTPTS[v0_trim0];[0:a]asetpts=PTS-STARTPTS[a0_trim0];[v0_trim0]fade=t=in:st=0:d=0.4:alpha=1,fade=t=out:st=13.900000184774399:d=0.4:alpha=1,format=pix_fmts=yuva420p[v0];[a0_trim0]afade=t=in:st=0:d=0.4,afade=t=out:st=13.900000184774399:d=0.4[a0];[1:v]setpts=PTS-STARTPTS[v1_trim1];[1:a]asetpts=PTS-STARTPTS[a1_trim1];[v1_trim1]fade=t=in:st=0:d=0.4:alpha=1,fade=t=out:st=5.509999841451645:d=0.4:alpha=1,format=pix_fmts=yuva420p,setpts=expr=PTS-STARTPTS+13.900000184774399/TB,fifo[v1];[a1_trim1]afade=t=in:st=0:d=0.4,afade=t=out:st=5.509999841451645:d=0.4[a_fade1];aevalsrc=0:d=13.900000184774399[na1];[na1][a_fade1]concat=n=2:v=0:a=1[a1];[a0][a1]amix=inputs=2[complete_audio];[complete_audio]volume=1.0[audio_vol];[3:v]trim=duration=19.81[over0];[over0][v0]overlay=eof_action=pass[over1];[over1][v1]overlay=eof_action=pass[over2];[over2][2:v]overlay=0:0,format=yuva420p[over3]" -vcodec libx264 -preset faster -map [over3] -map [audio_vol] -acodec aac -ac 2 -b:a 128k -strict -2 new_572e1912-b147-4448-b6ab-757c6027ca0c.mp4 ffmpeg version N-82880-g02aa070 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.9 (GCC) 20140827 (prerelease) configuration: --target-os=linux --prefix=/home/jon/workspace/ffmpeg/ffmpeg-android/ffmpeg-build/armeabi-v7a --enable-cross-compile --arch=arm --cc=/home/jon/Development/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/jon/Development/android-ndk-r10e/platforms/android-5/arch-arm/ --cross-prefix=/home/jon/Development/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi- --nm=/home/jon/Development/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm --sysroot=/home/jon/Development/android-ndk-r10e/platforms/android-5/arch-arm/ --disable-shared --enable-static --extra-cflags='-I/home/jon/workspace/ffmpeg/ffmpeg-android/ffmpeg-build/armeabi-v7a/include -O3 -fPIE -pie -mfloat-abi=softfp -mfpu=vfpv3-d16 -marm -march=armv7-a ' --extra-ldflags='-L/home/jon/workspace/ffmpeg/ffmpeg-android/ffmpeg-build/armeabi-v7a/lib -fPIE -pie' --enable-gpl --enable-libx264 --enable-pic --enable-version3 --enable-zlib --disable-debug --disable-doc --disable-ffplay --disable-ffprobe --disable-ffserver --disable-outdevs --disable-decoders --enable-decoder='mpeg4,aac,h264,mpegvideo,mpeg1video,mpeg2video,png,mjpeg,rawvideo,mp3,pcm_f64le,pcm_s16le,pcm_u8,flv,amrnb,svq1' --disable-encoders --enable-encoder='mpeg4,aac,h264,libx264,mpeg1video,mpeg2video,png,mjpeg,rawvideo,pcm_s16le,wrapped_avframe' --disable-parsers --enable-parser='aac,mpeg4video,ac3,h261,h264,vc1,mpegvideo' --disable-demuxers --enable-demuxer='aac,h264,mpegvideo,m4v,mov,vc1,mp4,concat,image2,mpegts,mp3,pcm_s16le,flv,matroska,avi,mov' --disable-muxers --enable-muxer='h264,mpeg1video,mpeg2video,m4v,mov,vc1,md5,mp4,image2,mpegts,segment,null' --disable-filters --enable-filter='aresample,scale,movie,overlay,color,fade,afade,pad,asetpts,amerge,aevalsrc,concat,amix,colorchannelmixer,eq,hue,atempo,hflip,vflip,transpose,volume,anullsrc' libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 68.100 / 57. 68.100 libavformat 57. 61.100 / 57. 61.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'app_local_videos/new_f2f63d36-4d99-4b61-a212-7cf25bb9c45e_0_14300.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.61.100 Duration: 00:00:14.34, start: 0.000000, bitrate: 874 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 741 kb/s, 16.67 fps, 16.67 tbr, 12800 tbn, 33.33 tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default) Metadata: handler_name : SoundHandler Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'app_local_videos/new_aa8ab6af-fa88-4026-9e09-8aff1b59174b_0_5910.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.61.100 Duration: 00:00:05.94, start: 0.000000, bitrate: 964 kb/s Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 828 kb/s, 17.17 fps, 17.17 tbr, 13184 tbn, 34.33 tbc (default) Metadata: handler_name : VideoHandler Stream #1:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 131 kb/s (default) Metadata: handler_name : SoundHandler Input #2, image2, from 'app_images/video_stamp_720.png': Duration: 00:00:00.04, start: 0.000000, bitrate: 478 kb/s Stream #2:0: Video: png, pal8(pc), 1280x720, 25 tbr, 25 tbn, 25 tbc Input #3, lavfi, from 'color=black:s=1280x720': Duration: N/A, start: 0.000000, bitrate: N/A Stream #3:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc [libx264 @ 0xb7aa4c50] using SAR=1/1 [libx264 @ 0xb7aa4c50] using cpu capabilities: ARMv6 NEON [libx264 @ 0xb7aa4c50] profile High, level 3.1 [libx264 @ 0xb7aa4c50] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=4 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=20 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to 'app_movies/new_572e1912-b147-4448-b6ab-757c6027ca0c.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.61.100 Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default) Metadata: encoder : Lavc57.68.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 128 kb/s (default) Metadata: encoder : Lavc57.68.100 aac Stream mapping: Stream #0:0 (h264) -> setpts Stream #0:1 (aac) -> asetpts Stream #1:0 (h264) -> setpts Stream #1:1 (aac) -> asetpts Stream #2:0 (png) -> overlay:overlay Stream #3:0 (rawvideo) -> trim format -> Stream #0:0 (libx264) volume -> Stream #0:1 (aac) Press [q] to stop, [?] for help frame= 354 fps=5.8 q=28.0 size= 2200kB time=00:00:14.15 bitrate=1273.4kbits/s speed=0.231x Removing the fifo filter doesn't seem to change things. > I wonder if the (input?) option "-re" can improve your situation... I will try to check that today. Thanks. From ceffmpeg at gmail.com Mon Dec 19 14:20:07 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Mon, 19 Dec 2016 13:20:07 +0100 Subject: [FFmpeg-user] High memory usage when merging videos In-Reply-To: References: Message-ID: 2016-12-19 13:02 GMT+01:00 Jonathan Girven : >> A patch that I believe is a prerequisite for the improvement was >> just committed: >> http://ffmpeg.org/pipermail/ffmpeg-cvslog/2016-December/103759.html > > Thanks for letting me know. I assume by "prerequisite for the > improvement" there are still more changes to come Yes. Not necessarily related: > configuration: > --target-os=linux I guess this is wrong. > --enable-cross-compile > --cc=/home/jon/Development/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc > --nm=/home/jon/Development/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm > --disable-shared --enable-static > --enable-zlib These look unneeded. > --sysroot=/home/jon/Development/android-ndk-r10e/platforms/android-5/arch-arm/ > --sysroot=/home/jon/Development/android-ndk-r10e/platforms/android-5/arch-arm/ Looks duplicated. > --extra-cflags='-I/home/jon/workspace/ffmpeg/ffmpeg-android/ffmpeg-build/armeabi-v7a/include > -O3 -fPIE -pie -mfloat-abi=softfp -mfpu=vfpv3-d16 -marm Why? If this is useful, it should probably be added to our configure script by default. If it is not useful, you should remove it. > -march=armv7-a' I would have expected the "--cpu" option instead. > --disable-ffplay --disable-ffprobe --disable-ffserver --disable-programs --enable-ffmpeg may be simpler > --disable-outdevs --disable-decoders You may want to look at --disable-everything Its definition is something like "allow ffmpeg cli compilation but disable as many optional parts as possible". Carl Eugen From signalsender103 at gmail.com Mon Dec 19 16:02:55 2016 From: signalsender103 at gmail.com (Adam Puckett) Date: Mon, 19 Dec 2016 09:02:55 -0500 Subject: [FFmpeg-user] aevalsrc question In-Reply-To: <20161219075514.GA2926865@phare.normalesup.org> References: <20161218221006.GA2677276@phare.normalesup.org> <20161219075514.GA2926865@phare.normalesup.org> Message-ID: On 12/19/16, Nicolas George wrote: > L'octidi 28 frimaire, an CCXXV, Adam Puckett a écrit : >> When you say it "works" for you (I have to double the ^ to escape on >> Windows), > > My condoleances. > >> does it produce this file? > > Yes, approximatively. Are you just hearing Vorbis artifacts? No, because when I ffplay the same command, or generate uncompressed files, I hear the same thing. I've checked the math and nothing appears to be wrong according to the documentation, because when t = 10, 10/10 = 1, 262*2^1 = 520, so the formula should produce a 520 Hz sine at the end, but the resulting frequency at the end is close to 1 kHz. This is puzzling. From ceffmpeg at gmail.com Mon Dec 19 16:06:14 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Mon, 19 Dec 2016 15:06:14 +0100 Subject: [FFmpeg-user] aevalsrc question In-Reply-To: References: <20161218221006.GA2677276@phare.normalesup.org> <20161219075514.GA2926865@phare.normalesup.org> Message-ID: 2016-12-19 15:02 GMT+01:00 Adam Puckett : > when I ffplay the same command, or generate uncompressed > files, I hear the same thing. Isn't there software that allows to reproduce your findings by analyzing the pcm output of your filter chain? Carl Eugen From onemda at gmail.com Mon Dec 19 16:07:35 2016 From: onemda at gmail.com (Paul B Mahol) Date: Mon, 19 Dec 2016 15:07:35 +0100 Subject: [FFmpeg-user] aevalsrc question In-Reply-To: References: <20161218221006.GA2677276@phare.normalesup.org> <20161219075514.GA2926865@phare.normalesup.org> Message-ID: On 12/19/16, Adam Puckett wrote: > On 12/19/16, Nicolas George wrote: >> L'octidi 28 frimaire, an CCXXV, Adam Puckett a écrit : >>> When you say it "works" for you (I have to double the ^ to escape on >>> Windows), >> >> My condoleances. >> >>> does it produce this file? >> >> Yes, approximatively. Are you just hearing Vorbis artifacts? > No, because when I ffplay the same command, or generate uncompressed > files, I hear the same thing. I've checked the math and nothing > appears to be wrong according to the documentation, because when t = > 10, 10/10 = 1, 262*2^1 = 520, so the formula should produce a 520 Hz > sine at the end, but the resulting frequency at the end is close to 1 > kHz. This is puzzling. Are they shown in showspectrum too? Is resampling happening somewhere? From jonathan.girven at trickbook.com Mon Dec 19 16:54:07 2016 From: jonathan.girven at trickbook.com (Jonathan Girven) Date: Mon, 19 Dec 2016 14:54:07 +0000 Subject: [FFmpeg-user] High memory usage when merging videos In-Reply-To: References: Message-ID: >> configuration: > >> --target-os=linux > > I guess this is wrong. Thanks for all those useful tips on my configuration, I believe I have implemented the improvements. >> --extra-cflags='-I/home/jon/workspace/ffmpeg/ffmpeg-android/ffmpeg-build/armeabi-v7a/include > >> -O3 -fPIE -pie -mfloat-abi=softfp -mfpu=vfpv3-d16 -marm > > Why? > If this is useful, it should probably be added to our configure script > by default. > If it is not useful, you should remove it. This is not my area of expertise ... I have removed it. >> --disable-outdevs --disable-decoders > > You may want to look at --disable-everything > Its definition is something like "allow ffmpeg cli compilation but > disable as many optional parts as possible". I have experienced difficulties with --disable-everything before, but no doubt because of being careless / lack of experience. I will look into it again. Just for reference, not because we were necessarily expecting a fix, the new configuration has the same issue described previously: ffmpeg -y -i new_f2f63d36-4d99-4b61-a212-7cf25bb9c45e_0_14300.mp4 -i new_aa8ab6af-fa88-4026-9e09-8aff1b59174b_0_5910.mp4 -i video_stamp_720.png -f lavfi -i color=black:s=1280x720 -filter_complex "[0:v]setpts=PTS-STARTPTS[v0_trim0];[0:a]asetpts=PTS-STARTPTS[a0_trim0];[v0_trim0]fade=t=in:st=0:d=0.4:alpha=1,fade=t=out:st=13.900000184774399:d=0.4:alpha=1,format=pix_fmts=yuva420p[v0];[a0_trim0]afade=t=in:st=0:d=0.4,afade=t=out:st=13.900000184774399:d=0.4[a0];[1:v]setpts=PTS-STARTPTS[v1_trim1];[1:a]asetpts=PTS-STARTPTS[a1_trim1];[v1_trim1]fade=t=in:st=0:d=0.4:alpha=1,fade=t=out:st=5.509999841451645:d=0.4:alpha=1,format=pix_fmts=yuva420p,setpts=expr=PTS-STARTPTS+13.900000184774399/TB,fifo[v1];[a1_trim1]afade=t=in:st=0:d=0.4,afade=t=out:st=5.509999841451645:d=0.4[a_fade1];aevalsrc=0:d=13.900000184774399[na1];[na1][a_fade1]concat=n=2:v=0:a=1[a1];[a0][a1]amix=inputs=2[complete_audio];[complete_audio]volume=1.0[audio_vol];[3:v]trim=duration=19.81[over0];[over0][v0]overlay=eof_action=pass[over1];[over1][v1]overlay=eof_action=pass[over2];[over2][2:v]overlay=0:0,format=yuva420p[over3]" -vcodec libx264 -preset faster -map [over3] -map [audio_vol] -acodec aac -ac 2 -b:a 128k -strict -2 new_572e1912-b147-4448-b6ab-757c6027ca0c.mp4 ffmpeg version N-82880-g02aa070 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.9 (GCC) 20140827 (prerelease) configuration: --target-os=android --prefix=/home/jon/workspace/ffmpeg/ffmpeg-android/ffmpeg-build/armeabi-v7a --arch=arm --cpu=armv7-a --cross-prefix=/home/jon/Development/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi- --sysroot=/home/jon/Development/android-ndk-r10e/platforms/android-5/arch-arm/ --extra-ldflags='-L/home/jon/workspace/ffmpeg/ffmpeg-android/ffmpeg-build/armeabi-v7a/lib -fPIE -pie' --enable-gpl --enable-libx264 --enable-pic --enable-version3 --disable-debug --disable-doc --disable-outdevs --disable-programs --enable-ffmpeg --disable-decoders --enable-decoder='mpeg4,aac,h264,mpegvideo,mpeg1video,mpeg2video,png,mjpeg,rawvideo,mp3,pcm_f64le,pcm_s16le,pcm_u8,flv,amrnb,svq1' --disable-encoders --enable-encoder='mpeg4,aac,h264,libx264,mpeg1video,mpeg2video,png,mjpeg,rawvideo,pcm_s16le,wrapped_avframe' --disable-parsers --enable-parser='aac,mpeg4video,ac3,h261,h264,vc1,mpegvideo' --disable-demuxers --enable-demuxer='aac,h264,mpegvideo,m4v,mov,vc1,mp4,concat,image2,mpegts,mp3,pcm_s16le,flv,matroska,avi,mov' --disable-muxers --enable-muxer='h264,mpeg1video,mpeg2video,m4v,mov,vc1,md5,mp4,image2,mpegts,segment,null' --disable-filters --enable-filter='aresample,scale,movie,overlay,color,fade,afade,pad,asetpts,amerge,aevalsrc,concat,amix,colorchannelmixer,eq,hue,atempo,hflip,vflip,transpose,volume,anullsrc' libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 68.100 / 57. 68.100 libavformat 57. 61.100 / 57. 61.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'app_local_videos/new_f2f63d36-4d99-4b61-a212-7cf25bb9c45e_0_14300.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.61.100 Duration: 00:00:14.34, start: 0.000000, bitrate: 874 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 741 kb/s, 16.67 fps, 16.67 tbr, 12800 tbn, 33.33 tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default) Metadata: handler_name : SoundHandler Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'app_local_videos/new_aa8ab6af-fa88-4026-9e09-8aff1b59174b_0_5910.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.61.100 Duration: 00:00:05.94, start: 0.000000, bitrate: 964 kb/s Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 828 kb/s, 17.17 fps, 17.17 tbr, 13184 tbn, 34.33 tbc (default) Metadata: handler_name : VideoHandler Stream #1:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 131 kb/s (default) Metadata: handler_name : SoundHandler Input #2, image2, from 'app_images/video_stamp_720.png': Duration: 00:00:00.04, start: 0.000000, bitrate: 478 kb/s Stream #2:0: Video: png, pal8(pc), 1280x720, 25 tbr, 25 tbn, 25 tbc Input #3, lavfi, from 'color=black:s=1280x720': Duration: N/A, start: 0.000000, bitrate: N/A Stream #3:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc [libx264 @ 0xb7deac50] using SAR=1/1 [libx264 @ 0xb7deac50] using cpu capabilities: ARMv6 NEON [libx264 @ 0xb7deac50] profile High, level 3.1 [libx264 @ 0xb7deac50] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=4 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=20 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to 'app_movies/new_572e1912-b147-4448-b6ab-757c6027ca0c.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.61.100 Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default) Metadata: encoder : Lavc57.68.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 128 kb/s (default) Metadata: encoder : Lavc57.68.100 aac Stream mapping: Stream #0:0 (h264) -> setpts Stream #0:1 (aac) -> asetpts Stream #1:0 (h264) -> setpts Stream #1:1 (aac) -> asetpts Stream #2:0 (png) -> overlay:overlay Stream #3:0 (rawvideo) -> trim format -> Stream #0:0 (libx264) volume -> Stream #0:1 (aac) Press [q] to stop, [?] for help frame= 356 fps=5.2 q=28.0 size= 2215kB time=00:00:14.15 bitrate=1282.0kbits/s speed=0.206x From mfcc64 at gmail.com Mon Dec 19 17:08:34 2016 From: mfcc64 at gmail.com (Muhammad Faiz) Date: Mon, 19 Dec 2016 22:08:34 +0700 Subject: [FFmpeg-user] aevalsrc question In-Reply-To: References: <20161218221006.GA2677276@phare.normalesup.org> <20161219075514.GA2926865@phare.normalesup.org> Message-ID: On 12/19/16, Adam Puckett wrote: > On 12/19/16, Nicolas George wrote: >> L'octidi 28 frimaire, an CCXXV, Adam Puckett a écrit : >>> When you say it "works" for you (I have to double the ^ to escape on >>> Windows), >> >> My condoleances. >> >>> does it produce this file? >> >> Yes, approximatively. Are you just hearing Vorbis artifacts? > No, because when I ffplay the same command, or generate uncompressed > files, I hear the same thing. I've checked the math and nothing > appears to be wrong according to the documentation, because when t = > 10, 10/10 = 1, 262*2^1 = 520, so the formula should produce a 520 Hz > sine at the end, but the resulting frequency at the end is close to 1 > kHz. This is puzzling. The formula is wrong. Consider sin(262*2^(t/10)*2*PI*t). phase, ph(t) = 262 * 2^(t/10) * 2 * PI * t angular freq (in radians/s), w(t) = dph(t)/dt = 262 * 2 * PI * (2^(t/10) + log(2)/10 * 2^(t/10) * t) freq(t) = 262 * (2^(t/10) + log(2)/10 * 2^(t/10) * t) so, at t = 10, freq(10) = 262 * (2 + log(2) * 2) = 887 Hz Thx From george at nsup.org Mon Dec 19 17:23:08 2016 From: george at nsup.org (Nicolas George) Date: Mon, 19 Dec 2016 16:23:08 +0100 Subject: [FFmpeg-user] aevalsrc question In-Reply-To: References: <20161218221006.GA2677276@phare.normalesup.org> <20161219075514.GA2926865@phare.normalesup.org> Message-ID: <20161219152308.GA3107995@phare.normalesup.org> Le nonidi 29 frimaire, an CCXXV, Muhammad Faiz a écrit : > The formula is wrong. > Consider sin(262*2^(t/10)*2*PI*t). > phase, ph(t) = 262 * 2^(t/10) * 2 * PI * t > angular freq (in radians/s), w(t) = dph(t)/dt = 262 * 2 * PI * > (2^(t/10) + log(2)/10 * 2^(t/10) * t) > freq(t) = 262 * (2^(t/10) + log(2)/10 * 2^(t/10) * t) > so, at t = 10, freq(10) = 262 * (2 + log(2) * 2) = 887 Hz Oh, good catch. I should have remembered this task needed a primitive function, not just a multiplication. Regards, -- Nicolas George -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: Digital signature URL: From jonathan.girven at trickbook.com Mon Dec 19 17:50:10 2016 From: jonathan.girven at trickbook.com (Jonathan Girven) Date: Mon, 19 Dec 2016 15:50:10 +0000 Subject: [FFmpeg-user] High memory usage when merging videos In-Reply-To: References: Message-ID: >> Otherwise there isn't much I can do to improve my FFmpeg >> command? > > I wonder if the (input?) option "-re" can improve your situation... As I understand it, the "-re" option instructs FFmpeg to read the input file at the native frame rate of the file, rather than as fast as possible. So the idea would be to slow down the rate at which the memory fills with frames waiting to be processed in the hope that the complex filters can empty the buffer quickly enough to avoid the out of memory problems. Am I right? Testing this by adding "-re" before each "-i", I am still experiencing the same out of memory issues. The speed that FFmpeg quotes it is working at is around 0.200x. So in the time 20% of the output file has been processed, the inputs have been entirely loaded, 80% of which still unprocessed in memory. Is that how it works? It is pretty hacky, but I guess if I could specify the rate at which inputs are loaded precisely, I could specify fps*0.2, and it would work. Maybe by temporarily changing the frame rate ... From george at nsup.org Mon Dec 19 18:15:33 2016 From: george at nsup.org (Nicolas George) Date: Mon, 19 Dec 2016 17:15:33 +0100 Subject: [FFmpeg-user] High memory usage when merging videos In-Reply-To: References: Message-ID: <20161219161533.GA3138752@phare.normalesup.org> Le nonidi 29 frimaire, an CCXXV, Carl Eugen Hoyos a écrit : > A patch that I believe is a prerequisite for the improvement was > just committed: > http://ffmpeg.org/pipermail/ffmpeg-cvslog/2016-December/103759.html I am not sure it would help in this discussion, but I have not followed the details closely. The changes I am working on would fix the "bufferqueue overflow, dropping" problems that occur with slightly unbalanced streams, for example audio streams with tiny frames where you can get a hundred or so frames in one go. But it would not fix the really unbalanced cases, because nothing can. As a rule of thumb, if now adding (a)fifo helps, then the incoming changes should help. On the other hand, huge memory consumption is sign of a really unbalanced stream, and it would not help. Regards, -- Nicolas George -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: Digital signature URL: From mfcc64 at gmail.com Mon Dec 19 18:20:00 2016 From: mfcc64 at gmail.com (Muhammad Faiz) Date: Mon, 19 Dec 2016 23:20:00 +0700 Subject: [FFmpeg-user] High memory usage when merging videos In-Reply-To: References: Message-ID: On 12/19/16, Jonathan Girven wrote: >>> Otherwise there isn't much I can do to improve my FFmpeg >>> command? >> >> I wonder if the (input?) option "-re" can improve your situation... > > As I understand it, the "-re" option instructs FFmpeg to read the > input file at the native frame rate of the file, rather than as fast > as possible. So the idea would be to slow down the rate at which the > memory fills with frames waiting to be processed in the hope that the > complex filters can empty the buffer quickly enough to avoid the out > of memory problems. Am I right? > > Testing this by adding "-re" before each "-i", I am still experiencing > the same out of memory issues. The speed that FFmpeg quotes it is > working at is around 0.200x. So in the time 20% of the output file has > been processed, the inputs have been entirely loaded, 80% of which > still unprocessed in memory. Is that how it works? It is pretty hacky, > but I guess if I could specify the rate at which inputs are loaded > precisely, I could specify fps*0.2, and it would work. Maybe by > temporarily changing the frame rate ... How if you move your multiple inputs into movie sources inside filter_complex? Thx. From traycold at gmail.com Mon Dec 19 16:32:41 2016 From: traycold at gmail.com (traycold) Date: Mon, 19 Dec 2016 06:32:41 -0800 (PST) Subject: [FFmpeg-user] VP9 to HEVC hdr demo conversion? In-Reply-To: <5850104D.3060804@gmail.com> References: <20161113193251.2456dd85@zooty> <1481495146647-4678540.post@n4.nabble.com> <584EFA55.4080303@gmail.com> <5850104D.3060804@gmail.com> Message-ID: <1482157961088-4678634.post@n4.nabble.com> hi, I would like to thank you for your support. After some experiments, I found that using this command I was able to correctly recode the HDR video and enjoy it on my samsung smart tv: ## download video only with youtube-dl, format VP9.2 HDR (input.vp9) ## download audio only with youtube-dl, whatever format you prefer ffmpeg -i input.vp9 -c:v libx265 -x265-params "colorprim=bt2020:transfer=smpte-st-2084:colormatrix=bt2020nc:master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,10):max-cll=0,0" -crf 22 output.hevc ##use mkvtoolnik to mux output.hevc + audio stream -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/VP9-to-HEVC-hdr-demo-conversion-tp4678255p4678634.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From raph at futomaki.net Mon Dec 19 21:04:27 2016 From: raph at futomaki.net (Raphael Mazelier) Date: Mon, 19 Dec 2016 20:04:27 +0100 Subject: [FFmpeg-user] Common Encryption support Message-ID: <88e71412-3bd4-d5f4-17f8-16244579955d@futomaki.net> Hello guys, I am a new comer in the pseudo streaming world (I work for a major french broadcast channel). One of my current project is to implement DRM widevine protection (sigh). I've read that someone add the common encryption support to ffmpeg which was perfect, but the doc is a bit lacky on this point. Anyone have working example on how to use it ? does it work with live stream (rtmp to rtmp for example) . Are dash packager agnostic on video encrypted with cenc ? (I use my custom nginx-rtmp module). Does it make sense to implement it in nginx-rtmp directly ? Thanks. -- Raphael Mazelier From programmer at bardware.de Mon Dec 19 21:45:59 2016 From: programmer at bardware.de (=?UTF-8?Q?Bernhard_D=c3=b6bler?=) Date: Mon, 19 Dec 2016 20:45:59 +0100 Subject: [FFmpeg-user] cutoff argument not passed to libmp3lame In-Reply-To: References: Message-ID: Am 19.12.2016 um 01:56 schrieb Carl Eugen Hoyos: > 2016-12-18 23:58 GMT+01:00 Bernhard Döbler : > >> I looked into ffmpeg documentation and saw there's an argument "-cutoff" >> that should do, what "-lowpass" does in LAME. > Why do you think so / where does it say so in the documentation? LAME documentation says: --lowpass Frequency(kHz), lowpass filter cutoff above freq. http://lame.cvs.sourceforge.net/viewvc/lame/lame/USAGE FFMpeg Doc says cutoff Set cutoff bandwidth in Hz. https://ffmpeg.org/ffmpeg-codecs.html Slightly different in every codec in ffmpeg but seems to be identical in principle. Bernhard From barsnick at gmx.net Tue Dec 20 01:44:20 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Tue, 20 Dec 2016 00:44:20 +0100 Subject: [FFmpeg-user] cutoff argument not passed to libmp3lame In-Reply-To: References: Message-ID: <20161219234420.GA14722@sunshine.barsnick.net> On Mon, Dec 19, 2016 at 20:45:59 +0100, Bernhard Döbler wrote: > FFMpeg Doc says > cutoff > Set cutoff bandwidth in Hz. > > https://ffmpeg.org/ffmpeg-codecs.html More precisely in this section: https://ffmpeg.org/ffmpeg-codecs.html#Codec-Options What that documentation doesn't say is that it isn't generally valid. Furthermore, the encoders aac, libfdk_aac, libopus, libvorbis document it in their own sections (and make use of the option), the encoder ac3 also seems to use the option. Indeed, libmp3lame.c probably only needs a call in mp3lame_encode_init() to pass the option on to the encoding library: if (avctx->cutoff) lame_set_lowpassfreq(s->gfp, avctx->cutoff); I can provide (and perhaps test) a simple patch to ffmpeg-devel, if nobody beats me to it. Moritz From barsnick at gmx.net Tue Dec 20 01:49:37 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Tue, 20 Dec 2016 00:49:37 +0100 Subject: [FFmpeg-user] Why is length and bitrate zero? In-Reply-To: <3cd36f0e-5cc9-9983-2b9e-2c124f5c8070@binarykitchen.com> References: <29804827-9cd7-bf28-0998-0aa8e69fa378@binarykitchen.com> <3cd36f0e-5cc9-9983-2b9e-2c124f5c8070@binarykitchen.com> Message-ID: <20161219234937.GB14722@sunshine.barsnick.net> On Mon, Dec 19, 2016 at 23:21:56 +1300, Michael Heuberger wrote: > $ ffmpeg -f lavfi -i testsrc=d=10 -pix_fmt yuv420p -vcodec libvpx out1.mkv > resulted into a video whose length is 00:00:10 but with a bitrate of 0 > kbps (says my SMPlayer) But says neither ffprobe nor mediainfo. IIRC, the overall bitrate is encoded in the MKV header, but there's no per-stream info available. Perhaps *that*'s smplayer's issue. Are you sure that smplayer reports anything *else* than 0 for any MKV file at all? I just tried a few random ones, and they all report 0. Moritz From ceffmpeg at gmail.com Tue Dec 20 01:49:57 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Tue, 20 Dec 2016 00:49:57 +0100 Subject: [FFmpeg-user] cutoff argument not passed to libmp3lame In-Reply-To: References: Message-ID: 2016-12-19 20:45 GMT+01:00 Bernhard Döbler : > FFMpeg Doc says > > cutoff > > Set cutoff bandwidth in Hz. > > https://ffmpeg.org/ffmpeg-codecs.html Thank you, I had not completely understood the real issue. As said, feel free to send a patch or open an enhancement ticket. Carl Eugen From ceffmpeg at gmail.com Tue Dec 20 02:00:59 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Tue, 20 Dec 2016 01:00:59 +0100 Subject: [FFmpeg-user] VP9 to HEVC hdr demo conversion? In-Reply-To: <1482157961088-4678634.post@n4.nabble.com> References: <20161113193251.2456dd85@zooty> <1481495146647-4678540.post@n4.nabble.com> <584EFA55.4080303@gmail.com> <5850104D.3060804@gmail.com> <1482157961088-4678634.post@n4.nabble.com> Message-ID: 2016-12-19 15:32 GMT+01:00 traycold : > hi, > I would like to thank you for your support. > After some experiments, I found that using this command I was able to > correctly recode the HDR video and enjoy it on my samsung smart tv: > > ## download video only with youtube-dl, format VP9.2 HDR (input.vp9) > > ## download audio only with youtube-dl, whatever format you prefer > > ffmpeg -i input.vp9 -c:v libx265 -x265-params > "colorprim=bt2020:transfer=smpte-st-2084:colormatrix=bt2020nc:master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,10):max-cll=0,0" > -crf 22 output.hevc > > ##use mkvtoolnik to mux output.hevc + audio stream So what is missing from the FFmpeg mkv muxer? Carl Eugen From michael.heuberger at binarykitchen.com Tue Dec 20 02:31:25 2016 From: michael.heuberger at binarykitchen.com (Michael Heuberger) Date: Tue, 20 Dec 2016 13:31:25 +1300 Subject: [FFmpeg-user] Why is length and bitrate zero? In-Reply-To: <20161219234937.GB14722@sunshine.barsnick.net> References: <29804827-9cd7-bf28-0998-0aa8e69fa378@binarykitchen.com> <3cd36f0e-5cc9-9983-2b9e-2c124f5c8070@binarykitchen.com> <20161219234937.GB14722@sunshine.barsnick.net> Message-ID: True, SM player always reports 0 for bitrate. I ll raise this with them then. But regarding the length, that still doesn't look right. Can you check the lengths again with your random ones? - Michael On 20/12/16 12:49, Moritz Barsnick wrote: > On Mon, Dec 19, 2016 at 23:21:56 +1300, Michael Heuberger wrote: >> $ ffmpeg -f lavfi -i testsrc=d=10 -pix_fmt yuv420p -vcodec libvpx out1.mkv >> resulted into a video whose length is 00:00:10 but with a bitrate of 0 >> kbps (says my SMPlayer) > But says neither ffprobe nor mediainfo. IIRC, the overall bitrate is encoded > in the MKV header, but there's no per-stream info available. Perhaps > *that*'s smplayer's issue. Are you sure that smplayer reports anything > *else* than 0 for any MKV file at all? I just tried a few random ones, > and they all report 0. > > Moritz > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". -- Binary Kitchen Michael Heuberger 1/33 Parrish Road Sandringham Auckland 1025 (New Zealand) Mobile (text only) ... +64 21 261 89 81 Email ................ michael at binarykitchen.com Website .............. http://www.binarykitchen.com From signalsender103 at gmail.com Tue Dec 20 04:19:42 2016 From: signalsender103 at gmail.com (Adam Puckett) Date: Mon, 19 Dec 2016 21:19:42 -0500 Subject: [FFmpeg-user] aevalsrc question In-Reply-To: <20161219152308.GA3107995@phare.normalesup.org> References: <20161218221006.GA2677276@phare.normalesup.org> <20161219075514.GA2926865@phare.normalesup.org> <20161219152308.GA3107995@phare.normalesup.org> Message-ID: On 12/19/16, Nicolas George wrote: > Oh, good catch. I should have remembered this task needed a primitive > function, not just a multiplication. > > Regards, > > -- > Nicolas George > What do I need to do to make the formula right? From mfcc64 at gmail.com Tue Dec 20 09:58:38 2016 From: mfcc64 at gmail.com (Muhammad Faiz) Date: Tue, 20 Dec 2016 14:58:38 +0700 Subject: [FFmpeg-user] aevalsrc question In-Reply-To: References: <20161218221006.GA2677276@phare.normalesup.org> <20161219075514.GA2926865@phare.normalesup.org> <20161219152308.GA3107995@phare.normalesup.org> Message-ID: On 12/20/16, Adam Puckett wrote: > On 12/19/16, Nicolas George wrote: >> Oh, good catch. I should have remembered this task needed a primitive >> function, not just a multiplication. >> >> Regards, >> >> -- >> Nicolas George >> > What do I need to do to make the formula right? Just do the reverse. Given freq(t) = 262 * 2^(t/10) w(t) = 2*PI * 262 * 2^(t/10) ph(t) = integral of w(t) dt = 2*PI * 262 * 10/log(2) * 2^(t/10) + arbitrary constant Thx. From george at nsup.org Tue Dec 20 11:12:26 2016 From: george at nsup.org (Nicolas George) Date: Tue, 20 Dec 2016 10:12:26 +0100 Subject: [FFmpeg-user] MP4 concatenation with MP42 major_brand In-Reply-To: References: Message-ID: <20161220091226.GA3556915@phare.normalesup.org> Le decadi 30 frimaire, an CCXXV, black copper a écrit : > I have MP4 source videos, that contain: > > video: H264 > audio: G.711 (mulaw) > > I want to use concatenation on source videos to get one MP4 file. > > I used concat filter by first creating a list: mylist.txt file as follows: > > file 'v1.mp4' > file 'v2.mp4' > file 'v3.mp4' > > then envoked ffmpeg command like this: > > ffmpeg -f concat -i mylist.txt -c copy op.mp4 -y > > This worked only with files that are mp41 compatible. > > With mp42 files that I mentioned above, I get this error: > > [mp4 @ 0x24ca780] Could not find tag for codec pcm_mulaw in stream #1, > codec not currently supported in container > Could not write header for output file #0 (incorrect codec parameters ?): > Invalid argument This message is about output, not input. Please test remuxing a single file, without concat, using the first file in each sequence: ffmpeg -i input.mp4 -c copy output.mp4 If, as I suspect, it fails the same way, your problem is exactly what is written in the second line of the error message. Also, note that you posted on the wrong mailing-list. Adding ffmpeg-user as recipient, please reply only there. Regards, -- Nicolas George > Full command line: > > -------------------- > ffmpeg -f concat -i mylist.txt -c copy op.mp4 -y > ffmpeg version N-82760-g55affd9 Copyright (c) 2000-2016 the FFmpeg > developers > built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3) > configuration: --pkg-config-flags=--static > --extra-cflags=-I/home/ubuntu/ffmpeg_build/include > --extra-ldflags=-L/home/ubuntu/ffmpeg_build/lib --enable-gpl > --enable-libass --enable-libfdk-aac --enable-libfreetype > --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis > --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree > libavutil 55. 41.101 / 55. 41.101 > libavcodec 57. 66.109 / 57. 66.109 > libavformat 57. 58.101 / 57. 58.101 > libavdevice 57. 2.100 / 57. 2.100 > libavfilter 6. 68.100 / 6. 68.100 > libswscale 4. 3.101 / 4. 3.101 > libswresample 2. 4.100 / 2. 4.100 > libpostproc 54. 2.100 / 54. 2.100 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x23ed7c0] Auto-inserting h264_mp4toannexb > bitstream filter > Guessed Channel Layout for Input Stream #0.0 : mono > Input #0, concat, from 'mylist.txt': > Duration: N/A, start: 0.000000, bitrate: 518 kb/s > Stream #0:0(eng): Audio: pcm_mulaw (ulaw / 0x77616C75), 8000 Hz, mono, > s16, 64 kb/s > Metadata: > creation_time : 2016-12-20T03:41:14.000000Z > handler_name : ?Apple Sound Media Handler > Stream #0:1(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, > 1920x1080, 454 kb/s, 27.70 fps, 27.70 tbr, 90k tbn, 180k tbc > Metadata: > creation_time : 2016-12-20T03:41:14.000000Z > handler_name : ?Apple Video Media Handler > encoder : H.264 > [mp4 @ 0x2413780] Could not find tag for codec pcm_mulaw in stream #1, > codec not currently supported in container > Could not write header for output file #0 (incorrect codec parameters ?): > Invalid argument > Stream mapping: > Stream #0:1 -> #0:0 (copy) > Stream #0:0 -> #0:1 (copy) > Last message repeated 1 times > ---------------- > > I'm on Ubuntu 14.04 OS. > > Is there anyway I can get this functionality to work with mp42 compatible > files? any help is much appreciated, > > Thanks, > _______________________________________________ > Libav-user mailing list > Libav-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/libav-user -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: Digital signature URL: From jonathan.girven at trickbook.com Tue Dec 20 11:32:58 2016 From: jonathan.girven at trickbook.com (Jonathan Girven) Date: Tue, 20 Dec 2016 09:32:58 +0000 Subject: [FFmpeg-user] High memory usage when merging videos In-Reply-To: <20161219161533.GA3138752@phare.normalesup.org> References: <20161219161533.GA3138752@phare.normalesup.org> Message-ID: > The changes I am working on would fix the "bufferqueue overflow, > dropping" problems that occur with slightly unbalanced streams, for > example audio streams with tiny frames where you can get a hundred or so > frames in one go. Thanks for clarifying that Nicolas. > But it would not fix the really unbalanced cases, because nothing can. Are you thinking that the processing task I am trying to perform is simply too much for the device I am using? That might well be the answer. Naively I thought that, assuming the device could hold some number of dependent frames in memory, a less powerful device would only take more time to process a video, not trigger the OS to kill it. Obviously it is much more complicated than that, but still << 1GB RAM on a Moto G. FFmpeg using all the memory available to it isn't necessarily a bad thing. My problem is Android interpreting that as a reason to kill the task. I have tried many similar commands to narrow down what is happening. Just re-encoding a 2 minute video on the device doesn't get killed by the OS, e.g: ffmpeg -i input.mp4 -vcodec libx264 -preset faster output.mp4 Even though that is significantly more video and takes more time than the previously mentioned command. Similarly for trimming with "-ss" and "-t". Therefore my complex filter usage must be related to the OS killing the task. For both commands, FFmpeg quotes the speed at ~0.2x, so the processing time must be limited by the decoding or encoding rate. I am still working on trying to get something more specific than that, but it is difficult because running the same command twice does not consistently get killed or succeed. I suppose the first iteration might succeed but leave resources allocated (in my app or FFmpeg), so the second iteration is killed. For reference, the memory monitor of my app hovers around 40-60MB (but does not show FFmpeg's memory usage). Always open to new suggestions! Or perhaps hiring an FFmpeg developer is the way forward. Thanks, Jon. From jonathan.girven at trickbook.com Tue Dec 20 11:50:50 2016 From: jonathan.girven at trickbook.com (Jonathan Girven) Date: Tue, 20 Dec 2016 09:50:50 +0000 Subject: [FFmpeg-user] High memory usage when merging videos In-Reply-To: References: Message-ID: > How if you move your multiple inputs into movie sources inside filter_complex? Sorry, I looked at the documentation here: https://ffmpeg.org/ffmpeg-filters.html#Video-Sources but couldn't see how to grab a file with this. Do you have an example? From mfcc64 at gmail.com Tue Dec 20 12:07:23 2016 From: mfcc64 at gmail.com (Muhammad Faiz) Date: Tue, 20 Dec 2016 17:07:23 +0700 Subject: [FFmpeg-user] High memory usage when merging videos In-Reply-To: References: Message-ID: On 12/20/16, Jonathan Girven wrote: >> How if you move your multiple inputs into movie sources inside >> filter_complex? > > Sorry, I looked at the documentation here: > > https://ffmpeg.org/ffmpeg-filters.html#Video-Sources > > but couldn't see how to grab a file with this. Do you have an example? At this section: https://ffmpeg.org/ffmpeg-filters.html#Multimedia-Sources for example, from your filter_complex: "movie=movie0.mp4:s=dv+da [movie0_v][movie0_a]; [movie0_v] setpts=PTS-STARTPTS[v0_trim0]; [movie0_a] asetpts=PTS-STARTPTS[a0_trim0]; ..." Thank's From mfcc64 at gmail.com Tue Dec 20 18:10:15 2016 From: mfcc64 at gmail.com (Muhammad Faiz) Date: Tue, 20 Dec 2016 23:10:15 +0700 Subject: [FFmpeg-user] High memory usage when merging videos In-Reply-To: References: Message-ID: On 12/20/16, Muhammad Faiz wrote: > On 12/20/16, Jonathan Girven wrote: >>> How if you move your multiple inputs into movie sources inside >>> filter_complex? >> >> Sorry, I looked at the documentation here: >> >> https://ffmpeg.org/ffmpeg-filters.html#Video-Sources >> >> but couldn't see how to grab a file with this. Do you have an example? > > At this section: https://ffmpeg.org/ffmpeg-filters.html#Multimedia-Sources > > for example, from your filter_complex: > "movie=movie0.mp4:s=dv+da [movie0_v][movie0_a]; > [movie0_v] setpts=PTS-STARTPTS[v0_trim0]; > [movie0_a] asetpts=PTS-STARTPTS[a0_trim0]; ..." > > Thank's > For safer approach, you may want separate video/audio in different movie sources e.g: "movie=movie0.mp4, setpts=PTS-STARTPTS [v0_trim0]; amovie=movie0.mp4, asetpts=PTS-STARTPTS [v1_trim0]; ... " Thx From signalsender103 at gmail.com Tue Dec 20 18:15:56 2016 From: signalsender103 at gmail.com (Adam Puckett) Date: Tue, 20 Dec 2016 11:15:56 -0500 Subject: [FFmpeg-user] aevalsrc question In-Reply-To: References: <20161218221006.GA2677276@phare.normalesup.org> <20161219075514.GA2926865@phare.normalesup.org> <20161219152308.GA3107995@phare.normalesup.org> Message-ID: On 12/20/16, Muhammad Faiz wrote: > On 12/20/16, Adam Puckett wrote: >> On 12/19/16, Nicolas George wrote: >>> Oh, good catch. I should have remembered this task needed a primitive >>> function, not just a multiplication. >>> >>> Regards, >>> >>> -- >>> Nicolas George >>> >> What do I need to do to make the formula right? > > Just do the reverse. > Given freq(t) = 262 * 2^(t/10) > w(t) = 2*PI * 262 * 2^(t/10) > ph(t) = integral of w(t) dt > = 2*PI * 262 * 10/log(2) * 2^(t/10) + arbitrary constant > > Thx. > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". Thanks, that worked! But the question is: why? I don't quite understand why I had to put in the log(2) expression. On a related note, I've looked at a formula that does linear interpolation (one of the example scripts for Praat (http://praat.org/)), and there is a division by 2 in the script; is this for a similar reason? (For arbitrary targeted frequencies, I'm assuming I would have to use a log(highestfreq/lowestfreq) in place of the log(2)?) Thanks From mfcc64 at gmail.com Tue Dec 20 18:34:42 2016 From: mfcc64 at gmail.com (Muhammad Faiz) Date: Tue, 20 Dec 2016 23:34:42 +0700 Subject: [FFmpeg-user] aevalsrc question In-Reply-To: References: <20161218221006.GA2677276@phare.normalesup.org> <20161219075514.GA2926865@phare.normalesup.org> <20161219152308.GA3107995@phare.normalesup.org> Message-ID: On 12/20/16, Adam Puckett wrote: > On 12/20/16, Muhammad Faiz wrote: >> On 12/20/16, Adam Puckett wrote: >>> On 12/19/16, Nicolas George wrote: >>>> Oh, good catch. I should have remembered this task needed a primitive >>>> function, not just a multiplication. >>>> >>>> Regards, >>>> >>>> -- >>>> Nicolas George >>>> >>> What do I need to do to make the formula right? >> >> Just do the reverse. >> Given freq(t) = 262 * 2^(t/10) >> w(t) = 2*PI * 262 * 2^(t/10) >> ph(t) = integral of w(t) dt >> = 2*PI * 262 * 10/log(2) * 2^(t/10) + arbitrary constant >> >> Thx. >> _______________________________________________ >> ffmpeg-user mailing list >> ffmpeg-user at ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> >> To unsubscribe, visit link above, or email >> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > Thanks, that worked! But the question is: why? I don't quite > understand why I had to put in the log(2) expression. > > On a related note, I've looked at a formula that does linear > interpolation (one of the example scripts for Praat > (http://praat.org/)), and there is a division by 2 in the script; is > this for a similar reason? (For arbitrary targeted frequencies, I'm > assuming I would have to use a log(highestfreq/lowestfreq) in place of > the log(2)?) > > Thanks It is calculus 2^(t/10) = exp(t/10 * log(2)) and integral exp(a * t) * dt = 1/a * exp(a * t) + arbitrary constant thx From anton at corp.bluecherry.net Tue Dec 20 20:21:12 2016 From: anton at corp.bluecherry.net (Anton Sviridenko) Date: Tue, 20 Dec 2016 22:21:12 +0400 Subject: [FFmpeg-user] VAAPI decoding/encoding of several video streams in parallel Message-ID: I want to use hardware acceleration for processing multiple realtime videostreams (coming over RTSP). I've read this thread - http://ffmpeg.org/pipermail/ffmpeg-user/2016-December/034530.html and have some questions related to scaling this everything to several video streams: 1) Is it possible at all to use VAAPI acceleration for several independent video streams simultaneously? 2) How should I initialize VAAPI related stuff? Do I have to create separate hwframe context for each stream? 3) Can I use single hwdevice and vaapi_context instances for all streams or there should be own instance for each decoded/encoded stream? Anton From bardnet at web.de Mon Dec 19 21:15:58 2016 From: bardnet at web.de (=?UTF-8?Q?Bernhard_D=c3=b6bler?=) Date: Mon, 19 Dec 2016 20:15:58 +0100 Subject: [FFmpeg-user] cutoff argument not passed to libmp3lame In-Reply-To: References: Message-ID: Am 19.12.2016 um 01:56 schrieb Carl Eugen Hoyos: > 2016-12-18 23:58 GMT+01:00 Bernhard Döbler : > >> I looked into ffmpeg documentation and saw there's an argument "-cutoff" >> that should do, what "-lowpass" does in LAME. > Why do you think so / where does it say so in the documentation? LAME documentation says: --lowpass Frequency(kHz), lowpass filter cutoff above freq. http://lame.cvs.sourceforge.net/viewvc/lame/lame/USAGE FFMpeg Doc says cutoff Set cutoff bandwidth in Hz. https://ffmpeg.org/ffmpeg-codecs.html Slightly different in every codec in ffmpeg but seems to be identical in principle. Bernhard From blackcopper1 at gmail.com Tue Dec 20 11:37:37 2016 From: blackcopper1 at gmail.com (black copper) Date: Tue, 20 Dec 2016 14:37:37 +0500 Subject: [FFmpeg-user] Fwd: [Libav-user] MP4 concatenation with MP42 major_brand In-Reply-To: <20161220091226.GA3556915@phare.normalesup.org> References: <20161220091226.GA3556915@phare.normalesup.org> Message-ID: ---------- Forwarded message ---------- From: Nicolas George Date: Tue, Dec 20, 2016 at 2:12 PM Subject: Re: [Libav-user] MP4 concatenation with MP42 major_brand To: libav-user at ffmpeg.org, ffmpeg-user at ffmpeg.org Le decadi 30 frimaire, an CCXXV, black copper a écrit : > I have MP4 source videos, that contain: > > video: H264 > audio: G.711 (mulaw) > > I want to use concatenation on source videos to get one MP4 file. > > I used concat filter by first creating a list: mylist.txt file as follows: > > file 'v1.mp4' > file 'v2.mp4' > file 'v3.mp4' > > then envoked ffmpeg command like this: > > ffmpeg -f concat -i mylist.txt -c copy op.mp4 -y > > This worked only with files that are mp41 compatible. > > With mp42 files that I mentioned above, I get this error: > > [mp4 @ 0x24ca780] Could not find tag for codec pcm_mulaw in stream #1, > codec not currently supported in container > Could not write header for output file #0 (incorrect codec parameters ?): > Invalid argument This message is about output, not input. Please test remuxing a single file, without concat, using the first file in each sequence: ffmpeg -i input.mp4 -c copy output.mp4 >> yes, its giving the same error... If, as I suspect, it fails the same way, your problem is exactly what is written in the second line of the error message. Also, note that you posted on the wrong mailing-list. Adding ffmpeg-user as recipient, please reply only there. >> doing that, thanks, Regards, -- Nicolas George > Full command line: > > -------------------- > ffmpeg -f concat -i mylist.txt -c copy op.mp4 -y > ffmpeg version N-82760-g55affd9 Copyright (c) 2000-2016 the FFmpeg > developers > built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3) > configuration: --pkg-config-flags=--static > --extra-cflags=-I/home/ubuntu/ffmpeg_build/include > --extra-ldflags=-L/home/ubuntu/ffmpeg_build/lib --enable-gpl > --enable-libass --enable-libfdk-aac --enable-libfreetype > --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis > --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree > libavutil 55. 41.101 / 55. 41.101 > libavcodec 57. 66.109 / 57. 66.109 > libavformat 57. 58.101 / 57. 58.101 > libavdevice 57. 2.100 / 57. 2.100 > libavfilter 6. 68.100 / 6. 68.100 > libswscale 4. 3.101 / 4. 3.101 > libswresample 2. 4.100 / 2. 4.100 > libpostproc 54. 2.100 / 54. 2.100 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x23ed7c0] Auto-inserting h264_mp4toannexb > bitstream filter > Guessed Channel Layout for Input Stream #0.0 : mono > Input #0, concat, from 'mylist.txt': > Duration: N/A, start: 0.000000, bitrate: 518 kb/s > Stream #0:0(eng): Audio: pcm_mulaw (ulaw / 0x77616C75), 8000 Hz, mono, > s16, 64 kb/s > Metadata: > creation_time : 2016-12-20T03:41:14.000000Z > handler_name : ?Apple Sound Media Handler > Stream #0:1(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, > 1920x1080, 454 kb/s, 27.70 fps, 27.70 tbr, 90k tbn, 180k tbc > Metadata: > creation_time : 2016-12-20T03:41:14.000000Z > handler_name : ?Apple Video Media Handler > encoder : H.264 > [mp4 @ 0x2413780] Could not find tag for codec pcm_mulaw in stream #1, > codec not currently supported in container > Could not write header for output file #0 (incorrect codec parameters ?): > Invalid argument > Stream mapping: > Stream #0:1 -> #0:0 (copy) > Stream #0:0 -> #0:1 (copy) > Last message repeated 1 times > ---------------- > > I'm on Ubuntu 14.04 OS. > > Is there anyway I can get this functionality to work with mp42 compatible > files? any help is much appreciated, > > Thanks, > _______________________________________________ > Libav-user mailing list > Libav-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/libav-user _______________________________________________ Libav-user mailing list Libav-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 849 bytes Desc: not available URL: From traycold at gmail.com Tue Dec 20 10:08:03 2016 From: traycold at gmail.com (traycold) Date: Tue, 20 Dec 2016 00:08:03 -0800 (PST) Subject: [FFmpeg-user] VP9 to HEVC hdr demo conversion? In-Reply-To: References: <20161113193251.2456dd85@zooty> <1481495146647-4678540.post@n4.nabble.com> <584EFA55.4080303@gmail.com> <5850104D.3060804@gmail.com> <1482157961088-4678634.post@n4.nabble.com> Message-ID: <1482221283564-4678650.post@n4.nabble.com> Carl Eugen Hoyos-2 wrote > So what is missing from the FFmpeg mkv muxer? I can't answer to your question. I just wanted to share my experience: using the command mentioned in my first mail in this thread I was not able to correctly encode the HDR video in object, while using the command mentioned in my last mail (as suggested by Andy Furniss) the encoding was ok. -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/VP9-to-HEVC-hdr-demo-conversion-tp4678255p4678650.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From Thomas.Matthias at dolby.com Tue Dec 20 22:11:12 2016 From: Thomas.Matthias at dolby.com (Matthias, Thomas) Date: Tue, 20 Dec 2016 20:11:12 +0000 Subject: [FFmpeg-user] Generate/Playback Interlaced (1080i) video with lavfi. Message-ID: <11DD98B7-B9DF-42BD-9303-9C8E16B2C241@dolby.com> Hi, I’m trying to generate some smtpebars with a script, and it works fine for 1080p video. However, I’ve tried numerous combinations for generating 1080i video using the –vf tinterlace filter. For example, if I want to generate 1080i50 video, do I use 25000/1000 as the framerate, and then –vf tinterlace=6? This doesn’t seem to work. I’ve also tried setting the framerate to 50000/1000 and then using –vf tinterlace=4, but that seems to be giving 1080p25 instead of true 1080i50? I’m probably way off here, any help would be really appreciated. Example command (not at all inclusive of everything I’ve tried): ffmpeg –y –f lavfi –i “smptebars=duration=1:size=1920x1080:rate=25000/1000” –pix_fmt uyvy422 –vcodec rawvideo –vf tinterlace=6 smpte_bar_test.mov More importantly, using the decklink output device, is there a way to playback an interlaced video? Even if I try to playback a video that I know is 1080i, it always plays out as progressive from the decklink output device. Thanks! From sw at jkqxz.net Tue Dec 20 22:51:24 2016 From: sw at jkqxz.net (Mark Thompson) Date: Tue, 20 Dec 2016 20:51:24 +0000 Subject: [FFmpeg-user] VAAPI decoding/encoding of several video streams in parallel In-Reply-To: References: Message-ID: <42446c9e-cd62-52a8-72f2-b7d9a60ef5dd@jkqxz.net> On 20/12/16 18:21, Anton Sviridenko wrote: > I want to use hardware acceleration for processing multiple realtime > videostreams (coming over RTSP). > I've read this thread - > http://ffmpeg.org/pipermail/ffmpeg-user/2016-December/034530.html > > and have some questions related to scaling this everything to several > video streams: > > 1) Is it possible at all to use VAAPI acceleration for several > independent video streams simultaneously? Yes, the kernel drivers deal with all of the detail here - it's exactly the same as using your GPU to run multiple OpenGL programs at the same time. > 2) How should I initialize VAAPI related stuff? Do I have to create > separate hwframe context for each stream? Not necessarily, it depends on what you want to do. Some things to consider: * A hwframe pool needs to be fixed-size to use as output from a decoder or filter (note the render_targets argument to vaCreateContext(), which you supply the surfaces member of AVVAAPIFramesContext to), so can be exhausted. Decoders and encoders may both hold on to frames for some length of time (to use as reference frames, to wait for the stream delay), so a pool used by multiple of them needs to be large enough to not run out even when they sit on some of the surfaces for a while. * All surfaces in a single hwframe context are the same size and format. While it's perfectly valid to decode a frame onto a surface which is larger than the frame, it does waste memory so you may want to make the surfaces of the correct size when that is known. * A filter or encoder should only be given input which matches the hwframe context you declared as its input when you created it. This is primarily an API restriction and some other cases do work some of the time, but keeping to it will avoid any surprises. The easiest way to do it is probably to follow what ffmpeg itself does: make a single hwframe context for the output of each decoder or other operation, and then give that to whatever the next thing is which will consume those frames. This won't necessarily be sufficient in all cases - if you have something more complex with output from multiple decoders being combined somehow then you'll need to think about it more carefully keeping the restrictions above in mind. > 3) Can I use single hwdevice and vaapi_context instances for all > streams or there should be own instance for each decoded/encoded > stream? Typically you will want to make one device and then use it everywhere. Multiple devices should also work, but note that different devices can't interoperate at all (so a decoder, scaler and encoder working with the same surfaces and hwframe context need to be using the same device, say). You need to make exactly one struct vaapi_context for each decoder (with configuration appropriate to that decoder). - Mark From barsnick at gmx.net Tue Dec 20 22:53:34 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Tue, 20 Dec 2016 21:53:34 +0100 Subject: [FFmpeg-user] Why is length and bitrate zero? In-Reply-To: References: <29804827-9cd7-bf28-0998-0aa8e69fa378@binarykitchen.com> <3cd36f0e-5cc9-9983-2b9e-2c124f5c8070@binarykitchen.com> <20161219234937.GB14722@sunshine.barsnick.net> Message-ID: <20161220205334.GC12012@sunshine.barsnick.net> On Tue, Dec 20, 2016 at 13:31:25 +1300, Michael Heuberger wrote: > But regarding the length, that still doesn't look right. Can you check > the lengths again with your random ones? The lengths all look correct in smplayer (I didn't check their actual lengths), but so does the output from your example. Gruß, Moritz From barsnick at gmx.net Tue Dec 20 22:49:56 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Tue, 20 Dec 2016 21:49:56 +0100 Subject: [FFmpeg-user] VAAPI decoding/encoding of several video streams in parallel In-Reply-To: References: Message-ID: <20161220204956.GB12012@sunshine.barsnick.net> On Tue, Dec 20, 2016 at 22:21:12 +0400, Anton Sviridenko wrote: > http://ffmpeg.org/pipermail/ffmpeg-user/2016-December/034530.html [...] > 3) Can I use single hwdevice and vaapi_context instances for all > streams or there should be own instance for each decoded/encoded > stream? You'll have more luck getting help on the appropriate mailing list libav-user: https://lists.ffmpeg.org/mailman/listinfo/libav-user/ which is dedicated to the use of the libav* libraries, while this list concentrates on the command line tools. That mentioned thread was already off-topic, and quite lucky it got a good answer, if you ask me. ;-) Cheers, Moritz From eqmaker at eqmaker.kr Wed Dec 21 10:23:14 2016 From: eqmaker at eqmaker.kr (EQMaker) Date: Wed, 21 Dec 2016 17:23:14 +0900 Subject: [FFmpeg-user] Change video frames to another frame. Message-ID: Hello there. I'm trying to change last 3 frames of input video file to still images from 4th frame from end of the file. Can I handle this with only stream copy? or May I have to use video filters? Please share your advice. Thanks. Andrei. From ceffmpeg at gmail.com Wed Dec 21 10:29:05 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Wed, 21 Dec 2016 09:29:05 +0100 Subject: [FFmpeg-user] VP9 to HEVC hdr demo conversion? In-Reply-To: <1482221283564-4678650.post@n4.nabble.com> References: <20161113193251.2456dd85@zooty> <1481495146647-4678540.post@n4.nabble.com> <584EFA55.4080303@gmail.com> <5850104D.3060804@gmail.com> <1482157961088-4678634.post@n4.nabble.com> <1482221283564-4678650.post@n4.nabble.com> Message-ID: 2016-12-20 9:08 GMT+01:00 traycold : > Carl Eugen Hoyos-2 wrote >> So what is missing from the FFmpeg mkv muxer? > > I can't answer to your question. Perhaps you can provide sample files (one frame) with identical video that allow us to see the difference? Carl Eugen From ceffmpeg at gmail.com Wed Dec 21 10:31:48 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Wed, 21 Dec 2016 09:31:48 +0100 Subject: [FFmpeg-user] Generate/Playback Interlaced (1080i) video with lavfi. In-Reply-To: <11DD98B7-B9DF-42BD-9303-9C8E16B2C241@dolby.com> References: <11DD98B7-B9DF-42BD-9303-9C8E16B2C241@dolby.com> Message-ID: 2016-12-20 21:11 GMT+01:00 Matthias, Thomas : > Hi, > > I’m trying to generate some smtpebars with a script, and it works fine for 1080p video. > However, I’ve tried numerous combinations for generating 1080i video using the > –vf tinterlace filter. How do you expect to see the difference between interlaced and progressive smtpebars? I believe the tinterlace filter works fine but without horizontal movement you will not be able to see a difference. Note that the following should simplify your command line: $ ffmpeg -f lavfi -i filter1,filter2, ..., filtern Carl Eugen From george at nsup.org Wed Dec 21 12:00:15 2016 From: george at nsup.org (Nicolas George) Date: Wed, 21 Dec 2016 11:00:15 +0100 Subject: [FFmpeg-user] High memory usage when merging videos In-Reply-To: References: <20161219161533.GA3138752@phare.normalesup.org> Message-ID: <20161221100015.GC19632@phare.normalesup.org> Le decadi 30 frimaire, an CCXXV, Jonathan Girven a écrit : > Are you thinking that the processing task I am trying to perform is > simply too much for the device I am using? That might well be the > answer. I do not know, your filter graph is way too complicated, I can not see what is wrong as is. All I can do is explain the principle. Some situations inherently require a lot of memory. For example, imagine you want to concatenate the current minute of webcam recording with itself: you have to store the whole minute somewhere. I think most useful situations do not trigger that kind of problems. But with a complicated filter graph, you may be unwittingly introducing loops that cause them. Basically, to find the source of your issue, someone needs to take a large whiteboard, draw the graph and follow the frames. I suspect, with that huge filter graph, nobody will do that for you, sorry. To follow the frames, you need to know this: filters with several inputs require frames with the same timestamp, and almost always a next frame to know the duration. Regards, -- Nicolas George From jonathan.girven at trickbook.com Wed Dec 21 13:32:13 2016 From: jonathan.girven at trickbook.com (Jonathan Girven) Date: Wed, 21 Dec 2016 11:32:13 +0000 Subject: [FFmpeg-user] High memory usage when merging videos In-Reply-To: <20161221100015.GC19632@phare.normalesup.org> References: <20161219161533.GA3138752@phare.normalesup.org> <20161221100015.GC19632@phare.normalesup.org> Message-ID: > I think most useful situations do not trigger that kind of problems. But > with a complicated filter graph, you may be unwittingly introducing > loops that cause them. Thanks, that makes a lot of sense. What I am doing with that horrible filter graph is: - take two input clips - concatenate the video with: - a fade in from black at the beginning - a fade transition in the middle - a fade to black at the end - do similar for the audio - overlay a watermark It wouldn't surprise me that in one of those stages I have a similar situation as your example. I think through iterative testing and memory monitoring of different commands, I must be able to find a significant jump in peak memory required. Alternatively, breaking up the command into separate stages is probably an easy way to solve the issue. It will just slow processing down a lot because of writing multiple files, right? > Basically, to find the source of your issue, someone needs to take a > large whiteboard, draw the graph and follow the frames. I suspect, with > that huge filter graph, nobody will do that for you, sorry. Sounds expensive! From pascor22234 at gmail.com Wed Dec 21 17:15:45 2016 From: pascor22234 at gmail.com (Ray Pasco) Date: Wed, 21 Dec 2016 10:15:45 -0500 Subject: [FFmpeg-user] Explosion of warnings: "cur_dts is invalid", "video_delay is larger in decoder than demuxer" Message-ID: This bug was reported and supposedly fixed a while ago. Conversion to both x264 and x265 seem to work properly, but the usual output of the fps, frame number, etc., is missing. How can these messages be eliminated ? ffmpeg.EXE -i "E:\\SHERLOCK S01 - WORK\\VIDEO_SAMPLE_10-SEC_SLICE.AVI" -hide_banner -loglevel warning -c:v libx264 -crf 20 -tune film -profile:v high -level:v 4.1 -pixel_format yuv420p -c:a aac -report -c:s copy -y "VIDEO_SAMPLE_10-SEC_SLICE (X264 AAC HIGH at 4_1).MP4" The complete log file is attached. The 12 second clip (12.6MB) can be provided. -------------- next part -------------- A non-text attachment was scrubbed... Name: ffmpeg-20161221-094757.log Type: application/octet-stream Size: 177930 bytes Desc: not available URL: From programmer at bardware.de Wed Dec 21 21:35:31 2016 From: programmer at bardware.de (=?UTF-8?Q?Bernhard_D=c3=b6bler?=) Date: Wed, 21 Dec 2016 20:35:31 +0100 Subject: [FFmpeg-user] cutoff argument not passed to libmp3lame In-Reply-To: <20161219234420.GA14722@sunshine.barsnick.net> References: <20161219234420.GA14722@sunshine.barsnick.net> Message-ID: Am 20.12.2016 um 00:44 schrieb Moritz Barsnick: > mp3lame_encode_init() to pass the option on to the encoding library: > > if (avctx->cutoff) > lame_set_lowpassfreq(s->gfp, avctx->cutoff); > > I can provide (and perhaps test) a simple patch to ffmpeg-devel, if > nobody beats me to it. Please feel free :) From signalsender103 at gmail.com Thu Dec 22 05:08:35 2016 From: signalsender103 at gmail.com (Adam Puckett) Date: Wed, 21 Dec 2016 22:08:35 -0500 Subject: [FFmpeg-user] frequency modulation Message-ID: I have another aevalsrc related question, so I thought I'd make a new thread. How would I perform frequency modulation of a waveform? I'd assume it would be with a formula similar to the exponential frequency sweep I had a question about earlier? From michael.heuberger at binarykitchen.com Thu Dec 22 09:09:33 2016 From: michael.heuberger at binarykitchen.com (Michael Heuberger) Date: Thu, 22 Dec 2016 20:09:33 +1300 Subject: [FFmpeg-user] Why is length and bitrate zero? In-Reply-To: <20161220205334.GC12012@sunshine.barsnick.net> References: <29804827-9cd7-bf28-0998-0aa8e69fa378@binarykitchen.com> <3cd36f0e-5cc9-9983-2b9e-2c124f5c8070@binarykitchen.com> <20161219234937.GB14722@sunshine.barsnick.net> <20161220205334.GC12012@sunshine.barsnick.net> Message-ID: Hi Moritz So, are you saying there is nothing wrong with my command and that it must be a smplayer bug? - Michael On 21/12/16 09:53, Moritz Barsnick wrote: > On Tue, Dec 20, 2016 at 13:31:25 +1300, Michael Heuberger wrote: >> But regarding the length, that still doesn't look right. Can you check >> the lengths again with your random ones? > The lengths all look correct in smplayer (I didn't check their actual > lengths), but so does the output from your example. > > Gruß, > Moritz > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". -- Binary Kitchen Michael Heuberger 1/33 Parrish Road Sandringham Auckland 1025 (New Zealand) Mobile (text only) ... +64 21 261 89 81 Email ................ michael at binarykitchen.com Website .............. http://www.binarykitchen.com From tosha at oviont.com Thu Dec 22 10:04:05 2016 From: tosha at oviont.com (=?utf-8?B?0JDQvdGC0L7QvSDQn9GA0LjRhdC+0LTRjNC60L4=?=) Date: Thu, 22 Dec 2016 11:04:05 +0300 Subject: [FFmpeg-user] Changing behavior matroska muxer In-Reply-To: References: <29804827-9cd7-bf28-0998-0aa8e69fa378@binarykitchen.com> <3cd36f0e-5cc9-9983-2b9e-2c124f5c8070@binarykitchen.com> <20161219234937.GB14722@sunshine.barsnick.net> <20161220205334.GC12012@sunshine.barsnick.net> Message-ID: <239EB7A29EE840B8B393336F70D4F319@toshik> Hi all ! Since version ffmpeg-20161006-0212867-win64-static it has changed the behavior the matroska muxer. The problem is: If earlier tracks were available, players display content of the output file, its encoding is still going on, in later versions while encoding tracks of output file is not available for players, MediaInfo, ffmpeg. ffprobe etc. For releasers torrent trackers is a disaster. Often you need to see the result of the encoding in the moment or cut the part of the encoded file. If the encoding window to close, the result can not be processed. If the encoding hung window has to be closed. Previously, you could to remux the file and save more of the coding result. Now all this can be done. With other containers such problems now are not present. Maybe there is some option that affects this behavior? The documentation is no difference on this occasion is not found. Huge request to the developers: If this option is not, please return the previous behavior Encoding is by ffmpeg-20161218-02aa070-win64-static below Mediainfo screenshot: http://rgfootball.tv/media/up/148239265961.jpg The FFProbe.exe (in several versions, starting with said at the beginning, ffprobe reads more tracks) FFprobe result: http://rgfootball.tv/media/up/148239316689.jpg Sorry for bad English and google translate. Thanks. --------- FFMPEG Starter: the help for tracker releasers http://ovisoft.ru/web_projects/tosha/ From tosha at oviont.com Thu Dec 22 11:23:16 2016 From: tosha at oviont.com (=?utf-8?B?0JDQvdGC0L7QvSDQn9GA0LjRhdC+0LTRjNC60L4=?=) Date: Thu, 22 Dec 2016 12:23:16 +0300 Subject: [FFmpeg-user] Changing behavior matroska muxer In-Reply-To: <239EB7A29EE840B8B393336F70D4F319@toshik> References: <29804827-9cd7-bf28-0998-0aa8e69fa378@binarykitchen.com> <3cd36f0e-5cc9-9983-2b9e-2c124f5c8070@binarykitchen.com> <20161219234937.GB14722@sunshine.barsnick.net> <20161220205334.GC12012@sunshine.barsnick.net> <239EB7A29EE840B8B393336F70D4F319@toshik> Message-ID: For doc. writers: Please fix the name of option ‘vsmbc’ for filter minterpolate The good is ‘vsbmc’ --------- FFMPEG Starter: the help for tracker releasers http://ovisoft.ru/web_projects/tosha/ From barsnick at gmx.net Thu Dec 22 16:26:23 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Thu, 22 Dec 2016 15:26:23 +0100 Subject: [FFmpeg-user] Why is length and bitrate zero? In-Reply-To: References: <29804827-9cd7-bf28-0998-0aa8e69fa378@binarykitchen.com> <3cd36f0e-5cc9-9983-2b9e-2c124f5c8070@binarykitchen.com> <20161219234937.GB14722@sunshine.barsnick.net> <20161220205334.GC12012@sunshine.barsnick.net> Message-ID: <20161222142623.GE7899@sunshine.barsnick.net> On Thu, Dec 22, 2016 at 20:09:33 +1300, Michael Heuberger wrote: > Hi Moritz > > So, are you saying there is nothing wrong with my command and that it > must be a smplayer bug? Exactly. I'm even saying there is most likely nothing wrong with ffmpeg, just with smplayer. As you have two parts of the equation - ffmpeg and smplayer (and your command line as third part) - you will need to exchange either of those two and see if the result differs. Use something else to create a Matroska file, or use something else (such as ffprobe, vlc, mediainfo, mkvinfo) to analyze the file and confirm your observations. *My* short analysis says: This is a shortcoming in smplayer. But I may be wrong. Cheers, Moritz From barsnick at gmx.net Thu Dec 22 16:48:51 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Thu, 22 Dec 2016 15:48:51 +0100 Subject: [FFmpeg-user] Changing behavior matroska muxer In-Reply-To: <239EB7A29EE840B8B393336F70D4F319@toshik> References: <29804827-9cd7-bf28-0998-0aa8e69fa378@binarykitchen.com> <3cd36f0e-5cc9-9983-2b9e-2c124f5c8070@binarykitchen.com> <20161219234937.GB14722@sunshine.barsnick.net> <20161220205334.GC12012@sunshine.barsnick.net> <239EB7A29EE840B8B393336F70D4F319@toshik> Message-ID: <20161222144851.GF7899@sunshine.barsnick.net> On Thu, Dec 22, 2016 at 11:04:05 +0300, Антон Приходько wrote: > Since version ffmpeg-20161006-0212867-win64-static it has changed the > behavior the matroska muxer. Is this the very first version which displays your issue? In other words, 20161005 does not? On 20161006, a lot of changes where introduced into the Matroska muxer, adding CRC32 fields. I don't believe they should interfere with previous behavior, but I honestly don't know. > The FFProbe.exe (in several versions, starting with said at the beginning, > ffprobe reads more tracks) > FFprobe result: > http://rgfootball.tv/media/up/148239316689.jpg Could you please show us an ffmpeg command line (not GUI options, GUIs are not supported here) which allows to reproduce the issue? Along with its complete, uncut console output - please not as screenshot, but copy/pasting the *text* from the console into the e-mail. Thanks, Moritz From barsnick at gmx.net Thu Dec 22 16:54:21 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Thu, 22 Dec 2016 15:54:21 +0100 Subject: [FFmpeg-user] Change video frames to another frame. In-Reply-To: References: Message-ID: <20161222145421.GG7899@sunshine.barsnick.net> On Wed, Dec 21, 2016 at 17:23:14 +0900, EQMaker wrote: > I'm trying to change last 3 frames of input video file to still images from > 4th frame from end of the file. > > Can I handle this with only stream copy? or May I have to use video filters? There's certainly something filters can. Regarding stream copy: The only way I can think of is to dump that 4th frame from the end (assuming it is an I-frame), creating a 4-frame video from that, and concatenating it to a cut of the original. Moritz From ffmpeg at frank.haefemeier.eu Thu Dec 22 17:11:08 2016 From: ffmpeg at frank.haefemeier.eu (Frank Haefemeier) Date: Thu, 22 Dec 2016 16:11:08 +0100 Subject: [FFmpeg-user] MVC / SSIF transcoding Message-ID: <1482419468.2725.20.camel@frank.haefemeier.eu> Hi, I am wondering if there is a way to transcode a MVC/SSIF source with ffmpeg to get the left and right side of a 3D video? Bye Frank From pc.osx.linux at gmail.com Thu Dec 22 17:50:12 2016 From: pc.osx.linux at gmail.com (Miha Pece) Date: Thu, 22 Dec 2016 16:50:12 +0100 Subject: [FFmpeg-user] Error position Message-ID: Hi to all, I was recently started to check our archive of video files. In many of them ffmpeg found some errors. For instance: [dvvideo @ 0x7fcc21816000] Concealing bitstream errors My question is, how can I find position (time location) where error occurs? Is 0x7fcc21816000 some kind of hex marker? If not, is a way to get that info from ffmpeg? Tnx. Miha Peče From ceffmpeg at gmail.com Thu Dec 22 18:51:02 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Thu, 22 Dec 2016 17:51:02 +0100 Subject: [FFmpeg-user] Changing behavior matroska muxer In-Reply-To: References: <29804827-9cd7-bf28-0998-0aa8e69fa378@binarykitchen.com> <3cd36f0e-5cc9-9983-2b9e-2c124f5c8070@binarykitchen.com> <20161219234937.GB14722@sunshine.barsnick.net> <20161220205334.GC12012@sunshine.barsnick.net> <239EB7A29EE840B8B393336F70D4F319@toshik> Message-ID: 2016-12-22 10:23 GMT+01:00 Антон Приходько : > For doc. writers: > Please fix the name of option ‘vsmbc’ for filter minterpolate > The good is ‘vsbmc’ Should be fixed, Thank you, Carl Eugen From ceffmpeg at gmail.com Thu Dec 22 18:44:48 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Thu, 22 Dec 2016 17:44:48 +0100 Subject: [FFmpeg-user] MVC / SSIF transcoding In-Reply-To: <1482419468.2725.20.camel@frank.haefemeier.eu> References: <1482419468.2725.20.camel@frank.haefemeier.eu> Message-ID: 2016-12-22 16:11 GMT+01:00 Frank Haefemeier : > I am wondering if there is a way to transcode a MVC/SSIF source with > ffmpeg to get the left and right side of a 3D video? MVC is not supported, patch welcome! Carl Eugen From ceffmpeg at gmail.com Thu Dec 22 18:52:40 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Thu, 22 Dec 2016 17:52:40 +0100 Subject: [FFmpeg-user] Error position In-Reply-To: References: Message-ID: 2016-12-22 16:50 GMT+01:00 Miha Pece : > Hi to all, > > I was recently started to check our archive of video files. In many of them > ffmpeg found some errors. For instance: > > [dvvideo @ 0x7fcc21816000] Concealing bitstream errors > > My question is, how can I find position (time location) where error occurs? > Is 0x7fcc21816000 some kind of hex marker? It's a pointer into memory that does not help you. > If not, is a way to get that info from ffmpeg? Doesn't -report help? Carl Eugen From ceffmpeg at gmail.com Thu Dec 22 18:45:51 2016 From: ceffmpeg at gmail.com (Carl Eugen Hoyos) Date: Thu, 22 Dec 2016 17:45:51 +0100 Subject: [FFmpeg-user] Changing behavior matroska muxer In-Reply-To: <239EB7A29EE840B8B393336F70D4F319@toshik> References: <29804827-9cd7-bf28-0998-0aa8e69fa378@binarykitchen.com> <3cd36f0e-5cc9-9983-2b9e-2c124f5c8070@binarykitchen.com> <20161219234937.GB14722@sunshine.barsnick.net> <20161220205334.GC12012@sunshine.barsnick.net> <239EB7A29EE840B8B393336F70D4F319@toshik> Message-ID: 2016-12-22 9:04 GMT+01:00 Антон Приходько : > Hi all ! > Since version ffmpeg-20161006-0212867-win64-static it has changed the > behavior the matroska muxer. This is ticket #5977. Carl Eugen From dave at dericed.com Thu Dec 22 19:03:45 2016 From: dave at dericed.com (dave at dericed.com) Date: Thu, 22 Dec 2016 12:03:45 -0500 Subject: [FFmpeg-user] Error position In-Reply-To: References: Message-ID: <7A9A79D2-E30F-4DBA-861B-665801757601@dericed.com> > On Dec 22, 2016, at 11:52 AM, Carl Eugen Hoyos wrote: > > 2016-12-22 16:50 GMT+01:00 Miha Pece : >> Hi to all, >> >> I was recently started to check our archive of video files. In many of them >> ffmpeg found some errors. For instance: >> >> [dvvideo @ 0x7fcc21816000] Concealing bitstream errors >> >> My question is, how can I find position (time location) where error occurs? >> Is 0x7fcc21816000 some kind of hex marker? > > It's a pointer into memory that does not help you. > >> If not, is a way to get that info from ffmpeg? > > Doesn't -report help? To access a timestamp near the decoder's log, I suggest inserting `-vf showinfo` so that you can find the timestamp expressed before the error. Note this thread is related: http://ffmpeg.org/pipermail/ffmpeg-devel/2016-June/194949.html [...] Dave Rice From tosha at oviont.com Thu Dec 22 19:10:40 2016 From: tosha at oviont.com (=?utf-8?B?0JDQvdGC0L7QvSDQn9GA0LjRhdC+0LTRjNC60L4=?=) Date: Thu, 22 Dec 2016 20:10:40 +0300 Subject: [FFmpeg-user] Changing behavior matroska muxer In-Reply-To: <20161222144851.GF7899@sunshine.barsnick.net> References: <29804827-9cd7-bf28-0998-0aa8e69fa378@binarykitchen.com> <3cd36f0e-5cc9-9983-2b9e-2c124f5c8070@binarykitchen.com> <20161219234937.GB14722@sunshine.barsnick.net> <20161220205334.GC12012@sunshine.barsnick.net> <239EB7A29EE840B8B393336F70D4F319@toshik> <20161222144851.GF7899@sunshine.barsnick.net> Message-ID: <79C5FD4C5AC54F93BFC0697D1E181DBE@toshik> On Thu, Dec 22, 2016 at 11:04:05 +0300, Антон Приходько wrote: > Since version ffmpeg-20161006-0212867-win64-static it has changed the > behavior the matroska muxer. >Is this the very first version which displays your issue? In other >words, 20161005 does not? yes, the 20161005 does not - it's fully ok. Since 20161006 the Mediainfo and Players not works. But the FFPROBE of that version is ok. Starting with a version of the FFPROBEis no longer read the track, I have not tested >On 20161006, a lot of changes where introduced into the Matroska muxer, >adding CRC32 fields. I don't believe they should interfere with >previous behavior, but I honestly don't know. it's fine! >> The FFProbe.exe (in several versions, starting with said at the >> beginning, >> ffprobe reads more tracks) >> FFprobe result: >> http://rgfootball.tv/media/up/148239316689.jpg >Could you please show us an ffmpeg command line (not GUI options, GUIs >are not supported here) which allows to reproduce the issue? Along with >its complete, uncut console output - please not as screenshot, but >copy/pasting the *text* from the console into the e-mail. Yes you are right. I use the latest ver. of FFMPEG below. This is the simplest command: copy of mkv with 1 audio. I press the Pause key on keybord to stop process and try to copy the output. It is screenshot: http://rgfootball.tv/media/up/148242546962.jpg The report of 1-st coping: fmpeg started on 2016-12-22 at 19:41:00 Report written to "ffmpeg-20161222-194100.log" Command line: "G:\\Distr\\ffmpeg-20161218-02aa070-win64-static\\bin\\ffmpeg.exe" -i "F:\\p4.mkv" -report -map 0 -c copy "f:\\p4_1.mkv" ffmpeg version N-82880-g02aa070 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 68.100 / 57. 68.100 libavformat 57. 61.100 / 57. 61.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 Splitting the commandline. Reading option '-i' ... matched as input url with argument 'F:\p4.mkv'. Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'. Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0'. Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'. Reading option 'f:\p4_1.mkv' ... matched as output url. Finished splitting the commandline. Parsing a group of options: global . Applying option report (generate a report) with argument 1. Successfully parsed a group of options. Parsing a group of options: input url F:\p4.mkv. Successfully parsed a group of options. Opening an input file: F:\p4.mkv. [file @ 000000000033ae00] Setting default whitelist 'file,crypto' [matroska,webm @ 000000000033a400] Format matroska,webm probed with size=2048 and score=100 st:0 removing common factor 1000000 from timebase st:1 removing common factor 1000000 from timebase [matroska,webm @ 000000000033a400] Before avformat_find_stream_info() pos: 953 bytes read:32768 seeks:0 nb_streams:2 [h264 @ 000000000034c3a0] nal_unit_type: 7, nal_ref_idc: 3 [h264 @ 000000000034c3a0] nal_unit_type: 8, nal_ref_idc: 3 [h264 @ 000000000034c3a0] nal_unit_type: 7, nal_ref_idc: 3 [h264 @ 000000000034c3a0] nal_unit_type: 8, nal_ref_idc: 3 [h264 @ 000000000034c3a0] user data:"x264 - core 148 r2694 3b70645 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=21.5 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00" [h264 @ 000000000034c3a0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000034c3a0] nal_unit_type: 5, nal_ref_idc: 3 [h264 @ 000000000034c3a0] user data:"x264 - core 148 r2694 3b70645 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=21.5 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00" [h264 @ 000000000034c3a0] Reinit context to 1280x720, pix_fmt: yuv420p [h264 @ 000000000034c3a0] no picture [matroska,webm @ 000000000033a400] All info found [matroska,webm @ 000000000033a400] After avformat_find_stream_info() pos: 65470 bytes read:65536 seeks:0 frames:6 Input #0, matroska,webm, from 'F:\p4.mkv': Metadata: title : All Sport on RGFOOTBALL.NET ENCODER : Lavf57.61.100 Duration: 00:16:18.33, start: 0.000000, bitrate: 3244 kb/s Stream #0:0, 4, 1/1000: Video: h264 (High), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 1k tbn, 100 tbc (default) Metadata: ENCODER : Lavc57.48.102 libx264 DURATION : 00:16:18.325000000 Stream #0:1(rus), 2, 1/1000: Audio: ac3, 48000 Hz, stereo, fltp, 128 kb/s Metadata: ENCODER : Lavc57.48.102 ac3 DURATION : 00:16:18.240000000 Successfully opened the file. Parsing a group of options: output url f:\p4_1.mkv. Applying option map (set input stream mapping) with argument 0. Applying option c (codec name) with argument copy. Successfully parsed a group of options. Opening an output file: f:\p4_1.mkv. [file @ 000000000060de80] Setting default whitelist 'file,crypto' Successfully opened the file. Output #0, matroska, to 'f:\p4_1.mkv': Metadata: title : All Sport on RGFOOTBALL.NET encoder : Lavf57.61.100 Stream #0:0, 0, 1/1000: Video: h264 (High) (H264 / 0x34363248), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 50 fps, 50 tbr, 1k tbn, 1k tbc (default) Metadata: ENCODER : Lavc57.48.102 libx264 DURATION : 00:16:18.325000000 Stream #0:1(rus), 0, 1/1000: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 128 kb/s Metadata: ENCODER : Lavc57.48.102 ac3 DURATION : 00:16:18.240000000 Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [matroska @ 0000000002a729a0] get_metadata_duration returned: 978325000 [matroska @ 0000000002a729a0] Write early duration from metadata = 978325 [matroska @ 0000000002a729a0] Writing block at offset 9, size 33074, pts 20, dts -20, duration 20, keyframe 1 [matroska @ 0000000002a729a0] Writing block at offset 33091, size 22038, pts 105, dts 0, duration 20, keyframe 0 [matroska @ 0000000002a729a0] Writing block at offset 55137, size 512, pts 0, dts 0, duration 32, keyframe 1 [matroska @ 0000000002a729a0] Writing block at offset 55656, size 7325, pts 65, dts 20, duration 20, keyframe 0 [matroska @ 0000000002a729a0] Writing block at offset 62988, size 512, pts 32, dts 32, duration 32, keyframe 1 Then I try to copy the Output of first command: It is Report of 2-d copying: ffmpeg started on 2016-12-22 at 20:04:10 Report written to "ffmpeg-20161222-200410.log" Command line: "G:\\Distr\\ffmpeg-20161218-02aa070-win64-static\\bin\\ffmpeg.exe" -i "F:\\p4_1.mkv" -report -map "?" -c copy "f:\\p4_2.mkv" ffmpeg version N-82880-g02aa070 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 68.100 / 57. 68.100 libavformat 57. 61.100 / 57. 61.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 Splitting the commandline. Reading option '-i' ... matched as input url with argument 'F:\p4_1.mkv'. Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'. Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '?'. Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'. Reading option 'f:\p4_2.mkv' ... matched as output url. Finished splitting the commandline. Parsing a group of options: global . Applying option report (generate a report) with argument 1. Successfully parsed a group of options. Parsing a group of options: input url F:\p4_1.mkv. Successfully parsed a group of options. Opening an input file: F:\p4_1.mkv. [file @ 000000000033ae00] Setting default whitelist 'file,crypto' [matroska,webm @ 000000000033a400] Format matroska,webm probed with size=2048 and score=100 [matroska,webm @ 000000000033a400] Unknown entry 0x1654AE6B [matroska,webm @ 000000000033a400] Duplicate element [matroska,webm @ 000000000033a400] Unknown entry 0x1654AE6B [matroska,webm @ 000000000033a400] Unknown entry 0x1254C367 [matroska,webm @ 000000000033a400] Before avformat_find_stream_info() pos: 953 bytes read:32768 seeks:0 nb_streams:0 [matroska,webm @ 000000000033a400] All info found [matroska,webm @ 000000000033a400] After avformat_find_stream_info() pos: 953 bytes read:32768 seeks:0 frames:0 Input #0, matroska,webm, from 'F:\p4_1.mkv': Duration: N/A, bitrate: N/A Successfully opened the file. Parsing a group of options: output url f:\p4_2.mkv. Applying option map (set input stream mapping) with argument ?. Stream map '?' matches no streams; ignoring. Applying option c (codec name) with argument copy. Successfully parsed a group of options. Opening an output file: f:\p4_2.mkv. Output #0, matroska, to 'f:\p4_2.mkv': Output file #0 does not contain any stream [AVIOContext @ 0000000000327400] Statistics: 32768 bytes read, 0 seeks >Thanks, >Moritz Thank you, Moritz, for your attention. From tosha at oviont.com Thu Dec 22 19:25:43 2016 From: tosha at oviont.com (=?utf-8?B?0JDQvdGC0L7QvSDQn9GA0LjRhdC+0LTRjNC60L4=?=) Date: Thu, 22 Dec 2016 20:25:43 +0300 Subject: [FFmpeg-user] Changing behavior matroska muxer In-Reply-To: References: <29804827-9cd7-bf28-0998-0aa8e69fa378@binarykitchen.com> <3cd36f0e-5cc9-9983-2b9e-2c124f5c8070@binarykitchen.com> <20161219234937.GB14722@sunshine.barsnick.net> <20161220205334.GC12012@sunshine.barsnick.net> <239EB7A29EE840B8B393336F70D4F319@toshik> Message-ID: 2016-12-22 9:04 GMT+01:00 Антон Приходько : >> Hi all ! >> Since version ffmpeg-20161006-0212867-win64-static it has changed the >> behavior the matroska muxer. > This is ticket #5977. > Carl Eugen Thank you, Carl, that poked my nose, I'm probably blind ( _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From miha.pece at t-2.net Fri Dec 23 12:18:25 2016 From: miha.pece at t-2.net (Miha Pece) Date: Fri, 23 Dec 2016 11:18:25 +0100 Subject: [FFmpeg-user] Error position In-Reply-To: <7A9A79D2-E30F-4DBA-861B-665801757601@dericed.com> References: <7A9A79D2-E30F-4DBA-861B-665801757601@dericed.com> Message-ID: Thank you, it's doable with showinfo although not perfect if you want filter out only errors (because you are batch testing many files). But I managed to get corrupted frame. I will explore also other testing tools inside ffmpeg for different approaches. Miha Peče On Thu, Dec 22, 2016 at 6:03 PM, wrote: > > > On Dec 22, 2016, at 11:52 AM, Carl Eugen Hoyos > wrote: > > > > 2016-12-22 16:50 GMT+01:00 Miha Pece : > >> Hi to all, > >> > >> I was recently started to check our archive of video files. In many of > them > >> ffmpeg found some errors. For instance: > >> > >> [dvvideo @ 0x7fcc21816000] Concealing bitstream errors > >> > >> My question is, how can I find position (time location) where error > occurs? > >> Is 0x7fcc21816000 some kind of hex marker? > > > > It's a pointer into memory that does not help you. > > > >> If not, is a way to get that info from ffmpeg? > > > > Doesn't -report help? > > > To access a timestamp near the decoder's log, I suggest inserting `-vf > showinfo` so that you can find the timestamp expressed before the error. > Note this thread is related: http://ffmpeg.org/pipermail/ > ffmpeg-devel/2016-June/194949.html > > [...] > > Dave Rice > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > From acdc3232 at hotmail.com Fri Dec 23 18:38:23 2016 From: acdc3232 at hotmail.com (ricardo sousa) Date: Fri, 23 Dec 2016 16:38:23 +0000 Subject: [FFmpeg-user] frame size using ffprobe In-Reply-To: References: Message-ID: yesterday i ran the following command "ffprobe -show_frames -select_streams 1 RTP1_1.ts" . In order to verify this values i used the program from Elecard call stream eye. This software generates a report with the size of each frame. The problem is the values given by Elecard's software don't match the ones i have using ffprobe. I was wondering which one is correct or am i doing a mistake ? https://www.dropbox.com/sh/s4swayrxtzsm610/AABnA-sXxmdk1MtY7KwJ4v2_a?dl=0 [https://cfl.dropboxstatic.com/static/images/icons128/folder_dropbox.png] ffprobe www.dropbox.com Shared with Dropbox sincerely , Ricardo Sousa From 271697892 at qq.com Sat Dec 24 09:43:22 2016 From: 271697892 at qq.com (=?gb18030?B?1ty67A==?=) Date: Sat, 24 Dec 2016 15:43:22 +0800 Subject: [FFmpeg-user] [delogo @ 0x4bfaba0] Logo area is outside of the frame. Message-ID: Hello, Everyone, I got ffmpeg 3.2.2 compile on my linux centOS 6.2 width gcc 5.3。I used to use ffmpeg 2.8 static binaray, but when I switch to 3.2.2 [zhouhong at localhost bin]$ /home/zhouhong/Downloads/ffmpeg-3.2/ffmpeg -y -i "/mnt/hgfs/downloads/light.mp4" -i "/mnt/hgfs/downloads/light.mp4" -filter_complex '[0:v]yadif,delogo=0:0:50:50:band=10,delogo=20:20:20:20:band=10,split=5[vstream1][vstream2][vstream3][vstream4][vstream5];[vstream1]scale=480:204,pad=480:270:0:33[ld];[vstream2]scale=768:328,pad=768:432:0:52,split=2[sd][sd_1];[vstream3]scale=960:408,pad=960:540:0:66,split=2[qhd][qhd_1];[vstream4]scale=1280:544,pad=1280:720:0:88[hd];[vstream5]scale=1920:816,pad=1920:1080:0:132[fhd];[1:a:0]volume=volume=2,aresample=44100,asplit=5[astream1][astream2][astream3][astream4][astream5]' -map '[sd_1]' -pass 1 -passlogfile 140030974285568_sd_1 -pix_fmt yuv420p -r 24.00 -vcodec libx264 -b:v 500000 -keyint_min 25 -deblock 2:-2 -x264opts keyint=30:me=esa -profile:v high -level 30 -f rawvideo /dev/null -map '[qhd_1]' -pass 1 -passlogfile 140030974285568_qhd_1 -pix_fmt yuv420p -r 24.00 -vcodec libx264 -b:v 1000000 -keyint_min 25 -deblock 2:-2 -x264opts keyint=30:me=esa -profile:v high -level 30 -f rawvideo /dev/null -map '[ld]' -pass 1 -passlogfile 140030974285568_ld -pix_fmt yuv420p -r 24.00 -vcodec libx264 -b:v 409600 -keyint_min 25 -deblock 2:-2 -x264opts keyint=30:me=esa -profile:v baseline -level 20 -codec:a libfdk_aac -vbr 3 -strict -2 -ac 2 -ab 128k -map '[astream1]' -f mp4 /dev/null -map '[sd]' -pass 1 -passlogfile 140030974285568_sd -pix_fmt yuv420p -r 24.00 -vcodec libx264 -b:v 500000 -keyint_min 25 -deblock 2:-2 -x264opts keyint=30:me=esa -profile:v high -level 30 -codec:a libfdk_aac -vbr 3 -strict -2 -ac 2 -ab 128k -map '[astream2]' -f mp4 /dev/null -map '[qhd]' -pass 1 -passlogfile 140030974285568_qhd -pix_fmt yuv420p -r 24.00 -vcodec libx264 -b:v 1000000 -keyint_min 25 -deblock 2:-2 -x264opts keyint=30:me=esa -profile:v high -level 30 -codec:a libfdk_aac -vbr 3 -strict -2 -ac 2 -ab 128k -map '[astream3]' -f mp4 /dev/null -map '[hd]' -pass 1 -passlogfile 140030974285568_hd -pix_fmt yuv420p -r 24.00 -vcodec libx264 -b:v 2000000 -keyint_min 25 -deblock 2:-2 -x264opts keyint=30:me=esa -profile:v high -level 30 -codec:a libfdk_aac -vbr 3 -strict -2 -ac 2 -ab 128k -map '[astream4]' -f mp4 /dev/null -map '[fhd]' -pass 1 -passlogfile 140030974285568_fhd -pix_fmt yuv420p -r 24.00 -vcodec libx264 -b:v 4000000 -keyint_min 25 -deblock 2:-2 -x264opts keyint=30:me=esa -profile:v high -level 30 -codec:a libfdk_aac -vbr 3 -strict -2 -ac 2 -ab 128k -map '[astream5]' -f mp4 /dev/null ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.3.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --enable-libfdk_aac --enable-nonfree --enable-static --pkg-config-flags=--static --extra-ldflags='-L/home/zhouhong/ffmpeg/lib -static -static-libgcc -static-libstdc++ -fopenmp' libavutil 55. 34.100 / 55. 34.100 libavcodec 57. 64.100 / 57. 64.100 libavformat 57. 56.100 / 57. 56.100 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100 [flv @ 0x464bac0] Missing AMF_END_OF_OBJECT in AMF_DATA_TYPE_MIXEDARRAY, found 0 [flv @ 0x464bac0] video stream discovered after head already parsed [flv @ 0x464bac0] audio stream discovered after head already parsed Input #0, flv, from '/mnt/hgfs/downloads/light.mp4': Metadata: creator : http://www.iqiyi.com metadatacreator : Yet Another Metadata Injector for FLV - Version 1.23 hasKeyframes : true hasVideo : true hasAudio : true hasMetadata : true canSeekToEnd : false datasize : 87249474 videosize : 81894954 audiosize : 5296100 lasttimestamp : 218 lastkeyframetimestamp: 217 lastkeyframelocation: 87248784 Duration: 00:03:37.73, start: 0.000000, bitrate: 3205 kb/s Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x816, 24.42 fps, 24 tbr, 1k tbn, 48 tbc Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp [flv @ 0x4724d00] Missing AMF_END_OF_OBJECT in AMF_DATA_TYPE_MIXEDARRAY, found 0 [flv @ 0x4724d00] video stream discovered after head already parsed [flv @ 0x4724d00] audio stream discovered after head already parsed Input #1, flv, from '/mnt/hgfs/downloads/light.mp4': Metadata: creator : http://www.iqiyi.com metadatacreator : Yet Another Metadata Injector for FLV - Version 1.23 hasKeyframes : true hasVideo : true hasAudio : true hasMetadata : true canSeekToEnd : false datasize : 87249474 videosize : 81894954 audiosize : 5296100 lasttimestamp : 218 lastkeyframetimestamp: 217 lastkeyframelocation: 87248784 Duration: 00:03:37.73, start: 0.000000, bitrate: 3205 kb/s Stream #1:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x816, 24.42 fps, 24 tbr, 1k tbn, 48 tbc Stream #1:1: Audio: aac (LC), 44100 Hz, stereo, fltp [Parsed_delogo_1 @ 0x4746de0] Option band is deprecated. [Parsed_delogo_2 @ 0x46f1f60] Option band is deprecated. [Parsed_delogo_1 @ 0x4bfa800] Option band is deprecated. [Parsed_delogo_2 @ 0x46a06c0] Option band is deprecated. [delogo @ 0x4bfaba0] Logo area is outside of the frame. [Parsed_delogo_1 @ 0x4bfa800] Failed to configure input pad on Parsed_delogo_1 Error configuring complex filters. Invalid argument my video's frame size is large enough, I think. [zhouhong at localhost bin]$ ffprobe -show_format -show_streams /mnt/hgfs/downloads/light.mp4 ffprobe version 2.2.git Copyright (c) 2007-2014 the FFmpeg developers built on Oct 9 2016 17:07:27 with gcc 5.3.0 (GCC) configuration: --prefix=/usr/local/newcompiler libavutil 52. 91.100 / 52. 91.100 libavcodec 55. 68.102 / 55. 68.102 libavformat 55. 45.100 / 55. 45.100 libavdevice 55. 13.101 / 55. 13.101 libavfilter 4. 10.100 / 4. 10.100 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 / 0. 19.100 [flv @ 0x1b53020] Stream discovered after head already parsed Input #0, flv, from '/mnt/hgfs/downloads/light.mp4': Metadata: creator : http://www.iqiyi.com metadatacreator : Yet Another Metadata Injector for FLV - Version 1.23 hasKeyframes : true hasVideo : true hasAudio : true hasMetadata : true canSeekToEnd : false datasize : 87249474 videosize : 81894954 audiosize : 5296100 lasttimestamp : 218 lastkeyframetimestamp: 217 lastkeyframelocation: 87248784 Duration: 00:03:37.73, start: 0.000000, bitrate: 3205 kb/s Stream #0:0: Video: h264 (High), yuv420p(tv, bt709), 1920x816, 3006 kb/s, 24.42 fps, 24 tbr, 1k tbn, 48 tbc Stream #0:1: Audio: aac, 44100 Hz, stereo, fltp, 190 kb/s Stream #0:2: Data: none Unsupported codec with id 0 for input stream 2 [STREAM] index=0 codec_name=h264 codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 profile=High codec_type=video codec_time_base=1/48 codec_tag_string=[0][0][0][0] codec_tag=0x0000 width=1920 height=816 has_b_frames=2 sample_aspect_ratio=0:1 display_aspect_ratio=0:1 pix_fmt=yuv420p level=40 color_range=tv color_space=bt709 timecode=N/A id=N/A r_frame_rate=24/1 avg_frame_rate=293/12 time_base=1/1000 start_pts=83 start_time=0.083000 duration_ts=N/A duration=N/A bit_rate=3006879 max_bit_rate=N/A nb_frames=N/A nb_read_frames=N/A nb_read_packets=N/A DISPOSITION:default=0 DISPOSITION:dub=0 DISPOSITION:original=0 DISPOSITION:comment=0 DISPOSITION:lyrics=0 DISPOSITION:karaoke=0 DISPOSITION:forced=0 DISPOSITION:hearing_impaired=0 DISPOSITION:visual_impaired=0 DISPOSITION:clean_effects=0 DISPOSITION:attached_pic=0 [/STREAM] [STREAM] index=1 codec_name=aac codec_long_name=AAC (Advanced Audio Coding) profile=unknown codec_type=audio codec_time_base=1/44100 codec_tag_string=[0][0][0][0] codec_tag=0x0000 sample_fmt=fltp sample_rate=44100 channels=2 channel_layout=stereo bits_per_sample=0 id=N/A r_frame_rate=0/0 avg_frame_rate=0/0 time_base=1/1000 start_pts=0 start_time=0.000000 duration_ts=N/A duration=N/A bit_rate=190798 max_bit_rate=N/A nb_frames=N/A nb_read_frames=N/A nb_read_packets=N/A DISPOSITION:default=0 DISPOSITION:dub=0 DISPOSITION:original=0 DISPOSITION:comment=0 DISPOSITION:lyrics=0 DISPOSITION:karaoke=0 DISPOSITION:forced=0 DISPOSITION:hearing_impaired=0 DISPOSITION:visual_impaired=0 DISPOSITION:clean_effects=0 DISPOSITION:attached_pic=0 [/STREAM] [STREAM] index=2 codec_name=unknown codec_long_name=unknown profile=unknown codec_type=data codec_time_base=0/1 codec_tag_string=[0][0][0][0] codec_tag=0x0000 id=N/A r_frame_rate=0/0 avg_frame_rate=0/0 time_base=1/1000 start_pts=0 start_time=0.000000 duration_ts=N/A duration=N/A bit_rate=N/A max_bit_rate=N/A nb_frames=N/A nb_read_frames=N/A nb_read_packets=N/A DISPOSITION:default=0 DISPOSITION:dub=0 DISPOSITION:original=0 DISPOSITION:comment=0 DISPOSITION:lyrics=0 DISPOSITION:karaoke=0 DISPOSITION:forced=0 DISPOSITION:hearing_impaired=0 DISPOSITION:visual_impaired=0 DISPOSITION:clean_effects=0 DISPOSITION:attached_pic=0 [/STREAM] [FORMAT] filename=/mnt/hgfs/downloads/light.mp4 nb_streams=3 nb_programs=0 format_name=flv format_long_name=FLV (Flash Video) start_time=0.000000 duration=217.734000 size=87251647 bit_rate=3205806 probe_score=100 TAG:creator=http://www.iqiyi.com TAG:metadatacreator=Yet Another Metadata Injector for FLV - Version 1.23 TAG:hasKeyframes=true TAG:hasVideo=true TAG:hasAudio=true TAG:hasMetadata=true TAG:canSeekToEnd=false TAG:datasize=87249474 TAG:videosize=81894954 TAG:audiosize=5296100 TAG:lasttimestamp=218 TAG:lastkeyframetimestamp=217 TAG:lastkeyframelocation=87248784 [/FORMAT] From temp_for_x at mail.ru Sun Dec 25 14:51:21 2016 From: temp_for_x at mail.ru (Egor Egorblch) Date: Sun, 25 Dec 2016 15:51:21 +0300 Subject: [FFmpeg-user] stream pre-encoded local files as a live source Message-ID: <499968449.20161225155121@mail.ru> Hello to everyone, Need some help with streaming different local files in a bunch of different containers and codecs. I have a huge video collection that I recorded through the years on different camcorders so there is a mass .avi/.ts/.mp4/.mkv/etc. files in different folders on my local drive. I'd like to stream them to my home DLNA server as a live stream so that I could watch them on my smart TV. Also, I don't want to re encode them so that they all have the same container and codec. How can I achieve that goal with ffmpeg? Can't find how to stream a folder not a file in the FFmpeg documentation. I'd like to run a few copies of FFmpeg with something like this: ffmpeg -re -i "path/folder1" -vcodec copy -acodec copy rtmp://server/live/streamName ffmpeg -re -i "path/folder2" -vcodec copy -acodec copy rtmp://server/live/streamName ffmpeg -re -i "path/folder3" -vcodec copy -acodec copy rtmp://server/live/streamName After that I'd like to make a .m3u play list with those links and apply it on my DLNA server as a IPTV links. Is it possible to do with FFmpeg? Brgds, Egor From barsnick at gmx.net Sun Dec 25 16:19:10 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Sun, 25 Dec 2016 15:19:10 +0100 Subject: [FFmpeg-user] stream pre-encoded local files as a live source In-Reply-To: <499968449.20161225155121@mail.ru> References: <499968449.20161225155121@mail.ru> Message-ID: <20161225141910.GA31882@sunshine.barsnick.net> On Sun, Dec 25, 2016 at 15:51:21 +0300, Egor Egorblch wrote: > I'd like to stream them to my home DLNA server as a live stream so > that I could watch them on my smart TV. Also, I don't want to re > encode them so that they all have the same container and codec. That actually calls for an actual DLNA server. There are some solutions which nicely wrap ffmpeg for you. Two come to mind - I haven't gotten around to trying them, but they might do fine for you: - mediatomb - Universal Media Server Beware, the latter uses Java. ;-) As far as I understand, they can be configured to transcode only if the receiving end requires this. They also understand quite a few formats, not least thanks to ffmpeg. > After that I'd like to make a .m3u play list with those links and > apply it on my DLNA server as a IPTV links. I'm not sure, but I believe you should then be able to relay these streams to your "central" DLNA server, if you don't want your TV to pick up a second one. HTH, happy holidays, Moritz From helei0908 at hotmail.com Sun Dec 25 16:39:28 2016 From: helei0908 at hotmail.com (He Lei) Date: Sun, 25 Dec 2016 14:39:28 +0000 Subject: [FFmpeg-user] =?gb2312?b?tPC4tDogIHN0cmVhbSBwcmUtZW5jb2RlZCBsb2Nh?= =?gb2312?b?bCBmaWxlcyBhcyBhIGxpdmUgc291cmNl?= In-Reply-To: <499968449.20161225155121@mail.ru> References: <499968449.20161225155121@mail.ru> Message-ID: Maybe you need shell in linux; The script of sh like this: #!/bin/sh Doffmpeg() { #warning, see below, [ ` ] it is shift+~, not quote; for filename in `ls -a ‘your folder path’ | grep *.mp4` do ffmpeg -i $filename -c copy -f flv rtmp://xxxx.com/live/$filename done } Doffmpeg // or unuse grep if you sure any files is you want to publish, and those are media files; //if you want more folders, why don’t you go try google with ‘shell’; 发送自 Windows 10 版邮件应用 发件人: Egor Egorblch 发送时间: 2016年12月25日 20:51 收件人: ffmpeg-user at ffmpeg.org 主题: [FFmpeg-user] stream pre-encoded local files as a live source Hello to everyone, Need some help with streaming different local files in a bunch of different containers and codecs. I have a huge video collection that I recorded through the years on different camcorders so there is a mass .avi/.ts/.mp4/.mkv/etc. files in different folders on my local drive. I'd like to stream them to my home DLNA server as a live stream so that I could watch them on my smart TV. Also, I don't want to re encode them so that they all have the same container and codec. How can I achieve that goal with ffmpeg? Can't find how to stream a folder not a file in the FFmpeg documentation. I'd like to run a few copies of FFmpeg with something like this: ffmpeg -re -i "path/folder1" -vcodec copy -acodec copy rtmp://server/live/streamName ffmpeg -re -i "path/folder2" -vcodec copy -acodec copy rtmp://server/live/streamName ffmpeg -re -i "path/folder3" -vcodec copy -acodec copy rtmp://server/live/streamName After that I'd like to make a .m3u play list with those links and apply it on my DLNA server as a IPTV links. Is it possible to do with FFmpeg? Brgds, Egor _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From helei0908 at hotmail.com Sun Dec 25 16:45:57 2016 From: helei0908 at hotmail.com (He Lei) Date: Sun, 25 Dec 2016 14:45:57 +0000 Subject: [FFmpeg-user] =?gb2312?b?tPC4tDogILTwuLQ6ICBzdHJlYW0gcHJlLWVuY29k?= =?gb2312?b?ZWQgbG9jYWwgZmlsZXMgYXMgYSBsaXZlIHNvdXJjZQ==?= In-Reply-To: References: <499968449.20161225155121@mail.ru>, Message-ID: Sorry, maybe you need add & at last of ffmpeg command: ffmpeg -i xxx -c copy -f flv rtmp://xxxxxxxx & and & symbol can runing in background 发件人: He Lei 发送时间: 2016年12月25日 22:39 收件人: Egor Egorblch; ffmpeg-user at ffmpeg.org 主题: [FFmpeg-user] 答复: stream pre-encoded local files as a live source Maybe you need shell in linux; The script of sh like this: #!/bin/sh Doffmpeg() { #warning, see below, [ ` ] it is shift+~, not quote; for filename in `ls -a ‘your folder path’ | grep *.mp4` do ffmpeg -i $filename -c copy -f flv rtmp://xxxx.com/live/$filename done } Doffmpeg // or unuse grep if you sure any files is you want to publish, and those are media files; //if you want more folders, why don’t you go try google with ‘shell’; 发送自 Windows 10 版邮件应用 发件人: Egor Egorblch 发送时间: 2016年12月25日 20:51 收件人: ffmpeg-user at ffmpeg.org 主题: [FFmpeg-user] stream pre-encoded local files as a live source Hello to everyone, Need some help with streaming different local files in a bunch of different containers and codecs. I have a huge video collection that I recorded through the years on different camcorders so there is a mass .avi/.ts/.mp4/.mkv/etc. files in different folders on my local drive. I'd like to stream them to my home DLNA server as a live stream so that I could watch them on my smart TV. Also, I don't want to re encode them so that they all have the same container and codec. How can I achieve that goal with ffmpeg? Can't find how to stream a folder not a file in the FFmpeg documentation. I'd like to run a few copies of FFmpeg with something like this: ffmpeg -re -i "path/folder1" -vcodec copy -acodec copy rtmp://server/live/streamName ffmpeg -re -i "path/folder2" -vcodec copy -acodec copy rtmp://server/live/streamName ffmpeg -re -i "path/folder3" -vcodec copy -acodec copy rtmp://server/live/streamName After that I'd like to make a .m3u play list with those links and apply it on my DLNA server as a IPTV links. Is it possible to do with FFmpeg? Brgds, Egor _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From helei0908 at hotmail.com Sun Dec 25 16:53:50 2016 From: helei0908 at hotmail.com (He Lei) Date: Sun, 25 Dec 2016 14:53:50 +0000 Subject: [FFmpeg-user] =?gb2312?b?tPC4tDogIHN0cmVhbSBwcmUtZW5jb2RlZCBsb2Nh?= =?gb2312?b?bCBmaWxlcyBhcyBhIGxpdmUgc291cmNl?= In-Reply-To: <499968449.20161225155121@mail.ru> References: <499968449.20161225155121@mail.ru> Message-ID: The protocol of rtmp, must be flv, that is h264 and aac, if your media format is the other, it will fail; so, you must recode when publish, or before do that; 发送自 Windows 10 版邮件应用 发件人: Egor Egorblch 发送时间: 2016年12月25日 20:51 收件人: ffmpeg-user at ffmpeg.org 主题: [FFmpeg-user] stream pre-encoded local files as a live source Hello to everyone, Need some help with streaming different local files in a bunch of different containers and codecs. I have a huge video collection that I recorded through the years on different camcorders so there is a mass .avi/.ts/.mp4/.mkv/etc. files in different folders on my local drive. I'd like to stream them to my home DLNA server as a live stream so that I could watch them on my smart TV. Also, I don't want to re encode them so that they all have the same container and codec. How can I achieve that goal with ffmpeg? Can't find how to stream a folder not a file in the FFmpeg documentation. I'd like to run a few copies of FFmpeg with something like this: ffmpeg -re -i "path/folder1" -vcodec copy -acodec copy rtmp://server/live/streamName ffmpeg -re -i "path/folder2" -vcodec copy -acodec copy rtmp://server/live/streamName ffmpeg -re -i "path/folder3" -vcodec copy -acodec copy rtmp://server/live/streamName After that I'd like to make a .m3u play list with those links and apply it on my DLNA server as a IPTV links. Is it possible to do with FFmpeg? Brgds, Egor _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From coniophora at gmail.com Sun Dec 25 18:15:20 2016 From: coniophora at gmail.com (Jim Worrall) Date: Sun, 25 Dec 2016 09:15:20 -0700 Subject: [FFmpeg-user] [delogo @ 0x4bfaba0] Logo area is outside of the frame. In-Reply-To: References: Message-ID: <20C84F75-D927-4900-89CE-748274D61F8E@gmail.com> > On 2016 Dec 24, at 12:43 AM, 周红 <271697892 at qq.com> wrote: > > Hello, Everyone, > I got ffmpeg 3.2.2 compile on my linux centOS 6.2 width gcc 5.3。I used to use ffmpeg 2.8 static binaray, but when I switch to 3.2.2 > > [zhouhong at localhost bin]$ /home/zhouhong/Downloads/ffmpeg-3.2/ffmpeg -y -i "/mnt/hgfs/downloads/light.mp4" -i "/mnt/hgfs/downloads/light.mp4" -filter_complex '[0:v]yadif,delogo=0:0:50:50:band=10,delogo=20:20:20:20:band=10,split=5[vstream1][vstream2][vstream3][vstream4][vstream5];[vstream1]scale=480:204,pad=480:270:0:33[ld];[vstream2]scale=768:328,pad=768:432:0:52,split=2[sd][sd_1];[vstream3]scale=960:408,pad=960:540:0:66,split=2[qhd][qhd_1];[vstream4]scale=1280:544,pad=1280:720:0:88[hd];[vstream5]scale=1920:816,pad=1920:1080:0:132[fhd]; You are more likely to get help with this if you reduce your command line to the simplest command necessary to produce the problem. Yours is very complex. You may have syntax problems in the filter graph such as missing semicolon, etc. Could part of the problem be that the two delogo boxes overlap? In fact one is contained entirely in the other. Is that the intention? Do you still get the error if you do just one delogo? From temp_for_x at mail.ru Sun Dec 25 19:49:20 2016 From: temp_for_x at mail.ru (Egor Egorblch) Date: Sun, 25 Dec 2016 20:49:20 +0300 Subject: [FFmpeg-user] =?utf-8?b?562U5aSNOiAgc3RyZWFtIHByZS1lbmNvZGVkIGxv?= =?utf-8?q?cal_files_as_a_live_source?= In-Reply-To: References: <499968449.20161225155121@mail.ru> Message-ID: <882567843.20161225204920@mail.ru> Hi He, I got your point. Does this mean that FFmpeg can't get a folder name as an INPUT parameter instead of a files listing? Brgds, Egor Sunday, December 25, 2016, 5:39:28 PM, you wrote: > Maybe you need shell in linux; > The script of sh like this: > #!/bin/sh > Doffmpeg() { > #warning, see below, [ ` ] it is shift+~, not quote; > for filename in `ls -a ‘your folder path’ | grep *.mp4` > do > ffmpeg -i $filename -c copy -f flv rtmp://xxxx.com/live/$filename > done > } > Doffmpeg > // or unuse grep if you sure any files is you want to publish, and those are media files; > //if you want more folders, why don’t you go try google with ‘shell’; > 发送自 Windows 10 版邮件应用 > 发件人: Egor Egorblch > 发送时间: 2016年12月25日 20:51 > 收件人: ffmpeg-user at ffmpeg.org > 主题: [FFmpeg-user] stream pre-encoded local files as a live source > Hello to everyone, > Need some help with streaming different local files in a bunch of different containers and codecs. > I have a huge video collection that I recorded through the years on different camcorders so there > is a mass .avi/.ts/.mp4/.mkv/etc. files in different folders on my local drive. > I'd like to stream them to my home DLNA server as a live stream so that I could watch them on my > smart TV. Also, I don't want to re encode them so that they all have the same container and codec. > How can I achieve that goal with ffmpeg? Can't find how to stream a folder not a file in the FFmpeg documentation. > I'd like to run a few copies of FFmpeg with something like this: > ffmpeg -re -i "path/folder1" -vcodec copy -acodec copy rtmp://server/live/streamName > ffmpeg -re -i "path/folder2" -vcodec copy -acodec copy rtmp://server/live/streamName > ffmpeg -re -i "path/folder3" -vcodec copy -acodec copy rtmp://server/live/streamName > After that I'd like to make a .m3u play list with those links and apply it on my DLNA server as a > IPTV links. > Is it possible to do with FFmpeg? > Brgds, > Egor > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From temp_for_x at mail.ru Sun Dec 25 20:06:57 2016 From: temp_for_x at mail.ru (Egor Egorblch) Date: Sun, 25 Dec 2016 21:06:57 +0300 Subject: [FFmpeg-user] stream pre-encoded local files as a live source In-Reply-To: <20161225141910.GA31882@sunshine.barsnick.net> References: <499968449.20161225155121@mail.ru> <20161225141910.GA31882@sunshine.barsnick.net> Message-ID: <1687165047.20161225210657@mail.ru> >> I'd like to stream them to my home DLNA server as a live stream so >> that I could watch them on my smart TV. Also, I don't want to re >> encode them so that they all have the same container and codec. > That actually calls for an actual DLNA server. There are some solutions > which nicely wrap ffmpeg for you. Two come to mind - I haven't gotten > around to trying them, but they might do fine for you: > - mediatomb > - Universal Media Server I already have a Media Server on LAN, now I need a 'streamer' or 'packager' so that I could pick up a 'live media feed' on that Media Server. I'm sorry, I didn't explain it well. I don't need the VoD service via DLNA, there is a need of some kind of an IPTV channel that I source/stream from my local HDD. >> After that I'd like to make a .m3u play list with those links and >> apply it on my DLNA server as IPTV links. > I'm not sure, but I believe you should then be able to relay these > streams to your "central" DLNA server, if you don't want your TV to > pick up a second one. I tried to stream the files via VLC but a renderer (TV, sony PS4, etc) stops playing at the end of a first streamed file so I thought maybe FFmpeg could do the job better. Brgds, Egor From helei0908 at hotmail.com Mon Dec 26 05:06:37 2016 From: helei0908 at hotmail.com (He Lei) Date: Mon, 26 Dec 2016 03:06:37 +0000 Subject: [FFmpeg-user] =?gb2312?b?tPC4tDogILTwuLQ6ICBzdHJlYW0gcHJlLWVuY29k?= =?gb2312?b?ZWQgbG9jYWwgZmlsZXMgYXMgYSBsaXZlIHNvdXJjZQ==?= In-Reply-To: <882567843.20161225204920@mail.ru> References: <499968449.20161225155121@mail.ru> , <882567843.20161225204920@mail.ru> Message-ID: That’s right. HTH 发件人: Egor Egorblch 发送时间: 2016年12月26日 1:49 收件人: FFmpeg user questions 主题: Re: [FFmpeg-user] 答复: stream pre-encoded local files as a live source Hi He, I got your point. Does this mean that FFmpeg can't get a folder name as an INPUT parameter instead of a files listing? Brgds, Egor Sunday, December 25, 2016, 5:39:28 PM, you wrote: > Maybe you need shell in linux; > The script of sh like this: > #!/bin/sh > Doffmpeg() { > #warning, see below, [ ` ] it is shift+~, not quote; > for filename in `ls -a ‘your folder path’ | grep *.mp4` > do > ffmpeg -i $filename -c copy -f flv rtmp://xxxx.com/live/$filename > done > } > Doffmpeg > // or unuse grep if you sure any files is you want to publish, and those are media files; > //if you want more folders, why don’t you go try google with ‘shell’; > 发送自 Windows 10 版邮件应用 > 发件人: Egor Egorblch > 发送时间: 2016年12月25日 20:51 > 收件人: ffmpeg-user at ffmpeg.org > 主题: [FFmpeg-user] stream pre-encoded local files as a live source > Hello to everyone, > Need some help with streaming different local files in a bunch of different containers and codecs. > I have a huge video collection that I recorded through the years on different camcorders so there > is a mass .avi/.ts/.mp4/.mkv/etc. files in different folders on my local drive. > I'd like to stream them to my home DLNA server as a live stream so that I could watch them on my > smart TV. Also, I don't want to re encode them so that they all have the same container and codec. > How can I achieve that goal with ffmpeg? Can't find how to stream a folder not a file in the FFmpeg documentation. > I'd like to run a few copies of FFmpeg with something like this: > ffmpeg -re -i "path/folder1" -vcodec copy -acodec copy rtmp://server/live/streamName > ffmpeg -re -i "path/folder2" -vcodec copy -acodec copy rtmp://server/live/streamName > ffmpeg -re -i "path/folder3" -vcodec copy -acodec copy rtmp://server/live/streamName > After that I'd like to make a .m3u play list with those links and apply it on my DLNA server as a > IPTV links. > Is it possible to do with FFmpeg? > Brgds, > Egor > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list ffmpeg-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". From lletourn49 at gmail.com Mon Dec 26 18:05:36 2016 From: lletourn49 at gmail.com (Louis Letourneau) Date: Mon, 26 Dec 2016 11:05:36 -0500 Subject: [FFmpeg-user] Append live to existing video In-Reply-To: References: Message-ID: Is it possible to start a live capture at the end of an existing video in the hls format? Say you have a captured m3u8, something happens and you want to restart ffmpeg but continue capturing at the end of the previous m3u8? I guess concat can't do it since it has to be done on complete videos. Thank you Louis From barsnick at gmx.net Mon Dec 26 20:36:44 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Mon, 26 Dec 2016 19:36:44 +0100 Subject: [FFmpeg-user] [delogo @ 0x4bfaba0] Logo area is outside of the frame. In-Reply-To: <20C84F75-D927-4900-89CE-748274D61F8E@gmail.com> References: <20C84F75-D927-4900-89CE-748274D61F8E@gmail.com> Message-ID: <20161226183644.GA22410@sunshine.barsnick.net> On Sun, Dec 25, 2016 at 09:15:20 -0700, Jim Worrall wrote: > > [zhouhong at localhost bin]$ /home/zhouhong/Downloads/ffmpeg-3.2/ffmpeg -y -i "/mnt/hgfs/downloads/light.mp4" -i "/mnt/hgfs/downloads/light.mp4" -filter_complex '[0:v]yadif,delogo=0:0:50:50:band=10,delogo=20:20:20:20:band=10,split=5[vstream1][vstream2][vstream3][vstream4][vstream5];[vstream1]scale=480:204,pad=480:270:0:33[ld];[vstream2]scale=768:328,pad=768:432:0:52,split=2[sd][sd_1];[vstream3]scale=960:408,pad=960:540:0:66,split=2[qhd][qhd_1];[vstream4]scale=1280:544,pad=1280:720:0:88[hd];[vstream5]scale=1920:816,pad=1920:1080:0:132[fhd]; > You are more likely to get help with this if you reduce your command > line to the simplest command necessary to produce the problem. Yours > is very complex. You may have syntax problems in the filter graph > such as missing semicolon, etc. Actually, the issue is easy to reproduce: $ ffmpeg -loglevel verbose -f lavfi -i testsrc2 -vf delogo=0:0:50:50 -t 1 -f null - I wanted to modify the source code to show me the issue, but didn't get around to it. ;) Moritz From thiles at confex.com Tue Dec 27 00:47:11 2016 From: thiles at confex.com (Tim Hiles) Date: Mon, 26 Dec 2016 14:47:11 -0800 Subject: [FFmpeg-user] Remove audio from DV file not working Message-ID: Hello all, I have a DV file and tried this: ffmpeg -i "clip-2007-01-01 17;02;58.dv" -c copy -an "noaudio.dv" ffmpeg version N-82889-g54931fd Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable -bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-li bbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enabl e-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-li bopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en able-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable -libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zl ib libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 68.100 / 57. 68.100 libavformat 57. 61.100 / 57. 61.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 [dv @ 00000000004fa9a0] Estimating duration from bitrate, this may be inaccurate Input #0, dv, from 'clip-2007-01-01 17;02;58.dv': Metadata: timecode : 00:33:32;19 Duration: 00:00:30.96, start: 0.000000, bitrate: 28771 kb/s Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], 25000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s Output #0, dv, to 'noaudio.dv': Metadata: timecode : 00:33:32;19 encoder : Lavf57.61.100 Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 25000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn , 29.97 tbc Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help frame= 928 fps=445 q=-1.0 Lsize= 108750kB time=00:00:30.96 bitrate=28771.2kbits/s speed=14.8x video:108750kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000% I still have audio in the video file. Any thoughts? Thanks! Tim From barsnick at gmx.net Tue Dec 27 02:08:15 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Tue, 27 Dec 2016 01:08:15 +0100 Subject: [FFmpeg-user] Remove audio from DV file not working In-Reply-To: References: Message-ID: <20161227000815.GB22410@sunshine.barsnick.net> On Mon, Dec 26, 2016 at 14:47:11 -0800, Tim Hiles wrote: > Output #0, dv, to 'noaudio.dv': > Metadata: > timecode : 00:33:32;19 > encoder : Lavf57.61.100 > Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 25000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc > Stream mapping: > Stream #0:0 -> #0:0 (copy) [...] > I still have audio in the video file. Any thoughts? I can hardly believe that. Are you sure you checked noaudio.dv? ffmpeg isn't reporting putting any audio tracks into that output. Moritz From thiles at confex.com Tue Dec 27 02:28:11 2016 From: thiles at confex.com (Tim Hiles) Date: Mon, 26 Dec 2016 16:28:11 -0800 Subject: [FFmpeg-user] Remove audio from DV file not working In-Reply-To: <20161227000815.GB22410@sunshine.barsnick.net> References: <20161227000815.GB22410@sunshine.barsnick.net> Message-ID: On Mon, Dec 26, 2016 at 4:08 PM, Moritz Barsnick wrote: > On Mon, Dec 26, 2016 at 14:47:11 -0800, Tim Hiles wrote: > > Output #0, dv, to 'noaudio.dv': > > Metadata: > > timecode : 00:33:32;19 > > encoder : Lavf57.61.100 > > Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], > q=2-31, 25000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc > > Stream mapping: > > Stream #0:0 -> #0:0 (copy) > [...] > > I still have audio in the video file. Any thoughts? > > I can hardly believe that. Are you sure you checked noaudio.dv? ffmpeg > isn't reporting putting any audio tracks into that output. > > Moritz This is the ffmpeg info on noaudio.dv. even the filesize is the same. And ffplay plays the video with audio. ffmpeg -i "noaudio.dv" ffmpeg version N-82889-g54931fd Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable -bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-li bbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enabl e-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-li bopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en able-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable -libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zl ib libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 68.100 / 57. 68.100 libavformat 57. 61.100 / 57. 61.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 [dv @ 00000000005aa700] Estimating duration from bitrate, this may be inaccurate Input #0, dv, from 'noaudio.dv': Metadata: timecode : 00:33:32;19 Duration: 00:00:30.96, start: 0.000000, bitrate: 28771 kb/s Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], 25000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s At least one output file must be specified From xanadu6291 at dream.jp Tue Dec 27 02:40:49 2016 From: xanadu6291 at dream.jp (=?utf-8?B?5qGD5rqQ6ICB5bir?=) Date: Tue, 27 Dec 2016 09:40:49 +0900 Subject: [FFmpeg-user] Remove audio from DV file not working In-Reply-To: References: Message-ID: Sorry if I disturbing you... > 2016/12/27 7:47 A.M. Tim Hiles wrote: > > ffmpeg -i "clip-2007-01-01 17;02;58.dv" -c copy -an "noaudio.dv" I think you should tell ffmpeg to: ffmpeg -i "clip-2007-01-01 17;02;58.dv" -c:v copy -an "noaudio.dv" you might missing "-c:v"... Best Regards, // Miya aka. TougenRoushi -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2370 bytes Desc: not available URL: From lingjiujianke at gmail.com Tue Dec 27 04:53:10 2016 From: lingjiujianke at gmail.com (Steven Liu) Date: Tue, 27 Dec 2016 10:53:10 +0800 Subject: [FFmpeg-user] Append live to existing video In-Reply-To: References: Message-ID: 2016-12-27 0:05 GMT+08:00 Louis Letourneau : > Is it possible to start a live capture at the end of an existing video in > the hls format? > > Say you have a captured m3u8, something happens and you want to restart > ffmpeg but continue capturing at the end of the previous m3u8? > > I guess concat can't do it since it has to be done on complete videos. > > Thank you > Louis > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". What about the option "-hls_flags append_list" From thiles at confex.com Tue Dec 27 05:03:02 2016 From: thiles at confex.com (Tim Hiles) Date: Mon, 26 Dec 2016 19:03:02 -0800 Subject: [FFmpeg-user] Remove audio from DV file not working In-Reply-To: References: Message-ID: On Mon, Dec 26, 2016 at 4:40 PM, 桃源老師 wrote: > Sorry if I disturbing you... > > > 2016/12/27 7:47 A.M. Tim Hiles wrote: > > > > ffmpeg -i "clip-2007-01-01 17;02;58.dv" -c copy -an "noaudio.dv" > > I think you should tell ffmpeg to: > > ffmpeg -i "clip-2007-01-01 17;02;58.dv" -c:v copy -an "noaudio.dv" > > you might missing "-c:v"... > > Thanks for the suggestion but unfortunately that didn't work either. ffmpeg -i "clip-2007-01-01 17;02;58.dv" -c:v copy -an "noaudio.dv" ffmpeg version N-82889-g54931fd Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable -bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-li bbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enabl e-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-li bopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en able-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable -libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zl ib libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 68.100 / 57. 68.100 libavformat 57. 61.100 / 57. 61.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 [dv @ 000000000045a9a0] Estimating duration from bitrate, this may be inaccurate Input #0, dv, from 'clip-2007-01-01 17;02;58.dv': Metadata: timecode : 00:33:32;19 Duration: 00:00:30.96, start: 0.000000, bitrate: 28771 kb/s Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], 25000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s Output #0, dv, to 'noaudio.dv': Metadata: timecode : 00:33:32;19 encoder : Lavf57.61.100 Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 25000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn , 29.97 tbc Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help frame= 928 fps=449 q=-1.0 Lsize= 108750kB time=00:00:30.96 bitrate=28771.2kbits/s speed= 15x video:108750kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000% ffmpeg -i "noaudio.dv" ffmpeg version N-82889-g54931fd Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable -bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-li bbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enabl e-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-li bopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en able-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable -libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zl ib libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 68.100 / 57. 68.100 libavformat 57. 61.100 / 57. 61.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 [dv @ 00000000004aa700] Estimating duration from bitrate, this may be inaccurate Input #0, dv, from 'noaudio.dv': Metadata: timecode : 00:33:32;19 Duration: 00:00:30.96, start: 0.000000, bitrate: 28771 kb/s Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], 25000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s At least one output file must be specified Anyone else have any ideas? Thanks! Tim From lingjiujianke at gmail.com Tue Dec 27 05:05:48 2016 From: lingjiujianke at gmail.com (Steven Liu) Date: Tue, 27 Dec 2016 11:05:48 +0800 Subject: [FFmpeg-user] Remove audio from DV file not working In-Reply-To: References: Message-ID: 2016-12-27 11:03 GMT+08:00 Tim Hiles : > On Mon, Dec 26, 2016 at 4:40 PM, 桃源老師 wrote: > > > Sorry if I disturbing you... > > > > > 2016/12/27 7:47 A.M. Tim Hiles wrote: > > > > > > ffmpeg -i "clip-2007-01-01 17;02;58.dv" -c copy -an "noaudio.dv" > > > > I think you should tell ffmpeg to: > > > > ffmpeg -i "clip-2007-01-01 17;02;58.dv" -c:v copy -an "noaudio.dv" > > > > you might missing "-c:v"... > > > > > Thanks for the suggestion but unfortunately that didn't work either. > > ffmpeg -i "clip-2007-01-01 17;02;58.dv" -c:v copy -an "noaudio.dv" > ffmpeg version N-82889-g54931fd Copyright (c) 2000-2016 the FFmpeg > developers > built with gcc 5.4.0 (GCC) > configuration: --enable-gpl --enable-version3 --enable-dxva2 > --enable-libmfx --enable-nvenc --enable-avisynth --enable > -bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv > --enable-libass --enable-libbluray --enable-li > bbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm > --enable-libilbc --enable-libmodplug --enabl > e-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb > --enable-libopenh264 --enable-libopenjpeg --enable-li > bopus --enable-librtmp --enable-libsnappy --enable-libsoxr > --enable-libspeex --enable-libtheora --enable-libtwolame --en > able-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx > --enable-libwavpack --enable-libwebp --enable > -libx264 --enable-libx265 --enable-libxavs --enable-libxvid > --enable-libzimg --enable-lzma --enable-decklink --enable-zl > ib > libavutil 55. 43.100 / 55. 43.100 > libavcodec 57. 68.100 / 57. 68.100 > libavformat 57. 61.100 / 57. 61.100 > libavdevice 57. 2.100 / 57. 2.100 > libavfilter 6. 68.100 / 6. 68.100 > libswscale 4. 3.101 / 4. 3.101 > libswresample 2. 4.100 / 2. 4.100 > libpostproc 54. 2.100 / 54. 2.100 > [dv @ 000000000045a9a0] Estimating duration from bitrate, this may be > inaccurate > Input #0, dv, from 'clip-2007-01-01 17;02;58.dv': > Metadata: > timecode : 00:33:32;19 > Duration: 00:00:30.96, start: 0.000000, bitrate: 28771 kb/s > Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], 25000 > kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 > tbc > Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s > Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s > Output #0, dv, to 'noaudio.dv': > Metadata: > timecode : 00:33:32;19 > encoder : Lavf57.61.100 > Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], > q=2-31, 25000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn > , 29.97 tbc > Stream mapping: > Stream #0:0 -> #0:0 (copy) > Press [q] to stop, [?] for help > frame= 928 fps=449 q=-1.0 Lsize= 108750kB time=00:00:30.96 > bitrate=28771.2kbits/s speed= 15x > video:108750kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB > muxing overhead: 0.000000% > > > ffmpeg -i "noaudio.dv" > ffmpeg version N-82889-g54931fd Copyright (c) 2000-2016 the FFmpeg > developers > built with gcc 5.4.0 (GCC) > configuration: --enable-gpl --enable-version3 --enable-dxva2 > --enable-libmfx --enable-nvenc --enable-avisynth --enable > -bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv > --enable-libass --enable-libbluray --enable-li > bbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm > --enable-libilbc --enable-libmodplug --enabl > e-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb > --enable-libopenh264 --enable-libopenjpeg --enable-li > bopus --enable-librtmp --enable-libsnappy --enable-libsoxr > --enable-libspeex --enable-libtheora --enable-libtwolame --en > able-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx > --enable-libwavpack --enable-libwebp --enable > -libx264 --enable-libx265 --enable-libxavs --enable-libxvid > --enable-libzimg --enable-lzma --enable-decklink --enable-zl > ib > libavutil 55. 43.100 / 55. 43.100 > libavcodec 57. 68.100 / 57. 68.100 > libavformat 57. 61.100 / 57. 61.100 > libavdevice 57. 2.100 / 57. 2.100 > libavfilter 6. 68.100 / 6. 68.100 > libswscale 4. 3.101 / 4. 3.101 > libswresample 2. 4.100 / 2. 4.100 > libpostproc 54. 2.100 / 54. 2.100 > [dv @ 00000000004aa700] Estimating duration from bitrate, this may be > inaccurate > Input #0, dv, from 'noaudio.dv': > Metadata: > timecode : 00:33:32;19 > Duration: 00:00:30.96, start: 0.000000, bitrate: 28771 kb/s > Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], 25000 > kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 > tbc > Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s > Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s > At least one output file must be specified > > Anyone else have any ideas? > > Thanks! > Tim > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user at ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". > ffmpeg -i "clip-2007-01-01 17;02;58.dv" -c:v copy -an -map 0:0 "noaudio.dv" From lletourn49 at gmail.com Tue Dec 27 05:18:01 2016 From: lletourn49 at gmail.com (Louis Letourneau) Date: Mon, 26 Dec 2016 22:18:01 -0500 Subject: [FFmpeg-user] Append live to existing video In-Reply-To: References: Message-ID: > What about the option "-hls_flags append_list" Well what do you know, change request from you on Aug. 11, 2016, what a terrific idea. My version doesn't have it, I'll compile a new one and try it as soon as I can. Thanks a lot Liu! That sounds exactly like what I need. Louis From thiles at confex.com Tue Dec 27 05:21:43 2016 From: thiles at confex.com (Tim Hiles) Date: Mon, 26 Dec 2016 19:21:43 -0800 Subject: [FFmpeg-user] Remove audio from DV file not working In-Reply-To: References: Message-ID: On Mon, Dec 26, 2016 at 7:05 PM, Steven Liu wrote: > > > ffmpeg -i "clip-2007-01-01 17;02;58.dv" -c:v copy -an -map 0:0 > "noaudio.dv" Thanks Steven unfortunately that didn't work either. Still same filesize and still has audio when played back. :\ ffmpeg -i "clip-2007-01-01 17;02;58.dv" -c:v copy -an -map 0:0 "noaudio.dv" ffmpeg version N-82889-g54931fd Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable -bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-li bbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enabl e-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-li bopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en able-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable -libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zl ib libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 68.100 / 57. 68.100 libavformat 57. 61.100 / 57. 61.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 [dv @ 00000000004ea9c0] Estimating duration from bitrate, this may be inaccurate Input #0, dv, from 'clip-2007-01-01 17;02;58.dv': Metadata: timecode : 00:33:32;19 Duration: 00:00:30.96, start: 0.000000, bitrate: 28771 kb/s Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], 25000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s Output #0, dv, to 'noaudio.dv': Metadata: timecode : 00:33:32;19 encoder : Lavf57.61.100 Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 25000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn , 29.97 tbc Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help frame= 928 fps=457 q=-1.0 Lsize= 108750kB time=00:00:30.96 bitrate=28771.2kbits/s speed=15.2x video:108750kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000% ffmpeg -i "noaudio.dv" ffmpeg version N-82889-g54931fd Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable -bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-li bbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enabl e-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-li bopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en able-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable -libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zl ib libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 68.100 / 57. 68.100 libavformat 57. 61.100 / 57. 61.100 libavdevice 57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc 54. 2.100 / 54. 2.100 [dv @ 000000000043a700] Estimating duration from bitrate, this may be inaccurate Input #0, dv, from 'noaudio.dv': Metadata: timecode : 00:33:32;19 Duration: 00:00:30.96, start: 0.000000, bitrate: 28771 kb/s Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], 25000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s At least one output file must be specified From thiles at confex.com Tue Dec 27 06:25:14 2016 From: thiles at confex.com (Tim Hiles) Date: Mon, 26 Dec 2016 20:25:14 -0800 Subject: [FFmpeg-user] Remove audio from DV file not working In-Reply-To: References: Message-ID: Hi all, I figured out a workaround (three step process) and for posterity's sake figured I'd mention it here. #1. Transcode to AVI like so: ffmpeg -i "clip-2007-01-01 17;02;58.dv" -vcodec copy -vtag dvsd -acodec pcm_s16le -f avi -y "clip-2007-01-01 17;02;58.dv.avi" #2. Remove the audio with the usual -an command: ffmpeg -i "clip-2007-01-01 17;02;58.avi" -c:v copy -an -map 0:0 "noaudio.avi" #3. Transcode the AVI back to DV ffmpeg -i "output.avi" -target ntsc-dv video.dv Unless anyone else knows of a more efficient way to do this? Thanks! Tim From barsnick at gmx.net Tue Dec 27 17:49:55 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Tue, 27 Dec 2016 16:49:55 +0100 Subject: [FFmpeg-user] Remove audio from DV file not working In-Reply-To: References: <20161227000815.GB22410@sunshine.barsnick.net> Message-ID: <20161227154955.GA31515@sunshine.barsnick.net> On Mon, Dec 26, 2016 at 16:28:11 -0800, Tim Hiles wrote: > > On Mon, Dec 26, 2016 at 14:47:11 -0800, Tim Hiles wrote: > > > Output #0, dv, to 'noaudio.dv': > > > Metadata: > > > timecode : 00:33:32;19 > > > encoder : Lavf57.61.100 > > > Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], > > q=2-31, 25000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc > > > Stream mapping: > > > Stream #0:0 -> #0:0 (copy) > > [...] > > > I still have audio in the video file. Any thoughts? > > > > I can hardly believe that. Are you sure you checked noaudio.dv? ffmpeg > > isn't reporting putting any audio tracks into that output. > ffmpeg -i "noaudio.dv" [...] > Input #0, dv, from 'noaudio.dv': > Metadata: > timecode : 00:33:32;19 > Duration: 00:00:30.96, start: 0.000000, bitrate: 28771 kb/s > Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], 25000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc > Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s > Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s Indeed. Apparently, ffmpeg does some nasty magic of creating a valid DV file, without telling us about this. I grabbed some other DV video sample from the internet (https://cinelerra-cv.org/footage/coals.mov), and tried to convert it to DV container first, and ffmpeg gave me this interesting error message: [dv @ 0xbb77d40] Can't initialize DV format! Make sure that you supply exactly two streams: video: 25fps or 29.97fps, audio: 2ch/48|44|32kHz/PCM (50Mbps allows an optional second audio stream) Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted [I believe I got this error because the input audio was BE, which ffmpeg expects LE for DV.) But ffmpeg's muxer isn't written to complain about zero audio streams. You created that file successfully via a detour, so it should be made to work directly as well. Why ffmpeg introduces a stream which it doesn't report is a riddle to me. (It should just as well error out with the same error as I got.) That has happened before with data streams (it was impossible to drop them), but I believe that was changed. My assumption is that the DV (codec) packets always contain video and audio, and when copying with "-c copy", all its contents are passed on to the muxer, and that's how your audio slips through. Moritz From coniophora at gmail.com Tue Dec 27 18:26:44 2016 From: coniophora at gmail.com (Jim Worrall) Date: Tue, 27 Dec 2016 09:26:44 -0700 Subject: [FFmpeg-user] [delogo @ 0x4bfaba0] Logo area is outside of the frame. In-Reply-To: <20161226183644.GA22410@sunshine.barsnick.net> References: <20C84F75-D927-4900-89CE-748274D61F8E@gmail.com> <20161226183644.GA22410@sunshine.barsnick.net> Message-ID: > On 2016 Dec 26, at 11:36 AM, Moritz Barsnick wrote: > > Actually, the issue is easy to reproduce: > > $ ffmpeg -loglevel verbose -f lavfi -i testsrc2 -vf delogo=0:0:50:50 -t 1 -f null - > If I change the delogo to delogo=1:1:50:50, I don’t get the error. Since there is a default ‘band’ of 1 pixel, I guess using x=0, y=0, puts it out of the frame. Adding :band=0 doesn’t work; apparently the band option is deprecated, and the filter will just add the band it wants, at least 1 pixel. From thomas.ferradini at gmail.com Tue Dec 27 04:19:05 2016 From: thomas.ferradini at gmail.com (Thomas Ferradini) Date: Tue, 27 Dec 2016 03:19:05 +0100 Subject: [FFmpeg-user] Error compiling FFmpeg under kdenlive Message-ID: Hi all, I'm looking for some help on FFmpeg in the context of compiling Kdenlive. The build stops at FFmpeg, with the error: ----------------- LOG: About to run command: popd ~/kdenlive/install/src LOG: Configuring, compiling, and installing FFmpeg LOG: About to run command: pushd . ~/kdenlive/install/src ~/kdenlive/install/src LOG: About to run command: cd FFmpeg LOG: PATH=/home/Tommi/kdenlive/install/20161227/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/Tommi/.local/bin:/home/Tommi/bin LOG: LD_RUN_PATH=/home/Tommi/kdenlive/install/20161227/lib LOG: PKG_CONFIG_PATH=/home/Tommi/kdenlive/install/20161227/lib/pkgconfig: LOG: CFLAGS=-I/home/Tommi/kdenlive/install/20161227/include LOG: LDFLAGS=-L/home/Tommi/kdenlive/install/20161227/lib LOG: Configuring FFmpeg LOG: About to run command: ./configure --prefix=/home/Tommi/kdenlive/install/20161227 --disable-doc --disable-ffserver --enable-gpl --enable-version3 --enable-shared --enable-debug --disable-stripping --enable-pthreads --enable-runtime-cpudetect --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libx264 --enable-libvpx ERROR: libtheora not found If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solve the problem. ERROR: Unable to configure FFmpeg LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to configure FFmpeg [Tommi at localhost install]$ rpm -qa | grep libtheora libtheora-1.1.1-13.fc23.x86_64 [Tommi at localhost install]$ ----------------- As instructed in the error I compiled FFmpeg to the latest tar.gz2, but to no avail. Libtheora was showing as installed at the very first run, and it still shows up (see last command). Before my last test it showed also in version i686, but even removing this apparent duplicate did nothing. Enclosed is the config.log Please consider that I am not that sophisticated of a linux user. It is my first in compiling anything on my own. I am running under Fedora 23 - Gnome. My kindest regards, and thanks in advance, Giampaolo & Thomas -------------- next part -------------- A non-text attachment was scrubbed... Name: config.log Type: text/x-log Size: 325196 bytes Desc: not available URL: From h.reindl at thelounge.net Tue Dec 27 21:19:55 2016 From: h.reindl at thelounge.net (Reindl Harald) Date: Tue, 27 Dec 2016 20:19:55 +0100 Subject: [FFmpeg-user] Error compiling FFmpeg under kdenlive In-Reply-To: References: Message-ID: <9298df3f-470e-111f-2b72-eb9ae25cdefc@thelounge.net> Am 27.12.2016 um 03:19 schrieb Thomas Ferradini: > I'm looking for some help on FFmpeg in the context of compiling Kdenlive. > The build stops at FFmpeg, with the error: > ERROR: libtheora not found and what do you not understand in that message? the next time mention the operating system - on Fedora "dnf install libtheora-devel" would be the solution From barsnick at gmx.net Wed Dec 28 00:36:38 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Tue, 27 Dec 2016 23:36:38 +0100 Subject: [FFmpeg-user] Error compiling FFmpeg under kdenlive In-Reply-To: <9298df3f-470e-111f-2b72-eb9ae25cdefc@thelounge.net> References: <9298df3f-470e-111f-2b72-eb9ae25cdefc@thelounge.net> Message-ID: <20161227223638.GA4182@sunshine.barsnick.net> On Tue, Dec 27, 2016 at 20:19:55 +0100, Reindl Harald wrote: > > ERROR: libtheora not found > and what do you not understand in that message? Thomas did mention: > Please consider that I am not that sophisticated of a linux user. And he therefore did not understand that, to satisfy the dependency, he needs the "development" package of his OS which supplies the actual headers (and a required symlink). It's not totally obvious, and the Wiki page concentrates on compiliing your own dependencies, and libtheora even seems to have been dropped (though the libogg section still refers to it). > the next time mention the operating system - on Fedora "dnf install > libtheora-devel" would be the solution That is indeed the solution, also in case any further such errors pop up for other dependencies: Do install their "-devel" packages. Moritz From dave at dericed.com Wed Dec 28 18:28:24 2016 From: dave at dericed.com (dave at dericed.com) Date: Wed, 28 Dec 2016 11:28:24 -0500 Subject: [FFmpeg-user] Remove audio from DV file not working In-Reply-To: References: Message-ID: > On Dec 26, 2016, at 11:25 PM, Tim Hiles wrote: > > Hi all, > > I figured out a workaround (three step process) and for posterity's sake > figured I'd mention it here. > > #1. Transcode to AVI like so: > > ffmpeg -i "clip-2007-01-01 17;02;58.dv" -vcodec copy -vtag dvsd -acodec > pcm_s16le -f avi -y "clip-2007-01-01 17;02;58.dv.avi" > > #2. Remove the audio with the usual -an command: > > ffmpeg -i "clip-2007-01-01 17;02;58.avi" -c:v copy -an -map 0:0 > "noaudio.avi" > > #3. Transcode the AVI back to DV > > ffmpeg -i "output.avi" -target ntsc-dv video.dv > > Unless anyone else knows of a more efficient way to do this? You could do this in one step with ffmpeg -i "clip-2007-01-01 17;02;58.dv” -target ntsc-dv -an video.dv However this is not a lossless step since you are transcoding dv video to dv video. Since a dv encoding contains both audio and video the -c:v copy process should still give you both video and audio (as well as camera metadata, timecode, captions, etc that are in the dv encoding). Dave Rice From tosha at oviont.com Wed Dec 28 20:12:28 2016 From: tosha at oviont.com (=?utf-8?B?0JDQvdGC0L7QvSDQn9GA0LjRhdC+0LTRjNC60L4=?=) Date: Wed, 28 Dec 2016 21:12:28 +0300 Subject: [FFmpeg-user] FFMPEG freeze during m3u8 record In-Reply-To: References: <1477997976397-4678057.post@n4.nabble.com> Message-ID: <33499E371045465290B9F23BA66AFFBD@toshik> > -----Исходное сообщение----- > From: Carl Eugen Hoyos > Sent: Wednesday, November 02, 2016 3:34 AM > To: FFmpeg user questions > Subject: Re: [FFmpeg-user] FFMPEG freeze during m3u8 record > 2016-11-01 11:59 GMT+01:00 mario4025 : > > as i have problems with ffmpeg since the beginning of the > > month, maybe you can help out. > This sounds as if the issue did not occur with an older version > of FFmpeg, but happens after updating. Is that correct? > > ffmpeg http://...m3u8 -c copy /file.wmv > Please provide the actual command line you used including > the complete, uncut console output. > Carl Eugen I think I has the same problem, but with encoding. The latest versions freeze - on different computers. I thought at first that from overheating, but no. The latest means: versions are probably starting to fall. occasionally stopping so coding. The earliest version of which is ffmpeg-20161005-54220ce-win64-static The latest version of which is ffmpeg-20161218-02aa070-win64-static I think the version ffmpeg-20160706-3f5b7a2-win64-statics is OK. The last message of log file is "Received windows signal 2" Re-encode the same sources are normal, which is not good( OS: Win7x64 Maybe there is some kind of secret keys that can be used at a time, or something else. In general, in my opinion, this problem should be a mass. The only intervention in the encoding process is that another program sends pressing Pause Key in a coding window, then the Space Key to remove a pause. Ex: ffmpeg started on 2016-12-28 at 12:20:56 Report written to "ffmpeg-20161228-122056.log" Command line: "C:\\R\\ffmpeg-20161005-54220ce-win64-static\\bin\\ffmpeg.exe" -i "K:\\20161228 1205 - EUROSPORT 1 HD.ts" -i "C:\\R\\Logos\\sky.png" -filter_complex "[0:v] yadif=1:-1:0 [H0], [H0][1:v] overlay=1550:main_h-overlay_h-78:enable='between(t,600*floor(abs(t-2)/600)+2,600*floor(abs(t-2)/600)+10+2)'" -ss 2 -report -map 0:v:0 -map 0:a:0 -map 0:a:1 -c:a:0 ac3 -b:a:0 128K -c:a:1 ac3 -b:a:1 128K -s 1280x720 -r 50 -preset medium -vstats_file vstats2812201612-20-57p0.log -crf 21.5 -crf_max 22 -c:v libx264 "E:\\Rec\\20161228_1205_-_EUROSPORT_1_HD.mkv" ffmpeg version N-81894-g54220ce Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 32.100 / 55. 32.100 libavcodec 57. 60.101 / 57. 60.101 libavformat 57. 51.102 / 57. 51.102 libavdevice 57. 0.102 / 57. 0.102 libavfilter 6. 63.100 / 6. 63.100 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 2.100 / 2. 2.100 libpostproc 54. 0.100 / 54. 0.100 Splitting the commandline. Reading option '-i' ... matched as input file with argument 'K:\20161228 1205 - EUROSPORT 1 HD.ts'. Reading option '-i' ... matched as input file with argument 'C:\R\Logos\sky.png'. Reading option '-filter_complex' ... matched as option 'filter_complex' (create a complex filtergraph) with argument '[0:v] yadif=1:-1:0 [H0], [H0][1:v] overlay=1550:main_h-overlay_h-78:enable='between(t,600*floor(abs(t-2)/600)+2,600*floor(abs(t-2)/600)+10+2)''. Reading option '-ss' ... matched as option 'ss' (set the start time offset) with argument '2'. Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'. Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:v:0'. Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:a:0'. Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:a:1'. Reading option '-c:a:0' ... matched as option 'c' (codec name) with argument 'ac3'. Reading option '-b:a:0' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '128K'. Reading option '-c:a:1' ... matched as option 'c' (codec name) with argument 'ac3'. Reading option '-b:a:1' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '128K'. Reading option '-s' ... matched as option 's' (set frame size (WxH or abbreviation)) with argument '1280x720'. Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '50'. Reading option '-preset' ... matched as AVOption 'preset' with argument 'medium'. Reading option '-vstats_file' ... matched as option 'vstats_file' (dump video coding statistics to file) with argument 'vstats2812201612-20-57p0.log'. Reading option '-crf' ... matched as AVOption 'crf' with argument '21.5'. Reading option '-crf_max' ... matched as AVOption 'crf_max' with argument '22'. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'libx264'. Reading option 'E:\Rec\20161228_1205_-_EUROSPORT_1_HD.mkv' ... matched as output file. Finished splitting the commandline. Parsing a group of options: global . Applying option filter_complex (create a complex filtergraph) with argument [0:v] yadif=1:-1:0 [H0], [H0][1:v] overlay=1550:main_h-overlay_h-78:enable='between(t,600*floor(abs(t-2)/600)+2,600*floor(abs(t-2)/600)+10+2)'. Applying option report (generate a report) with argument 1. Applying option vstats_file (dump video coding statistics to file) with argument vstats2812201612-20-57p0.log. Successfully parsed a group of options. Parsing a group of options: input file K:\20161228 1205 - EUROSPORT 1 HD.ts. Successfully parsed a group of options. Opening an input file: K:\20161228 1205 - EUROSPORT 1 HD.ts. [file @ 00000000003bce20] Setting default whitelist 'file,crypto' [mpegts @ 00000000003bc820] Format mpegts probed with size=2048 and score=50 [mpegts @ 00000000003bc820] stream=0 stream_type=1b pid=12d prog_reg_desc= [mpegts @ 00000000003bc820] stream=1 stream_type=4 pid=191 prog_reg_desc= [mpegts @ 00000000003bc820] stream=2 stream_type=4 pid=1a5 prog_reg_desc= [mpegts @ 00000000003bc820] Before avformat_find_stream_info() pos: 0 bytes read:65536 seeks:1 nb_streams:3 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [mpegts @ 00000000003bc820] probing stream 1 pp:2500 [mpegts @ 00000000003bc820] Probe with size=3456, packets=1 detected mp3 with score=25 [mpegts @ 00000000003bc820] probed stream 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [mpegts @ 00000000003bc820] probing stream 2 pp:2500 [mpegts @ 00000000003bc820] Probe with size=3456, packets=1 detected mp3 with score=25 [mpegts @ 00000000003bc820] probed stream 2 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] SPS unavailable in decode_picture_timing [h264 @ 000000000053f0c0] non-existing PPS 0 referenced [h264 @ 000000000053f0c0] decode_slice_header error [h264 @ 000000000053f0c0] no frame! [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 7, nal_ref_idc: 1 [h264 @ 000000000053f0c0] nal_unit_type: 8, nal_ref_idc: 1 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] Reinit context to 1920x1088, pix_fmt: yuv420p [h264 @ 000000000053f0c0] Frame num gap 229 224 [h264 @ 000000000053f0c0] Frame num gap 229 225 [h264 @ 000000000053f0c0] Frame num gap 229 226 [h264 @ 000000000053f0c0] Frame num gap 229 227 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] no picture [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] Increasing reorder buffer to 2 [h264 @ 000000000053f0c0] no picture ooo [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] no picture [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000053f0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000053f0c0] ct_type:0 pic_struct:1 [mpegts @ 00000000003bc820] Probe buffer size limit of 5000000 bytes reached [mpegts @ 00000000003bc820] PES packet size mismatch [mpegts @ 00000000003bc820] PES packet size mismatch [mpegts @ 00000000003bc820] After avformat_find_stream_info() pos: 0 bytes read:5558416 seeks:3 frames:482 Input #0, mpegts, from 'K:\20161228 1205 - EUROSPORT 1 HD.ts': Duration: 00:16:00.82, start: 68017.808644, bitrate: 10120 kb/s Program 26001 Stream #0:0[0x12d], 182, 1/90000: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x191](rus), 150, 1/90000: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s Stream #0:2[0x1a5](eng), 150, 1/90000: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s Program 26002 Program 26003 Program 26004 Program 26005 Program 26006 Successfully opened the file. Parsing a group of options: input file C:\R\Logos\sky.png. Successfully parsed a group of options. Opening an input file: C:\R\Logos\sky.png. [file @ 0000000000540a60] Setting default whitelist 'file,crypto' [png_pipe @ 0000000000541aa0] Format png_pipe probed with size=2048 and score=99 [png_pipe @ 0000000000541aa0] Before avformat_find_stream_info() pos: 0 bytes read:3126 seeks:0 nb_streams:1 [png_pipe @ 0000000000541aa0] After avformat_find_stream_info() pos: 3126 bytes read:3126 seeks:0 frames:1 Input #1, png_pipe, from 'C:\R\Logos\sky.png': Duration: N/A, bitrate: N/A Stream #1:0, 1, 1/25: Video: png, rgba(pc), 283x39 [SAR 3779:3779 DAR 283:39], 25 tbr, 25 tbn, 25 tbc Successfully opened the file. detected 8 logical cores [Parsed_yadif_0 @ 0000000004370aa0] Setting 'mode' to value '1' [Parsed_yadif_0 @ 0000000004370aa0] Setting 'parity' to value '-1' [Parsed_yadif_0 @ 0000000004370aa0] Setting 'deint' to value '0' [Parsed_overlay_1 @ 0000000000578720] Setting 'x' to value '1550' [Parsed_overlay_1 @ 0000000000578720] Setting 'y' to value 'main_h-overlay_h-78' [Parsed_overlay_1 @ 0000000000578720] Setting 'enable' to value 'between(t,600*floor(abs(t-2)/600)+2,600*floor(abs(t-2)/600)+10+2)' Parsing a group of options: output file E:\Rec\20161228_1205_-_EUROSPORT_1_HD.mkv. Applying option ss (set the start time offset) with argument 2. Applying option map (set input stream mapping) with argument 0:v:0. Applying option map (set input stream mapping) with argument 0:a:0. Applying option map (set input stream mapping) with argument 0:a:1. Applying option c:a:0 (codec name) with argument ac3. Applying option b:a:0 (video bitrate (please use -b:v)) with argument 128K. Applying option c:a:1 (codec name) with argument ac3. Applying option b:a:1 (video bitrate (please use -b:v)) with argument 128K. Applying option s (set frame size (WxH or abbreviation)) with argument 1280x720. Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 50. Applying option c:v (codec name) with argument libx264. Successfully parsed a group of options. Opening an output file: E:\Rec\20161228_1205_-_EUROSPORT_1_HD.mkv. [file @ 0000000002d033c0] Setting default whitelist 'file,crypto' Successfully opened the file. [Parsed_yadif_0 @ 0000000002d03cc0] Setting 'mode' to value '1' [Parsed_yadif_0 @ 0000000002d03cc0] Setting 'parity' to value '-1' [Parsed_yadif_0 @ 0000000002d03cc0] Setting 'deint' to value '0' [Parsed_overlay_1 @ 00000000005b9ee0] Setting 'x' to value '1550' [Parsed_overlay_1 @ 00000000005b9ee0] Setting 'y' to value 'main_h-overlay_h-78' [Parsed_overlay_1 @ 00000000005b9ee0] Setting 'enable' to value 'between(t,600*floor(abs(t-2)/600)+2,600*floor(abs(t-2)/600)+10+2)' [graph 0 input from stream 0:0 @ 00000000005ba140] Setting 'video_size' to value '1920x1080' [graph 0 input from stream 0:0 @ 00000000005ba140] Setting 'pix_fmt' to value '0' [graph 0 input from stream 0:0 @ 00000000005ba140] Setting 'time_base' to value '1/90000' [graph 0 input from stream 0:0 @ 00000000005ba140] Setting 'pixel_aspect' to value '1/1' [graph 0 input from stream 0:0 @ 00000000005ba140] Setting 'sws_param' to value 'flags=2' [graph 0 input from stream 0:0 @ 00000000005ba140] Setting 'frame_rate' to value '25/1' [graph 0 input from stream 0:0 @ 00000000005ba140] w:1920 h:1080 pixfmt:yuv420p tb:1/90000 fr:25/1 sar:1/1 sws_param:flags=2 [graph 0 input from stream 1:0 @ 00000000005ba320] Setting 'video_size' to value '283x39' [graph 0 input from stream 1:0 @ 00000000005ba320] Setting 'pix_fmt' to value '28' [graph 0 input from stream 1:0 @ 00000000005ba320] Setting 'time_base' to value '1/25' [graph 0 input from stream 1:0 @ 00000000005ba320] Setting 'pixel_aspect' to value '3779/3779' [graph 0 input from stream 1:0 @ 00000000005ba320] Setting 'sws_param' to value 'flags=2' [graph 0 input from stream 1:0 @ 00000000005ba320] Setting 'frame_rate' to value '25/1' [graph 0 input from stream 1:0 @ 00000000005ba320] w:283 h:39 pixfmt:rgba tb:1/25 fr:25/1 sar:3779/3779 sws_param:flags=2 [scaler for output stream 0:0 @ 00000000005ba6a0] Setting 'w' to value '1280' [scaler for output stream 0:0 @ 00000000005ba6a0] Setting 'h' to value '720' [scaler for output stream 0:0 @ 00000000005ba6a0] Setting 'flags' to value 'bicubic' [scaler for output stream 0:0 @ 00000000005ba6a0] w:1280 h:720 flags:'bicubic' interl:0 [format @ 00000000005ba980] compat: called with args=[yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21] [format @ 00000000005ba980] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21' [auto-inserted scaler 0 @ 0000000002a80200] w:iw h:ih flags:'bilinear' interl:0 [Parsed_overlay_1 @ 00000000005b9ee0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'graph 0 input from stream 1:0' and the filter 'Parsed_overlay_1' [AVFilterGraph @ 0000000002a89580] query_formats: 8 queried, 6 merged, 1 already done, 0 delayed [auto-inserted scaler 0 @ 0000000002a80200] w:283 h:39 fmt:rgba sar:3779/3779 -> w:283 h:39 fmt:yuva420p sar:1/1 flags:0x2 [Parsed_overlay_1 @ 00000000005b9ee0] main w:1920 h:1080 fmt:yuv420p overlay w:283 h:39 fmt:yuva420p eof_action:repeat [Parsed_overlay_1 @ 00000000005b9ee0] [framesync @ 00000000005b9fc8] Selected 1/180000 time base [Parsed_overlay_1 @ 00000000005b9ee0] [framesync @ 00000000005b9fc8] Sync level 2 [scaler for output stream 0:0 @ 00000000005ba6a0] w:1920 h:1080 fmt:yuv420p sar:1/1 -> w:1280 h:720 fmt:yuv420p sar:1/1 flags:0x4 [graph 1 input from stream 0:1 @ 0000000002a80540] Setting 'time_base' to value '1/48000' [graph 1 input from stream 0:1 @ 0000000002a80540] Setting 'sample_rate' to value '48000' [graph 1 input from stream 0:1 @ 0000000002a80540] Setting 'sample_fmt' to value 's16p' [graph 1 input from stream 0:1 @ 0000000002a80540] Setting 'channel_layout' to value '0x3' [graph 1 input from stream 0:1 @ 0000000002a80540] tb:1/48000 samplefmt:s16p samplerate:48000 chlayout:0x3 [audio format for output stream 0:1 @ 0000000002a806e0] Setting 'sample_fmts' to value 'fltp' [audio format for output stream 0:1 @ 0000000002a806e0] Setting 'channel_layouts' to value '0x4|0x3|0x103|0x7|0x603|0x33|0x107|0x607|0x37|0xc|0xb|0x10b|0xf|0x60b|0x3b|0x10f|0x60f|0x3f' [audio format for output stream 0:1 @ 0000000002a806e0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:1' [AVFilterGraph @ 0000000002a89340] query_formats: 5 queried, 9 merged, 3 already done, 0 delayed [auto-inserted resampler 0 @ 0000000002a80880] [SWR @ 0000000004470020] Using s16p internally between filters [auto-inserted resampler 0 @ 0000000002a80880] ch:2 chl:stereo fmt:s16p r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz [graph 2 input from stream 0:2 @ 0000000002a80a20] Setting 'time_base' to value '1/48000' [graph 2 input from stream 0:2 @ 0000000002a80a20] Setting 'sample_rate' to value '48000' [graph 2 input from stream 0:2 @ 0000000002a80a20] Setting 'sample_fmt' to value 's16p' [graph 2 input from stream 0:2 @ 0000000002a80a20] Setting 'channel_layout' to value '0x3' [graph 2 input from stream 0:2 @ 0000000002a80a20] tb:1/48000 samplefmt:s16p samplerate:48000 chlayout:0x3 [audio format for output stream 0:2 @ 0000000002a80bc0] Setting 'sample_fmts' to value 'fltp' [audio format for output stream 0:2 @ 0000000002a80bc0] Setting 'channel_layouts' to value '0x4|0x3|0x103|0x7|0x603|0x33|0x107|0x607|0x37|0xc|0xb|0x10b|0xf|0x60b|0x3b|0x10f|0x60f|0x3f' [audio format for output stream 0:2 @ 0000000002a80bc0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:2' [AVFilterGraph @ 0000000002a89220] query_formats: 5 queried, 9 merged, 3 already done, 0 delayed [auto-inserted resampler 0 @ 0000000002a80d60] [SWR @ 0000000004484fe0] Using s16p internally between filters [auto-inserted resampler 0 @ 0000000002a80d60] ch:2 chl:stereo fmt:s16p r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz [h264 @ 000000000057b260] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 7, nal_ref_idc: 1 [h264 @ 000000000057b260] nal_unit_type: 8, nal_ref_idc: 1 [h264 @ 000000000057b260] Ignoring NAL type 9 in extradata [libx264 @ 0000000002cfff60] using mv_range_thread = 24 [libx264 @ 0000000002cfff60] using SAR=1/1 [libx264 @ 0000000002cfff60] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2 [libx264 @ 0000000002cfff60] profile High, level 3.2 [libx264 @ 0000000002cfff60] 264 - core 148 r2721 72d53ab - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=21.5 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, matroska, to 'E:\Rec\20161228_1205_-_EUROSPORT_1_HD.mkv': Metadata: encoder : Lavf57.51.102 Stream #0:0, 0, 1/1000: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 50 fps, 1k tbn, 50 tbc (default) Metadata: encoder : Lavc57.60.101 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 Stream #0:1(rus), 0, 1/1000: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 128 kb/s Metadata: encoder : Lavc57.60.101 ac3 Stream #0:2(eng), 0, 1/1000: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 128 kb/s Metadata: encoder : Lavc57.60.101 ac3 Stream mapping: Stream #0:0 (h264) -> yadif (graph 0) Stream #1:0 (png) -> overlay:overlay (graph 0) overlay (graph 0) -> Stream #0:0 (libx264) Stream #0:1 -> #0:1 (mp2 (native) -> ac3 (native)) Stream #0:2 -> #0:2 (mp2 (native) -> ac3 (native)) Press [q] to stop, [?] for help cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] nal_unit_type: 9, nal_ref_idc: 0 [NULL @ 000000000053f0c0] nal_unit_type: 7, nal_ref_idc: 1 [NULL @ 000000000053f0c0] nal_unit_type: 8, nal_ref_idc: 1 [NULL @ 000000000053f0c0] Ignoring NAL type 9 in extradata [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057b260] ct_type:0 pic_struct:2 [h264 @ 000000000057b260] Reinit context to 1920x1088, pix_fmt: yuv420p [h264 @ 000000000057b260] Frame num gap 217 212 [h264 @ 000000000057b260] Frame num gap 217 213 [h264 @ 000000000057b260] Frame num gap 217 214 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057b260] Frame num gap 217 215 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057ad80] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ad80] ct_type:0 pic_struct:1 [h264 @ 000000000057ad80] Found reference and non-reference fields in the same frame, which is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [h264 @ 000000000057ad80] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel at ffmpeg.org) [h264 @ 000000000057ad80] decode_slice_header error cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b720] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057b720] reference picture missing during reorder [h264 @ 000000000057b720] Missing reference picture, default is 2147483647 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057bc00] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057c0c0] mmco: unref short failure [h264 @ 000000000057c0c0] mmco: unref short failure [h264 @ 000000000057c0c0] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057c0c0] no picture cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c5a0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057c5a0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ca60] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057ca60] ct_type:0 pic_struct:2 [h264 @ 000000000057ca60] no picture cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057cf40] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057cf40] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 0000000004726f20] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b260] ct_type:0 pic_struct:1 [h264 @ 000000000057b260] reference picture missing during reorder [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057b260] Missing reference picture, default is 65360 [h264 @ 000000000057ad80] mmco: unref short failure [h264 @ 000000000057ad80] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ad80] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b720] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057bc00] mmco: unref short failure cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057bc00] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057c0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c5a0] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c5a0] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c5a0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057c5a0] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ca60] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ca60] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057ca60] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057cf40] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057cf40] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057cf40] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057cf40] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 0000000004726f20] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0000000004726f20] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 0000000004726f20] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b260] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ad80] ct_type:0 pic_struct:1 [h264 @ 000000000057b720] mmco: unref short failure [h264 @ 000000000057b720] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b720] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057bc00] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057c0c0] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c0c0] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057c0c0] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c5a0] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c5a0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057c5a0] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057ca60] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ca60] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ca60] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057ca60] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057cf40] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057cf40] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 0000000004726f20] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 0000000004726f20] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b260] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ad80] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057b720] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057bc00] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c0c0] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057c0c0] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057c5a0] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c5a0] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c5a0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057c5a0] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057ca60] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ca60] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057cf40] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057cf40] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057cf40] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057cf40] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0000000004726f20] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 0000000004726f20] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b260] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057ad80] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057b720] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057bc00] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c0c0] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c0c0] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c0c0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057c0c0] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c5a0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c5a0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ca60] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ca60] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ca60] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ca60] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057cf40] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057cf40] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057cf40] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 0000000004726f20] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 0000000004726f20] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057b260] ct_type:0 pic_struct:1 [h264 @ 000000000057ad80] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057ad80] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057b720] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057bc00] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 7, nal_ref_idc: 1 [h264 @ 000000000057c0c0] nal_unit_type: 8, nal_ref_idc: 1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057c0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057c5a0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c5a0] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ca60] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ca60] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057cf40] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057cf40] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057cf40] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057cf40] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 0000000004726f20] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0000000004726f20] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 0000000004726f20] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057b260] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057b260] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057ad80] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057b720] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057bc00] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c0c0] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057c5a0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c5a0] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ca60] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ca60] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ca60] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ca60] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057cf40] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057cf40] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 0000000004726f20] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057b260] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057ad80] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b720] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057bc00] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057bc00] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c0c0] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057c5a0] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c5a0] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c5a0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c5a0] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ca60] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ca60] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ca60] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057cf40] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057cf40] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:1.74202) from link #0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:0) from link #1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:1.76202) from link #0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 0000000004726f20] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0000000004726f20] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 0000000004726f20] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057b260] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b260] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:1.78202) from link #0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:1.80202) from link #0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ad80] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 9, nal_ref_idc: 0 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057b720] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b720] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:1.82202) from link #0 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:1.84202) from link #0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057bc00] ct_type:0 pic_struct:1 [h264 @ 000000000057c0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c0c0] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:1.86202) from link #0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:1.88202) from link #0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c5a0] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c5a0] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c5a0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c5a0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057ca60] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ca60] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:1.90202) from link #0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:1.92202) from link #0 [h264 @ 000000000057cf40] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057cf40] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057cf40] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057cf40] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 0000000004726f20] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 0000000004726f20] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0000000004726f20] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 0000000004726f20] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:1.94202) from link #0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:1.96202) from link #0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b260] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057ad80] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ad80] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:1.98202) from link #0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.00202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:13.000000 t:2.002022 pos:1989416.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b720] ct_type:0 pic_struct:1 [h264 @ 000000000057bc00] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057bc00] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.02202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:14.000000 t:2.022022 pos:2158052.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.04202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:15.000000 t:2.042022 pos:2158052.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057c0c0] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c0c0] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057c5a0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c5a0] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.06202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:16.000000 t:2.062022 pos:2090748.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.08202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:17.000000 t:2.082022 pos:2090748.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ca60] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ca60] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057cf40] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057cf40] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.10202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:18.000000 t:2.102022 pos:2259384.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.12202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:19.000000 t:2.122022 pos:2259384.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 0000000004726f20] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057b260] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b260] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.14202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:20.000000 t:2.142022 pos:2197344.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.16202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:21.000000 t:2.162022 pos:2197344.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ad80] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057b720] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b720] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.18202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:22.000000 t:2.182022 pos:2357332.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.20202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:23.000000 t:2.202022 pos:2357332.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057bc00] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057c0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c0c0] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.22202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:24.000000 t:2.222022 pos:2293412.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.24202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:25.000000 t:2.242022 pos:2293412.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057c5a0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c5a0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c5a0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057ca60] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ca60] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.26202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:26.000000 t:2.262022 pos:2452460.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.28202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:27.000000 t:2.282022 pos:2452460.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057cf40] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057cf40] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 0000000004726f20] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 0000000004726f20] nal_unit_type: 6, nal_ref_idc: 0 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 0000000004726f20] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 0000000004726f20] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.30202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:28.000000 t:2.302022 pos:2389668.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.32202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:29.000000 t:2.322022 pos:2389668.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b260] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057ad80] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ad80] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.34202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:30.000000 t:2.342022 pos:2546084.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.36202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:31.000000 t:2.362022 pos:2546084.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b720] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057bc00] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057bc00] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.38202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:32.000000 t:2.382022 pos:2481788.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.40202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:33.000000 t:2.402022 pos:2481788.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c0c0] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057c5a0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c5a0] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.42202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:34.000000 t:2.422022 pos:2641964.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.44202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:35.000000 t:2.442022 pos:2641964.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ca60] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ca60] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057cf40] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057cf40] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.46202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:36.000000 t:2.462022 pos:2579360.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.48202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:37.000000 t:2.482022 pos:2579360.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 0000000004726f20] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0000000004726f20] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 0000000004726f20] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057b260] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b260] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.50202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:38.000000 t:2.502022 pos:2733144.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.52202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:39.000000 t:2.522022 pos:2733144.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 7, nal_ref_idc: 1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 8, nal_ref_idc: 1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ad80] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ad80] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057b720] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b720] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.54202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:40.000000 t:2.542022 pos:2673172.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.56202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:41.000000 t:2.562022 pos:2673172.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 frame= 29 fps=0.0 q=0.0 size= 0kB time=00:00:00.25 bitrate= 0.0kbits/s speed=0.492x cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057bc00] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057c0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c0c0] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.58202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:42.000000 t:2.582022 pos:2831280.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.60202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:43.000000 t:2.602022 pos:2831280.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c5a0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c5a0] ct_type:0 pic_struct:1 [h264 @ 000000000057ca60] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ca60] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.62202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:44.000000 t:2.622022 pos:2768112.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.64202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:45.000000 t:2.642022 pos:2768112.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057cf40] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057cf40] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 0000000004726f20] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 0000000004726f20] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0000000004726f20] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 0000000004726f20] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.66202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:46.000000 t:2.662022 pos:2934868.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.68202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:47.000000 t:2.682022 pos:2934868.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b260] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057ad80] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 6, nal_ref_idc: 0 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057ad80] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ad80] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.70202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:48.000000 t:2.702022 pos:2862864.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.72202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:49.000000 t:2.722022 pos:2862864.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b720] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057bc00] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057bc00] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.74202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:50.000000 t:2.742022 pos:3042780.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.76202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:51.000000 t:2.762022 pos:3042780.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057c0c0] nal_unit_type: 9, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057c5a0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c5a0] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.78202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:52.000000 t:2.782022 pos:2973784.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.80202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:53.000000 t:2.802022 pos:2973784.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057ca60] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ca60] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057cf40] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057cf40] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.82202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:54.000000 t:2.822022 pos:3199760.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.84202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:55.000000 t:2.842022 pos:3199760.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 0000000004726f20] nal_unit_type: 6, nal_ref_idc: 0 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 0000000004726f20] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 0000000004726f20] ct_type:0 pic_struct:1 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057b260] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b260] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.86202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:56.000000 t:2.862022 pos:3080192.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.88202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:57.000000 t:2.882022 pos:3080192.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057ad80] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ad80] ct_type:0 pic_struct:1 [h264 @ 000000000057b720] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b720] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.90202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:58.000000 t:2.902022 pos:3298272.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.92202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:59.000000 t:2.922022 pos:3298272.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057bc00] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057bc00] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057c0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c0c0] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.94202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:60.000000 t:2.942022 pos:3235668.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.96202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:61.000000 t:2.962022 pos:3235668.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057c5a0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c5a0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057ca60] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ca60] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:2.98202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:62.000000 t:2.982022 pos:3393964.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:3.00202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:63.000000 t:3.002022 pos:3393964.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057cf40] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057cf40] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 0000000004726f20] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 0000000004726f20] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0000000004726f20] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 0000000004726f20] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:3.02202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:64.000000 t:3.022022 pos:3328916.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:3.04202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:65.000000 t:3.042022 pos:3328916.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b260] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b260] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057ad80] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ad80] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:3.06202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:66.000000 t:3.062022 pos:3500372.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:3.08202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:67.000000 t:3.082022 pos:3500372.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) cur_dts is invalid (this is harmless if it occurs once at the start per stream) [h264 @ 000000000057b720] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b720] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b720] ct_type:0 pic_struct:1 [h264 @ 000000000057bc00] nal_unit_type: 9, nal_ref_idc: 0 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057bc00] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057bc00] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:3.10202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:68.000000 t:3.102022 pos:3428556.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 cur_dts is invalid (this is harmless if it occurs once at the start per stream) [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:3.12202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:69.000000 t:3.122022 pos:3428556.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 [libx264 @ 0000000002cfff60] frame= 0 QP=24.21 NAL=3 Slice:I Poc:0 I:3600 P:0 SKIP:0 size=31735 bytes [matroska @ 0000000000578720] get_metadata_duration returned: 0 [matroska @ 0000000000578720] Writing block at offset 1117, size 32425, pts 0, dts -40, duration 20, keyframe 1 [h264 @ 000000000057c0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057c5a0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c5a0] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:3.14202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:70.000000 t:3.142022 pos:3614676.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 [libx264 @ 0000000002cfff60] frame= 1 QP=24.10 NAL=2 Slice:P Poc:4 I:382 P:1913 SKIP:1305 size=10939 bytes [matroska @ 0000000000578720] Writing block at offset 33551, size 10939, pts 40, dts -20, duration 20, keyframe 0 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:3.16202) from link #0 [Parsed_overlay_1 @ 00000000005b9ee0] n:71.000000 t:3.162022 pos:3614676.000000 x:1550.000000 xi:1550 y:963.000000 yi:962 [libx264 @ 0000000002cfff60] frame= 2 QP=25.84 NAL=0 Slice:B Poc:2 I:14 P:1683 SKIP:1873 size=4431 bytes [matroska @ 0000000000578720] Writing block at offset 44497, size 512, pts 0, dts 0, duration 32, keyframe 1 [matroska @ 0000000000578720] Writing block at offset 45016, size 512, pts 0, dts 0, duration 32, keyframe 1 [matroska @ 0000000000578720] Writing block at offset 45535, size 4431, pts 25, dts 5, duration 20, keyframe 0 [h264 @ 000000000057ca60] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ca60] ct_type:0 pic_struct:1 [h264 @ 000000000057cf40] nal_unit_type: 9, nal_ref_idc: 0 .......... .......... .......... .......... [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:6321.1) from link #0 [libx264 @ 0000000002cfff60] frame=315897 QP=22.73 NAL=2 Slice:B Poc:324 I:10 P:1548 SKIP:2028 size=3358 bytes [matroska @ 0000000000578720] Writing block at offset 2450965824, size 3358, pts 6317985, dts 6317945, duration 20, keyframe 0 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:6321.12) from link #0 [libx264 @ 0000000002cfff60] frame=315898 QP=23.35 NAL=0 Slice:B Poc:322 I:10 P:1483 SKIP:2106 size=2486 bytes [matroska @ 0000000000578720] Writing block at offset 2450969189, size 512, pts 6317952, dts 6317952, duration 32, keyframe 1 [matroska @ 0000000000578720] Writing block at offset 2450969708, size 512, pts 6317952, dts 6317952, duration 32, keyframe 1 [matroska @ 0000000000578720] Writing block at offset 2450970227, size 2486, pts 6317965, dts 6317965, duration 20, keyframe 0 frame=315955 fps= 58 q=29.0 size= 2393528kB time=01:45:18.71 bitrate=3103.1kbits/s speed=1.15x [h264 @ 000000000057bc00] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057bc00] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057bc00] ct_type:0 pic_struct:1 [h264 @ 000000000057c0c0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c0c0] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057c0c0] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:6321.14) from link #0 [libx264 @ 0000000002cfff60] frame=315899 QP=23.63 NAL=0 Slice:B Poc:326 I:6 P:1373 SKIP:2219 size=2238 bytes [matroska @ 0000000000578720] Writing block at offset 2450972720, size 512, pts 6317984, dts 6317984, duration 32, keyframe 1 [matroska @ 0000000000578720] Writing block at offset 2450973239, size 512, pts 6317984, dts 6317984, duration 32, keyframe 1 [matroska @ 0000000000578720] Writing block at offset 2450973758, size 2238, pts 6318005, dts 6317985, duration 20, keyframe 0 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:6321.16) from link #0 [libx264 @ 0000000002cfff60] frame=315900 QP=21.67 NAL=2 Slice:P Poc:336 I:239 P:2138 SKIP:1223 size=7762 bytes [matroska @ 0000000000578720] Writing block at offset 2450976003, size 7762, pts 6318105, dts 6318005, duration 20, keyframe 0 [h264 @ 000000000057c5a0] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057c5a0] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057c5a0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057ca60] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ca60] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057ca60] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:6321.18) from link #0 [libx264 @ 0000000002cfff60] frame=315901 QP=22.79 NAL=2 Slice:B Poc:332 I:29 P:1622 SKIP:1944 size=3398 bytes [matroska @ 0000000000578720] Writing block at offset 2450983772, size 512, pts 6318016, dts 6318016, duration 32, keyframe 1 [matroska @ 0000000000578720] Writing block at offset 2450984291, size 512, pts 6318016, dts 6318016, duration 32, keyframe 1 [matroska @ 0000000000578720] Writing block at offset 2450984810, size 3398, pts 6318065, dts 6318025, duration 20, keyframe 0 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:6321.2) from link #0 [libx264 @ 0000000002cfff60] frame=315902 QP=23.86 NAL=0 Slice:B Poc:330 I:8 P:1246 SKIP:2345 size=2055 bytes [matroska @ 0000000000578720] Writing block at offset 2450988215, size 2055, pts 6318045, dts 6318045, duration 20, keyframe 0 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057cf40] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057cf40] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 000000000057cf40] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 0000000004726f20] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 0000000004726f20] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 0000000004726f20] nal_unit_type: 1, nal_ref_idc: 0 [h264 @ 0000000004726f20] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:6321.22) from link #0 [libx264 @ 0000000002cfff60] frame=315903 QP=23.47 NAL=0 Slice:B Poc:334 I:4 P:1413 SKIP:2181 size=2363 bytes [matroska @ 0000000000578720] Writing block at offset 2450990277, size 512, pts 6318048, dts 6318048, duration 32, keyframe 1 [matroska @ 0000000000578720] Writing block at offset 2450990796, size 512, pts 6318048, dts 6318048, duration 32, keyframe 1 [matroska @ 0000000000578720] Writing block at offset 2450991315, size 2363, pts 6318085, dts 6318065, duration 20, keyframe 0 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:6321.24) from link #0 [libx264 @ 0000000002cfff60] frame=315904 QP=21.98 NAL=2 Slice:P Poc:344 I:304 P:2074 SKIP:1222 size=8011 bytes [matroska @ 0000000000578720] Writing block at offset 2450993685, size 512, pts 6318080, dts 6318080, duration 32, keyframe 1 [matroska @ 0000000000578720] Writing block at offset 2450994204, size 512, pts 6318080, dts 6318080, duration 32, keyframe 1 [matroska @ 0000000000578720] Writing block at offset 2450994723, size 8011, pts 6318185, dts 6318085, duration 20, keyframe 0 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [h264 @ 000000000057b260] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057b260] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057b260] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:2 [NULL @ 000000000053f0c0] ct_type:0 pic_struct:1 [h264 @ 000000000057ad80] nal_unit_type: 9, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 6, nal_ref_idc: 0 [h264 @ 000000000057ad80] nal_unit_type: 1, nal_ref_idc: 1 [h264 @ 000000000057ad80] ct_type:0 pic_struct:2 [Parsed_overlay_1 @ 00000000005b9ee0] Incoming frame (time:6321.26) from link #0 Received windows signal 2 From barsnick at gmx.net Thu Dec 29 13:29:48 2016 From: barsnick at gmx.net (Moritz Barsnick) Date: Thu, 29 Dec 2016 12:29:48 +0100 Subject: [FFmpeg-user] [delogo @ 0x4bfaba0] Logo area is outside of the frame. In-Reply-To: References: <20C84F75-D927-4900-89CE-748274D61F8E@gmail.com> <20161226183644.GA22410@sunshine.barsnick.net> Message-ID: <20161229112948.GA24109@sunshine.barsnick.net> On Tue, Dec 27, 2016 at 09:26:44 -0700, Jim Worrall wrote: > If I change the delogo to delogo=1:1:50:50, I don’t get the error. Since there > is a default ‘band’ of 1 pixel, I guess using x=0, y=0, puts it out of the > frame. Indeed, there's code in there to show the given/used options (shown with "-loglevel debug"), but right afterwards, the band gets applied to x, y, width, and height: s->w += s->band*2; s->h += s->band*2; s->x -= s->band; s->y -= s->band; Then these new values of x, y, w, h and band get checked and lead to error. Whether that was the intention or not, I'm not sure. It is just totally unclear from the documentation. > Adding :band=0 doesn’t work; apparently the band option is deprecated, > and the filter will just add the band it wants, at least 1 pixel. No, it should work (the deprecation message is just a warning that the option will go away), but the programmer thought that band=0 would be as if the band option wasn't given, and chooses the default = 1. D'uh! Code says: > /* Actual default value for band/t is 1, set in init */ > { "band", "set delogo area band size", OFFSET(band), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, FLAGS }, instead of just setting the default to 1 and letting the user override it. We're lucky that this code is going away eventually. ;-) Moritz From geraldorneto at gmail.com Thu Dec 29 14:21:17 2016 From: geraldorneto at gmail.com (Geraldo Ramos) Date: Thu, 29 Dec 2016 09:21:17 -0300 Subject: [FFmpeg-user] -stream_loop cuts first few seconds Message-ID: Hi, I'm trying to create an infinite loop from a mp4 video file, add some complex filters and then broadcast as a live stream. My code works great but after the first loop, the beginning of the video gets cut (a few seconds). I tried to include ''-fflags +genpts' before and after the stream_loop call but it doesn't fix it and doesn't seem to make any difference. Any suggestions? Here is my code (I'm using the fluent nodejs ffmpeg library). I think this issue is related to ffmpeg and not to the library itself. ffmpeg(video) .inputOptions('-stream_loop '+stream_loop) .fps(24) .complexFilter([ 'movie=overlay1.png[watermark]','aresample=44100', "[0:v]scale=640:360[vid1]", { filter: 'overlay', options: { x: '0', y: 0 }, inputs: ['vid1','watermark'], outputs: 'merged'}, { filter: 'drawtext', inputs: 'merged', outputs: 'draw1', options: { fontfile:'./opensansbold.ttf', textfile: '1.txt', fontsize: 15, fontcolor: '#5f5f5f', reload: 1, x: 510, y: 315 } }, { filter: 'drawtext', inputs: 'draw1', outputs: 'final', options: { fontfile:'./opensansbold.ttf', textfile: '2.txt', fontsize: 15, fontcolor: '#5f5f5f', reload: 1, x: 68, y: 315 }}],'final') .videoBitrate('800k') .videoCodec('libx264') // .fps(24) .audioBitrate('128k') .audioCodec('aac') .audioFrequency(44100) .audioChannels(2) .flvmeta() .format('flv') .on('error', function(err) { if(ended){ endStream("Ended successfully", "2", 'none', true) }else{ endStream("Ended with error", "2", 'none', true)} console.log(err); console.log('Task ended with forced error '+message.token); callback() setTimeout(function () { process.exit(0) }, 20000); }) .on('end', function() { endStream("Ended successfully", "5", "Ended after ffmpeg total time", "none", true) console.log('Task ended successfully after all available period, from user '+message.token); setTimeout(function () { process.exit(0) }, 20000); }) .save(message.rtmpServer) Thanks in advance, Geraldo From andrewjameswood at ymail.com Thu Dec 29 14:38:19 2016 From: andrewjameswood at ymail.com (Andrew) Date: Thu, 29 Dec 2016 12:38:19 +0000 Subject: [FFmpeg-user] MXPEG encoding Message-ID: Can ffmpeg encode into mxpeg format as its output or does it only support decoding as input? From xalkoonx at gmail.com Wed Dec 28 21:18:51 2016 From: xalkoonx at gmail.com (unix) Date: Wed, 28 Dec 2016 11:18:51 -0800 (PST) Subject: [FFmpeg-user] Encode 10bit video Message-ID: <1482952731497-4678719.post@n4.nabble.com> *Hey guys. I'm using ffmpeg for encoding (8bit), now i want to encode 10bit video so i download this one ffmpeg : https://sourceforge.net/projects/ffmpeg-hi/files/ But it doesn't support avs script input directly! example: ffmpeg -i "842.avs" -c:v libx264 output.mp4 any solution! Regards.* -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Encode-10bit-video-tp4678719.html Sent from the FFmpeg-users mailing list archive at Nabble.com. From ffmpeg.org at tedlum.com Sat Dec 31 07:01:25 2016 From: ffmpeg.org at tedlum.com (tlum) Date: Sat, 31 Dec 2016 00:01:25 -0500 Subject: [FFmpeg-user] "Residual encoded channels are present without core" Message-ID: <856b600b-7621-a5e0-3380-30ed4b4dbf43@tedlum.com> Hopefully I have a simple question. I was trying to copy an (DTS-HD MA) stream, but the result was "Residual encoded channels are present without core". I was under the impression the core DTS packets are commingled within the stream and that FFMPEG doesn't know the difference without a bit-stream filter. So, I was expecting to end up with a replica, but the message suggests that either the extra core packets got dropped or there is something else damaged about the copy. I just wanted to validate my understanding and correct my expectations before I waste any more time out of ignorance. TIA -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From cus at passwd.hu Sat Dec 31 16:08:28 2016 From: cus at passwd.hu (Marton Balint) Date: Sat, 31 Dec 2016 15:08:28 +0100 (CET) Subject: [FFmpeg-user] -stream_loop cuts first few seconds In-Reply-To: References: Message-ID: On Thu, 29 Dec 2016, Geraldo Ramos wrote: > Hi, > > I'm trying to create an infinite loop from a mp4 video file, add some > complex filters and then broadcast as a live stream. My code works great > but after the first loop, the beginning of the video gets cut (a few > seconds). Could you try this patch? http://ffmpeg.org/pipermail/ffmpeg-devel/2016-July/196204.html Unfortunately I haven't had time to follow up on this. Thanks, Marton