VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. 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.
    Quote Quote  
  2. Member
    Join Date
    Nov 2015
    Location
    Campuchia - Sapoche
    Search Comp PM
    Option 1 --> download full this video and using ffmpeg to edit this video you want .

    Code:
    youtube-dl "https://www.nbafullhd.com/103285-2/" -o test.mp4
    Code:
    ffmpeg -i "your video" -ss 00:00:15.00 -t 00:00:10.00 -c copy video.mp4
    The -ss parameter in this position states to discard all input up until 15 seconds into the video. The -t option states to capture for 10 seconds. The rest of the command tells it to store as an 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

    Examples:

    Start encoding at 10 seconds and stop at 1 minutes 10 seconds

    Code:
    youtube-dl --postprocessor-args "-ss 0:0:10 -to 0:1:10" "https://www.nbafullhd.com/103285-2/" -o test.mp4
    Start encoding at 15 seconds and take only the next 3 minutes 5 seconds

    Code:
    youtube-dl --postprocessor-args "-ss 0:0:15 -t 0:3:5" "https://www.nbafullhd.com/103285-2/" -o test.mp4
    Note: youtube-dl will download the entire media before processing it, and remove it after.
    Last edited by therain; 19th Nov 2019 at 05:46.
    Quote Quote  
  3. 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."
    Quote Quote  
  4. Member
    Join Date
    Nov 2015
    Location
    Campuchia - Sapoche
    Search Comp PM
    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)

    https://www.videohelp.com/software/ffmpeg

    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)

    Code:
    ffmpeg -i "your.video" -c copy -bsf:a aac_adtstoasc output.mp4
    Done and you can using Premiere is a good for video editing .

    FFmpeg Commands For Beginners --> https://www.ostechnix.com/20-ffmpeg-commands-beginners/
    Last edited by therain; 19th Nov 2019 at 16:37.
    Quote Quote  
  5. 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.
    Quote Quote  
  6. Member
    Join Date
    Nov 2015
    Location
    Campuchia - Sapoche
    Search Comp PM
    Originally Posted by Richter26 View Post
    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.
    i think, because your forgot to install 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)
    Quote Quote  



Similar Threads