Re: [FFmpeg-user] Reading Tempo/BPM information from audio files
On Mon, Sep 17, 2018 at 15:19:50 +0100, Adam Harries wrote: > After some more digging, it seems that I need to set some options while > decoding a mov file - at least from reading > https://ffmpeg.org/doxygen/trunk/mov_8c_source.html > > How would I go about doing this? I'm happy to build a new application based > on libavformat, but I'm not sure how to interface with it cleanly. As far as I can tell from a quick glance, MP4/M4A stores the BPM number in the "tmpo" atom. libavformat/movenc.c has the capability to *write* this atom (I'm not sure ffmpeg makes any effort to convert "BPM" to "tmpo" anywhere though), but I don't see any code for *reading* the atom. I may misunderstand the way the MOV demuxer works though... With some code fiddling, I managed to make libavformat/mov.c recognize the atom (mov_read_udta_string()), but didn't manage to decode it (with the very little effort I put into it). Cheers, 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] Timestamp for variable frame rate (VFR ) video
> Drawtext filter already have timecode you want, and its in all in documentation. Yes, there is a timecode option for the drawtext command, creating a SMPTE, but using it you have to supply an fixed framerate, which is then used to produce the SMPTE. This is not the right aprpoach for VFR video. I consciously used the word timestamp in the subject heading. As there seems to be confusion about the terminology: I would like to display the exact time where the frame has to be placed in the timeline, such that I can calculate the speed of the passenger car, which ran into an accident. Wolfgang Hugemann ___ 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] Problems playing mjpeg stream at different bitrates
> I tested the two streams you provided with vlc 3.0.4 and both behave exactly > as with FFmpeg (which is generally expected). > Did you test another version? But one of the files is working with FFplay, right? We tested with VLC 2.2.6. > More important though: > But you did not comment on the main point of my reply: Why do you want to add > a (possibly difficult) work-around for a > broken encoder: Don't you control the encoder as well? Can't you fix it? So the problem with the COM marker is about the encoder. Are you sure it's an encoder problem, on both streams? Why then does one play and the other not at FFplay? We can't change the encoder. Thanks, Fabian ___ 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] Timestamp for variable frame rate (VFR ) video
On 9/17/18, Wolfgang Hugemann wrote: >> You want timecode and not pts, look at >> drawtext manual. > > You may assume that I already did that. > > IMHO, the main issue is not drawtext, but where to get the text from. > There only a few ready-made options, all other information has to be > drawn from metadata provided by some other source. > > For example, if you want to print the SMPTE derived from VITC, you use > something like: > > -vf "readvitc:drawtext=text=%%{metadata\\:lavfi.readvitc.tc_str}" > > Thus if you want to write a timecode / timestamp on the video, you will > probably have to use a certain filer that can provide this information. > > Any ideas? Drawtext filter already have timecode you want, and its in all in documentation. If you really want timecode and not something else. ___ 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] Query regarding the unblur filter
Hello, Is it possible to make the unblur filter multi threaded? Thank you. Best regards, Shaji Baig Sent from my iPhone ___ 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] Question about conversion (Transcoding)
JD wrote: ffprobe version N-51556-ge278500 Copyright (c) 2007-2013 the FFmpeg developers This is a very old version! Please update to the latest release or, even better, to the HEAD. 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] Timestamp for variable frame rate (VFR ) video
2018-09-18 18:34 GMT+02:00, Wolfgang Hugemann : > ffmpeg -y -vsync 2 -i "concat:25.avi|50.avi" test.mp4 This produces an invalid file as FFmpeg does not create fully compliant vfr mp4 files (that is at least what Baptiste, the author of the relevant code, claims). Please tell us more about the properties of your actual input file to give us a chance to help you. 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] Question about conversion (Transcoding)
On 09/18/2018 11:01 AM, Kieran O Leary wrote: Hi On Tue, 18 Sep 2018, 17:57 JD, wrote: I have an mpeg2 file which I am trying to convert to a dvd iso. I am using dvdauthor to do it. dvdauthor says the file is not mpeg2 video compatible. When I run ffprobe on the file, I get this ffprobe /usr/tmp/title_3-09h31m23s.mpg ffprobe version N-51556-ge278500 Copyright (c) 2007-2013 the FFmpeg developers built on Apr 4 2013 05:11:43 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. 24.100 / 52. 24.100 libavcodec 55. 2.100 / 55. 2.100 libavformat55. 1.100 / 55. 1.100 libavdevice55. 0.100 / 55. 0.100 libavfilter 3. 49.100 / 3. 49.100 libswscale 2. 2.100 / 2. 2.100 libswresample 0. 17.102 / 0. 17.102 libpostproc52. 2.100 / 52. 2.100 [mpeg @ 0xab1d7c0] max_analyze_duration 500 reached at 5024000 microseconds [mpeg @ 0xab1d7c0] Could not find codec parameters for stream 1 (Audio: ac3, 0 channels): unspecified sample format Consider increasing the value for the 'analyzeduration' and 'probesize' options Something seems wrong with this stream. [NULL @ 0xab1e760] start time is not set in estimate_timings_from_pts Input #0, mpeg, from '/usr/tmp/title_3-09h31m23s.mpg': Duration: 02:10:42.11, start: 45337.301611, bitrate: 5391 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 29.97 fps, 59.92 tbr, 90k tbn, 59.94 tbc Stream #0:1[0x20]: Audio: ac3, 0 channels Do you intend to have a zero channel ac3 file in here? If you remove it when using the -map options, does dvdauthour still throw up the same error? Best, Kieran I had copied it from an old source dvd from a friend using one of the linux tools/utils, Iike bombono-dvd or some such utility. The dvd has long been lost. Perhaps he had tossed it out to the trash by mistake. But I want to play the file on a DVD player, and thus wanted to convert it to dvd format. So, I cannot re-create the file :( ___ 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] Question about conversion (Transcoding)
2018-09-18 18:50 GMT+02:00, JD : > I have an mpeg2 file which I am trying to convert to a dvd iso. > > I am using dvdauthor to do it. > dvdauthor says the file is not mpeg2 video compatible. > > When I run ffprobe on the file, I get this > > ffprobe /usr/tmp/title_3-09h31m23s.mpg > ffprobe version N-51556-ge278500 Copyright (c) 2007-2013 the FFmpeg > developers >built on Apr 4 2013 05:11:43 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. 24.100 / 52. 24.100 >libavcodec 55. 2.100 / 55. 2.100 >libavformat55. 1.100 / 55. 1.100 >libavdevice55. 0.100 / 55. 0.100 >libavfilter 3. 49.100 / 3. 49.100 >libswscale 2. 2.100 / 2. 2.100 >libswresample 0. 17.102 / 0. 17.102 >libpostproc52. 2.100 / 52. 2.100 > [mpeg @ 0xab1d7c0] max_analyze_duration 500 reached at 5024000 > microseconds > [mpeg @ 0xab1d7c0] Could not find codec parameters for stream 1 (Audio: > ac3, 0 channels): unspecified sample format > Consider increasing the value for the 'analyzeduration' and 'probesize' > options > [NULL @ 0xab1e760] start time is not set in estimate_timings_from_pts > Input #0, mpeg, from '/usr/tmp/title_3-09h31m23s.mpg': >Duration: 02:10:42.11, start: 45337.301611, bitrate: 5391 kb/s > Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR > 32:27 DAR 16:9], 29.97 fps, 59.92 tbr, 90k tbn, 59.94 tbc > Stream #0:1[0x20]: Audio: ac3, 0 channels > Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s > > So, how do I convert this file to a DVD compatible mpeg2 file? Please try the following: $ ffmpeg -i title_3-09h31m23s.mpg -target ntsc-dvd -acodec copy out.mpg If it does not work, you can try to remove "-acodec copy". Note that all dvd players I have seen also play the resulting mpg file if I simply put it on a dvd (without using dvdauthor). You could also test with "-acodec copy -vcodec copy" to maximize quality. 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] Question about conversion (Transcoding)
On 09/18/2018 12:53 PM, Carl Eugen Hoyos wrote: 2018-09-18 18:50 GMT+02:00, JD : I have an mpeg2 file which I am trying to convert to a dvd iso. I am using dvdauthor to do it. dvdauthor says the file is not mpeg2 video compatible. When I run ffprobe on the file, I get this ffprobe /usr/tmp/title_3-09h31m23s.mpg ffprobe version N-51556-ge278500 Copyright (c) 2007-2013 the FFmpeg developers built on Apr 4 2013 05:11:43 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. 24.100 / 52. 24.100 libavcodec 55. 2.100 / 55. 2.100 libavformat55. 1.100 / 55. 1.100 libavdevice55. 0.100 / 55. 0.100 libavfilter 3. 49.100 / 3. 49.100 libswscale 2. 2.100 / 2. 2.100 libswresample 0. 17.102 / 0. 17.102 libpostproc52. 2.100 / 52. 2.100 [mpeg @ 0xab1d7c0] max_analyze_duration 500 reached at 5024000 microseconds [mpeg @ 0xab1d7c0] Could not find codec parameters for stream 1 (Audio: ac3, 0 channels): unspecified sample format Consider increasing the value for the 'analyzeduration' and 'probesize' options [NULL @ 0xab1e760] start time is not set in estimate_timings_from_pts Input #0, mpeg, from '/usr/tmp/title_3-09h31m23s.mpg': Duration: 02:10:42.11, start: 45337.301611, bitrate: 5391 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 29.97 fps, 59.92 tbr, 90k tbn, 59.94 tbc Stream #0:1[0x20]: Audio: ac3, 0 channels Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s So, how do I convert this file to a DVD compatible mpeg2 file? Please try the following: $ ffmpeg -i title_3-09h31m23s.mpg -target ntsc-dvd -acodec copy out.mpg If it does not work, you can try to remove "-acodec copy". Note that all dvd players I have seen also play the resulting mpg file if I simply put it on a dvd (without using dvdauthor). You could also test with "-acodec copy -vcodec copy" to maximize quality. Carl Eugen Hi Carl, Thank you for the tip. I am getting the following output from ffmpeg: seems to indicate some problem with my mpg file!!! Notice that output file has -V2 in it's name to indicate that it is version 2. ffmpeg -i /usr/tmp/title_3-09h31m23s.mpg -target ntsc-dvd -acodec copy -vcodec copy /usr/tmp/title_3-09h31m23s-V2.mpg ffmpeg version N-88150-gae100046ca-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2017 the FFmpeg developers built with gcc 6.4.0 (Debian 6.4.0-8) 20171010 configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg libavutil 56. 0.100 / 56. 0.100 libavcodec 58. 0.100 / 58. 0.100 libavformat58. 0.100 / 58. 0.100 libavdevice58. 0.100 / 58. 0.100 libavfilter 7. 0.100 / 7. 0.100 libswscale 5. 0.100 / 5. 0.100 libswresample 3. 0.100 / 3. 0.100 libpostproc55. 0.100 / 55. 0.100 [mpeg @ 0x48a3e80] start time for stream 1 is not set in estimate_timings_from_pts [mpeg @ 0x48a3e80] Could not find codec parameters for stream 1 (Audio: ac3, 0 channels): unspecified sample format Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mpeg, from '/usr/tmp/title_3-09h31m23s.mpg': Duration: 02:10:42.14, start: 45337.301611, bitrate: 5391 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, smpte170m, top first), 720x480 [SAR 32:27 DAR 16:9], Closed Captions, 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc Stream #0:1[0x20]: Audio: ac3, 0 channels Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s [dvd @ 0x48ab2e0] VBV buffer size not set, using default size of 130KB If you want the mpeg file to be compliant to some specification Like DVD, VCD or others, make sure you set the correct
Re: [FFmpeg-user] FFMPEG Symbol Lookup Error
try running $ sudo ldconfig open a fresh shell session and try ffmpeg again. > On Sep 18, 2018, at 6:44 56AM, Abhijit Nathwani > wrote: > > Hi, > > I installed FFMPEG v3.4.4 via apt-get on Ubuntu 16.04 and on running it, > I'm facing the symbol lookup error while running it. > > abhijit@AHMCPU2092:~$ ffmpeg > ffmpeg: symbol lookup error: /usr/lib/x86_64-linux-gnu/libavcodec.so.57: > undefined symbol: opus_multistream_surround_encoder_create > > I have installed all the opus* and libopus* globs packages available. Still > I cannot understand the cause and solution to the problem. > > Regards, > Abhijit Nathwani > ___ > 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".
[FFmpeg-user] Timestamp for variable frame rate (VFR ) video
> If the input file has the correct timestamps, then the pts function is what > you need - it is not a "frame counter". You can format the output like > shown at https://video.stackexchange.com/a/21907/1871 This had been my original approach, see my first e-mail. But the time displayed (blended in) then strictly corresponded to CFR, although the vfrdet filter (and the observation of the video itself) proofed differently. (Same thing with ffprobe and best_effort_timestamp_time.) Perhaps I shoulf first generate a VBR test video with known framerates ... How could I possibly concatenate two videos with different framerate into one with VFR? I tried ffmpeg -y -vsync 2 -i "concat:25.avi|50.avi" test.mp4 with different values for vsync, but it seems that the first input video settles the (constant) framerate of the output, i.e. 25 fps in the above example. Any ideas? Wolfgang Hugemann ___ 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] Question about conversion (Transcoding)
I have an mpeg2 file which I am trying to convert to a dvd iso. I am using dvdauthor to do it. dvdauthor says the file is not mpeg2 video compatible. When I run ffprobe on the file, I get this ffprobe /usr/tmp/title_3-09h31m23s.mpg ffprobe version N-51556-ge278500 Copyright (c) 2007-2013 the FFmpeg developers built on Apr 4 2013 05:11:43 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. 24.100 / 52. 24.100 libavcodec 55. 2.100 / 55. 2.100 libavformat55. 1.100 / 55. 1.100 libavdevice55. 0.100 / 55. 0.100 libavfilter 3. 49.100 / 3. 49.100 libswscale 2. 2.100 / 2. 2.100 libswresample 0. 17.102 / 0. 17.102 libpostproc52. 2.100 / 52. 2.100 [mpeg @ 0xab1d7c0] max_analyze_duration 500 reached at 5024000 microseconds [mpeg @ 0xab1d7c0] Could not find codec parameters for stream 1 (Audio: ac3, 0 channels): unspecified sample format Consider increasing the value for the 'analyzeduration' and 'probesize' options [NULL @ 0xab1e760] start time is not set in estimate_timings_from_pts Input #0, mpeg, from '/usr/tmp/title_3-09h31m23s.mpg': Duration: 02:10:42.11, start: 45337.301611, bitrate: 5391 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 29.97 fps, 59.92 tbr, 90k tbn, 59.94 tbc Stream #0:1[0x20]: Audio: ac3, 0 channels Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s So, how do I convert this file to a DVD compatible mpeg2 file? ___ 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] Question about conversion (Transcoding)
Hi On Tue, 18 Sep 2018, 17:57 JD, wrote: > I have an mpeg2 file which I am trying to convert to a dvd iso. > > I am using dvdauthor to do it. > dvdauthor says the file is not mpeg2 video compatible. > > When I run ffprobe on the file, I get this > > ffprobe /usr/tmp/title_3-09h31m23s.mpg > ffprobe version N-51556-ge278500 Copyright (c) 2007-2013 the FFmpeg > developers >built on Apr 4 2013 05:11:43 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. 24.100 / 52. 24.100 >libavcodec 55. 2.100 / 55. 2.100 >libavformat55. 1.100 / 55. 1.100 >libavdevice55. 0.100 / 55. 0.100 >libavfilter 3. 49.100 / 3. 49.100 >libswscale 2. 2.100 / 2. 2.100 >libswresample 0. 17.102 / 0. 17.102 >libpostproc52. 2.100 / 52. 2.100 > [mpeg @ 0xab1d7c0] max_analyze_duration 500 reached at 5024000 > microseconds > [mpeg @ 0xab1d7c0] Could not find codec parameters for stream 1 (Audio: > ac3, 0 channels): unspecified sample format > Consider increasing the value for the 'analyzeduration' and 'probesize' > options > Something seems wrong with this stream. [NULL @ 0xab1e760] start time is not set in estimate_timings_from_pts > Input #0, mpeg, from '/usr/tmp/title_3-09h31m23s.mpg': >Duration: 02:10:42.11, start: 45337.301611, bitrate: 5391 kb/s > Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR > 32:27 DAR 16:9], 29.97 fps, 59.92 tbr, 90k tbn, 59.94 tbc > Stream #0:1[0x20]: Audio: ac3, 0 channels > Do you intend to have a zero channel ac3 file in here? If you remove it when using the -map options, does dvdauthour still throw up the same error? Best, Kieran ___ 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] Timestamp for variable frame rate (VFR ) video
> Please tell us more about the properties of your actual > input file to give us a chance to help you. I would supply it by link, but I can't: It shows a video taken by a surveillance camera prior to a vehicular accident, and I am obliged to keep it secret. It shows the video running on a computer screen, filmed by a mobile phone camera and then transferred via WhatsApp. These people have ideas ... Nevertheless, I have just read that most mobile phone cameras record VFR video and I have just proven that to be correct for my mobile phone camera. I will produce some demo videos, showing a turntable or alike (i.e. something moving or turning at constant speed), which will let me allow to check how correctly ffmpeg deals with VFR video. These videos can then be easily provided, if necessary. I will inform you about the results. Thanks for your help so far! Wolfgang Hugemann ___ 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] Timestamp for variable frame rate (VFR ) video
2018-09-18 22:25 GMT+02:00, Wolfgang Hugemann : >> Please tell us more about the properties of your actual >> input file to give us a chance to help you. > > I would supply it by link, but I can't: It shows a video taken by a > surveillance camera prior to a vehicular accident, and I am obliged to > keep it secret. What I asked for was ffmpeg -i output for the file. 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] Question about conversion (Transcoding)
2018-09-18 21:26 GMT+02:00, JD : > I am getting the following output from ffmpeg: > seems to indicate some problem with my mpg file!!! Not necessarily: Does the output file work in your dvd player? 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] Question about conversion (Transcoding)
On 09/18/2018 02:31 PM, Carl Eugen Hoyos wrote: 2018-09-18 21:26 GMT+02:00, JD : I am getting the following output from ffmpeg: seems to indicate some problem with my mpg file!!! Not necessarily: Does the output file work in your dvd player? Carl Eugen I have not tried it yet, because it is still transcoding as per your suggestion. Will reply to you again after I have tried 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] FFMPEG Symbol Lookup Error
Tried that. No good. abhijit@AHMCPU2092:~$ sudo ldconfig [sudo] password for abhijit: /sbin/ldconfig.real: /usr/lib/libgraph.so.1 is not a symbolic link abhijit@AHMCPU2092:~$ ffmpeg ffmpeg: symbol lookup error: /usr/lib/x86_64-linux-gnu/libavcodec.so.57: undefined symbol: opus_multistream_surround_encoder_create Regards, Abhijit Nathwani On Tue, Sep 18, 2018 at 9:09 PM DopeLabs wrote: > try running > > $ sudo ldconfig > > open a fresh shell session and try ffmpeg again. > > > > > On Sep 18, 2018, at 6:44 56AM, Abhijit Nathwani < > abhijit.nathw...@gmail.com> wrote: > > > > Hi, > > > > I installed FFMPEG v3.4.4 via apt-get on Ubuntu 16.04 and on running it, > > I'm facing the symbol lookup error while running it. > > > > abhijit@AHMCPU2092:~$ ffmpeg > > ffmpeg: symbol lookup error: /usr/lib/x86_64-linux-gnu/libavcodec.so.57: > > undefined symbol: opus_multistream_surround_encoder_create > > > > I have installed all the opus* and libopus* globs packages available. > Still > > I cannot understand the cause and solution to the problem. > > > > Regards, > > Abhijit Nathwani > > ___ > > 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". ___ 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] Timestamp for variable frame rate (VFR ) video
On Tue, Sep 18, 2018 at 2:35 PM Wolfgang Hugemann wrote: > > > I would like to display the exact time where the frame has to be placed > in the timeline, such that I can calculate the speed of the passenger > car, which ran into an accident. > If the input file has the correct timestamps, then the pts function is what you need - it is not a "frame counter". You can format the output like shown at https://video.stackexchange.com/a/21907/1871 Gyan ___ 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] Problems playing mjpeg stream at different bitrates
2018-09-18 8:44 GMT+02:00, Fabian Kurt : >> I tested the two streams you provided with vlc 3.0.4 and both >> behave exactly as with FFmpeg (which is generally expected). >> Did you test another version? > > But one of the files is working with FFplay, right? "Working" is not a strictly defined term I guess, but one video (the one with "notPlaying" in the title) plays with glitches, yes. I did not verify if the glitches are the encoder's fault (as I suspect) or if there is a bug in FFmpeg. > We tested with VLC 2.2.6. Which behaves exactly like FFplay here. >> More important though: >> But you did not comment on the main point of my reply: Why do >> you want to add a (possibly difficult) work-around for a broken >> encoder: Don't you control the encoder as well? Can't you fix it? > > So the problem with the COM marker is about the encoder. Are > you sure it's an encoder problem, on both streams? (The issue only exists for one stream.) Feel free to check if the size of the COM tags is correct or wrong by several magnitudes. > Why then does one play and the other not at FFplay? The playing file does not contain COM tags;-) > We can't change the encoder. Which encoder are you using? The main question here being: How can we detect the broken encoder? 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] Timestamp for variable frame rate (VFR ) video
2018-09-17 15:19 GMT+02:00, Wolfgang Hugemann : > ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers (Apart from testing current FFmpeg) Please provide ffmpeg -i output for the stream you want to analyze. 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] FFMPEG Symbol Lookup Error
Hi, I installed FFMPEG v3.4.4 via apt-get on Ubuntu 16.04 and on running it, I'm facing the symbol lookup error while running it. abhijit@AHMCPU2092:~$ ffmpeg ffmpeg: symbol lookup error: /usr/lib/x86_64-linux-gnu/libavcodec.so.57: undefined symbol: opus_multistream_surround_encoder_create I have installed all the opus* and libopus* globs packages available. Still I cannot understand the cause and solution to the problem. Regards, Abhijit Nathwani ___ 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] H.264, keyframes and video copy
I have a problem cutting certain H.264 files in a mkv container with frame precise cuts at the keyframes, this usually works on most other formats and also on h.264 when the container is not mkv. Basically what I see is that I can take a picture at a certain keyframe, but if I try to cut a video segment it starts severals seconds late, I was quite sure it was the mkv container that contained WRONG keyframe informations, but, I've tried to re encode it with ffmpeg at a lower resolution and the problem persists, and also with a small custom program I wrote I found that I can display the frame at the second I ask using avformat/avcodec to parse the file, but I cannot get a video starting at that frame using ffmpeg command line program (git head built today). Test sample: https://www.dropbox.com/s/u5r3y31ahsodc8e/test_scaled.mkv?dl=0 (just 700kb, encoded with ffmpeg head) Here is the tool versions (I tried also with 3.4.x branch with the very same results): ffprobe version N-91972-gbd10c1e9a8 Copyright (c) 2007-2018 the FFmpeg developers built with Apple LLVM version 9.1.0 (clang-902.0.39.2) configuration: --disable-videotoolbox --disable-audiotoolbox --enable-libx264 --enable-libfdk-aac --enable-nonfree --enable-gpl libavutil 56. 19.101 / 56. 19.101 libavcodec 58. 30.100 / 58. 30.100 libavformat58. 18.101 / 58. 18.101 libavdevice58. 4.103 / 58. 4.103 libavfilter 7. 32.100 / 7. 32.100 libswscale 5. 2.100 / 5. 2.100 libswresample 3. 2.100 / 3. 2.100 libpostproc55. 2.100 / 55. 2.100 Here is the source file (the one encoded by ffmpeg): Input #0, matroska,webm, from 'test_scaled.mkv': Metadata: GENRE : fast ARTIST : skyde1_FULLHD ENCODER : Lavf57.83.100 Duration: 00:00:17.60, start: 0.00, bitrate: 355 kb/s Stream #0:0: Video: h264 (High), yuv420p(progressive), 320x180, 25 fps, 25 tbr, 1k tbn, 50 tbc (default) Metadata: ENCODER : Lavc57.107.100 libx264 DURATION: 00:00:17.6 This is the frame I want to cut from (as reported by ffprobe): ~/projects/ffmpeg-head/ffprobe -show_frames test_scaled.mkv [ a few FRAME cutted from output ... ] [FRAME] media_type=video stream_index=0 key_frame=1 pkt_pts=9440 pkt_pts_time=9.44 pkt_dts=9440 pkt_dts_time=9.44 best_effort_timestamp=9440 best_effort_timestamp_time=9.44 pkt_duration=40 pkt_duration_time=0.04 pkt_pos=458874 pkt_size=9291 width=320 height=180 pix_fmt=yuv420p sample_aspect_ratio=N/A pict_type=I coded_picture_number=236 display_picture_number=0 interlaced_frame=0 top_field_first=0 repeat_pict=0 color_range=unknown color_space=unknown color_primaries=unknown color_transfer=unknown chroma_location=left [/FRAME] Here is the ffmpeg operation to get the image at 9.44000 (if I place -ss before or after the input file the image is the same) (output available at https://www.dropbox.com/s/kqw9el2lxiemsk1/test_scaled.jpg?dl=0 ) ~/projects/ffmpeg-head/ffmpeg -y -i test_scaled.mkv -ss 9.44 -vframes 1 test_scaled.jpg ffmpeg version N-91972-gbd10c1e9a8 Copyright (c) 2000-2018 the FFmpeg developers built with Apple LLVM version 9.1.0 (clang-902.0.39.2) configuration: --disable-videotoolbox --disable-audiotoolbox --enable-libx264 --enable-libfdk-aac --enable-nonfree --enable-gpl libavutil 56. 19.101 / 56. 19.101 libavcodec 58. 30.100 / 58. 30.100 libavformat58. 18.101 / 58. 18.101 libavdevice58. 4.103 / 58. 4.103 libavfilter 7. 32.100 / 7. 32.100 libswscale 5. 2.100 / 5. 2.100 libswresample 3. 2.100 / 3. 2.100 libpostproc55. 2.100 / 55. 2.100 Input #0, matroska,webm, from 'test_scaled.mkv': Metadata: GENRE : fast ARTIST : skyde1_FULLHD ENCODER : Lavf57.83.100 Duration: 00:00:17.60, start: 0.00, bitrate: 355 kb/s Stream #0:0: Video: h264 (High), yuv420p(progressive), 320x180, 25 fps, 25 tbr, 1k tbn, 50 tbc (default) Metadata: ENCODER : Lavc57.107.100 libx264 DURATION: 00:00:17.6 Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native)) Press [q] to stop, [?] for help [swscaler @ 0x7fb874845a00] deprecated pixel format used, make sure you did set range correctly Output #0, image2, to 'test_scaled.jpg': Metadata: GENRE : fast ARTIST : skyde1_FULLHD encoder : Lavf58.18.101 Stream #0:0: Video: mjpeg, yuvj420p(pc), 320x180, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default) Metadata: DURATION: 00:00:17.6 encoder : Lavc58.30.100 mjpeg Side data: cpb: bitrate max/min/avg: 0/0/20 buffer size: 0 vbv_delay: -1 frame=1 fps=0.0 q=3.6 Lsize=N/A time=00:00:00.04 bitrate=N/A speed=0.757x video:9kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Here is the operation I use to create a video from 9.44 (output
Re: [FFmpeg-user] Reading Tempo/BPM information from audio files
On Tue, Sep 18, 2018 at 09:59:03 +0200, Moritz Barsnick wrote: > On Mon, Sep 17, 2018 at 15:19:50 +0100, Adam Harries wrote: > > After some more digging, it seems that I need to set some options while > > decoding a mov file - at least from reading > > https://ffmpeg.org/doxygen/trunk/mov_8c_source.html > > > > How would I go about doing this? I'm happy to build a new application based > > on libavformat, but I'm not sure how to interface with it cleanly. > > As far as I can tell from a quick glance, MP4/M4A stores the BPM number > in the "tmpo" atom. libavformat/movenc.c has the capability to *write* > this atom (I'm not sure ffmpeg makes any effort to convert "BPM" to > "tmpo" anywhere though), but I don't see any code for *reading* the > atom. I may misunderstand the way the MOV demuxer works though... > > With some code fiddling, I managed to make libavformat/mov.c recognize > the atom (mov_read_udta_string()), but didn't manage to decode it (with > the very little effort I put into it). Actually, I was able to modify ffmpeg (or rather libavformat) to be able to understand the "tmpo" atom, but I'm not sure to which "key" to map it ("tmpo", "bpm", "BPM", "TBPM", and whether its key needs to be remapped when conveying the metadata to another output format. Moritz P.S.: 2 BPM seems quite slow for Count Basie's music! What do other tool report the tag as containing? ___ 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".