ffmpeg doesn't see audio stream

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

ffmpeg doesn't see audio stream

Ivan Gorin
I have several avi files I captured from miniDV cassettes, and now am
trying to compress using ffmpeg. running ffprobe on one of the files yields
this output:

ffprobe thailand.avi
ffprobe version 4.2.4-1ubuntu0.1 Copyright (c) 2007-2020 the FFmpeg
developers
  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
  configuration: --prefix=/usr --extra-version=1ubuntu0.1
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl
--disable-stripping --enable-avresample --disable-filter=resample
--enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcdio --enable-libcodec2 --enable-libflite
--enable-libfontconfig --enable-libfreetype --enable-libfribidi
--enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame
--enable-libmysofa --enable-libopenjpeg --enable-libopenmpt
--enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband
--enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex
--enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq
--enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl
--enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm
--enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r
--enable-libx264 --enable-shared
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[avi @ 0x55684bca9f00] Switching to NI mode, due to poor interleaving
[dvvideo @ 0x55684bcac340] AC EOB marker is absent pos=66
[dvvideo @ 0x55684bcac340] Concealing bitstream errors
......
[dvvideo @ 0x55684bcac340] AC EOB marker is absent pos=64
[dvvideo @ 0x55684bcac340] Concealing bitstream errors
Input #0, avi, from 'thailand.avi':
  Duration: 00:43:24.04, start: 0.000000, bitrate: 28878 kb/s
    Stream #0:0: Video: dvvideo, yuv420p, 720x576, 25000 kb/s, SAR 16:15
DAR 4:3, 25 fps, 25 tbr, 25 tbn, 25 tbc

(I shortened the output, there are many more repeating lines with AC
EOB...).

It seems like ffprobe doesn't see the audio stream. When viewing this file
with VLC the audio plays fine, but doing any operation using ffmpeg loses
the audio stream. I tried the solution from this
<https://superuser.com/questions/709313/how-can-i-check-the-integrity-of-an-avi-file-and-repair-it-automatically-in-linu>
question using mencoder, but it didn't see the audio stream either. How can
I fix this file?

Also, when running some ffmpeg command, for example ffmpeg -ss 00:00:05 -i
thailand.avi -t 00:00:10 -c copy -map 0 output.avi it outputs the same AC
EOB errors. But after starting the operation it outputs this:

ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg
developers
  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
  configuration: --prefix=/usr --extra-version=1ubuntu0.1
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl
--disable-stripping --enable-avresample --disable-filter=resample
--enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcdio --enable-libcodec2 --enable-libflite
--enable-libfontconfig --enable-libfreetype --enable-libfribidi
--enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame
--enable-libmysofa --enable-libopenjpeg --enable-libopenmpt
--enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband
--enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex
--enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq
--enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl
--enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm
--enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r
--enable-libx264 --enable-shared
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[avi @ 0x558097763700] Switching to NI mode, due to poor interleaving
[dvvideo @ 0x558097765f00] AC EOB marker is absent pos=66
[dvvideo @ 0x558097765f00] Concealing bitstream errors
......
[dvvideo @ 0x558097765f00] AC EOB marker is absent pos=64
[dvvideo @ 0x558097765f00] Concealing bitstream errors
Input #0, avi, from 'thailand.avi':
  Duration: 00:43:24.04, start: 0.000000, bitrate: 28878 kb/s
    Stream #0:0: Video: dvvideo, yuv420p, 720x576, 25000 kb/s, SAR 16:15
DAR 4:3, 25 fps, 25 tbr, 25 tbn, 25 tbc
Output #0, avi, to 'output.avi':
  Metadata:
    ISFT            : Lavf58.29.100
    Stream #0:0: Video: dvvideo (dvsd / 0x64737664), yuv420p, 720x576 [SAR
16:15 DAR 4:3], q=2-31, 25000 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[avi @ 0x558097763700] New audio stream 0:1 at pos:18113032 and DTS:0s
[avi @ 0x558097763700] New audio stream 0:2 at pos:18113032 and DTS:0s
frame=  250 fps=0.0 q=-1.0 Lsize=   35168kB time=00:00:10.00
bitrate=28809.4kbits/s speed=  36x
video:35156kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.032672%

Seems like it finds the streams only after starting the operation, but
doesn't include them in the output?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg doesn't see audio stream

Carl Eugen Hoyos-2
Am Fr., 16. Okt. 2020 um 21:42 Uhr schrieb Ivan Gorin <[hidden email]>:
>
> I have several avi files I captured from miniDV cassettes, and now am
> trying to compress using ffmpeg. running ffprobe on one of the files yields
> this output:

Please (test current FFmpeg git head and) provide a sample input file.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg doesn't see audio stream

Ivan Gorin
Here is the full output of ffprobe which i built from github (I hope I did
it right). I don't know how to provide a sample input file since I can't
cut the video - it loses the audio stream. The whole file is 9gb, so I
can't upload it.




ffprobe version N-99585-gfcec7a6848 Copyright (c) 2007-2020 the FFmpeg
developers
  built with gcc 9 (Ubuntu 9.3.0-17ubuntu1~20.04)
  configuration:
  libavutil      56. 60.100 / 56. 60.100
  libavcodec     58.111.101 / 58.111.101
  libavformat    58. 62.100 / 58. 62.100
  libavdevice    58. 11.102 / 58. 11.102
  libavfilter     7. 87.100 /  7. 87.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
[avi @ 0x5651c36cfdc0] Switching to NI mode, due to poor interleaving
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=66
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=70
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=73
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=72
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=67
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=114
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=67
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=67
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=70
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=74
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=66
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=66
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=67
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=71
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=75
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=68
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=70
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=72
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=67
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=67
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=68
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=71
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=66
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=68
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=69
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=77
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=66
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=66
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=72
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=70
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=102
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=74
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=66
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=67
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=67
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=70
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
    Last message repeated 1 times
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=68
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=70
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=69
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=75
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=76
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=66
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=94
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=66
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=66
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=68
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=65
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
[dvvideo @ 0x5651c36d26c0] AC EOB marker is absent pos=64
[dvvideo @ 0x5651c36d26c0] Concealing bitstream errors
Input #0, avi, from 'thailand.avi':
  Duration: 00:43:24.04, start: 0.000000, bitrate: 28878 kb/s
    Stream #0:0: Video: dvvideo, yuv420p, 720x576, 25000 kb/s, SAR 16:15
DAR 4:3, 25 fps, 25 tbr, 25 tbn, 25 tbc
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg doesn't see audio stream

Carl Eugen Hoyos-2
Am Sa., 17. Okt. 2020 um 02:31 Uhr schrieb Ivan Gorin <[hidden email]>:
>
> Here is the full output of ffprobe which i built from github (I hope I did
> it right). I don't know how to provide a sample input file since I can't
> cut the video - it loses the audio stream.

Use dd to cut the sample.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg doesn't see audio stream

Carl Zwanzig
In reply to this post by Ivan Gorin
On 10/16/2020 12:41 PM, Ivan Gorin wrote:
> [avi @ 0x558097763700] New audio stream 0:1 at pos:18113032 and DTS:0s
> [avi @ 0x558097763700] New audio stream 0:2 at pos:18113032 and DTS:0s


Have you tried using -analyzedurarion and -probesize with relative large
values to find the streams? See the doc for exact behavior and values.

z!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg doesn't see audio stream

Ivan Gorin
In reply to this post by Carl Eugen Hoyos-2
Here is the link to a sample, it's the very beginning of the video, where I
think the problem is. VLC says there is an indexing problem but it plays
fine.

https://drive.google.com/file/d/1hznkCKQWWbmxSSBQxwyKY-G3Kje_D9nh/view?usp=sharing
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg doesn't see audio stream

Ivan Gorin
In reply to this post by Carl Zwanzig
Yes, I've tried both of them, used different values from 1 million and
higher, no change. Was doing something like  ffmpeg -probesize 1000000000
-analyzeduration 1000000000.Still sees only the video stream. Maybe I'm not
using them correctly, can you give an example?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg doesn't see audio stream

Micael Silva
In reply to this post by Ivan Gorin
On Fri, Oct 16, 2020 at 10:13 PM Ivan Gorin <[hidden email]> wrote:

> Here is the link to a sample, it's the very beginning of the video, where I
> think the problem is. VLC says there is an indexing problem but it plays
> fine.
>
>
> https://drive.google.com/file/d/1hznkCKQWWbmxSSBQxwyKY-G3Kje_D9nh/view?usp=sharing
>

It seems to be a dropout, very common in DV tapes. Somehow ffmpeg relies on
the broken index and cannot ignore it. Maybe manually cutting the broken
beginning it can work.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg doesn't see audio stream

Ivan Gorin
In reply to this post by Carl Eugen Hoyos-2
Here is the link to a sample, it's the very beginning of the video, where I
think the problem is. VLC says there is an indexing problem but it plays
fine.

https://drive.google.com/file/d/1hznkCKQWWbmxSSBQxwyKY-G3Kje_D9nh/view?usp=sharing
Attachments area


On Sat, Oct 17, 2020 at 3:57 AM Carl Eugen Hoyos <[hidden email]> wrote:

> Am Sa., 17. Okt. 2020 um 02:31 Uhr schrieb Ivan Gorin <
> [hidden email]>:
> >
> > Here is the full output of ffprobe which i built from github (I hope I
> did
> > it right). I don't know how to provide a sample input file since I can't
> > cut the video - it loses the audio stream.
>
> Use dd to cut the sample.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg doesn't see audio stream

Carl Zwanzig
In reply to this post by Ivan Gorin
On 10/16/2020 6:18 PM, Ivan Gorin wrote:
> Yes, I've tried both of them, used different values from 1 million and
> higher, no change. Was doing something like  ffmpeg -probesize 1000000000
> -analyzeduration 1000000000.Still sees only the video stream. Maybe I'm not
> using them correctly, can you give an example?

You could post in the results of those attempts.....

https://greshka.net/avicheck/ Suggests using "ffmpeg -v 5 -i INPUT.avi -f
null -" to scan the file and also has some pointers to other tools. I'm not
able try any of them at the moment; the video processing machine is behind a
wall of boxes from some reconstruction.

(Also, please don't top-post.)

z!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg doesn't see audio stream

Carl Eugen Hoyos-2
In reply to this post by Ivan Gorin
Am Sa., 17. Okt. 2020 um 03:13 Uhr schrieb Ivan Gorin <[hidden email]>:
>
> Here is the link to a sample, it's the very beginning of the video, where I
> think the problem is. VLC says there is an indexing problem but it plays
> fine.
>
> https://drive.google.com/file/d/1hznkCKQWWbmxSSBQxwyKY-G3Kje_D9nh

I know this does not scale very well but DV's are special:
$ ffmpeg -ss 1 -i input -vcodec copy -f rawvideo out

out is now a dv file with audio.

As explained by Micael, the issue is that the beginning of the file contains
broken frames.

ffplay allows you to press "a" while playing to enable the newly-found
audio stream with your original sample.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg doesn't see audio stream

Ivan Gorin
That worked, thank you. Also I was able to "fix" it by cutting off several
bytes using dd (like Micael Silva also suggested), although I'm not sure if
that keeps the file structure intact, so your solution is better.

On Sat, Oct 17, 2020 at 4:49 AM Carl Eugen Hoyos <[hidden email]> wrote:

> Am Sa., 17. Okt. 2020 um 03:13 Uhr schrieb Ivan Gorin <
> [hidden email]>:
> >
> > Here is the link to a sample, it's the very beginning of the video,
> where I
> > think the problem is. VLC says there is an indexing problem but it plays
> > fine.
> >
> > https://drive.google.com/file/d/1hznkCKQWWbmxSSBQxwyKY-G3Kje_D9nh
>
> I know this does not scale very well but DV's are special:
> $ ffmpeg -ss 1 -i input -vcodec copy -f rawvideo out
>
> out is now a dv file with audio.
>
> As explained by Micael, the issue is that the beginning of the file
> contains
> broken frames.
>
> ffplay allows you to press "a" while playing to enable the newly-found
> audio stream with your original sample.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".