Re: [FFmpeg-user] amerge channel layout
Thanks Carl! Here ist the command line I actually use and the full output: ffmpeg -y -i file.mxf -filter:v yadif -b:v 8000k -minrate 8000k -maxrate 8000k -bufsize 4000k -vcodec libx264 -bf 2 -flags +cgop -pix_fmt yuv420p -f mp4 -filter_complex "amerge,volume=14.4dB [aout]" -map [aout] -c:a libfdk_aac -b:a 384k -ac 2 -ar 48000 -cutoff 20k -movflags faststart -ss 00:00:00 file.mp4 ffmpeg version N-80123-gd74cc61-static Copyright (c) 2000-2016 the FFmpeg develo pers built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17) configuration: --arch=64 --prefix=/root/ffmpeg-static/ffmpeg-build-script/work space --extra-cflags=-I/root/ffmpeg-static/ffmpeg-build-script/workspace/include --extra-ldflags=-L/root/ffmpeg-static/ffmpeg-build-script/workspace/lib --extra -version=static --extra-cflags=--static --enable-static --disable-debug --disabl e-shared --disable-ffplay --disable-ffserver --disable-doc --enable-gpl --enable -version3 --enable-nonfree --enable-pthreads --enable-libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enabl e-runtime-cpudetect --enable-libfdk-aac --enable-avfilter --enable-libopencore_a mrwb --enable-libopencore_amrnb --enable-filters --enable-libvidstab --enable-li bebur128 --enable-bzlib --enable-libopus --enable-libkvazaar --enable-frei0r libavutil 55. 24.100 / 55. 24.100 libavcodec 57. 43.100 / 57. 43.100 libavformat57. 37.101 / 57. 37.101 libavdevice57. 0.101 / 57. 0.101 libavfilter 6. 46.100 / 6. 46.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.1 : mono Guessed Channel Layout for Input Stream #0.2 : mono Input #0, mxf, from 'file.mxf': Metadata: uid : 42704c88-2d83-11e6-a3f0-002608fe0387 generation_uid : 42704c89-2d83-11e6-a457-002608fe0387 company_name: Adobe Systems Incorporated product_name: Premiere Pro product_version : 7.2.2 application_platform: Mac OS X product_uid : 10ab07a9-e89e-7510-a923-ea9220524153 modification_date: 2016-06-08 14:14:06 material_package_umid: 0x060A2B340101010501010D11130098F70D03477505A5043 1002608FE0387 timecode: 00:00:00:00 Duration: 00:04:25.96, start: 0.00, bitrate: 51792 kb/s Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv, unknown/bt709/bt709), 19 20x1080 [SAR 1:1 DAR 16:9], 5 kb/s, 25 fps, 25 tbr, 25 tbn Metadata: file_package_umid: 0x060A2B340101010501010D1213B3B5A098F70D03477505A5C4670 02608FE0387 file_package_name: Source Package Stream #0:1: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D1213B3B5A098F70D03477505A5C4670 02608FE0387 file_package_name: Source Package Stream #0:2: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D1213B3B5A098F70D03477505A5C4670 02608FE0387 file_package_name: Source Package Codec AVOption bf (set maximum number of B frames between non-B-frames) specifie d for output file #0 (file.mp4) has not been used for any stream. The most likel y reason is either wrong type (e.g. a video option with no video streams) or tha t it is a private option of some encoder which was not actually used for any str eam. [Parsed_amerge_0 @ 0x316d330] No channel layout for input 1 [Parsed_amerge_0 @ 0x316d330] Input channel layouts overlap: output layout willbe determined by the number of distinct input channels [mp4 @ 0x2e7c660] Using AVStream.codec to pass codec parameters to muxers is dep recated, use AVStream.codecpar instead. Output #0, mp4, to
Re: [FFmpeg-user] amerge channel layout
Sorry, output again: ffmpeg version N-80123-gd74cc61-static Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17) configuration: --arch=64 --prefix=/root/ffmpeg-static/ffmpeg-build-script/workspace --extra-cflags=-I/root/ffmpeg-static/ffmpeg-build-script/workspace/include --extra-ldflags=-L/root/ffmpeg-static/ffmpeg-build-script/workspace/lib --extra-version=static --extra-cflags=--static --enable-static --disable-debug --disable-shared --disable-ffplay --disable-ffserver --disable-doc --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-runtime-cpudetect --enable-libfdk-aac --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libvidstab --enable-libebur128 --enable-bzlib --enable-libopus --enable-libkvazaar --enable-frei0r libavutil 55. 24.100 / 55. 24.100 libavcodec 57. 43.100 / 57. 43.100 libavformat57. 37.101 / 57. 37.101 libavdevice57. 0.101 / 57. 0.101 libavfilter 6. 46.100 / 6. 46.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.1 : mono Guessed Channel Layout for Input Stream #0.2 : mono Input #0, mxf, from 'file.mxf': Metadata: uid : 42704c88-2d83-11e6-a3f0-002608fe0387 generation_uid : 42704c89-2d83-11e6-a457-002608fe0387 company_name: Adobe Systems Incorporated product_name: Premiere Pro product_version : 7.2.2 application_platform: Mac OS X product_uid : 10ab07a9-e89e-7510-a923-ea9220524153 modification_date: 2016-06-08 14:14:06 material_package_umid: 0x060A2B340101010501010D11130098F70D03477505A50431002608FE0387 timecode: 00:00:00:00 Duration: 00:04:25.96, start: 0.00, bitrate: 51792 kb/s Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv, unknown/bt709/bt709), 1920x1080 [SAR 1:1 DAR 16:9], 5 kb/s, 25 fps, 25 tbr, 25 tbn Metadata: file_package_umid: 0x060A2B340101010501010D1213B3B5A098F70D03477505A5C467002608FE0387 file_package_name: Source Package Stream #0:1: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D1213B3B5A098F70D03477505A5C467002608FE0387 file_package_name: Source Package Stream #0:2: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D1213B3B5A098F70D03477505A5C467002608FE0387 file_package_name: Source Package Codec AVOption bf (set maximum number of B frames between non-B-frames) specified for output file #0 (file.mp4) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. [Parsed_amerge_0 @ 0x37f6330] No channel layout for input 1 [Parsed_amerge_0 @ 0x37f6330] Input channel layouts overlap: output layout will be determined by the number of distinct input channels [mp4 @ 0x3505660] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead. Output #0, mp4, to 'file.mp4': Metadata: uid : 42704c88-2d83-11e6-a3f0-002608fe0387 generation_uid : 42704c89-2d83-11e6-a457-002608fe0387 company_name: Adobe Systems Incorporated product_name: Premiere Pro product_version : 7.2.2 application_platform: Mac OS X product_uid : 10ab07a9-e89e-7510-a923-ea9220524153 modification_date: 2016-06-08 14:14:06 material_package_umid: 0x060A2B340101010501010D11130098F70D03477505A50431002608FE0387 timecode: 00:00:00:00 encoder : Lavf57.37.101 Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 384 kb/s (default) Metadata: encoder : Lavc57.43.100 libfdk_aac Stream mapping: Stream #0:1 (pcm_s16le) -> amerge:in0 Stream #0:2 (pcm_s16le) -> amerge:in1 volume -> Stream #0:0 (libfdk_aac) Press [q] to stop, [?] for help [mp4 @ 0x3505660] Starting second pass: moving the moov atom to the beginning of the file -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/amerge-channel-layout-tp4676437p4676455.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".
Re: [FFmpeg-user] amerge channel layout
Alex ffmpeg.org> writes: > Sorry, output again: (Don't you agree that it is much easier to read the output if it is posted together with the command line?) So what is wrong with the output file? Or is no output file created? 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] amerge channel layout
The output file seems to be okay. I was a bit confused regarding the warning messages. Especially this one: "Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead". -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/amerge-channel-layout-tp4676437p4676458.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".
Re: [FFmpeg-user] amerge channel layout
Ok, once again a Mail with complete command line + output + questions: $ ffmpeg -y -i file.mxf -filter:v yadif -b:v 8000k -minrate 8000k -maxrate 8000k -bufsize 4000k -vcodec libx264 -bf 2 -flags +cgop -pix_fmt yuv420p -f mp4 -filter_complex "amerge,volume=14.4dB [aout]" -map [aout] -c:a libfdk_aac -b:a 384k -ac 2 -ar 48000 -cutoff 20k -movflags faststart -ss 00:00:00 file.mp4 ffmpeg version N-80123-gd74cc61-static Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17) configuration: --arch=64 --prefix=/root/ffmpeg-static/ffmpeg-build-script/workspace --extra-cflags=-I/root/ffmpeg-static/ffmpeg-build-script/workspace/include --extra-ldflags=-L/root/ffmpeg-static/ffmpeg-build-script/workspace/lib --extra-version=static --extra-cflags=--static --enable-static --disable-debug --disable-shared --disable-ffplay --disable-ffserver --disable-doc --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-runtime-cpudetect --enable-libfdk-aac --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libvidstab --enable-libebur128 --enable-bzlib --enable-libopus --enable-libkvazaar --enable-frei0r libavutil 55. 24.100 / 55. 24.100 libavcodec 57. 43.100 / 57. 43.100 libavformat57. 37.101 / 57. 37.101 libavdevice57. 0.101 / 57. 0.101 libavfilter 6. 46.100 / 6. 46.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.1 : mono Guessed Channel Layout for Input Stream #0.2 : mono Input #0, mxf, from 'file.mxf': Metadata: uid : 42704c88-2d83-11e6-a3f0-002608fe0387 generation_uid : 42704c89-2d83-11e6-a457-002608fe0387 company_name: Adobe Systems Incorporated product_name: Premiere Pro product_version : 7.2.2 application_platform: Mac OS X product_uid : 10ab07a9-e89e-7510-a923-ea9220524153 modification_date: 2016-06-08 14:14:06 material_package_umid: 0x060A2B340101010501010D11130098F70D03477505A50431002608FE0387 timecode: 00:00:00:00 Duration: 00:04:25.96, start: 0.00, bitrate: 51792 kb/s Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv, unknown/bt709/bt709), 1920x1080 [SAR 1:1 DAR 16:9], 5 kb/s, 25 fps, 25 tbr, 25 tbn Metadata: file_package_umid: 0x060A2B340101010501010D1213B3B5A098F70D03477505A5C467002608FE0387 file_package_name: Source Package Stream #0:1: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D1213B3B5A098F70D03477505A5C467002608FE0387 file_package_name: Source Package Stream #0:2: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D1213B3B5A098F70D03477505A5C467002608FE0387 file_package_name: Source Package Codec AVOption bf (set maximum number of B frames between non-B-frames) specified for output file #0 (file.mp4) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. [Parsed_amerge_0 @ 0x3507330] No channel layout for input 1 [Parsed_amerge_0 @ 0x3507330] Input channel layouts overlap: output layout will be determined by the number of distinct input channels [mp4 @ 0x3216660] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead. Output #0, mp4, to 'file.mp4': Metadata: uid : 42704c88-2d83-11e6-a3f0-002608fe0387 generation_uid : 42704c89-2d83-11e6-a457-002608fe0387 company_name: Adobe Systems Incorporated product_name: Premiere Pro product_version : 7.2.2 application_platform: Mac OS X product_uid : 10ab07a9-e89e-7510-a923-ea9220524153 modification_date: 2016-06-08 14:14:06 material_package_umid: 0x060A2B340101010501010D11130098F70D03477505A50431002608FE0387 timecode: 00:00:00:00 encoder : Lavf57.37.101 Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 384 kb/s (default) Metadata: encoder : Lavc57.43.100 libfdk_aac Stream mapping: Stream #0:1 (pcm_s16le) -> amerge:in0 Stream #0:2 (pcm_s16le) -> amerge:in1 volume -> Stream #0:0 (libfdk_aac) Press [q] to stop, [?] for help [mp4 @ 0x3216660] Starting second pass: moving the moov atom to the beginning of the file size=2737kB time=00:00:58.11 bitrate= 385.9kbits/s speed=16.9x video:0kB audio:2726kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.417923% Questions: "[mp4 @ 0x3216660] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar
Re: [FFmpeg-user] Could not write header for output file #0 (incorrect codec parameters ?):
2016-06-22 21:33 GMT+02:00 juan carlos Rebate: > > > 2016-06-22 21:16 GMT+02:00 Cley Faye : > >> 2016-06-22 19:45 GMT+02:00 juan carlos Rebate : >> >> > the problem is in ffmpeg not know what else wants me to say, I have >> > indicated the error, as I indicated all screen output with the error, >> have >> > not received any solution, if you want something specific let me know >> > >> >> I, and other, pointed out that your command line was incorrect *and* that >> your choice of codec/container was invalid for what you're trying to do. >> Some provided *working* example. >> >> There is no detailed explanation on the error code because it spells out >> what's wrong: >> > [mp4 @ 028d5840] muxer does not support non seekable output >> > Could not write header for output file #0 (incorrect codec parameters >> ?): >> >> It plain say "mp4 muxer does not support non seekable output". If you >> insist on using a container that "does NOT support NON SEEKABLE output" >> with a *non seekable* output such as a stream obviously you'll keep >> getting >> an error. >> What I learned is that if google don't give anything useful with an error >> message, there is two possibilities: you've discovered a new problem, or >> you're doing something wrong. Seeing that ffmpeg is used in that exact >> scenario by a lot of people, well... I'm not saying there is no bug in >> ffmpeg but "take input X, output to Y" is one of the feature that works >> fine. >> >> Granted, I don't have the whole picture, but to fix what you posted in >> this >> thread, just changing the mp4 container to anything that support streaming >> works fine, as said by others, as said by me, and as *showned* in a video. >> I'm baffled why you keep saying "oh no there is no solution this program >> is >> clearly not working" when you've got many already. >> >> As far as I'm concerned, this thread is done: you've given a bogus >> command, >> you've got answers as to what was wrong with it, and a working example. >> I'm >> afraid there's nothing more that can be done by random people there. >> ___ >> 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". >> > then makes no sense to use ffmpeg, I tried to use flash and I can not do > so, I tried to do it with webm and you can not do so > Adobe has told me in an email that flash if it supports what I want using > swf as container, but ffmpeg sends me the same error > I'm desperate, I have found that the order of commands does not matter, but if I have come to the conclusion that there are two possibilities. 1 ffmpeg can not do what I need. 2 is missing some command syntax, I purchased a book which says that the order of commands does not matter that the syntax is correct, I consulted with adobe and tells me that flash can make streaming using RTMP protocol and prococolo http, this book only has about streamin with webcam example thus serves no purpose for me Does anyone know how I can do to write the header? ___ 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 the fps of concatenate video file change with old video file?
2016-06-23 11:12 GMT+02:00 cuizhe: > >ffmpeg -r 25 -f concat -i 1.txt -c copy output.wmv > > 1.txt: > file g:\1.wmv > file g:\2.wmv > > It works. But the fps of output.wmv is 30. > How can I maintain the fps of concatenate video file? > You should post the full log, it most likely contains the answer. ___ 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] Could not write header for output file #0 (incorrect codec parameters ?):
On 06/23/2016 11:31 AM, juan carlos Rebate wrote: > Does anyone know how I can do to write the header? You've been told over and over, pointing at the error messages, that mp4 won't work for streaming. It is *not* ffmpeg's problem. MP4 needs information in it's header that isn't available until *after* encoding, which is why the encoder needs to *seek* back to the beginning of the output file to fill it in. That's not possible with realtime streams. ffmpeg would need to look into the future and provide data describing frames that haven't yet been created by your camera to satisfy you. Let us know when you've invented a time machine. You've received recommendations for other formats that don't require such a header and are therefore real-time streamable. Pick one. ___ 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] Could not write header for output file #0 (incorrect codec parameters ?):
2016-06-23 21:40 GMT+02:00 Phil Turmel: > On 06/23/2016 11:31 AM, juan carlos Rebate wrote: > > > Does anyone know how I can do to write the header? > > You've been told over and over, pointing at the error messages, that mp4 > won't work for streaming. It is *not* ffmpeg's problem. MP4 needs > information in it's header that isn't available until *after* encoding, > which is why the encoder needs to *seek* back to the beginning of the > output file to fill it in. That's not possible with realtime streams. > ffmpeg would need to look into the future and provide data describing > frames that haven't yet been created by your camera to satisfy you. Let > us know when you've invented a time machine. > > You've received recommendations for other formats that don't require > such a header and are therefore real-time streamable. Pick one. > ___ > 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". > according to the standard, html5 the mp4 format is ideal for this purpose, many companies that previously used flash html5 technology now used in mp4 format, so again I say that is because ffmpeg ___ 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] Input: Transport stream with DVB subtitles, output: Any format with the subtitles burned in
On 23 Jun 2016, at 22:26, Carlos Fernandezwrote: > Hi, > > > From a BBC1 capture in TS format that comes with DVB subtitles I'm trying to > generate a file that has the subtitles burned in. The final use case is a bit > more complex in that it has to be live streams but let's forget about that > for now. > > A sample recording called BBC1.ts exists, and I want to create a file called > BBC1_burned_in.avi that that the subtitles burned-in. The actual output > format is not important, I'm using .avi here as that's what someone trying > the same thing was using. Also tried generating a TS with no change. > > > Anyway, I'm using the following (tried other variants including scaling the > subtitles, as someone suggested in IRC, all of them have the same result): > > > ffmpeg -i BBC1_TS.ts -filter_complex "[0:v][0:s]overlay[v]" -map "[v]" > -vcodec libx264 -preset ultrafast -x264opts keyint=100:min-keyint=50 -threads > -0 -f avi BBC1_burned_in.avi This works for me when recording from TV5 ffmpeg -y -i source.ts -ss $1 -to $2 -crf 22 -preset veryfast -g 50 -me_method umh -ab 96k -ac 2 -filter_complex '[0:v][0:s:0]overlay[v]' -map [v] -map 0:a -movflags faststart result.mp4 Note [0:s:0] instead of your [0:s] I don’t know if that’s the reason though. > > > And I get an error "sub2video: rectangle overflowing" which appears a number > of times. > > > This is the output: > > > $ ffmpeg -i BBC1_TS.ts -filter_complex "[0:v][0:s]overlay[v]" -map "[v]" > -vcodec libx264 -preset ultrafast -x264opts keyint=100:min-keyint=50 -threads > -0 -f avi copy.avi > ffmpeg version 2.5.10-0ubuntu0.15.04.1 Copyright (c) 2000-2016 the FFmpeg > developers > built with gcc 4.9.2 (Ubuntu 4.9.2-10ubuntu13) > configuration: --prefix=/usr --extra-version=0ubuntu0.15.04.1 > --build-suffix=-ffmpeg --toolchain=hardened > --libdir=/usr/lib/x86_64-linux-gnu --shlibdir=/usr/lib/x86_64-linux-gnu > --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared > --disable-stripping --enable-avresample --enable-avisynth --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-libschroedinger --enable-libshine > --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame > --enable-libvorbis --enable-libwavpack --enable-libwebp --enable-libxvid > --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 > --enable-libzvbi --enable-libzmq --enable-frei0r --enable-libvpx > --enable-libx264 --enable-libsoxr --enable-gnutls --enable-openal > --enable-libopencv --enable-librtmp --enable-libx265 > libavutil 54. 15.100 / 54. 15.100 > libavcodec 56. 13.100 / 56. 13.100 > libavformat56. 15.102 / 56. 15.102 > libavdevice56. 3.100 / 56. 3.100 > libavfilter 5. 2.103 / 5. 2.103 > libavresample 2. 1. 0 / 2. 1. 0 > libswscale 3. 1.101 / 3. 1.101 > libswresample 1. 1.100 / 1. 1.100 > libpostproc53. 3.100 / 53. 3.100 > Input #0, mpegts, from 'BBC1_TS.ts': > Duration: 00:02:24.43, start: 1.40, bitrate: 1856 kb/s > Program 1 >Metadata: > service_name: Service01 > service_provider: FFmpeg >Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), > yuv420p(tv), 704x576 [SAR 16:11 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, > 90k tbn, 50 tbc >Stream #0:1[0x101](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, > stereo, s16p, 256 kb/s >Stream #0:2[0x102](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) > [mpegts @ 0x2394e80] sub2video: using 704x576 canvas > [libx264 @ 0x23c3f00] using SAR=16/11 > [libx264 @ 0x23c3f00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX > AVX2 FMA3 LZCNT BMI2 > [libx264 @ 0x23c3f00] profile Constrained Baseline, level 3.0 > Output #0, avi, to 'copy.avi': > Metadata: >ISFT: Lavf56.15.102 >Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 704x576 > [SAR 16:11 DAR 16:9], q=-1--1, 25 fps, 25 tbn, 25 tbc (default) >Metadata: > encoder : Lavc56.13.100 libx264 > Stream mapping: > Stream #0:0 (mpeg2video) -> overlay:main > Stream #0:2 (dvbsub) -> overlay:overlay > overlay -> Stream #0:0 (libx264) > Press [q] to stop, [?] for help > sub2video: rectangle overflowing >Last message repeated 1 times > sub2video: rectangle overflowing 711kB time=00:00:04.04 > bitrate=1441.9kbits/s >Last message repeated 2 times > sub2video: rectangle overflowing2013kB time=00:00:13.00 > bitrate=1268.3kbits/s >Last message repeated 1 times > sub2video: rectangle overflowing2769kB time=00:00:17.52 > bitrate=1294.5kbits/s >Last message repeated 1 times > sub2video: rectangle overflowing3433kB
Re: [FFmpeg-user] Input: Transport stream with DVB subtitles, output: Any format with the subtitles burned in
Carlos Fernandez yo.tv> writes: > ffmpeg version 2.5.10-0ubuntu0.15.04.1 Please test current FFmpeg git head. 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] Issue with slicing QT videos
Chandru galaxykms.com> writes: > |ffmpeg.exe -i "input.mp4" ss startTime -c copy -to stopTime -y > "output.mp4" | Your input file is a mov with pcm_s16le, mp4 - which you requested as output format - does not support pcm_s16le. In the future, do not post screen shots, always post your command line including complete, uncut console output when asking for help 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] Could not write header for output file #0 (incorrect codec parameters ?):
On Thu, Jun 23, 2016 at 4:00 PM, juan carlos Rebatewrote: > according to the standard, html5 the mp4 format is ideal for this purpose, > many companies that previously used flash html5 technology now used in mp4 > format, so again I say that is because ffmpeg > You need to understand that live streaming video, and pre-encoded play-on-demand video are very different things. mp4 is indeed great for html5, but it is not streamed live. You can use mp4 for live streaming IF THE VIDEO IS IN CHUNKED FORMAT. This means the video is chopped up into small little mp4 files that are maybe a few seconds long each. You can't just load this into an html5 video tag, you have to use the javascript Media Source Extensions API in order to manage downloading and chaining all these little mp4 chunks together into a continuous video feed. You can't stream mp4 format in the same sense as RTP, MPEG-TS, or RTMP. MP4 files require an "moov atom" that gives info about the file, including how long it is. Well, you have no way to know how long it is till the video is finished encoding, so you can't use it live. This is also why "web optimized" mp4 files move the "moov atom" to the front of the file, so that it is the first atom that is read when downloading an on-demand-video, so that it can start decoding before the file is finished downloading. Otherwise if has to download the whole thing before it can play it because by default the moov atom is placed at the end of the file. Hopefully you understand why the moov atom creates an problem with live video that is not done encoding. The chunked videos get around this by the short little mp4 videos being self-contained with each including it's moov atom. This is the second time I've told you about Media Source Extensions. Seriously, do some reading. https://www.smashingmagazine.com/2016/04/html5-media-source-extensions-bringing-production-video-web/ -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".
[FFmpeg-user] Input: Transport stream with DVB subtitles, output: Any format with the subtitles burned in
Hi, From a BBC1 capture in TS format that comes with DVB subtitles I'm trying to generate a file that has the subtitles burned in. The final use case is a bit more complex in that it has to be live streams but let's forget about that for now. A sample recording called BBC1.ts exists, and I want to create a file called BBC1_burned_in.avi that that the subtitles burned-in. The actual output format is not important, I'm using .avi here as that's what someone trying the same thing was using. Also tried generating a TS with no change. Anyway, I'm using the following (tried other variants including scaling the subtitles, as someone suggested in IRC, all of them have the same result): ffmpeg -i BBC1_TS.ts -filter_complex "[0:v][0:s]overlay[v]" -map "[v]" -vcodec libx264 -preset ultrafast -x264opts keyint=100:min-keyint=50 -threads -0 -f avi BBC1_burned_in.avi And I get an error "sub2video: rectangle overflowing" which appears a number of times. This is the output: $ ffmpeg -i BBC1_TS.ts -filter_complex "[0:v][0:s]overlay[v]" -map "[v]" -vcodec libx264 -preset ultrafast -x264opts keyint=100:min-keyint=50 -threads -0 -f avi copy.avi ffmpeg version 2.5.10-0ubuntu0.15.04.1 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.9.2 (Ubuntu 4.9.2-10ubuntu13) configuration: --prefix=/usr --extra-version=0ubuntu0.15.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --shlibdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --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-libschroedinger --enable-libshine --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libwavpack --enable-libwebp --enable-libxvid --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzvbi --enable-libzmq --enable-frei0r --enable-libvpx --enable-libx264 --enable-libsoxr --enable-gnutls --enable-openal --enable-libopencv --enable-librtmp --enable-libx265 libavutil 54. 15.100 / 54. 15.100 libavcodec 56. 13.100 / 56. 13.100 libavformat56. 15.102 / 56. 15.102 libavdevice56. 3.100 / 56. 3.100 libavfilter 5. 2.103 / 5. 2.103 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc53. 3.100 / 53. 3.100 Input #0, mpegts, from 'BBC1_TS.ts': Duration: 00:02:24.43, start: 1.40, bitrate: 1856 kb/s Program 1 Metadata: service_name: Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 704x576 [SAR 16:11 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x101](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s Stream #0:2[0x102](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) [mpegts @ 0x2394e80] sub2video: using 704x576 canvas [libx264 @ 0x23c3f00] using SAR=16/11 [libx264 @ 0x23c3f00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2 [libx264 @ 0x23c3f00] profile Constrained Baseline, level 3.0 Output #0, avi, to 'copy.avi': Metadata: ISFT: Lavf56.15.102 Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 704x576 [SAR 16:11 DAR 16:9], q=-1--1, 25 fps, 25 tbn, 25 tbc (default) Metadata: encoder : Lavc56.13.100 libx264 Stream mapping: Stream #0:0 (mpeg2video) -> overlay:main Stream #0:2 (dvbsub) -> overlay:overlay overlay -> Stream #0:0 (libx264) Press [q] to stop, [?] for help sub2video: rectangle overflowing Last message repeated 1 times sub2video: rectangle overflowing 711kB time=00:00:04.04 bitrate=1441.9kbits/s Last message repeated 2 times sub2video: rectangle overflowing2013kB time=00:00:13.00 bitrate=1268.3kbits/s Last message repeated 1 times sub2video: rectangle overflowing2769kB time=00:00:17.52 bitrate=1294.5kbits/s Last message repeated 1 times sub2video: rectangle overflowing3433kB time=00:00:21.88 bitrate=1285.4kbits/s Last message repeated 1 times sub2video: rectangle overflowing4112kB time=00:00:26.44 bitrate=1273.9kbits/s sub2video: rectangle overflowing4797kB time=00:00:30.96 bitrate=1269.3kbits/s Last message repeated 2 times sub2video: rectangle overflowing5385kB time=00:00:35.44 bitrate=1244.8kbits/s sub2video: rectangle overflowing6061kB time=00:00:40.12 bitrate=1237.6kbits/s Last message repeated 1 times sub2video: rectangle overflowing6610kB time=00:00:44.72
[FFmpeg-user] Issue with slicing QT videos
Hi, We use|ffmpeg|in one of our applications to slice videos. While it's working fine for slicing PAL videos, it is not working for QT videos... Here's the command we use: |ffmpeg.exe -i "input.mp4" ss startTime -c copy -to stopTime -y "output.mp4" | Program trace with errors attached. The input videos are created by a solid state digital video recording system which records videos from following Input channels: 6 channels of videos input (DVI-4No.s, PAL-2No.s) 2 channels of audio input (Left & Right) 2 channels of MIL STD 1553B bus data 2 channels of RS422 data Your assistance will be highly appreciated! Rgds Chandru PS: PAL videos are getting slices without any issues -- Galaxy KM Solutions Pvt. Ltd. # 48/1, 1st Floor, 13th Cross, Off 8th Main Malleshwaram, Bangalore - 560 003 Call: +91 80 2346 0458 Cell: 98440 55490 Mail: chan...@galaxykms.com URL: www.galaxykms.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] Why the fps of concatenate video file change with old video file?
I have two wmv video file which 25fps. I concatenate these video file using ffmpeg command line like this: >ffmpeg -r 25 -f concat -i 1.txt -c copy output.wmv 1.txt: file g:\1.wmv file g:\2.wmv It works. But the fps of output.wmv is 30. How can I maintain the fps of concatenate video file? -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Why-the-fps-of-concatenate-video-file-change-with-old-video-file-tp4676456.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".