[FFmpeg-user] Problem with recorded YouTube stream

H agents at meddatainc.com
Wed Apr 22 20:39:32 EEST 2020


On 04/22/2020 12:38 PM, Carl Zwanzig wrote:
> On 4/22/2020 7:40 AM, H wrote:
>> Yes, I was using the latest version of youtube-dl from the CentOS 7 repository.
>
> On 4/22/2020 9:15 AM, Edward Park wrote:
>> But your newest version of ffmpeg is still pretty old, you should try with an up-to-date version first, it probably has as much of a chance of
>> working as any other method.
> The point I was trying to make earlier (and Edward, too) is that while you're getting the latest in the Centos repo, that is nowhere _near_ the current version. Please try that.
>
> I already pointed to ffmpeg, but again-
> go to https://ffmpeg.org/download.html
> skip the Ubuntu official packages because we know they are old, go to "Linux Static builds" (https://johnvansickle.com/ffmpeg/) and get a "git master" build from there.
>
> for youtube-dl-
> http://ytdl-org.github.io/youtube-dl/download.html
>
>
> Regarding the captured content-
> Have you tried any other players to view it (vlc, mpv, mplayer, etc)? What do they do?
> If none of them can even play the file, it may be truly damaged and you need to look at repair tools. You _may_ be able to recover something with a simple "ffmpeg -i input.mp4 -c copy output.mp4" (using a current ffmpeg), but no guarantees. VLC also has some recovery and conversion options.
>
>
> Later,
>
> z!
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

I downloaded the latest version for CentOS 7 from the ffmpeg website after your first e-mail and my two previous posts were based on that. As for the download using an old version of youtube-dl that is in the past and not something I can do again since it was a live event.

I was hoping that knowing the output from youtube-dl when recording would allow us to know which options to use to force ffmpeg to play it back - assuming it can be done, of course.

Output from various other packages follow below.

Copying the file using ffmpeg fails with:

ffmpeg -i *mp4 -c copy test.mp4
ffmpeg version 3.4.7 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro ' --extra-cflags=' ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --disable-encoder=libopus --enable-libpulse --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzvbi --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x215fe80] moov atom not found
RRTepdBvUFE.mp4: Invalid data found when processing input

vlc fails with:

LC media player 2.2.8 Weatherwax (revision 2.2.7-14-g3cc1d8cba9)
[0000000000eb0168] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fca54c41360] moov atom not found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fca2cc09fa0] moov atom not found
[00007fca2cc018d8] avformat demux error: Could not open /home/RRTepdBvUFE.mp4: Unknown error 1094995529

mplayer fails with:

^C[hakan at rose01 ~]$ mplayer *mp4
MPlayer SVN-r37391-4.8.3 (C) 2000-2015 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing RRTepdBvUFE.mp4.
libavformat version 56.40.101 (external)
Mismatching header version 56.25.101
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f2f86c65920]moov atom not found
LAVF_header: av_open_input_stream() failed
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f2f86c65920]moov atom not found
LAVF_header: av_open_input_stream() failed
RAWDV file format detected.
VIDEO:  [DVSD]  720x480  24bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
Load subtitles in ./
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 56.60.100 (external)
Mismatching header version 56.26.100
Selected video codec: [ffdv] vfm: ffmpeg (FFmpeg DV)
==========================================================================
==========================================================================
Opening audio decoder: [libdv] Raw DV Audio Decoder
Unknown/missing audio format -> no sound
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Cannot find codec 'dvaudio' in libavcodec...
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x56444152.
Audio: no sound
Starting playback...
[dvvideo @ 0x7f2f861c95a0]could not find dv frame profile
Error while decoding frame!
[dvvideo @ 0x7f2f861c95a0]could not find dv frame profile
Error while decoding frame!
[dvvideo @ 0x7f2f861c95a0]could not find dv frame profile
Error while decoding frame!
[dvvideo @ 0x7f2f861c95a0]could not find dv frame profile
Error while decoding frame!
[dvvideo @ 0x7f2f861c95a0]could not find dv frame profile
Error while decoding frame!
[dvvideo @ 0x7f2f861c95a0]could not find dv frame profile
Error while decoding frame!
[dvvideo @ 0x7f2f861c95a0]could not find dv frame profile
Error while decoding frame!
[dvvideo @ 0x7f2f861c95a0]could not find dv frame profile
Error while decoding frame!
[dvvideo @ 0x7f2f861c95a0]could not find dv frame profile
Error while decoding frame!
V:   0.3   9/  9 ??% ??% ??,?% 0 0                                                                                        
[dvvideo @ 0x7f2f861c95a0]could not find dv frame profile
Error while decoding frame!
V:   0.3  10/ 10 ??% ??% ??,?% 0 0      

mpv fails with:

Playing: RRTepdBvUFE.mp4
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: moov atom not found
[lavf] avformat_open_input() failed
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: moov atom not found
[lavf] avformat_open_input() failed
Failed to recognize file format.



More information about the ffmpeg-user mailing list