Re: [FFmpeg-user] Problem with recorded YouTube stream
On 5/1/2020 3:18 PM, H wrote: So you are saying that despite knowing the settings youtube-dl used when recording the file, it is not possible to use that knowledge when using ffmpeg to play the file back (barring damage while recording the file which I have no evidence for)? You may know certain settings when the file was created but you don't know things like the specifics of the streams in the container (such as "where does it start in the file?"); the moov atom is effectively the Table of Contents for an MP4 container. Oh, and you have plenty of evidence of file damage- it's in the error messages you posted; if it wasn't damaged, it should easily play with all the tools mentioned. Search for "moov atom not found"- you'll find a lot of discussion on the matter. One _possible_ solution is something called "untrunc", which I have not tried. If the moov atom just isn't there, I don't think ffmpeg will help you. 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] Problem with recorded YouTube stream
On 04/22/2020 02:04 PM, Carl Zwanzig wrote: > On 4/22/2020 10:39 AM, H wrote: > >> 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. > And that is not the _latest_ ffmpeg (forget about "for centos", it's not). > > > All of these errors say the basically the same thing, the file is > well-damaged- > >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x215fe80] moov atom not found >> RRTepdBvUFE.mp4: Invalid data found when processing input > >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fca54c41360] moov atom not found >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fca2cc09fa0] moov atom not found > > > [ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: moov atom not found > > (mplayer can't even tell the format) >> RAWDV file format detected. >> VIDEO: [DVSD] 720x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s) >> Selected video codec: [ffdv] vfm: ffmpeg (FFmpeg DV) > > If you google for "moov atom not found", you'll find a pile of suggestions > and pointers to some tools. At this point, that will probably help more than > poking about with ffmpeg options. > > > For future recordings, consider using a different output container like flv > or ts (or mkv?); those are more resilient to streaming errors. > > > 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". So you are saying that despite knowing the settings youtube-dl used when recording the file, it is not possible to use that knowledge when using ffmpeg to play the file back (barring damage while recording the file which I have no evidence for)? ___ 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] Problem with recorded YouTube stream
On 4/22/2020 10:39 AM, H wrote: 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. And that is not the _latest_ ffmpeg (forget about "for centos", it's not). All of these errors say the basically the same thing, the file is well-damaged- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x215fe80] moov atom not found RRTepdBvUFE.mp4: Invalid data found when processing input [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fca54c41360] moov atom not found [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fca2cc09fa0] moov atom not found > [ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: moov atom not found (mplayer can't even tell the format) RAWDV file format detected. VIDEO: [DVSD] 720x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s) Selected video codec: [ffdv] vfm: ffmpeg (FFmpeg DV) If you google for "moov atom not found", you'll find a pile of suggestions and pointers to some tools. At this point, that will probably help more than poking about with ffmpeg options. For future recordings, consider using a different output container like flv or ts (or mkv?); those are more resilient to streaming errors. 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] Problem with recorded YouTube stream
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@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@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) [00eb0168] 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 [7fca2cc018d8] avformat demux error: Could not open /home/RRTepdBvUFE.mp4: Unknown error 1094995529 mplayer fails with: ^C[hakan@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.
Re: [FFmpeg-user] Problem with recorded YouTube stream
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@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] Problem with recorded YouTube stream
Hi, > [NULL @ 0x248ee00] Opening 'RRTepdBvUFE.mp4' for reading > [file @ 0x248f620] Setting default whitelist 'file,crypto' > Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:2048 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] Format mov,mp4,m4a,3gp,3g2,mj2 probed > with size=2048 and score=100 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'ftyp' parent:'root' sz: 32 8 > 227566402 So it looks like the file appears to be 227,566,402 bytes, most of which you'd expect to be taken up by the mdat atom > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] ISO: File Type Major Brand: isom > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'free' parent:'root' sz: 8 40 > 227566402 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'mdat' parent:'root' sz: 0 48 > 227566402 But it is shown as 0 bytes long for some reason. Maybe it is a placeholder that was supposed to be replaced with the actual size afterwards because you can't know how long the atom is until you've finished writing it. > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'ftyp' parent:'root' sz: 32 8 > 227566402 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] ISO: File Type Major Brand: isom > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'free' parent:'root' sz: 8 40 > 227566402 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'mdat' parent:'root' sz: 0 48 > 227566402 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] moov atom not found > [AVIOContext @ 0x2497800] Statistics: 65536 bytes read, 3 seeks > RRTepdBvUFE.mp4: Invalid data found when processing input And I guess it goes back to the start? Not sure but either way it doesn't find the moov atom. You could try looking for it, by opening the file as plain ascii text and literally searching for 'moov' but I can't help but think the correct size for the previous atom would have been filled in if the script's ffmpeg invocation got to that point. Still, if the file's taking up ~260MB on disk, maybe the byte count is selling the file short for some reason, and it might be there near the end. 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. Regards, Ted Park ___ 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] Problem with recorded YouTube stream
On 04/21/2020 10:32 PM, Edward Park wrote: > Hi, >> [tls @ 0x22e0d00] The TLS connection was non-properly terminated. >> [tls @ 0x22e0d00] The specified session has been invalidated for some reason. >> [tls @ 0x2309820] The TLS connection was non-properly terminated.te= >> 224.4kbits/s > It doesn't look like the download was entirely successful in the first > place... > It does report some kind a bitrate, are you trying to salvage this, or would > redownloading be an easier option? > > Regards, > Ted Park > ___ > 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". No, as I said in my post, this was a live event and I am stuck with what I have recorded. The recording is about 260 MB so something has been recorded, now how to recover it. BTW, the warning(?) messages above repeated the entire time, if, however, there was nothing that could be recorded I would think youtube-dl would have aborted, not continued to record? ___ 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] Problem with recorded YouTube stream
On 04/21/2020 09:03 PM, Tom Sparks wrote: > Are you sure you are using the latest version of youtube-dl from > https://youtube-dl.org/ ? > Are you using the latest version of python? > > > On 22/04/2020, H wrote: >> On 04/20/2020 02:58 PM, Carl Zwanzig wrote: >>> On 4/20/2020 11:42 AM, H wrote: I am running ffmpeg 2.8.15 under CentOS 7, the latest version released for that operating system. >>> First- that version is positively _ancient_ and not supported at all. >>> Download a current linux build as linked from >>> https://ffmpeg.org/download.html and try that. Or pull the source from git >>> and build your own version. >>> >>> Second- please post the _entire_ command output >>> >>> (third- when replying, do not top-post your message) >>> >>> These are pretty much immutable rules of the list and are discussed in >>> https://ffmpeg.org/mailing-list-faq.html >>> >>> >>> Later, >>> >>> 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". >> I downloaded the latest version of ffmpeg for CentOS 7 and tried to view the >> file, the error message is pretty much the same as with the older version of >> ffmpeg, ie: >> >> [hakan@decd379621cd ~]$ ffmpeg -v 9 -loglevel 99 -i *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 >> Splitting the commandline. >> Reading option '-v' ... matched as option 'v' (set logging level) with >> argument '9'. >> Reading option '-loglevel' ... matched as option 'loglevel' (set logging >> level) with argument '99'. >> Reading option '-i' ... matched as input url with argument >> 'RRTepdBvUFE.mp4'. >> Finished splitting the commandline. >> Parsing a group of options: global . >> Applying option v (set logging level) with argument 9. >> Successfully parsed a group of options. >> Parsing a group of options: input url RRTepdBvUFE.mp4. >> Successfully parsed a group of options. >> Opening an input file: RRTepdBvUFE.mp4. >> [NULL @ 0x248ee00] Opening 'RRTepdBvUFE.mp4' for reading >> [file @ 0x248f620] Setting default whitelist 'file,crypto' >> Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:2048 >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] Format mov,mp4,m4a,3gp,3g2,mj2 probed >> with size=2048 and score=100 >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'ftyp' parent:'root' sz: 32 8 >> 227566402 >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] ISO: File Type Major Brand: isom >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'free' parent:'root' sz: 8 40 >> 227566402 >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'mdat' parent:'root' sz: 0 48 >> 227566402 >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'ftyp' parent:'root' sz: 32 8 >> 227566402 >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] ISO: File Type Major Brand: isom >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'free' parent:'root' sz: 8 40 >> 227566402 >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'mdat' parent:'root' sz: 0 48 >> 227566402 >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] moov atom
Re: [FFmpeg-user] Problem with recorded YouTube stream
Hi, > [tls @ 0x22e0d00] The TLS connection was non-properly terminated. > [tls @ 0x22e0d00] The specified session has been invalidated for some reason. > [tls @ 0x2309820] The TLS connection was non-properly terminated.te= > 224.4kbits/s It doesn't look like the download was entirely successful in the first place... It does report some kind a bitrate, are you trying to salvage this, or would redownloading be an easier option? Regards, Ted Park ___ 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] Problem with recorded YouTube stream
Are you sure you are using the latest version of youtube-dl from https://youtube-dl.org/ ? Are you using the latest version of python? On 22/04/2020, H wrote: > On 04/20/2020 02:58 PM, Carl Zwanzig wrote: >> On 4/20/2020 11:42 AM, H wrote: >>> I am running ffmpeg 2.8.15 under CentOS 7, the latest version released >>> for that operating system. >> >> First- that version is positively _ancient_ and not supported at all. >> Download a current linux build as linked from >> https://ffmpeg.org/download.html and try that. Or pull the source from git >> and build your own version. >> >> Second- please post the _entire_ command output >> >> (third- when replying, do not top-post your message) >> >> These are pretty much immutable rules of the list and are discussed in >> https://ffmpeg.org/mailing-list-faq.html >> >> >> Later, >> >> 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". > > I downloaded the latest version of ffmpeg for CentOS 7 and tried to view the > file, the error message is pretty much the same as with the older version of > ffmpeg, ie: > > [hakan@decd379621cd ~]$ ffmpeg -v 9 -loglevel 99 -i *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 > Splitting the commandline. > Reading option '-v' ... matched as option 'v' (set logging level) with > argument '9'. > Reading option '-loglevel' ... matched as option 'loglevel' (set logging > level) with argument '99'. > Reading option '-i' ... matched as input url with argument > 'RRTepdBvUFE.mp4'. > Finished splitting the commandline. > Parsing a group of options: global . > Applying option v (set logging level) with argument 9. > Successfully parsed a group of options. > Parsing a group of options: input url RRTepdBvUFE.mp4. > Successfully parsed a group of options. > Opening an input file: RRTepdBvUFE.mp4. > [NULL @ 0x248ee00] Opening 'RRTepdBvUFE.mp4' for reading > [file @ 0x248f620] Setting default whitelist 'file,crypto' > Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:2048 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] Format mov,mp4,m4a,3gp,3g2,mj2 probed > with size=2048 and score=100 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'ftyp' parent:'root' sz: 32 8 > 227566402 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] ISO: File Type Major Brand: isom > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'free' parent:'root' sz: 8 40 > 227566402 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'mdat' parent:'root' sz: 0 48 > 227566402 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'ftyp' parent:'root' sz: 32 8 > 227566402 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] ISO: File Type Major Brand: isom > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'free' parent:'root' sz: 8 40 > 227566402 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'mdat' parent:'root' sz: 0 48 > 227566402 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] moov atom not found > [AVIOContext @ 0x2497800] Statistics: 65536 bytes read, 3 seeks > RRTepdBvUFE.mp4: Invalid data found when processing input > > > >
Re: [FFmpeg-user] Problem with recorded YouTube stream
On 04/20/2020 02:58 PM, Carl Zwanzig wrote: > On 4/20/2020 11:42 AM, H wrote: >> I am running ffmpeg 2.8.15 under CentOS 7, the latest version released for >> that operating system. > > First- that version is positively _ancient_ and not supported at all. > Download a current linux build as linked from > https://ffmpeg.org/download.html and try that. Or pull the source from git > and build your own version. > > Second- please post the _entire_ command output > > (third- when replying, do not top-post your message) > > These are pretty much immutable rules of the list and are discussed in > https://ffmpeg.org/mailing-list-faq.html > > > Later, > > 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". I downloaded the latest version of ffmpeg for CentOS 7 and tried to view the file, the error message is pretty much the same as with the older version of ffmpeg, ie: [hakan@decd379621cd ~]$ ffmpeg -v 9 -loglevel 99 -i *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 Splitting the commandline. Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'. Reading option '-i' ... matched as input url with argument 'RRTepdBvUFE.mp4'. Finished splitting the commandline. Parsing a group of options: global . Applying option v (set logging level) with argument 9. Successfully parsed a group of options. Parsing a group of options: input url RRTepdBvUFE.mp4. Successfully parsed a group of options. Opening an input file: RRTepdBvUFE.mp4. [NULL @ 0x248ee00] Opening 'RRTepdBvUFE.mp4' for reading [file @ 0x248f620] Setting default whitelist 'file,crypto' Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:2048 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'ftyp' parent:'root' sz: 32 8 227566402 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] ISO: File Type Major Brand: isom [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'free' parent:'root' sz: 8 40 227566402 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'mdat' parent:'root' sz: 0 48 227566402 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'ftyp' parent:'root' sz: 32 8 227566402 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] ISO: File Type Major Brand: isom [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'free' parent:'root' sz: 8 40 227566402 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] type:'mdat' parent:'root' sz: 0 48 227566402 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x248ee00] moov atom not found [AVIOContext @ 0x2497800] Statistics: 65536 bytes read, 3 seeks RRTepdBvUFE.mp4: Invalid data found when processing input Here is the output when I recorded the live stream on YouTube, hopefully it can help with configuring ffmpeg correctly to play back: youtube-dl https://youtube.com/watch?v=RRTepdBvUFE [youtube] RRTepdBvUFE: Downloading webpage [youtube] RRTepdBvUFE: Downloading video info webpage [youtube] RRTepdBvUFE:
Re: [FFmpeg-user] Problem with recorded YouTube stream
On 4/20/2020 11:42 AM, H wrote: I am running ffmpeg 2.8.15 under CentOS 7, the latest version released for that operating system. First- that version is positively _ancient_ and not supported at all. Download a current linux build as linked from https://ffmpeg.org/download.html and try that. Or pull the source from git and build your own version. Second- please post the _entire_ command output (third- when replying, do not top-post your message) These are pretty much immutable rules of the list and are discussed in https://ffmpeg.org/mailing-list-faq.html Later, 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".
[FFmpeg-user] Problem with recorded YouTube stream
I am running ffmpeg 2.8.15 under CentOS 7, the latest version released for that operating system. Yesterday I recorded a YouTube stream for later playback. However, playing it back in ffmpeg results in the dreaded: [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d5ac20] moov atom not found abb.mp4: Invalid data found when processing input I saved the information output by ffmpeg (youtube-dl) when recording the stream and am hoping that someone could suggest some options I could use for ffmpeg to allow me to play the stream back. Here is what I believe might be key info: Metadata: encoder : Lavf56.40.101 Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 30 fps, 30 tbr, 90k tbn, 90k tbc Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 120 kb/s Stream mapping: Stream #0:1 -> #0:0 (copy) Stream #0:0 -> #0:1 (copy) Press [q] to stop, [?] for help [tls @ 0x22e0d00] The TLS connection was non-properly terminated. [tls @ 0x22e0d00] The specified session has been invalidated for some reason. [tls @ 0x2309820] The TLS connection was non-properly terminated.te= 224.4kbits/s ... Thank you. ___ 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".