Hello, I'm trying to capture small parts of sporting events to help with creating my own video content (highlights, etc.). I've been able to capture with OBS but the quality of the recorded video doesn't appear to be as good as the stream. I've set the the canvas to 1920x1080 (my res) and the output to 720p (the streams max res). Recording quality I set to "same as stream." Can lossless quality be better than that? Is there a certain codec I should use?
Example video: https://www.nbafullhd.com/103285-2/
I've tried downloading with youtube-dl but it doesn't like the links I'm trying from within the source or chrome inspect element. I'm very new to capturing, streaming...and all this software but I will understand instructions. I'd probably prefer capturing because I only need 10-20 sec clips rather than downloading ENTIRE sports game videos (massive).
Any help is appreciated, thank you.
+ Reply to Thread
Results 1 to 6 of 6
Option 1 --> download full this video and using ffmpeg to edit this video you want .
youtube-dl "https://www.nbafullhd.com/103285-2/" -o test.mp4Code:
ffmpeg -i "your video" -ss 00:00:15.00 -t 00:00:10.00 -c copy video.mp4
Option 2 --> Use the --postprocessor-args parameter to pass the audio/video output to ffmpeg to be edited (the processor), so need ffmpeg installed.
--postprocessor-args takes 3 arguments & values
-ss HH:MM:SS : start time to take
-to HH:MM:SS : end time
-t HH:MM:SS : time lenght to take
Start encoding at 10 seconds and stop at 1 minutes 10 seconds
youtube-dl --postprocessor-args "-ss 0:0:10 -to 0:1:10" "https://www.nbafullhd.com/103285-2/" -o test.mp4
youtube-dl --postprocessor-args "-ss 0:0:15 -t 0:3:5" "https://www.nbafullhd.com/103285-2/" -o test.mp4
Last edited by therain; 19th Nov 2019 at 05:46.
Wow amazing reply. Thank you the download is working now and the 40min mp4 was only 1GB.
So is there actually any need for me to use ffmpeg if I just download the stream file through youtube-dl and then use premiere for my editing? It's just going to be easier in premiere cutting segments from a video rather than finding exact timestamps and typing it out.
I did get this "WARNING: 1873807673883: malformed AAC bitstream detected. Install ffmpeg or avconv to fix this automatically." Not sure if that matters and ffmpeg appears to be just run from command line so I don't know understand the "Install ffmpeg."
You need ffmpeg installed
Download ffmpeg portable below and save it to a custom path to D partition or E partition (example save to D)
Open the extracted folder --> Bin --> holding SHIFT key on keyboard press right mouse click anywhere in the folder, select "open command window here" and ffmpeg is start .
Using command line (convert this video to an mp4 or fixed this WARNING: 1873807673883: malformed AAC bitstream detected)
ffmpeg -i "your.video" -c copy -bsf:a aac_adtstoasc output.mp4
FFmpeg Commands For Beginners --> https://www.ostechnix.com/20-ffmpeg-commands-beginners/
Last edited by therain; 19th Nov 2019 at 16:37.
Cool thank you. I already had it running but wasn't sure on the command or even the reason for this...since I have no idea what "malformed AAC bitstream" even means.
ffmpeg before you used youtube-dl to download a video. The youtube-dl warning said there are malformed AAC bitstream (without it the mp4 seems to judder and break up when using trick play)
Problem solved --> You need to put ffmpeg.exe, ffplay.exe and ffprobe.exe in the same directory as youtube-dl.exe. It will then automatically tidy up the downloaded file (or try installing https://www.youtube.com/watch?v=7wfUUZvybPY)