View Single Post
  #14  
Old 05-30-2014, 12:22 PM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

Re: muxing 1080p-192k


Quote:
Originally Posted by shantiq View Post
...and there I did the muxing on the first 7:30 video and it takes 1h30
Hi
You didn't mux, you converted.
That's why it took so long.
The FFmpeg command needed -vcodec copy -acodec copy.
When muxing, only takes a few seconds.
Should show info like this:-
Code:
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #1:0 -> #0:1 (copy)

Download the video:-
Code:
youtube-dl -f 137 -o video.mp4 https://www.youtube.com/watch?v=qPK67Px8sR8
Download the audio:-
Code:
youtube-dl -f 22 -x -o audio.mp4 https://www.youtube.com/watch?v=qPK67Px8sR8
Mux them:-
Code:
ffmpeg -i video.mp4 -i audio.m4a -c copy "'Shallows' (Live @ Air Studios)1980p-192k".mp4
Result:-
Code:
@Xubuntu:~$ mediainfo "'Shallows' (Live @ Air Studios)1980p-192k".mp4
General
Complete name              'Shallows' (Live @ Air Studios)1980p-192k.mp4
Format                     MPEG-4
Format profile             Base Media
Codec ID                   isom
File size                  143 MiB
Duration                   7mn 31s
Overall bit rate           2 665 Kbps
Writing application        Lavf55.41.100

Video
ID                         1
Format                     AVC
Format/Info                Advanced Video Codec
Format profile             High@L4.0
Format settings, CABAC     Yes
Format settings, ReFrames  3 frames
Codec ID                   avc1
Codec ID/Info              Advanced Video Coding
Duration                   7mn 31s
Bit rate                   2 468 Kbps
Width                      1 920 pixels
Height                     1 080 pixels
Display aspect ratio       16:9
Frame rate mode            Constant
Frame rate                 25.000 fps
Color space                YUV
Chroma subsampling         4:2:0
Bit depth                  8 bits
Scan type                  Progressive
Bits/(Pixel*Frame)         0.048
Stream size                133 MiB (93%)

Audio
ID                         2
Format                     AAC
Format/Info                Advanced Audio Codec
Format profile             LC
Codec ID                   40
Duration                   7mn 31s
Bit rate mode              Constant
Bit rate                   192 Kbps
Channel(s)                 2 channels
Channel positions          Front: L R
Sampling rate              44.1 KHz
Compression mode           Lossy
Stream size                10.3 MiB (7%)
Reply With Quote