Re: [FFmpeg-user] Failure: No wav codec tag found
On 4/18/2020 9:28 AM, Kieran O Leary wrote: On Sat, Apr 18, 2020 at 12:53 AM Mark Filipak < markfilipak.windows+ffm...@gmail.com> wrote: On 04/17/2020 07:50 PM, Carl Eugen Hoyos wrote: Am Sa., 18. Apr. 2020 um 01:42 Uhr schrieb Mark Filipak : I know that PCM was never used for DVDs DVDs with PCM audio exist. Cool! I've never seen one but, cool. What flavor of PCM? BE or LE? As Carl said, endianness doesn't really matter here. Why were you curious? But as an aside, PCM on DVDs was somewhat common for music. I remember Pink Floyd's The Wall and This is Spinal Tap having PCM options. PowerDVD was pretty good at giving stream info back in the day. Best, Kieran ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". PCM was certainly used as I recall ... NTSC & Pal had different approved audios formats used PCM , DTS, ac3 , mpg1 Layer 2 - ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Failure: No wav codec tag found
Am Sa., 18. Apr. 2020 um 22:55 Uhr schrieb Mark Filipak : > > On 04/18/2020 06:30 AM, Carl Eugen Hoyos wrote: > > Am Sa., 18. Apr. 2020 um 02:07 Uhr schrieb Mark Filipak > > : > >> > >> Never mind. MPV was able to tell me that the pcm_bluray is big endian. > > > > While this is technically true, note that it has absolutely no relevance > > for users of FFmpeg (including library users). > > Here's my logic: > If a commercial blu-ray's LPCM is big endian, then it's more likely that > any/all decoding software will handle big endian (as opposed to little > endian). No. > So, if I have a transcode choice (e.g., > pcm_s16be versus pcm_s16le), I choose big endian (e.g., pcm_s16be). This makes no sense. > Since the bits/sample is only 16, big endian versus little endian is not much > of a > performance issue. Big endian streams more efficiently, but so what, eh? No / makes no sense. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Failure: No wav codec tag found
On 04/18/2020 06:30 AM, Carl Eugen Hoyos wrote: Am Sa., 18. Apr. 2020 um 02:07 Uhr schrieb Mark Filipak : Never mind. MPV was able to tell me that the pcm_bluray is big endian. While this is technically true, note that it has absolutely no relevance for users of FFmpeg (including library users). Carl Eugen Here's my logic: If a commercial blu-ray's LPCM is big endian, then it's more likely that any/all decoding software will handle big endian (as opposed to little endian). So, if I have a transcode choice (e.g., pcm_s16be versus pcm_s16le), I choose big endian (e.g., pcm_s16be). Since the bits/sample is only 16, big endian versus little endian is not much of a performance issue. Big endian streams more efficiently, but so what, eh? I'm just trying to be convervative. Thanks for your comments, Mark. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Failure: No wav codec tag found
Am Sa., 18. Apr. 2020 um 18:15 Uhr schrieb Carl Zwanzig : > > On 4/18/2020 3:30 AM, Carl Eugen Hoyos wrote: > > Am Sa., 18. Apr. 2020 um 02:07 Uhr schrieb Mark Filipak > > : > >> > >> Never mind. MPV was able to tell me that the pcm_bluray is big endian. > > > > While this is technically true, note that it has absolutely no relevance > > for users of FFmpeg (including library users). > > That info -is- potentially useful to ffmpeg users and was something at least > I did not know yesterday. And the thread is relevant because it tells me > something that ffmpeg does not do, so I won't ask it to. Again: It is technically true that pcm_bluray stores data big-endian-wise. This information was (very) important ten years for the developer who implemented pcm_bluray support in FFmpeg, it may still be interesting to curious people (and there is nothing wrong asking about it). The fact that pcm_bluray stores data big-endian-wise is completely irrelevant when you use FFmpeg, neither when you use the command line application "ffmpeg" nor when you use libavcodec. (The big-endian fact has no relevant effect, no matter the hardware you are using nor the output format. The only effect is that the extremely fast "decoding" of pcm_bluray is in theory for some input files faster on big-endian hardware than on little-endian hardware, this will be difficult to prove because of the very high decoding speed of pcm codecs in general.) And since there were indications in this mailing list thread that the following is not completely obvious: From FFmpeg's pov, the pcm codecs are audio codecs just like mp3, aac or alac. The fact that the pcm codecs are not compressing data made implementing them (much) easier but when you are using a pcm codec (for decoding or encoding), the usage is exactly the same as if the codec would compress data. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Failure: No wav codec tag found
On 4/18/2020 3:30 AM, Carl Eugen Hoyos wrote: Am Sa., 18. Apr. 2020 um 02:07 Uhr schrieb Mark Filipak : Never mind. MPV was able to tell me that the pcm_bluray is big endian. While this is technically true, note that it has absolutely no relevance for users of FFmpeg (including library users). That info -is- potentially useful to ffmpeg users and was something at least I did not know yesterday. And the thread is relevant because it tells me something that ffmpeg does not do, so I won't ask it to. z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Failure: No wav codec tag found
On Sat, Apr 18, 2020 at 12:53 AM Mark Filipak < markfilipak.windows+ffm...@gmail.com> wrote: > On 04/17/2020 07:50 PM, Carl Eugen Hoyos wrote: > > Am Sa., 18. Apr. 2020 um 01:42 Uhr schrieb Mark Filipak > > : > > > >> I know that PCM was never used for DVDs > > > > DVDs with PCM audio exist. > > Cool! I've never seen one but, cool. What flavor of PCM? BE or LE? > As Carl said, endianness doesn't really matter here. Why were you curious? But as an aside, PCM on DVDs was somewhat common for music. I remember Pink Floyd's The Wall and This is Spinal Tap having PCM options. PowerDVD was pretty good at giving stream info back in the day. Best, Kieran ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Failure: No wav codec tag found
Am Sa., 18. Apr. 2020 um 02:07 Uhr schrieb Mark Filipak : > > Never mind. MPV was able to tell me that the pcm_bluray is big endian. While this is technically true, note that it has absolutely no relevance for users of FFmpeg (including library users). Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Failure: No wav codec tag found
Never mind. MPV was able to tell me that the pcm_bluray is big endian. Cheers, Mark. On 04/17/2020 07:50 PM, Carl Eugen Hoyos wrote: Am Sa., 18. Apr. 2020 um 01:42 Uhr schrieb Mark Filipak : I know that PCM was never used for DVDs DVDs with PCM audio exist. Cool! I've never seen one but, cool. What flavor of PCM? BE or LE? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Failure: No wav codec tag found
On 04/17/2020 07:50 PM, Carl Eugen Hoyos wrote: Am Sa., 18. Apr. 2020 um 01:42 Uhr schrieb Mark Filipak : I know that PCM was never used for DVDs DVDs with PCM audio exist. Cool! I've never seen one but, cool. What flavor of PCM? BE or LE? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Failure: No wav codec tag found
Am Sa., 18. Apr. 2020 um 01:42 Uhr schrieb Mark Filipak : > I know that PCM was never used for DVDs DVDs with PCM audio exist. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Failure: No wav codec tag found
On 04/17/2020 06:51 PM, Moritz Barsnick wrote: On Fri, Apr 17, 2020 at 18:13:22 -0400, Mark Filipak wrote: [matroska @ 028fabd7b040] No wav codec tag found for codec pcm_bluray Does this means I did something wrong (would be the first time in ...about the last 2 minutes), or MKV doesn't support LPCM, or sumtinelse? Yes. Hahahaha... "Do you want to keep the deluxe vacation you've won, or do you want what's in the box that Anita's holding?" "Yes!" Google, first match on "pcm_bluray mkv": https://forum.doom9.org/showthread.php?t=174718 pcm_bluray should only ever be put in Blu-ray-style m2ts files, Matroska has no format mapping for it anyway. Use normal PCM (ie. pcm_s16le or pcm_s24le depending on bitdepth)... I know that PCM was never used for DVDs, so I can't use DVDs as a guide. I'd prefer to use the most 'universal' flavor of PCM coder. Do you have any recommendation, or is pcm_s24le it? Or is little-endian versus big-endian a non-issue? Note that the LPCM source is 24 bit. Thanks, Mark. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Failure: No wav codec tag found
On 04/17/2020 06:51 PM, Moritz Barsnick wrote: On Fri, Apr 17, 2020 at 18:13:22 -0400, Mark Filipak wrote: [matroska @ 028fabd7b040] No wav codec tag found for codec pcm_bluray Does this means I did something wrong (would be the first time in ...about the last 2 minutes), or MKV doesn't support LPCM, or sumtinelse? Yes. Google, first match on "pcm_bluray mkv": https://forum.doom9.org/showthread.php?t=174718 pcm_bluray should only ever be put in Blu-ray-style m2ts files, Matroska has no format mapping for it anyway. Use normal PCM (ie. pcm_s16le or pcm_s24le depending on bitdepth). It contains the same data, just differently arranged. Thanks for that. I did a DDG search for "No wav codec tag found for codec pcm_bluray" and didn't get anything applicable. Most of the time, searching verbatim on an error message is best. Hmmm... Just convert it to some 24bit PCM - that conversion should be lossless. Thanks for the tip, Moritz. I have noted it. Over and under. Mark. Moritz I was tempted to create a link with LMGTFY of JFGI, but caught myself being rude. Over and out. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Failure: No wav codec tag found
On Fri, Apr 17, 2020 at 18:13:22 -0400, Mark Filipak wrote: > [matroska @ 028fabd7b040] No wav codec tag found for codec pcm_bluray > > Does this means I did something wrong (would be the first time in ...about > the last 2 minutes), or > MKV doesn't support LPCM, or sumtinelse? Yes. Google, first match on "pcm_bluray mkv": https://forum.doom9.org/showthread.php?t=174718 pcm_bluray should only ever be put in Blu-ray-style m2ts files, Matroska has no format mapping for it anyway. Use normal PCM (ie. pcm_s16le or pcm_s24le depending on bitdepth). It contains the same data, just differently arranged. Just convert it to some 24bit PCM - that conversion should be lossless. Moritz I was tempted to create a link with LMGTFY of JFGI, but caught myself being rude. Over and out. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] Failure: No wav codec tag found
[matroska @ 028fabd7b040] No wav codec tag found for codec pcm_bluray Does this means I did something wrong (would be the first time in ...about the last 2 minutes), or MKV doesn't support LPCM, or sumtinelse? D.A..S pcm_bluray PCM signed 16|20|24-bit big-endian for Blu-ray media Actually, I want to pass-through all audio. Can you help? Thanks, Mark. ffmpeg -report -ss 2:58 -analyzeduration 50 -probesize 50 -i G:\BDMV\STREAM\0.m2ts -filter_complex "telecine=pattern=5,split[A][B],[A]select='not(eq(mod((n+1)\,5)\,3))'[C],[B]select='eq(mod((n+1)\,5)\,3)',pp=linblenddeint[D],[C][D]interleave" -map 0 -c:v libx264 -crf 20 -c:a copy -c:s copy "C:\AVOut\0.1.MKV" ffmpeg started on 2020-04-17 at 17:59:17 Report written to "REPORT.LOG" Log level: 32 Command line: ffmpeg -report -ss 2:58 -analyzeduration 50 -probesize 50 -i "G:\\BDMV\\STREAM\\0.m2ts" -filter_complex "telecine=pattern=5,split[A][B],[A]select='not(eq(mod((n+1)\\,5)\\,3))'[C],[B]select='eq(mod((n+1)\\,5)\\,3)',pp=linblenddeint[D],[C][D]interleave" -map 0 -c:v libx264 -crf 20 -c:a copy -c:s copy "C:\\AVOut\\0.1.MKV" ffmpeg version git-2020-04-17-889ad93 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9.3.1 (GCC) 20200328 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf libavutil 56. 42.102 / 56. 42.102 libavcodec 58. 80.100 / 58. 80.100 libavformat58. 42.100 / 58. 42.100 libavdevice58. 9.103 / 58. 9.103 libavfilter 7. 77.101 / 7. 77.101 libswscale 5. 6.101 / 5. 6.101 libswresample 3. 6.100 / 3. 6.100 libpostproc55. 6.100 / 55. 6.100 [mpegts @ 028eb732] Failed to open codec in avformat_find_stream_info [mpegts @ 028eb732] DTS discontinuity in stream 23: packet 4 with DTS 23490352, packet 5 with DTS 23957495 [mpegts @ 028eb732] DTS discontinuity in stream 18: packet 4 with DTS 23550367, packet 5 with DTS 24017601 [mpegts @ 028eb732] DTS discontinuity in stream 11: packet 4 with DTS 23561625, packet 5 with DTS 24028864 [mpegts @ 028eb732] DTS discontinuity in stream 22: packet 4 with DTS 23659160, packet 5 with DTS 24115263 [mpegts @ 028eb732] DTS discontinuity in stream 24: packet 4 with DTS 23670475, packet 5 with DTS 24137733 [mpegts @ 028eb732] DTS discontinuity in stream 26: packet 4 with DTS 23670472, packet 5 with DTS 24137735 [mpegts @ 028eb732] DTS discontinuity in stream 16: packet 4 with DTS 23576618, packet 5 with DTS 24137745 [mpegts @ 028eb732] DTS discontinuity in stream 12: packet 4 with DTS 23670455, packet 5 with DTS 24137753 [mpegts @ 028eb732] DTS discontinuity in stream 13: packet 4 with DTS 23670455, packet 5 with DTS 24137753 [mpegts @ 028eb732] DTS discontinuity in stream 14: packet 4 with DTS 23670453, packet 5 with DTS 24137755 [mpegts @ 028eb732] DTS discontinuity in stream 15: packet 4 with DTS 23670453, packet 5 with DTS 24137755 [mpegts @ 028eb732] DTS discontinuity in stream 21: packet 4 with DTS 23670450, packet 5 with DTS 24137757 [mpegts @ 028eb732] DTS discontinuity in stream 20: packet 4 with DTS 23670437, packet 5 with DTS 24137771 [mpegts @ 028eb732] DTS discontinuity in stream 19: packet 4 with DTS 23670430, packet 5 with DTS 24137778 [mpegts @ 028eb732] DTS discontinuity in stream 25: packet 4 with DTS 23670462, packet 5 with DTS 24239096 [mpegts @ 028eb732] DTS discontinuity in stream 25: packet 12 with DTS 27030053, packet 13 with DTS 27305926 [mpegts @ 028eb732] DTS discontinuity in stream 26: packet 12 with DTS 27030073, packet 13 with DTS 27489840 [mpegts @ 028eb732] DTS discontinuity in stream 17: packet 4 with DTS 27030062, packet 5 with DTS 27489850 [mpegts @ 028eb732] DTS discontinuity in stream 12: packet 12 with DTS 27030076, packet 13 with DTS 27497343 [mpegts @ 028eb732] DTS discontinuity in stream 13: packet 12 with DTS 27030076, packet 13 with DTS 27497343 [mpegts @ 028eb732] DTS discontinuity