Re: [FFmpeg-user] Weird crackling sound when muxing with an existing WAV file
2017-01-31 22:13 GMT+01:00 Michael Heuberger: > Would love to, but my problem is that I am Deaf. So, I won't be able > to test and reproduce this on my machine. Don't hear anything. Then please provide an input sample, so I can test. And please do not top-post here if you want my help. 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 ffmpeg command
2017-01-31 19:41 GMT+01:00 Rodrigo Macedo Aguiar: > I am remapping audio channels from a MXF file that contains a CC (closed > caption) data Please provide such a sample. 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] Compile Error - libvpx
On Tue, 31 Jan 2017 14:40:07 + Kent Scottwrote: > Trying to follow the instructions found here -> > https://trac.ffmpeg.org/wiki/CompilationGuide/Centos#CompilationInstallation > > Under the section for libvpx, when running make, I get the following error: > > [CXX] test/level_test.cc.o > [CXX] test/lpf_test.cc.o > [CXX] test/minmax_test.cc.o > [CXX] test/partial_idct_test.cc.o > test/partial_idct_test.cc: In function > ‘int16_t::MaxSupportedCoeff(void (*)(const tran_low_t*, uint8_t*, > int, int))’: > test/partial_idct_test.cc:63: error: address of overloaded function with no > contextual type information > test/partial_idct_test.cc:64: error: address of overloaded function with no > contextual type information > test/partial_idct_test.cc: In function > ‘int16_t::MinSupportedCoeff(void (*)(const tran_low_t*, uint8_t*, > int, int))’: > test/partial_idct_test.cc:75: error: address of overloaded function with no > contextual type information > test/partial_idct_test.cc:76: error: address of overloaded function with no > contextual type information > test/partial_idct_test.cc: At global scope: [...] > test/partial_idct_test.cc:620: error: no matching function for call to > ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), overloaded function type>, , TX_SIZE, > int, int, int)’ > make[1]: *** [test/partial_idct_test.cc.o] Error 1 > make: *** [.DEFAULT] Error 2 > > I am unsure why I would get this error. As an fyi, I am running on CentOS 6.8. Works for me using current libvpx master branch. I can't duplicate this libvpx issue (it's not an issue from FFmpeg). Although I didn't check the git log to see if anything changed today you can try updating the source and try compiling again: https://trac.ffmpeg.org/wiki/CompilationGuide/Centos#Updatelibvpx ___ 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] issue with ffmpeg command
Hi all, I am remapping audio channels from a MXF file that contains a CC (closed caption) data but in the output file this information is being lost. Can somebody please help me to figure out the correct command to keep this information in the file? Details of the file: ffmpeg.exe -i closed-caption-file.mxf ffmpeg version N-79173-gbe746ae Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.3.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --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. 19.100 / 55. 19.100 libavcodec 57. 32.100 / 57. 32.100 libavformat57. 29.101 / 57. 29.101 libavdevice57. 0.101 / 57. 0.101 libavfilter 6. 40.102 / 6. 40.102 libswscale 4. 0.100 / 4. 0.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 Guessed Channel Layout for Input Stream #0.3 : mono Guessed Channel Layout for Input Stream #0.4 : mono Guessed Channel Layout for Input Stream #0.5 : mono Guessed Channel Layout for Input Stream #0.6 : mono Guessed Channel Layout for Input Stream #0.7 : mono Guessed Channel Layout for Input Stream #0.8 : mono Input #0, mxf, from 'closed-caption-file.mxf': Metadata: uid : 70431900-4542-05c0-f017-080c generation_uid : 70431900-4542-05c0-f017-080c0001 company_name: Matrox Electronic product_name: DSX product_version : 3.00 product_uid : 060e2b34-0401-0103-0e06-012002010200 modification_date: 2016-10-26 18:21:34 material_package_umid: 0x060A2B340101010501010D00130052947134C1BE60670052947134C1BE00 timecode: 00:00:00;00 Duration: 00:00:39.04, start: 0.00, bitrate: 60158 kb/s Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 5 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 59.94 tbc Metadata: file_package_umid: 0x060A2B340101010501010D00130052947134C1BE60670052947134C1BE01 Stream #0:1: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D00130052947134C1BE60670052947134C1BE01 Stream #0:2: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D00130052947134C1BE60670052947134C1BE01 Stream #0:3: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D00130052947134C1BE60670052947134C1BE01 Stream #0:4: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D00130052947134C1BE60670052947134C1BE01 Stream #0:5: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D00130052947134C1BE60670052947134C1BE01 Stream #0:6: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D00130052947134C1BE60670052947134C1BE01 Stream #0:7: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D00130052947134C1BE60670052947134C1BE01 Stream #0:8: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s Metadata: file_package_umid: 0x060A2B340101010501010D00130052947134C1BE60670052947134C1BE01 Stream #0:9: Data: none Metadata: file_package_umid: 0x060A2B340101010501010D00130052947134C1BE60670052947134C1BE01 data_type : vbi_vanc_smpte_436M I am trying this command below: ffmpeg.exe -i closed-caption-file.mxf -map 0:0 -map 0:1 -map 0:2 -map 0:3 -map 0:4 -map 0:5 -map 0:5 -map 0:5 -map 0:5 -map 0:7 -map 0:8 -map 0:9 -c copy closed-caption-file-out.mxf C:\ffmpeg>ffmpeg.exe -i closed-caption-file.mxf -map 0:0 -map 0:1 -map 0:2 -map 0:3 -map 0:4 -map 0:5 -map 0:5 -map 0:5 -map 0:5 -map 0:7 -map 0:8 -map 0:9 -c copy closed-caption-file-out.mxf ffmpeg version N-79173-gbe746ae Copyright (c) 2000-2016 the
[FFmpeg-user] Compile Error - libvpx
Trying to follow the instructions found here -> https://trac.ffmpeg.org/wiki/CompilationGuide/Centos#CompilationInstallation Under the section for libvpx, when running make, I get the following error: [CXX] test/level_test.cc.o [CXX] test/lpf_test.cc.o [CXX] test/minmax_test.cc.o [CXX] test/partial_idct_test.cc.o test/partial_idct_test.cc: In function ‘int16_t::MaxSupportedCoeff(void (*)(const tran_low_t*, uint8_t*, int, int))’: test/partial_idct_test.cc:63: error: address of overloaded function with no contextual type information test/partial_idct_test.cc:64: error: address of overloaded function with no contextual type information test/partial_idct_test.cc: In function ‘int16_t::MinSupportedCoeff(void (*)(const tran_low_t*, uint8_t*, int, int))’: test/partial_idct_test.cc:75: error: address of overloaded function with no contextual type information test/partial_idct_test.cc:76: error: address of overloaded function with no contextual type information test/partial_idct_test.cc: At global scope: test/partial_idct_test.cc:418: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:420: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:422: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:424: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:426: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:428: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:430: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:432: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:434: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:436: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:438: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:440: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:579: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:581: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:583: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:585: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:587: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:589: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:591: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:593: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:595: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:597: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:599: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:601: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:612: error: no matching function for call to ‘make_tuple(void (*)(const int16_t*, tran_low_t*, int), , , TX_SIZE, int, int, int)’ test/partial_idct_test.cc:614:
Re: [FFmpeg-user] Weird crackling sound when muxing with an existing WAV file
Thanks for your offer Carl. Would love to, but my problem is that I am Deaf. So, I won't be able to test and reproduce this on my machine. Don't hear anything. It is just feedback from www.videomail.io clients ... I could send the command with PCM files alone for someone else to test the converted audio alone. Anyone interested to assist me here? Maybe you Carl? Happy to donate for few beers :) Cheers Michael On 31/01/17 22:54, Carl Eugen Hoyos wrote: 2017-01-30 21:53 GMT+01:00 Michael Heuberger: ffmpeg version 3.0.5-0ubuntu0.16.10.1 Copyright (c) 2000-2016 the FFmpeg Please test current FFmpeg git head. Can you find out if the issue is also reproducible if you only convert audio (no video input, no video output)? What about mp2, ac3 or aac? Please avoid top-posting here. Thank 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". -- Binary Kitchen Michael Heuberger 1/33 Parrish Road Sandringham Auckland 1025 (New Zealand) Mobile (text only) ... +64 21 261 89 81 Email mich...@binarykitchen.com Website .. http://www.binarykitchen.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] Convert MPEG-PS progressive to Interlaced
2017-01-31 16:14 GMT+01:00 Andy Furniss: >>> ffmpeg.exe -y -i INPUT_FILE -c:v mpeg2video -flags +ildct+ilme -vf >>> scale=interl=1,tinterlace=merge,fieldorder=tff OUTPUT_FILE > Sorry for doubting - should have tried first, so this command will > produce 422 from 420. But will also result in double height on the > stream I tested with (= the field coded stream I linked to earlier). It doesn't for him because he is using another kind of input stream. Please try to avoid the guesses here, just request console output (and / or input samples). 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] Convert MPEG-PS progressive to Interlaced
Andy Furniss wrote: kumar vikram wrote: But the op specifically asked for field-encoding. Note to everybody (including me): Please try not to guess - if the op still needs the information, he can post his command line and console output and we can try to answer. ffmpeg.exe -y -i INPUT_FILE -c:v mpeg2video -flags +ildct+ilme -vf scale=interl=1,tinterlace=merge,fieldorder=tff OUTPUT_FILE You forgot the output - also I doubt this would make 422 from 420 so it's not the command that made the analyzed stream? Sorry for doubting - should have tried first, so this command will produce 422 from 420. But will also result in double height on the stream I tested with (= the field coded stream I linked to earlier). ___ 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] Convert MPEG-PS progressive to Interlaced
kumar vikram wrote: But the op specifically asked for field-encoding. Note to everybody (including me): Please try not to guess - if the op still needs the information, he can post his command line and console output and we can try to answer. ffmpeg.exe -y -i INPUT_FILE -c:v mpeg2video -flags +ildct+ilme -vf scale=interl=1,tinterlace=merge,fieldorder=tff OUTPUT_FILE You forgot the output - also I doubt this would make 422 from 420 so it's not the command that made the analyzed stream? If your input is mpeg2 you shouldn't need tinterlace=merge in addition Paul said to use weave and he is a dev so knows. You would only really need to weave if the input was fields and the output of ffmpeg mpeg2decoder will always be weaved. If you do need to convert 420 to 422 then scale=interl=1 is correct, but not quite right - since ilpack was removed I don't know how you would be able to get it perfect. The difference is hard to see and to do with chroma subsampling positions being different for interlaced and progressive. (mpeg2 video is not necessarily frame-based.) Okay I think I have left too much scope for confusion here. So let me just clarify a bit. Attached two snapshots from elecard stream analyzer. 1. ps_interlaced.png - is for the the I-P filed based interlaced stream. 2. ps_ffmpeg_output.png - is for the converted stream using above command. The rect marked in red is the point which is the problem. As per my understanding of the PS spec(IEC-13818-2), if picture_structure is set to 3, it means frame picture. I didn't read the spec but 3 may well be correct as frame coded interlaced is what mpeg2 interlaced streams often are. You can see it's not progressive and the field dominance of the weave is indicated. As you can see in ps_interlaced.png, the field picture_structure is set to either 1 or 2 which means top or bottom field. I have tried the above command and several other options which I could found from google. Hope someone could provide me the right solution (if any such solution exists with ffmpeg) :) As has been said ffmpeg will not make field coded interlaced but will make frame coded interlaced. ___ 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] does anyone have a working ffplay ffmpeg with SDL_mixer and SDL2 ?
hello everyone I am trying to get my ffmpeg/SDL2 code running with SDL mixer since I need more audio than only the ffmpeg streams. I manager to update the ffplay.c file to make it work in my own application, but since my app uses Mix_OpenAudio(), the subsequent calls to SDL_OpenAudio() don’t work : they give an error “device already open”. Even replacing the SDL_OpenAudio with SDL_OpenAudioDevice() doesn’t help. The device does open in that case, but no audio is played. I have found this code : http://sdl.5483.n7.nabble.com/SDL-mixer-question-td483.html#a486 but that is rather high-level and I was hoping someone might have a patched version of ffplay.c which uses SDL_mixer ? many many many thanks in advance ! jeroen ___ 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 mp3 bit rate mode
Hello DopeLabs-san, Thanks for your reply. > 2017/01/31 午後8:41、DopeLabsのメール: > > In your earlier console output for both commands... > >>> size=2344kB time=00:05:00.01 bitrate= 64.0kbits/s speed= 128x > >>> size=2344kB time=00:05:00.01 bitrate= 64.0kbits/s speed= 134x > > What method are you using to 'verify' the length? I used macOS's FInder, Windows10's explorer, Windows10's groove music, macOS's iTunes, Windows10's sinkusuperlite, mediainfo, and mpg123. Then macOS's iTunes and mpg123 show correct length. Also, mediainfo does not show duration for "$ ffmpeg -f lavfi -i sine=d=300 duration_VBR.mp3 command". > What is the ffprobe output for each of those files? With $ ffmpeg -f lavfi -i sine=d=300 duration_VBR.mp3 command: $ ffprobe -i duration_VBR.mp3 ffprobe version N-83152-gf7e9275 Copyright (c) 2007-2017 the FFmpeg developers built with Apple LLVM version 8.0.0 (clang-800.0.42.1) configuration: --prefix=/Volumes/ffmpeg_compile --pkg-config-flags=--static --disable-ffserver --enable-gpl --enable-version3 --enable-nonfree --enable-libmp3lame --enable-libfdk-aac --enable-libvo-amrwbenc --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvorbis --enable-libspeex --enable-libopus --enable-libgsm --enable-libtwolame --enable-libsoxr --enable-libwavpack --enable-libmodplug --enable-libopenjpeg --enable-libwebp --enable-libtheora --enable-libx264 --enable-libopenh264 --enable-libx265 --enable-libxvid --enable-libvpx --enable-libxavs --enable-libfreetype --enable-fontconfig --enable-libfribidi --enable-libass --enable-libbluray --enable-libvidstab --enable-libschroedinger --enable-libsnappy --enable-libzmq libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 74.100 / 57. 74.100 libavformat57. 62.100 / 57. 62.100 libavdevice57. 2.100 / 57. 2.100 libavfilter 6. 69.100 / 6. 69.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc54. 2.100 / 54. 2.100 Input #0, mp3, from 'duration_VBR.mp3': Metadata: encoder : Lavf57.62.100 Duration: 00:05:00.04, start: 0.025057, bitrate: 64 kb/s Stream #0:0: Audio: mp3, 44100 Hz, mono, s16p, 64 kb/s With $ ffmpeg -f lavfi -i sine=d=300 -write_xing 0 duration.mp3 command: $ ffprobe -i duration_CBR.mp3 ffprobe version N-83152-gf7e9275 Copyright (c) 2007-2017 the FFmpeg developers built with Apple LLVM version 8.0.0 (clang-800.0.42.1) configuration: --prefix=/Volumes/ffmpeg_compile --pkg-config-flags=--static --disable-ffserver --enable-gpl --enable-version3 --enable-nonfree --enable-libmp3lame --enable-libfdk-aac --enable-libvo-amrwbenc --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvorbis --enable-libspeex --enable-libopus --enable-libgsm --enable-libtwolame --enable-libsoxr --enable-libwavpack --enable-libmodplug --enable-libopenjpeg --enable-libwebp --enable-libtheora --enable-libx264 --enable-libopenh264 --enable-libx265 --enable-libxvid --enable-libvpx --enable-libxavs --enable-libfreetype --enable-fontconfig --enable-libfribidi --enable-libass --enable-libbluray --enable-libvidstab --enable-libschroedinger --enable-libsnappy --enable-libzmq libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 74.100 / 57. 74.100 libavformat57. 62.100 / 57. 62.100 libavdevice57. 2.100 / 57. 2.100 libavfilter 6. 69.100 / 6. 69.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc54. 2.100 / 54. 2.100 [mp3 @ 0x7fa2fc804e00] Estimating duration from bitrate, this may be inaccurate Input #0, mp3, from 'duration_CBR.mp3': Metadata: encoder : Lavf57.62.100 Duration: 00:05:00.04, start: 0.00, bitrate: 64 kb/s Stream #0:0: Audio: mp3, 44100 Hz, mono, s16p, 64 kb/s Best Regards, // Miya aka. TougenRoushi smime.p7s Description: S/MIME cryptographic 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".
Re: [FFmpeg-user] Question about mp3 bit rate mode
In your earlier console output for both commands... >> size=2344kB time=00:05:00.01 bitrate= 64.0kbits/s speed= 128x >> size=2344kB time=00:05:00.01 bitrate= 64.0kbits/s speed= 134x What method are you using to 'verify' the length? What is the ffprobe output for each of those files? > On Jan 30, 2017, at 8:23 13AM, 桃源老師wrote: > > In Addition... > >> 2017/01/30 11:54 A.M. 桃源老師 wrote: >> >> Hello ffmpeg experts... >> >> I have question about mp3 bit rate mode. >> >> When I run the following command, the resulting duration.mp3 is VBR. I have >> confirmed it's bit rate mode with mediainfo, mpg123, and SinkuSuperLite (on >> Windows). >> >> $ ffmpeg -f lavfi -i sine=d=300 duration.mp3 >> ffmpeg version N-83152-gf7e9275 Copyright (c) 2000-2017 the FFmpeg developers >> built with Apple LLVM version 8.0.0 (clang-800.0.42.1) >> configuration: --prefix=/Volumes/ffmpeg_compile --pkg-config-flags=--static >> --disable-ffserver --enable-gpl --enable-version3 --enable-nonfree >> --enable-libmp3lame --enable-libfdk-aac --enable-libvo-amrwbenc >> --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvorbis >> --enable-libspeex --enable-libopus --enable-libgsm --enable-libtwolame >> --enable-libsoxr --enable-libwavpack --enable-libmodplug >> --enable-libopenjpeg --enable-libwebp --enable-libtheora --enable-libx264 >> --enable-libopenh264 --enable-libx265 --enable-libxvid --enable-libvpx >> --enable-libxavs --enable-libfreetype --enable-fontconfig >> --enable-libfribidi --enable-libass --enable-libbluray --enable-libvidstab >> --enable-libschroedinger --enable-libsnappy --enable-libzmq >> libavutil 55. 43.100 / 55. 43.100 >> libavcodec 57. 74.100 / 57. 74.100 >> libavformat57. 62.100 / 57. 62.100 >> libavdevice57. 2.100 / 57. 2.100 >> libavfilter 6. 69.100 / 6. 69.100 >> libswscale 4. 3.101 / 4. 3.101 >> libswresample 2. 4.100 / 2. 4.100 >> libpostproc54. 2.100 / 54. 2.100 >> Input #0, lavfi, from 'sine=d=300': >> Duration: N/A, start: 0.00, bitrate: 705 kb/s >> Stream #0:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s >> Output #0, mp3, to 'duration.mp3': >> Metadata: >> TSSE: Lavf57.62.100 >> Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, mono, s16p >> Metadata: >> encoder : Lavc57.74.100 libmp3lame >> Stream mapping: >> Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame)) >> Press [q] to stop, [?] for help >> size=2344kB time=00:05:00.01 bitrate= 64.0kbits/s speed= 128x >> video:0kB audio:2344kB subtitle:0kB other streams:0kB global headers:0kB >> muxing overhead: 0.009457% >> >> And when I run the following command, the resulting duration.mp3 is CBR. >> Confirmed with same program as above. >> >> $ ffmpeg -f lavfi -i sine=d=300 -write_xing 0 duration.mp3 >> ffmpeg version N-83152-gf7e9275 Copyright (c) 2000-2017 the FFmpeg developers >> built with Apple LLVM version 8.0.0 (clang-800.0.42.1) >> configuration: --prefix=/Volumes/ffmpeg_compile --pkg-config-flags=--static >> --disable-ffserver --enable-gpl --enable-version3 --enable-nonfree >> --enable-libmp3lame --enable-libfdk-aac --enable-libvo-amrwbenc >> --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvorbis >> --enable-libspeex --enable-libopus --enable-libgsm --enable-libtwolame >> --enable-libsoxr --enable-libwavpack --enable-libmodplug >> --enable-libopenjpeg --enable-libwebp --enable-libtheora --enable-libx264 >> --enable-libopenh264 --enable-libx265 --enable-libxvid --enable-libvpx >> --enable-libxavs --enable-libfreetype --enable-fontconfig >> --enable-libfribidi --enable-libass --enable-libbluray --enable-libvidstab >> --enable-libschroedinger --enable-libsnappy --enable-libzmq >> libavutil 55. 43.100 / 55. 43.100 >> libavcodec 57. 74.100 / 57. 74.100 >> libavformat57. 62.100 / 57. 62.100 >> libavdevice57. 2.100 / 57. 2.100 >> libavfilter 6. 69.100 / 6. 69.100 >> libswscale 4. 3.101 / 4. 3.101 >> libswresample 2. 4.100 / 2. 4.100 >> libpostproc54. 2.100 / 54. 2.100 >> Input #0, lavfi, from 'sine=d=300': >> Duration: N/A, start: 0.00, bitrate: 705 kb/s >> Stream #0:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s >> File 'duration.mp3' already exists. Overwrite ? [y/N] y >> Output #0, mp3, to 'duration.mp3': >> Metadata: >> TSSE: Lavf57.62.100 >> Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, mono, s16p >> Metadata: >> encoder : Lavc57.74.100 libmp3lame >> Stream mapping: >> Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame)) >> Press [q] to stop, [?] for help >> size=2344kB time=00:05:00.01 bitrate= 64.0kbits/s speed= 134x >> video:0kB audio:2344kB subtitle:0kB other streams:0kB global headers:0kB >> muxing overhead: 0.001875% > > The command which produces VBR mp3 file, "$ ffmpeg -f lavfi -i sine=d=300 > duration.mp3"'s duration is
Re: [FFmpeg-user] Weird crackling sound when muxing with an existing WAV file
2017-01-30 21:53 GMT+01:00 Michael Heuberger: > ffmpeg version 3.0.5-0ubuntu0.16.10.1 Copyright (c) 2000-2016 the FFmpeg Please test current FFmpeg git head. Can you find out if the issue is also reproducible if you only convert audio (no video input, no video output)? What about mp2, ac3 or aac? Please avoid top-posting here. Thank 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] Looping input audio and video with ffmpeg
2017-01-30 11:52 GMT+01:00 Nabajit Deka: > ffmpeg -stream_loop -1 -vcodec rawvideo -pix_fmt yuv420p -s 1280x720 -r > 6/1000 -i /media/test.yuv -f s16le -ar 48k -ac 2 -i /media/test.pcm > -f decklink 'DeckLink Duo (2)' (Complete, uncut console output missing.) You first have to create a file containing audio and video (of the same length). 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".