Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
On 12/10/16 21:17, Alexey Eromenko wrote: In reality, I need a video that is cross-platform. Android, for example, doesn't like *.mov videos, using the default Samsung Video Player on Samsung Galaxy S series. This is why *please please please* allow people to encode videos, that work everywhere, and document the process. Everywhere (for me) is defined as: Samsung Galaxy S3 - to S7 (Android 4+), Chromebook (preferably), iPhone (4S)+, iPad 2+ (Apple iOS), MacBook (Mac OS X), Windows 7+ (10), and Debian Linux. (Windows XP also needed, and it works with 3rd party codecs). What you want is out of control of the encoders. When players refuse to support a standard then there is nothing the encoders can do about it. Most people skip right past the default players and install VLC. VLC runs on all the platforms you've mentioned (and more). It supports the latest and best video & audio standards, comes with the same user interface and nobody needs to make any compromises with regards to quality or versatility (except for having to install it). It's been the perfect solution to this problem and the reason for its popularity, but it's also likely not the solution you were expecting to find. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
Am 13.10.2016 um 00:15 schrieb Alexey Eromenko: On Thu, Oct 13, 2016 at 12:10 AM, Carl Eugen Hoyoswrote: 2016-10-12 23:58 GMT+02:00 Alexey Eromenko : The problem is not encoded file per se, but the *.mov file extension, that Android dislikes. As I said after a simple rename to MP4 extension, it works. So the file does play on Android, I don't have to test? The file plays, after I change the file extension to MP4, yes so what is the problem of ffmpeg? guess what - you are supposed to use .m4v - ffmpeg even warns with profile 'ipod' if you are not doing so for many years - that's all not a ffmpeg problem - it's know about the crap out there and use ffmpeg the right way for whatever you need ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
Am 12.10.2016 um 22:31 schrieb Alexey Eromenko: And please DONT push me to MOV. The same way that I don't encode audio only-for-Apple and I don't encode images only-for-Apple, I want to encode video to work everywhere than just encode them H264 *baseline* which wroks on all apple devices, android and everything else for many years - that's it ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
On Thu, Oct 13, 2016 at 12:10 AM, Carl Eugen Hoyoswrote: > 2016-10-12 23:58 GMT+02:00 Alexey Eromenko : > >> The problem is not encoded file per se, but the *.mov file >> extension, that Android dislikes. As I said after a simple >> rename to MP4 extension, it works. > > So the file does play on Android, I don't have to test? > The file plays, after I change the file extension to MP4, yes. -- -Alexey Eromenko "Technologov" ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
2016-10-12 23:58 GMT+02:00 Alexey Eromenko: > The problem is not encoded file per se, but the *.mov file > extension, that Android dislikes. As I said after a simple > rename to MP4 extension, it works. So the file does play on Android, I don't have to test? Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
On Wed, Oct 12, 2016 at 11:46 PM, Carl Eugen Hoyoswrote: > 2016-10-12 23:38 GMT+02:00 Alexey Eromenko : >> Carl Eugen Hoyos wrote: >>>How can I reproduce this? >> >> Encode any file into *.mov and try to play it. > > Sorry that my question was so unclear: > Please provide the command line and console output and an input (!) > file that allow to reproduce this issue. alexey@deb9ws:/media/cdrom$ ffmpeg -i /media/sf_F_DRIVE/Test-video-coding/3DMark03/3DMark03-f01-h264-2k-bitrate.mp4 -b:v 2000k /media/sf_F_DRIVE/Test-video-coding/3DMark03/3DMark03-f01-h264-2000k-bitrate-mov.mov ffmpeg version 3.1.3-1 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 6.1.1 (Debian 6.1.1-11) 20160802 configuration: --prefix=/usr --extra-version=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-libebur128 --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-libopencv --enable-libx264 WARNING: library configuration mismatch avutil configuration: --extra-version=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-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --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-libopencv --enable-libx264 avcodec configuration: --extra-version=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-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --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-libopencv --enable-libx264 avformatconfiguration: --extra-version=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-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopus --enable-libpulse --enable-librubberband --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
2016-10-12 23:38 GMT+02:00 Alexey Eromenko: > Carl Eugen Hoyos wrote: >>How can I reproduce this? > > Encode any file into *.mov and try to play it. Sorry that my question was so unclear: Please provide the command line and console output and an input (!) file that allow to reproduce this issue. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
Carl Eugen Hoyos wrote: >How can I reproduce this? Encode any file into *.mov and try to play it. Either from Samsung File Manager or Samsung Video Player or from Android Gallery. (tested on Samsung Galaxy S7, but I'm pretty sure same will happen on every other Galaxy; If you need I can also test on Galaxy S3 and Galaxy Note 10.1 tablet and Galaxy Tab S2 tablet, which I also have in my family) *But* if you change the file extension of the encoded *.MOV file to *.mp4, it plays perfectly with both players. Moreover, the Android video file scanner refuses to detect and to add MOV files to the video library (which works great for WebM and MP4 files). What happens is that Android refuses to recognize MOV as a video file. (until you install VLC for Android or some 3rd party video player) Basically MP4 and MPEG-4-AVC, being a standard, gives some advantages. Moritz Barsnick wrote: > Wow, you're opening a can of worms in a world of incompatibility. Have > you seen this (perhaps outdated, perhaps slightly incorrect) table, > just for iOS? > https://trac.ffmpeg.org/wiki/Encode/H.264#iOS > (Other sources for this information can also be found.) Yes, I read this table and I consider it a good job. But it doesn't mention "timebase" and not a pee about "-video_track_timescale" parameter. Perhaps this info should be added. What I see is that iPhone 4S (and above) as well as iPad 2+ are fairly good. They can decode H.264 Full HD 1080p video @ 30 fps (8-bit) perfectly. Because I require Full HD 1080p videos, older devices like iPhone 1 or iPad 1 can't play those, and are unsupported by Apple anyway, they can be removed from "compatible 1.0" profile. > > I think you're deep into "wrapper" land, which needs to maintain > knowledge (and requirements like yours) outside of an encoder. Yeah, maybe. But I don't know how-to write a wrapper around ffmpeg. Can I extract information like timebase and fps and duration from input video file ? Best wishes, -Alexey ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
On Wed, Oct 12, 2016 at 22:35:53 +0200, Alexey Eromenko wrote: > Let's call my wish " -compatible 1.0" (targeting current-gen hardware) > and once all the popular hardware platforms advances to HEVC to AV1 > codec, we will create a new profile " -compatible 2.0" for UltraHD > resolution 4K and 60 fps and 10-bit and updated codecs and more... Wow, you're opening a can of worms in a world of incompatibility. Have you seen this (perhaps outdated, perhaps slightly incorrect) table, just for iOS? https://trac.ffmpeg.org/wiki/Encode/H.264#iOS (Other sources for this information can also be found.) And then check for websites which recommend how to encode for the web for compatibility with iOS AND other mobile devices AND desktop, and tell you how many variants of your video you need to provide, for "sufficient" coverage. (Perhaps those days are over since a few years? Dunno.) > So once every 5 to 10 years I recommend to create a new " -compatible > X.0" profile. With iOS obsoleting itself every few years, few << 5. ;) (May be exaggerated, I don't have enough data.) I think you're deep into "wrapper" land, which needs to maintain knowledge (and requirements like yours) outside of an encoder. Just my $0.02, Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
2016-10-12 22:17 GMT+02:00 Alexey Eromenko: > Android, for example, doesn't like *.mov videos, using the default > Samsung Video Player on Samsung Galaxy S series. How can I reproduce this? Please do not top-post here, Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Compiling for libavcodec VDPAU hwaccel
On Wed, Oct 12, 2016 at 09:14:56 +0200, Torstein Sørnes wrote: > When compiling I get > Checking for libavcodec VDPAU hwaccel : no Well, not from ffmpeg: > External libraries providing hardware acceleration: > nvenc vaapi vdpau [...] > Enabled hwaccels: > h263_vaapi hevc_vaapimpeg2_vaapi > mpeg4_vdpau vc1_vdpau wmv3_vaapi > h264_vaapi hevc_vdpaumpeg2_vdpau > vc1_vaapi vp9_vaapi wmv3_vdpau > h264_vdpau mpeg1_vdpau mpeg4_vaapi [...] > INSTALL install-progs-yes > INSTALL ffmpeg > INSTALL ffprobe > INSTALL ffserver > make: Leaving directory '/home/torstein/mpv-build/ffmpeg_build' All went fine. Then comes mpv build: [...] > Checking for libavcodec VDPAU hwaccel: no Are you sure it's checking the static library you just built (and installed to /home/torstein/mpv-build/build_libs)? Anyway, looks like an mpv problem to me. Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
Let's call my wish " -compatible 1.0" (targeting current-gen hardware) and once all the popular hardware platforms advances to HEVC to AV1 codec, we will create a new profile " -compatible 2.0" for UltraHD resolution 4K and 60 fps and 10-bit and updated codecs and more... So once every 5 to 10 years I recommend to create a new " -compatible X.0" profile. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
And please DONT push me to MOV. The same way that I don't encode audio only-for-Apple and I don't encode images only-for-Apple, I want to encode video to work everywhere. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Create a video using images and audio with blend and zoom filters using FFmpeg
Using this command I am trying to generate a video with a combination of both blend and zoompan fiters. > ffmpeg \ > -loop 1 -t 5 -i 164470_2.jpg \ > -loop 1 -t 5 -i 164470_4.jpg \ > -loop 1 -t 5 -i 164470_5.jpg \ > -filter_complex \ > "[0:v]zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'[v0]; > \ > [1:v]zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'[v1]; > \ > [2:v]zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'[v2]; > \ > [1:v][0:v]blend=all_expr='A*(if(gte(T,1.5),1,T/1.5))+B*(1-(if(gte(T,1.5),1,T/1.5)))'[b1v]; > \ > [2:v][1:v]blend=all_expr='A*(if(gte(T,1.5),1,T/1.5))+B*(1-(if(gte(T,1.5),1,T/1.5)))'[b2v]; > \ > [v0][b1v][v1][b2v][v2]concat=n=5,format=yuv420p[v]" \ > -map "[v]" -aspect 16:9 outWithBlendAndZoom.mp4 Here is the output of the command. > ffmpeg version N-81972-g8063978-static http://johnvansickle.com/ffmpeg/ > Copyright (c) 2000-2016 the FFmpeg developers > built with gcc 5.4.1 (Debian 5.4.1-2) 20160904 > configuration: --enable-gpl --enable-version3 --enable-static > --disable-debug --disable-ffplay --disable-indev=sndio > --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r > --enable-gnutls --enable-gray --enable-libass --enable-libebur128 > --enable-libfreetype --enable-libfribidi --enable-libmp3lame > --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg > --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex > --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc > --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 > --enable-libx265 --enable-libxvid --enable-libzimg > libavutil 55. 32.100 / 55. 32.100 > libavcodec 57. 61.102 / 57. 61.102 > libavformat57. 51.106 / 57. 51.106 > libavdevice57. 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 > libpostproc54. 0.100 / 54. 0.100 > Input #0, image2, from '164470_2.jpg': > Duration: 00:00:00.04, start: 0.00, bitrate: 253286 kb/s > Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), > 1600x1200, 25 fps, 25 tbr, 25 tbn, 25 tbc > Input #1, image2, from '164470_4.jpg': > Duration: 00:00:00.04, start: 0.00, bitrate: 220653 kb/s > Stream #1:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), > 1600x1200, 25 fps, 25 tbr, 25 tbn, 25 tbc > Input #2, image2, from '164470_5.jpg': > Duration: 00:00:00.04, start: 0.00, bitrate: 253983 kb/s > Stream #2:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), > 1600x1200, 25 fps, 25 tbr, 25 tbn, 25 tbc > File 'outWithBlendAndZoom.mp4' already exists. Overwrite ? [y/N] y > [swscaler @ 0xae59120] deprecated pixel format used, make sure you did set > range correctly > [swscaler @ 0xae93060] deprecated pixel format used, make sure you did set > range correctly > [swscaler @ 0xaeccfc0] deprecated pixel format used, make sure you did set > range correctly > [swscaler @ 0xaf06f20] deprecated pixel format used, make sure you did set > range correctly > [swscaler @ 0xaf40e80] deprecated pixel format used, make sure you did set > range correctly > [swscaler @ 0xaf7ade0] deprecated pixel format used, make sure you did set > range correctly > [swscaler @ 0xafb4d40] deprecated pixel format used, make sure you did set > range correctly > [Parsed_concat_5 @ 0xae32c60] Input link in1:v0 parameters (size > 1600x1200, SAR 0:1) do not match the corresponding output link in0:v0 > parameters (1280x720, SAR 0:1) > [Parsed_concat_5 @ 0xae32c60] Failed to configure output pad on > Parsed_concat_5 > Error configuring complex filters. > Invalid argument Any inputs here which would fix the issue with the command would be greatly appreciated. Thanks Regards, *Nikhil* On Wed, Oct 12, 2016 at 5:55 PM, Nikhil M Rankawrote: > Yes, as per Carl's suggestion, I installed the latest version > > ffmpeg version N-81972-g8063978-static http://johnvansickle.com/ffmpeg/ > Copyright (c) 2000-2016 the FFmpeg developers > > Now, can you look at the command which is to generate a video with blend > and zoom filters and help me with fixing that? > > > **Blend with zoom** > >> >> ffmpeg \ >> -loop 1 -t 5 -i 164470_2.jpg \ >> -loop 1 -t 5 -i 164470_3.jpg \ >> -loop 1 -t 5 -i 164470_5.jpg \ >> -filter_complex \ >> "[0:v]zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoo >> m/2)':y='ih/2-(ih/zoom/2)'[v0]; \ >> >> [1:v]zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'[v1]; >> \ >> >> [2:v]zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'[v2]; >> \ >> >> [1:v][0:v]blend=all_expr='A*(if(gte(T,1.5),1,T/1.5))+B*(1-(if(gte(T,1.5),1,T/1.5)))'[b1v]; >> \ >> >> [2:v][1:v]blend=all_expr='A*(if(gte(T,1.5),1,T/1.5))+B*(1-(if(gte(T,1.5),1,T/1.5)))'[b2v]; >> \ >>
Re: [FFmpeg-user] How to Cite FFMPEG in papers
Thank you :) -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/How-to-Cite-FFMPEG-in-papers-tp460p4677830.html Sent from the FFmpeg-users mailing list archive at Nabble.com. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] Tee muxer and rtmp parameters
I’m trying send rtmp connections to 2 separate destinations using the tee muxer, but I haven’t been able to find a way to set rtmp_conn values separately for each rtmp slave. Is this even possible using the tee muxer? I’m currently using 3.1.4. (can build head of master if that makes any difference) -Reuben ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
2016-10-12 16:03 GMT+02:00 Thomas Worth: > On Wed, Oct 12, 2016 at 2:50 AM, Carl Eugen Hoyos > wrote: > >> 2016-10-12 9:31 GMT+02:00 Thomas Worth : >> >> > Has anyone actually looked at the MP4 file, BrokenVideo-8min.mp4? > Just look at mdhd and you'll see what I'm talking about. This is the second comment today that could be misinterpreted: Please remember that not everybody is a native speaker and be more careful. Allow me a question: Did you test with any non-QT based player? If your analysis were right, nothing could play the sample, so I believe it is safe to say that your analysis cannot be correct. [...] > Upon closer inspection, there is definitely a problem. The > 1000 you are referring to is in the wrong place in the > video track's mdhd atom. mdhd should be 32 bytes, > according to the Apple specification for QuickTime, which > the MP4 file format is based upon. You are of course right that isom is based on mov but you are missing two (important) things: There is a difference between mov and isom. Alexey told us that he needs QT compatibility but he told FFmpeg that he absolutely doesn't care about QT, he requested an isom file (and that's why FFmpeg did not try to create a QT-compatible file and did not warn that the file is not QT-compatible). > The mdhd in Alexey's file is 44 bytes. mdhd should look > like this: > > [] //size > [] //'mdhd' > [0]//version > [000] //flags > [] //creation time > [] //modification time > [] //time scale > [] //duration The mdhd atom in the file is version 1 and has 64bit time and duration fields and is therefore twelve bytes larger than a version 0 mdhd atom. Thank you for finally solving the question why QT fails! Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
> The file works fine with every software tested so far except QT, The fact that these files don't work with one of the world's most popular players is a problem. You can argue about whether it's a bug or not, but at some point no user is going to sit there happily not watching a video, thinking "aren't ffmpeg's developers experts." Priority one is that things work. All else is secondary. P ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
On Wed, Oct 12, 2016 at 2:50 AM, Carl Eugen Hoyoswrote: > 2016-10-12 9:31 GMT+02:00 Thomas Worth : > > > Has anyone actually looked at the MP4 file, BrokenVideo-8min.mp4? > > > It was written with a video track timescale of 0 > > The uploaded file BrokenVideo-8min.mp4 has a video track timescale of > 1000, exactly as the input file from the conversion. > > (If I set it to 0, playback fails with every software.) > > > a track duration of 0 and due to that, outrageous packet durations. > > Regardless of the quality of input (which I'm sure was bad), the muxer > > should still be able to detect that something is obviously wrong. In this > > case, the muxer should probably just fail with an error. > > > No reasonable person should expect MP4s written this > > way to work correctly. > > The file works fine with every software tested so far except QT, > this includes vlc, MPlayer, xine, GStreamer and WMP (which > contrary to what was claimed here all use different demuxers > afaik). > Upon closer inspection, there is definitely a problem. The 1000 you are referring to is in the wrong place in the video track's mdhd atom. mdhd should be 32 bytes, according to the Apple specification for QuickTime, which the MP4 file format is based upon. The mdhd in Alexey's file is 44 bytes. mdhd should look like this: [] //size [] //'mdhd' [0]//version [000] //flags [] //creation time [] //modification time [] //time scale [] //duration [00] //language [00] //quality The mdhd atom in question is located at offset 12065154 in BrokenVideo-8min.mp4. The 1000 is actually where language and quality should be, and spans both fields. Then there's an extra 12 bytes at the end of the atom. I double checked this with a properly encoded MP4 file, and sure enough mdhd for the video track was 32 bytes. Just look at mdhd and you'll see what I'm talking about. Thomas ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] framerate conversion with sync audio
On Tue, Oct 11, 2016 at 5:00 PM, Steve Boyerwrote: > > > Have you tried experimenting with the audio filter "atempo"? I'm guessing > here, but try: > > ffmpeg -i ... -af atempo=0.96 > > (24/25 = 0.96) > > Wow, I messed that one up completely. Incorporating Carl's suggestion as well of -vf setpts, the filter chain should look something like: ffmpeg -i -vf setpts=PTS*0.8 -af=atune=25/24 or if -r works for you: ffmpeg -r 25 -i -af=atune=25/24 Just a heads-up: on a test clip, looks like using -ss and -r before -i causes frame-sync issues, so if you were wanting to skip forward into your test clip, make sure to use -ss after -i . > ~Steve > > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] ffmpeg mux to mpegts
Hi all, I tried create ts file in following way: * **/ffmpeg -y -i h264-20M.h264 -i audio.aac -vcodec copy -acodec copy -f mpegts file.ts/* Unfortunatelly I get error * **/[mpegts @ 0x25db3c0] first pts value must be set/**/ /**/av_interleaved_write_frame(): Invalid data found when processing input/**/ /**/[mpegts @ 0x25db3c0] first pts value must be set/* Full output: */ffmpeg version 2.8.6-1ubuntu2 Copyright (c) 2000-2016 the FFmpeg developers/**/ /**/ built with gcc 5.3.1 (Ubuntu 5.3.1-11ubuntu1) 20160311/**/ /**/ configuration: --prefix=/usr --extra-version=1ubuntu2 --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/**/ /**/ libavformat56. 40.101 / 56. 40.101/**/ /**/ libavdevice56. 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/**/ /**/ libpostproc53. 3.100 / 53. 3.100/**/ /**/[h264 @ 0x25d4400] Stream #0: not enough frames to estimate rate; consider increasing probesize/**/ /**/Input #0, h264, from 'h264-20M.h264':/**/ /**/ Duration: N/A, bitrate: N/A/**/ /**/Stream #0:0: Video: h264 (High), yuv420p, 3840x2160 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1200k tbn, 50 tbc/**/ /**/[aac @ 0x25d5d20] Estimating duration from bitrate, this may be inaccurate/**/ /**/Input #1, aac, from 'audio.aac':/**/ /**/ Duration: 00:01:06.83, bitrate: 117 kb/s/**/ /**/Stream #1:0: Audio: aac (LC), 48000 Hz, mono, fltp, 117 kb/s/**/ /**/Output #0, mpegts, to 'file.ts':/**/ /**/ Metadata:/**/ /**/encoder : Lavf56.40.101/**/ /**/Stream #0:0: Video: h264, yuv420p, 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 1200k tbc/**/ /**/Stream #0:1: Audio: aac, 48000 Hz, mono, 117 kb/s/**/ /**/Stream mapping:/**/ /**/ Stream #0:0 -> #0:0 (copy)/**/ /**/ Stream #1:0 -> #0:1 (copy)/**/ /**/Press [q] to stop, [?] for help/**/ /**/[mpegts @ 0x25db3c0] first pts value must be set/**/ /**/av_interleaved_write_frame(): Invalid data found when processing input/**/ /**/[mpegts @ 0x25db3c0] first pts value must be set/**/ /**/frame=4 fps=0.0 q=-1.0 Lsize= 0kB time=00:00:00.04 bitrate= 0.0kbits/s/**/ /**/video:2106kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown/**/ /**/Conversion failed!/*/ / How pts value should be set? Kind regards Borys Owczarzak ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] essence MD5
ganesh.ire...@syda.org wrote: >ffmpeg -i "INPUT" -map 0:a -f md5 -hash md5 - Add "-loglevel quiet". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Create a video using images and audio with blend and zoom filters using FFmpeg
Yes, as per Carl's suggestion, I installed the latest version ffmpeg version N-81972-g8063978-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2016 the FFmpeg developers Now, can you look at the command which is to generate a video with blend and zoom filters and help me with fixing that? **Blend with zoom** > > ffmpeg \ > -loop 1 -t 5 -i 164470_2.jpg \ > -loop 1 -t 5 -i 164470_3.jpg \ > -loop 1 -t 5 -i 164470_5.jpg \ > -filter_complex \ > "[0:v]zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoo > m/2)':y='ih/2-(ih/zoom/2)'[v0]; \ > > [1:v]zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'[v1]; > \ > > [2:v]zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'[v2]; > \ > > [1:v][0:v]blend=all_expr='A*(if(gte(T,1.5),1,T/1.5))+B*(1-(if(gte(T,1.5),1,T/1.5)))'[b1v]; > \ > > [2:v][1:v]blend=all_expr='A*(if(gte(T,1.5),1,T/1.5))+B*(1-(if(gte(T,1.5),1,T/1.5)))'[b2v]; > \ > [v0][b1v][v1][b2v][v2]concat=n=5,format=yuv420p[v]" \ > -map "[v]" -aspect 16:9 outWithBlendAndZoom.mp4 This command did not work out, I am not sure why. Here is the output: ffmpeg version N-63893-gc69defd Copyright (c) 2000-2014 the FFmpeg > developers > built on Oct 31 2014 05:16:04 with gcc 4.6 (Debian 4.6.3-1) > configuration: --prefix=/root/ffmpeg-static/32bit --arch=x86_32 > --extra-cflags='-m32 -I/root/ffmpeg-static/32bit/include -static' > --extra-ldflags='-m32 -L/root/ffmpeg-static/32bit/lib -static' > --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared > --disable-ffserver --disable-doc --enable-bzlib --enable-zlib > --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl > --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray > --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex > --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 > --enable-libvpx > libavutil 52. 89.100 / 52. 89.100 > libavcodec 55. 66.101 / 55. 66.101 > libavformat55. 43.100 / 55. 43.100 > libavdevice55. 13.101 / 55. 13.101 > libavfilter 4. 8.100 / 4. 8.100 > libswscale 2. 6.100 / 2. 6.100 > libswresample 0. 19.100 / 0. 19.100 > libpostproc52. 3.100 / 52. 3.100 > Input #0, image2, from '164470_2.jpg': > Duration: 00:00:00.04, start: 0.00, bitrate: N/A > Stream #0:0: Video: mjpeg, yuvj422p(pc), 1600x1200, 25 fps, 25 > tbr, 25 tbn, 25 tbc > Input #1, image2, from '164470_3.jpg': > Duration: 00:00:00.04, start: 0.00, bitrate: N/A > Stream #1:0: Video: mjpeg, yuvj422p(pc), 1600x1200, 25 fps, 25 > tbr, 25 tbn, 25 tbc > Input #2, image2, from '164470_5.jpg': > Duration: 00:00:00.04, start: 0.00, bitrate: N/A > Stream #2:0: Video: mjpeg, yuvj422p(pc), 1600x1200, 25 fps, 25 > tbr, 25 tbn, 25 tbc > File 'outWithBlendAndZoom.mp4' already exists. Overwrite ? [y/N] y > [swscaler @ 0xba66100] deprecated pixel format used, make sure you did > set range correctly > [swscaler @ 0xbaa23a0] deprecated pixel format used, make sure you did > set range correctly > [swscaler @ 0xbac4680] deprecated pixel format used, make sure you did > set range correctly > [swscaler @ 0xbae6960] deprecated pixel format used, make sure you did > set range correctly > [swscaler @ 0xbb07260] deprecated pixel format used, make sure you did > set range correctly > [swscaler @ 0xbb2af20] deprecated pixel format used, make sure you did > set range correctly > [swscaler @ 0xbb4d200] deprecated pixel format used, make sure you did > set range correctly > [Parsed_concat_5 @ 0xba8e060] Input link in1:v0 parameters (size > 1600x1200, SAR 0:1) do not match the corresponding output link in0:v0 > parameters (1280x720, SAR 0:1) > [Parsed_concat_5 @ 0xba8e060] Failed to configure output pad on > Parsed_concat_5 Regards, *Nikhil* On Wed, Oct 12, 2016 at 5:35 PM, Reto Kromerwrote: > Nikhil M Ranka wrote: > > >ffmpeg version N-63893-gc69defd Copyright (c) 2000-2014 > >the FFmpeg developers built on Oct 31 2014 05:16:04 > > As Carl Eugen already mentioned, you should really update. > > Best regards, Reto > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] essence MD5
2016-10-12 14:16 GMT+02:00: > I want to generate an essence MD5 for WAV files and then > populate that value into a field in a DAM system. Just curious: What is a DAM system? > I have tested two commands to generate the essence MD5 > hash. > > ffmpeg -i INPUT -map 0:a -f md5 OUTPUT.md5 > ffmpeg -i "INPUT" -map 0:a -f md5 -hash md5 - > > Neither of these is ideal. The first one puts the value in a > separate file. (That's what you asked for) > The second puts it amongst other info in the console making > it difficult to parse out as in the following example. Only one line is printed to stdout. An alternative is to use -loglevel warning or error or fatal. > This e-mail (including any attachments) is intended only for > use by the addressee(s) named herein and may contain > legally privileged and/or confidential information. Please avoid this when sending emails to a public mailing list. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] essence MD5
Hello, Non-developer here... I want to generate an essence MD5 for WAV files and then populate that value into a field in a DAM system. I have tested two commands to generate the essence MD5 hash. ffmpeg -i INPUT -map 0:a -f md5 OUTPUT.md5 ffmpeg -i "INPUT" -map 0:a -f md5 -hash md5 - Neither of these is ideal. The first one puts the value in a separate file. The second puts it amongst other info in the console making it difficult to parse out as in the following example. (The value I want is the fourth line from the bottom.) Is there an FFMPEG command that will give a cleaner console output than this? Thank you, Kevin C:\>ffmpeg -i "Test BWAV 2.wav" -map 0:a -f md5 -hash md5 - ffmpeg version N-79546-g13406b6 Copyright (c) 2000-2016 the FFmp built with gcc 5.3.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32thr isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enab le-iconv --enable-libass --enable-libbluray --enable-libbs2b --e enable-libfreetype --enable-libgme --enable-libgsm --enable-libi modplug --enable-libmfx --enable-libmp3lame --enable-libopencore libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable e-libschroedinger --enable-libsnappy --enable-libsoxr --enable-l -libtheora --enable-libtwolame --enable-libvidstab --enable-libv ble-libvorbis --enable-libvpx --enable-libwavpack --enable-libwe 264 --enable-libx265 --enable-libxavs --enable-libxvid --enable- -lzma --enable-decklink --enable-zlib libavutil 55. 22.100 / 55. 22.100 libavcodec 57. 35.100 / 57. 35.100 libavformat57. 34.102 / 57. 34.102 libavdevice57. 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 libpostproc54. 0.100 / 54. 0.100 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, wav, from 'Test BWAV 2.wav': Metadata: comment : Test File with BEXT time_reference : 0 Duration: 00:00:14.55, bitrate: 1413 kb/s Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 s16, 1411 kb/s [md5 @ 00506520] Using AVStream.codec to pass codec para is deprecated, use AVStream.codecpar instead. Output #0, md5, to 'pipe:': Metadata: comment : Test File with BEXT time_reference : 0 encoder : Lavf57.34.102 Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 k Metadata: encoder : Lavc57.35.100 pcm_s16le Stream mapping: Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native)) Press [q] to stop, [?] for help MD5=0c9f578c5d4849d4f18e07dfe08370e5 size= 0kB time=00:00:14.55 bitrate= 0.0kbits/s speed= 93 video:0kB audio:2507kB subtitle:0kB other streams:0kB global hea overhead: unknown This e-mail (including any attachments) is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are notified that any dissemination, distribution or copying of it (including any attachments), or taking any actions based on it, is prohibited. If you have received this e-mail in error, please immediately notify the sender by reply e-mail, delete the original, and destroy any copies or printouts. Thank you. em-tr-v1-2016 ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
2016-10-12 14:08 GMT+02:00 Sven C. Dack: > On 12/10/16 10:50, Carl Eugen Hoyos wrote: >> >> The file works fine with every software tested so far except QT, >> this includes vlc, MPlayer, xine, GStreamer and WMP (which >> contrary to what was claimed here all use different demuxers >> afaik). > > mpv plays it, too. Iiuc, mpv uses libavformat to demux isom (but I didn't mention FFmpeg above), I used the old MPlayer mov demuxer for testing. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
On 12/10/16 10:50, Carl Eugen Hoyos wrote: The file works fine with every software tested so far except QT, this includes vlc, MPlayer, xine, GStreamer and WMP (which contrary to what was claimed here all use different demuxers afaik). mpv plays it, too. Why isn't ffmpeg being used to just fix the broken files in Alex's collection? According to him is it 3 videos out of 700, which have this issue. Why can't these be fixed? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Create a video using images and audio with blend and zoom filters using FFmpeg
Nikhil M Ranka wrote: >ffmpeg version N-63893-gc69defd Copyright (c) 2000-2014 >the FFmpeg developers built on Oct 31 2014 05:16:04 As Carl Eugen already mentioned, you should really update. Best regards, Reto ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Create a video using images and audio with blend and zoom filters using FFmpeg
Thank for the reply. It is this command that I am facing issues with. Can you tell me how to fix it? Have already spent hours if not days finding a solution for this **Blend with zoom** > > ffmpeg \ > -loop 1 -t 5 -i 164470_2.jpg \ > -loop 1 -t 5 -i 164470_3.jpg \ > -loop 1 -t 5 -i 164470_5.jpg \ > -filter_complex \ > "[0:v]zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoo > m/2)':y='ih/2-(ih/zoom/2)'[v0]; \ > > [1:v]zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'[v1]; > \ > > [2:v]zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'[v2]; > \ > > [1:v][0:v]blend=all_expr='A*(if(gte(T,1.5),1,T/1.5))+B*(1-(if(gte(T,1.5),1,T/1.5)))'[b1v]; > \ > > [2:v][1:v]blend=all_expr='A*(if(gte(T,1.5),1,T/1.5))+B*(1-(if(gte(T,1.5),1,T/1.5)))'[b2v]; > \ > [v0][b1v][v1][b2v][v2]concat=n=5,format=yuv420p[v]" \ > -map "[v]" -aspect 16:9 outWithBlendAndZoom.mp4 This command did not work out, I am not sure why. Here is the output: ffmpeg version N-63893-gc69defd Copyright (c) 2000-2014 the FFmpeg > developers > built on Oct 31 2014 05:16:04 with gcc 4.6 (Debian 4.6.3-1) > configuration: --prefix=/root/ffmpeg-static/32bit --arch=x86_32 > --extra-cflags='-m32 -I/root/ffmpeg-static/32bit/include -static' > --extra-ldflags='-m32 -L/root/ffmpeg-static/32bit/lib -static' > --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared > --disable-ffserver --disable-doc --enable-bzlib --enable-zlib > --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl > --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray > --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex > --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 > --enable-libvpx > libavutil 52. 89.100 / 52. 89.100 > libavcodec 55. 66.101 / 55. 66.101 > libavformat55. 43.100 / 55. 43.100 > libavdevice55. 13.101 / 55. 13.101 > libavfilter 4. 8.100 / 4. 8.100 > libswscale 2. 6.100 / 2. 6.100 > libswresample 0. 19.100 / 0. 19.100 > libpostproc52. 3.100 / 52. 3.100 > Input #0, image2, from '164470_2.jpg': > Duration: 00:00:00.04, start: 0.00, bitrate: N/A > Stream #0:0: Video: mjpeg, yuvj422p(pc), 1600x1200, 25 fps, 25 > tbr, 25 tbn, 25 tbc > Input #1, image2, from '164470_3.jpg': > Duration: 00:00:00.04, start: 0.00, bitrate: N/A > Stream #1:0: Video: mjpeg, yuvj422p(pc), 1600x1200, 25 fps, 25 > tbr, 25 tbn, 25 tbc > Input #2, image2, from '164470_5.jpg': > Duration: 00:00:00.04, start: 0.00, bitrate: N/A > Stream #2:0: Video: mjpeg, yuvj422p(pc), 1600x1200, 25 fps, 25 > tbr, 25 tbn, 25 tbc > File 'outWithBlendAndZoom.mp4' already exists. Overwrite ? [y/N] y > [swscaler @ 0xba66100] deprecated pixel format used, make sure you did > set range correctly > [swscaler @ 0xbaa23a0] deprecated pixel format used, make sure you did > set range correctly > [swscaler @ 0xbac4680] deprecated pixel format used, make sure you did > set range correctly > [swscaler @ 0xbae6960] deprecated pixel format used, make sure you did > set range correctly > [swscaler @ 0xbb07260] deprecated pixel format used, make sure you did > set range correctly > [swscaler @ 0xbb2af20] deprecated pixel format used, make sure you did > set range correctly > [swscaler @ 0xbb4d200] deprecated pixel format used, make sure you did > set range correctly > [Parsed_concat_5 @ 0xba8e060] Input link in1:v0 parameters (size > 1600x1200, SAR 0:1) do not match the corresponding output link in0:v0 > parameters (1280x720, SAR 0:1) > [Parsed_concat_5 @ 0xba8e060] Failed to configure output pad on > Parsed_concat_5 Regards, *Nikhil* ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] framerate conversion with sync audio
2016-10-11 23:25 GMT+02:00 Carles Vila: > Hi, I'm trying to perform framerate conversion of a video, from 24fps to > 25fps to be precise. > The source is mov, ProRes with multichannel audio at 48kHz. > It is mandatory for my application to preserve the integrity of all frames, > i.e. no frame-interpolation or duplication should occur. Then use the setpts filter, the input option -r tends to be unreliable. Although using setpts means you have to take care if audio and video start at the same time. Or to say it differently: setpts is recommended, if r works for you, all the better! Since you change the video length, you have to change audio speed, I don't know if asetpts is an alternative to atempo. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Why FFmpeg provides it's own decoder, but relies on 3rd party encoders?
2016-10-12 0:42 GMT+02:00 Alexey Eromenko: > The important encoders I use myself are libmp3lame, libvpx, libx264, > libx265 and more... > > Except for AAC audio codec, everything else uses 3rd party encoders, Everything? Like mpeg2video, mpeg4 asp, msmpeg4, mp2, ac-3, e-ac-3 and hundreds more? > but decoders for ffmpeg are built-in, right ? External decoders like libopenjpeg exist though. > Why so ? lame is older than FFmpeg, libvpx was written by a company to support their video format (it wouldn't have made sense for them to implement an FFmpeg-based encoder) and x265 is a direct successor of x264. At the time x264 was started, FFmpeg still tried to implement all encoders themselves (and the saying was "first write a working encoder, then start with the decoder implementation"). There is a very old post somewhere that explains why x264 was written as an independent project, in retrospect this was a large advantage for the single developers. The main reason is that nobody sent patches for the mentioned encoders so far... I believe it is possible to write a (not top-quality) mp3 encoder on top of FFmpeg (just needs a bitstream filter), but nobody cared. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] dpx to prores & h.264 - color shift
Thanks for your response Carl Eugen,. Up until now i only had to deal with image sequences and didn't convert them myself. Therefore i wasn't sure if the results could have been better with other options. Thanks for your feedback. cheers, Andreas 2016-10-12 11:58 GMT+02:00 Carl Eugen Hoyos: > 2016-10-12 11:41 GMT+02:00 Andreas Hummel : > > > Here you may find a comparison image: > > http://www.directupload.net/file/d/4506/satnse88_jpg.htm > > > > Full resolution can be found here: > > http://uploaded.net/file/e02zd4ct > > (I have probably downloaded thousands of user-provided samples, > these sites are not acceptable, sorry. Our own upload site is > unfortunately down for months already.) > > > Or is that already the 'best' output i can get? > > I cannot really comment on your issue but your input file has 30bpp, > your h264 output file only 12, so there has to be a difference wrt the > colour representation. > > Carl Eugen > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Create a video using images and audio with blend and zoom filters using FFmpeg
2016-10-12 12:36 GMT+02:00 Nikhil M Ranka: > ffmpeg -framerate 1/4 -start_number 1 -i 164470_%d.jpg -c:v libx264 -r >> 30 -pix_fmt yuv420p -vf scale=16:9 out.mp4 start_number 1 is / was never necessary. > Then, tried adding an audio to the video, and this is the command I used. > > ffmpeg -framerate 1/4 -start_number 1 -i 164470_%d.jpg -i audio.wav > -c:v libx264 -tune stillimage -c:a aac -strict experimental -b:a 192k > -pix_fmt yuv420p -shortest outWithAudioNew.mp4 -strict experimental is not necessary anymore for our aac encoder. > ffmpeg version N-63893-gc69defd Copyright (c) 2000-2014 This is old and unsupported, if you don't want to compile yourself, you can download a binaries that other users provide from external sites linked from our download page: http://ffmpeg.org/download.html > Not all the images I use have the same resolution, can FFmpeg > work with such images? It will automatically scale them to the output resolution (that defaults to the resolution of the first input frame). Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] Create a video using images and audio with blend and zoom filters using FFmpeg
Note: I have a few days ( 3-4 ) of experience with using FFmpeg, and I do not fully understand the commands I mention here ( most of them are from stack overflow forums - I do not have those links bookmarked ). I wanted to generate a 30-second video, with 16:9 aspect ratio, from a set of images and an audio with blend + zoom and pan effect. Started this by just generating slide show of images from the video **Slideshow of images** ffmpeg -framerate 1/4 -start_number 1 -i 164470_%d.jpg -c:v libx264 -r > 30 -pix_fmt yuv420p -vf scale=16:9 out.mp4 Then, tried adding an audio to the video, and this is the command I used. ffmpeg -framerate 1/4 -start_number 1 -i 164470_%d.jpg -i audio.wav > -c:v libx264 -tune stillimage -c:a aac -strict experimental -b:a 192k > -pix_fmt yuv420p -shortest outWithAudioNew.mp4 With this command, I was able to create the video with zoom and pan effects. It did not cycle through the images, though. ffmpeg \ > -framerate 1/4 -start_number 1 -i 164470_%d.jpg \ > -vf "zoompan=z='if(lte(zoom,1.0),1.5,max(1.001,zoom-0.0015))':d=125" \ > -c:v libx264 -t 30 -s "800x450" outWithZoom.mp4 **To add in a blend effect I used this command:** ffmpeg \ > -loop 1 -t 5 -i 164470_2.jpg \ > -loop 1 -t 5 -i 164470_3.jpg \ > -loop 1 -t 5 -i 164470_4.jpg \ > -loop 1 -t 5 -i 164470_5.jpg \ > -filter_complex \ > "[1:v][0:v]blend=all_expr='A*(if(gte(T,1.5),1,T/1.5))+B*(1-( > if(gte(T,1.5),1,T/1.5)))'[b1v]; \ > [2:v][1:v]blend=all_expr='A*(if(gte(T,1.5),1,T/1.5))+B*(1-( > if(gte(T,1.5),1,T/1.5)))'[b2v]; \ > [3:v][2:v]blend=all_expr='A*(if(gte(T,1.5),1,T/1.5))+B*(1-( > if(gte(T,1.5),1,T/1.5)))'[b3v]; \ > [0:v][b1v][1:v][b2v][2:v][b3v][3:v]concat=n=7,format=yuv420p[v]" \ > -map "[v]" -aspect 16:9 outWithFasterBlend.mp4 This particular post is from where I got the command to create a video with blend effect. http://superuser.com/questions/833232/create-video- with-5-images-with-fadein-out-effect-in-ffmpeg **Blend with zoom** > > ffmpeg \ > -loop 1 -t 5 -i 164470_2.jpg \ > -loop 1 -t 5 -i 164470_3.jpg \ > -loop 1 -t 5 -i 164470_5.jpg \ > -filter_complex \ > "[0:v]zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/ > zoom/2)':y='ih/2-(ih/zoom/2)'[v0]; \ > [1:v]zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/ > zoom/2)':y='ih/2-(ih/zoom/2)'[v1]; \ > [2:v]zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/ > zoom/2)':y='ih/2-(ih/zoom/2)'[v2]; \ > [1:v][0:v]blend=all_expr='A*(if(gte(T,1.5),1,T/1.5))+B*(1-( > if(gte(T,1.5),1,T/1.5)))'[b1v]; \ > [2:v][1:v]blend=all_expr='A*(if(gte(T,1.5),1,T/1.5))+B*(1-( > if(gte(T,1.5),1,T/1.5)))'[b2v]; \ > [v0][b1v][v1][b2v][v2]concat=n=5,format=yuv420p[v]" \ > -map "[v]" -aspect 16:9 outWithBlendAndZoom.mp4 This command did not work out, I am not sure why. Here is the output: ffmpeg version N-63893-gc69defd Copyright (c) 2000-2014 the FFmpeg > developers > built on Oct 31 2014 05:16:04 with gcc 4.6 (Debian 4.6.3-1) > configuration: --prefix=/root/ffmpeg-static/32bit --arch=x86_32 > --extra-cflags='-m32 -I/root/ffmpeg-static/32bit/include -static' > --extra-ldflags='-m32 -L/root/ffmpeg-static/32bit/lib -static' > --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared > --disable-ffserver --disable-doc --enable-bzlib --enable-zlib > --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl > --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray > --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex > --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 > --enable-libvpx > libavutil 52. 89.100 / 52. 89.100 > libavcodec 55. 66.101 / 55. 66.101 > libavformat55. 43.100 / 55. 43.100 > libavdevice55. 13.101 / 55. 13.101 > libavfilter 4. 8.100 / 4. 8.100 > libswscale 2. 6.100 / 2. 6.100 > libswresample 0. 19.100 / 0. 19.100 > libpostproc52. 3.100 / 52. 3.100 > Input #0, image2, from '164470_2.jpg': > Duration: 00:00:00.04, start: 0.00, bitrate: N/A > Stream #0:0: Video: mjpeg, yuvj422p(pc), 1600x1200, 25 fps, 25 > tbr, 25 tbn, 25 tbc > Input #1, image2, from '164470_3.jpg': > Duration: 00:00:00.04, start: 0.00, bitrate: N/A > Stream #1:0: Video: mjpeg, yuvj422p(pc), 1600x1200, 25 fps, 25 > tbr, 25 tbn, 25 tbc > Input #2, image2, from '164470_5.jpg': > Duration: 00:00:00.04, start: 0.00, bitrate: N/A > Stream #2:0: Video: mjpeg, yuvj422p(pc), 1600x1200, 25 fps, 25 > tbr, 25 tbn, 25 tbc > File 'outWithBlendAndZoom.mp4' already exists. Overwrite ? [y/N] y > [swscaler @ 0xba66100] deprecated pixel format used, make sure you did > set range correctly > [swscaler @ 0xbaa23a0] deprecated pixel format used, make sure you did > set range correctly > [swscaler @ 0xbac4680] deprecated pixel
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
2016-10-12 9:31 GMT+02:00 Thomas Worth: > Has anyone actually looked at the MP4 file, BrokenVideo-8min.mp4? > It was written with a video track timescale of 0 The uploaded file BrokenVideo-8min.mp4 has a video track timescale of 1000, exactly as the input file from the conversion. (If I set it to 0, playback fails with every software.) > a track duration of 0 and due to that, outrageous packet durations. > Regardless of the quality of input (which I'm sure was bad), the muxer > should still be able to detect that something is obviously wrong. In this > case, the muxer should probably just fail with an error. > No reasonable person should expect MP4s written this > way to work correctly. The file works fine with every software tested so far except QT, this includes vlc, MPlayer, xine, GStreamer and WMP (which contrary to what was claimed here all use different demuxers afaik). Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] dpx to prores & h.264 - color shift
2016-10-12 11:41 GMT+02:00 Andreas Hummel: > Here you may find a comparison image: > http://www.directupload.net/file/d/4506/satnse88_jpg.htm > > Full resolution can be found here: > http://uploaded.net/file/e02zd4ct (I have probably downloaded thousands of user-provided samples, these sites are not acceptable, sorry. Our own upload site is unfortunately down for months already.) > Or is that already the 'best' output i can get? I cannot really comment on your issue but your input file has 30bpp, your h264 output file only 12, so there has to be a difference wrt the colour representation. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] dpx to prores & h.264 - color shift
Hi there, i'm struggeling with the conversion from dpx files via ffmpeg to prores and h.264 movie files on a windows machine. In the past days i read a lot about the different flags and options but couldnt figure out what the 'best' conversion technique is. At the moment i'm getting a slight hue shift in the encoded videos and i don't know where it's coming from. Probably i'm using too many options or false flags but i thought, this list might give me a hint to solve the problem at it's core. Somehow i always get the color shift, regardless which options i try with ffmpeg on the command line. The only way to obtain a 1:1 color representation in a prores file was via Nuke from TheFoundry. For h.264 i've got almost the same issue plus settle banding artefacts in dark areas with a gradient. I tried to minimize the artefacts in the gradient but couldn't find a suitable option yet. Here you may find a comparison image: http://www.directupload.net/file/d/4506/satnse88_jpg.htm Full resolution can be found here: http://uploaded.net/file/e02zd4ct Zoom is at 100%. The left image shows a frame from the dpx sequence, 2nd is the ffmpeg prores and 3rd picture shows a crop of my best attempt to encode it with h264. Or is that already the 'best' output i can get? Thanks in advance for your help. Cheers, Andreas My code looks like this: ### PRORES: ffmpeg.exe -y -f image2 -start_number 0 -r 25 -i INPUT_%8d.dpx -r 25 -vcodec prores_ks -profile:v 3 -pix_fmt yuv422p10le -filter_complex "[0:v]lutrgb=r=gammaval(1/1.0):g=gammaval(1/1.0):b=gammaval(1/1.0),colormatrix=bt601: bt709'" -color_primaries bt709 -color_trc bt709 -colorspace bt709 -vendor ap10 OUTPUT_prores3.mov ffmpeg\x64\be1d324\bin\ffmpeg.exe -y -f image2 -start_number 0 -r 25 -i INPUT_%8d.dpx -r 25 -vcodec prores_ks -profile:v 3 -pix_fmt yuv422p10le -filter_complex "[0:v]lutrgb=r=gammaval(1/1.0):g=gammaval(1/1.0):b=gammaval(1/1.0),colormatrix=bt601: bt709'" -color_primaries bt709 -color_trc bt709 -colorspace bt709 -vendor ap10 OUTPUT_prores3.mov ffmpeg version N-81872-gbe1d324 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 libavformat57. 51.102 / 57. 51.102 libavdevice57. 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 libpostproc54. 0.100 / 54. 0.100 Input #0, image2, from 'INPUT_%8d.dpx': Duration: 00:01:04.48, start: 0.00, bitrate: N/A Stream #0:0: Video: dpx, gbrp10le, 1920x1080 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc Output #0, mov, to 'OUTPUT.mov': Metadata: encoder : Lavf57.51.102 Stream #0:0: Video: prores (prores_ks) (apch / 0x68637061), yuv422p10le(bt709), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc Metadata: encoder : Lavc57.60.101 prores_ks Stream mapping: Stream #0:0 (dpx) -> lutrgb colormatrix -> Stream #0:0 (prores_ks) Press [q] to stop, [?] for help frame= 1612 fps=9.0 q=-0.0 Lsize= 1173941kB time=00:01:04.44 bitrate=149238.3kbits/s speed=0.358x video:1173928kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.001109% ### h.264: ffmpeg.exe -y -probesize 500 -f image2 -start_number 0 -r 25 -i INPUT_%8d.dpx -r 25 -vcodec libx264 -preset superfast -profile:v high -level 4.2 -crf 9 -pix_fmt yuv420p -vf colormatrix=bt601:bt709 -color_primaries 1 -color_trc 1 -colorspace 1 -vendor ap10 OUTPUT.mov ffmpeg\x64\be1d324\bin\ffmpeg.exe -y -probesize 500 -f image2 -start_number 0 -r 25 -i INPUT_%8d.dpx -r 25 -vcodec libx264 -preset superfast -profile:v high -level 4.2 -crf 9 -pix_fmt yuv420p -vf colormatrix=bt601:bt709 -color_primaries 1 -color_trc 1 -colorspace 1 -vendor ap10 OUTPUT.mov ffmpeg version N-81872-gbe1d324 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
On Tue, Oct 11, 2016 at 2:19 AM, Sven C. Dackwrote: > On 11/10/16 08:31, Alexey Eromenko wrote: > >> I have a strong belief, that produced MP4 files should be played on >> all popular players, and any potential issues must be documented. >> >> Additionally ffmpeg should provide a BIG WARNING that a resulting file >> will not be playable on Apple decoders, and offer to fix it >> automatically. >> >> -Alexey >> > No. This isn't about what you belief. Before you can expect ffmpeg or all > popular players to play your files do you have to provide the correct input > files and options to ffmpeg. That's a fact and it's how ffmpeg works. Once > you get this right will ffmpeg be your best friend and will produce the > files you need, but not before then. > Has anyone actually looked at the MP4 file, BrokenVideo-8min.mp4? It was written with a video track timescale of 0, a track duration of 0 and due to that, outrageous packet durations. Regardless of the quality of input (which I'm sure was bad), the muxer should still be able to detect that something is obviously wrong. In this case, the muxer should probably just fail with an error. No reasonable person should expect MP4s written this way to work correctly. Based on the fact that ffmpeg is writing timescale 0 and duration 0, I'd say this should probably be considered a bug. But that's just my opinion. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Can't record screen under Windows
On Mon, Oct 10, 2016 at 21:29:22 +0200, Sub Phil wrote: > RE: https://trac.ffmpeg.org/wiki/Capture/Desktop [...] > [dshow @ 00e76560] Could not find video device with name > [screen-capture-recorder] among source devices of type video. > video=screen-capture-recorder: I/O error Did you follow the link from the wiki page to the installer? https://github.com/rdp/screen-capture-recorder-to-video-windows-free Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
Le decadi 20 vendémiaire, an CCXXV, Alexey Eromenko a écrit : > I have a strong belief, that produced MP4 files should be played on > all popular players, and any potential issues must be documented. > > Additionally ffmpeg should provide a BIG WARNING that a resulting file > will not be playable on Apple decoders, and offer to fix it > automatically. MP4 files are specified by a standard. If a player can not handle some file adhering to that standard, that is its fault. Bugs in third-party software should not restrict FFmpeg users from creating valid files they want, and it is not FFmpeg's task to document third party's bugs. FFmpeg may document a well known bug in a well known third party software, but this this would be a service offered as a convenience, not a duty. Regards, -- Nicolas George signature.asc Description: Digital signature ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] Can't record screen under Windows
RE: https://trac.ffmpeg.org/wiki/Capture/Desktop Microsoft Windows [version 10.0.14393] (c) 2016 Microsoft Corporation. Tous droits réservés. C:\WINDOWS\system32>ffmpeg -f dshow -i video="screen-capture-recorder" e:\output.flv ffmpeg version N-81960-g1bda0ee 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. 61.100 / 57. 61.100 libavformat57. 51.103 / 57. 51.103 libavdevice57. 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 libpostproc54. 0.100 / 54. 0.100 [dshow @ 00e76560] Could not find video device with name [screen-capture-recorder] among source devices of type video. video=screen-capture-recorder: I/O error C:\WINDOWS\system32>ffmpeg -list_devices true -f dshow -i dummy ffmpeg version N-81960-g1bda0ee 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. 61.100 / 57. 61.100 libavformat57. 51.103 / 57. 51.103 libavdevice57. 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 libpostproc54. 0.100 / 54. 0.100 [dshow @ 00f96500] DirectShow video devices (some may be both video and audio devices) [dshow @ 00f96500] "TOSHIBA Web Camera - HD" [dshow @ 00f96500] Alternative name "@device_pnp_\\?\usb#vid_04f2_b307_00#7&366e0267&3{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global" [dshow @ 00f96500] DirectShow audio devices [dshow @ 00f96500] "Microphone (Realtek High Definition Audio)" [dshow @ 00f96500] Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{0580589F-8566-43F3-A007-88B81F60AA24}" dummy: Immediate exit requested C:\WINDOWS\system32> ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] Embedding cover artwork in video files
I'm trying to embed cover artwork into my video files (all .mp4 format). I haven't been able to find any definitive answer on whether or not ffmpeg can accomplish this or not. Some people said they have successfully accomplished this and provided code that worked (from forum posts dated a year or much later ago), but unfortunately none of them have worked for me. As a work around I decided to use mp4art (I understand many programs can embed, but I'm specifically looking for CLI) and it worked beautifully. I created a .bat file to make ffmpeg copy a video/audio and mux external .srt file, then call mp4art and embed poster.jpg. The bat file was integrated into my right click menu via registry. Here is the bat file: @echo off for /F %%i in ('dir /b *.srt') do ( goto :external ) setlocal ENABLEDELAYEDEXPANSION set fName=%1 set ffmpeg="F:\Apps\Media\FFMPEG\bin\ffmpeg.exe" set mp4art="F:\Apps\Media\FFMPEG\MP4art\mp4art.exe" for /f "tokens=* delims= " %%F in ('echo %fName%') do ( %ffmpeg% -i "%%~fF" -f srt -i "%%~fF" -c:v copy -c:a copy -c:s mov_text -metadata:s:s:0 language=eng "%%~dpnF_new.mp4" %mp4art% -f --add folder.jpg "%%~dpnF_new.mp4" pause ) exit :external setlocal ENABLEDELAYEDEXPANSION set fName=%1 set ffmpeg="F:\Apps\Media\FFMPEG\bin\ffmpeg.exe" set mp4art="F:\Apps\Media\FFMPEG\MP4art\mp4art.exe" for /f "tokens=* delims= " %%F in ('echo %fName%') do ( %ffmpeg% -i "%%~fF" -i "%%~dpnF.eng.srt" -c:v copy -c:a copy -c:s mov_text -metadata:s:s:0 language=eng "%%~dpnF_new.mp4" %mp4art% -f --add folder.jpg "%%~dpnF_new.mp4" ) exit As stated before, this works great. I would really love to remove mp4art and just stick with ffmpeg. Is there any way to embed cover art? I seem to find plenty of examples for music, but the movie examples I've found don't work. Thanks in advance and thank you for this amazingly flexible and strong program!! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".