[FFmpeg-user] Problem with recorded YouTube stream
H
agents at meddatainc.com
Wed Apr 22 17:40:41 EEST 2020
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 <agents at meddatainc.com> 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 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 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 at 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: Downloading m3u8 information
>> [youtube] RRTepdBvUFE: Downloading MPD manifest
>> [download] Destination: RRTepdBvUFE.mp4
>> ffmpeg version 2.8.15 Copyright (c) 2000-2018 the FFmpeg developers
>> built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36)
>> configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/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 '
>> --enable-libopencore-amrnb --enable-libopencore-amrwb
>> --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd
>> --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio
>> --enable-libdc1394 --enable-libfdk-aac --enable-nonfree --disable-indev=jack
>> --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal
>> --enable-libopenjpeg --enable-libopus --enable-libpulse
>> --enable-libschroedinger --enable-libsoxr --enable-libspeex
>> --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264
>> --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter
>> --enable-avresample
>> --enable-postproc --enable-pthreads --disable-static --enable-shared
>> --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64
>> --enable-runtime-cpudetect
>> libavutil 54. 31.100 / 54. 31.100
>> libavcodec 56. 60.100 / 56. 60.100
>> libavformat 56. 40.101 / 56. 40.101
>> libavdevice 56. 4.100 / 56. 4.100
>> libavfilter 5. 40.101 / 5. 40.101
>> libavresample 2. 1. 0 / 2. 1. 0
>> libswscale 3. 1.101 / 3. 1.101
>> libswresample 1. 2.101 / 1. 2.101
>> libpostproc 53. 3.100 / 53. 3.100
>> [tls @ 0x2271800] The TLS connection was non-properly terminated.
>> [tls @ 0x2271800] The specified session has been invalidated for some
>> reason.
>> Input #0, hls,applehttp, from
>> 'https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1587349355/ei/C7OcXrKZNMON8gTFz7DwDA/ip/72.91.52.172/id/RRTepdBvUFE.1/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r6---sn-8xgp1vo-2ial.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/11640/mh/G5/mm/44/mn/sn-8xgp1vo-2ial/ms/lva/mv/m/mvi/5/pl/16/dover/11/keepalive/yes/mt/1587327676/disable_polymer/true/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPiX7f79OSn57RLNxnoJjPB-6kamtzdN43I4UGnb3TC0CICvirpYRqqkN77YyYbTTbzJXyVMsnIjXSw7BRvZcd35U/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRQIhALsUx7VFrJc6mfZnmtp_YB6FR0mBb5qQ-EC0HSMaVhodAiBdH5hD-VKGgrt6ejeu0GZM1CGYCDCY0VYvEY7-zF-C1A%3D%3D/playlist/index.m3u8':
>> Duration: N/A, start: 2495.011000, bitrate: N/A
>> Program 0
>> Metadata:
>> variant_bitrate : 0
>> Stream #0:0: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo,
>> fltp, 120 kb/s
>> Stream #0:1: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv,
>> bt709), 1280x720 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn, 60 tbc
>> [mp4 @ 0x293b8a0] Codec for stream 0 does not use global headers but
>> container format requires global headers
>> [mp4 @ 0x293b8a0] Codec for stream 1 does not use global headers but
>> container format requires global headers
>> Output #0, mp4, to 'file:RRTepdBvUFE.mp4.part':
>> 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
>>
>> etc
>>
>> etc
>>
>> I appreciate any help. Thank you.
>>
>> _______________________________________________
>> 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".
> _______________________________________________
> 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".
Yes, I was using the latest version of youtube-dl from the CentOS 7 repository. However, this was a live event I recorded so I cannot go back and try again. I am stuck with what I recorded and I would now to see if I can recover the recording.
More information about the ffmpeg-user
mailing list