Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
Re: ok sort of solved but still no good on mpv vlc downloadhelper mediapimp ;;;With youtube-dl --help
Code:
Post-processing Options: -x, --extract-audio convert video files to audio-only files |
#12
|
|||
|
|||
solved almost nowhi bat
flushed all my vlc and re-installed and then it works ... go figure Quote:
as regards 192k yes i know you can do --extract-audio and that is fine but what i was saying is that when you download best in youtube-dl or through mediapimp or video downloadhelper you only get 720p check it ! so the only way to get 1080p-192k is to go -f 137 for 1080p and to mux that with 192k from --extract-audio if you see what i mean |
#13
|
|||
|
|||
muxing 1080p-192k===============================
and there I did the muxing on the first 7:30 video and it takes 1h30 so not an easy option but now i have perfection see mediainfo below see for yourself shantiq@shantiq-00000000000000000000000:~/Videos/mux$ ffmpeg -i "Daughter - 'Shallows' (Live @ Air Studios)-qPK67Px8sR8".mp4 -i "Daughter - 'Shallows' (Live @ Air Studios)-qPK67Px8sR8".m4a -map 0:0 -map 1:0 "'Shallows' (Live @ Air Studios)1980p-192k".mp4 ffmpeg version 0.8.10-6:0.8.10-0ubuntu0.13.10.1, Copyright (c) 2000-2013 the Libav developers built on Feb 6 2014 20:53:28 with gcc 4.8.1 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Daughter - 'Shallows' (Live @ Air Studios)-qPK67Px8sR8.mp4': Metadata: major_brand : dash minor_version : 0 compatible_brands: iso6avc1mp41 creation_time : 2014-04-17 10:49:41 Duration: 00:15:02.80, start: 451.401000, bitrate: 1235 kb/s Stream #0.0(und): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 25 tbr, 90k tbn, 50 tbc Metadata: creation_time : 2014-04-17 10:49:41 Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'Daughter - 'Shallows' (Live @ Air Studios)-qPK67Px8sR8.m4a': Metadata: major_brand : M4A minor_version : 512 compatible_brands: isomiso2 creation_time : 2014-04-17 10:50:26 encoder : Lavf53.21.1 Duration: 00:07:31.44, start: 0.000000, bitrate: 202 kb/s Stream #1.0(und): Audio: aac, 44100 Hz, stereo, s16, 199 kb/s Metadata: creation_time : 2014-04-17 10:50:26 File ''Shallows' (Live @ Air Studios)1980p-192k.mp4' already exists. Overwrite ? [y/N] y [buffer @ 0xcd9a40] w:1920 h:1080 pixfmt:yuv420p http://www.videolan.org/x264.html - options: cabac=1 ref=3 aq=1:1.00 Output #0, mp4, to ''Shallows' (Live @ Air Studios)1980p-192k.mp4': Metadata: major_brand : dash minor_version : 0 compatible_brands: iso6avc1mp41 creation_time : 2014-04-17 10:49:41 encoder : Lavf53.21.1 Stream #0.0(und): Video: libx264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=-1--1, 25 tbn, 25 tbc Metadata: creation_time : 2014-04-17 10:49:41 Stream #0.1(und): Audio: libvo_aacenc, 44100 Hz, stereo, s16, 200 kb/s Metadata: creation_time : 2014-04-17 10:50:26 Stream mapping: Stream #0.0 -> #0.0 Stream #1.0 -> #0.1 Press ctrl-c to stop encoding frame= 11 fps= 0 q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbitframe= 22 fps= 19 q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbitframe= 33 fps= 20 q=0.0 size= 0kB time=10000000000.00 bitrate= 0.0kbitframe= 42 fps= 10 q=28.0 size= 0kB time=10000000000.00 bitrate= 0.0kbi^C^Ze= 58 fps= 6 q=28.0 size= 162kB time=0.60 bitrate=2200.6kbits/s [1]+ Stopped ffmpeg -i "Daughter - 'Shallows' (Live @ Air Studios)-qPK67Px8sR8".mp4 -i "Daughter - 'Shallows' (Live @ Air Studios)-qPK67Px8sR8".m4a -map 0:0 -map 1:0 "'Shallows' (Live @ Air Studios)1980p-192k".mp4 shantiq@shantiq-00000000000000000000000:~/Videos/mux$ time ffmpeg -i "Daughter - 'Shallows' (Live @ Air Studios)-qPK67Px8sR8".mp4 -i "Daughter - 'Shallows' (Live @ Air Studios)-qPK67Px8sR8".m4a -map 0:0 -map 1:0 "'Shallows' (Live @ Air Studios)1980p-192k".mp4 ffmpeg version 0.8.10-6:0.8.10-0ubuntu0.13.10.1, Copyright (c) 2000-2013 the Libav developers built on Feb 6 2014 20:53:28 with gcc 4.8.1 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Daughter - 'Shallows' (Live @ Air Studios)-qPK67Px8sR8.mp4': Metadata: major_brand : dash minor_version : 0 compatible_brands: iso6avc1mp41 creation_time : 2014-04-17 10:49:41 Duration: 00:15:02.80, start: 451.401000, bitrate: 1235 kb/s Stream #0.0(und): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 25 tbr, 90k tbn, 50 tbc Metadata: creation_time : 2014-04-17 10:49:41 Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'Daughter - 'Shallows' (Live @ Air Studios)-qPK67Px8sR8.m4a': Metadata: major_brand : M4A minor_version : 512 compatible_brands: isomiso2 creation_time : 2014-04-17 10:50:26 encoder : Lavf53.21.1 Duration: 00:07:31.44, start: 0.000000, bitrate: 202 kb/s Stream #1.0(und): Audio: aac, 44100 Hz, stereo, s16, 199 kb/s Metadata: creation_time : 2014-04-17 10:50:26 File ''Shallows' (Live @ Air Studios)1980p-192k.mp4' already exists. Overwrite ? [y/N] y [buffer @ 0x17d2a40] w:1920 h:1080 pixfmt:yuv420p [libx264 @ 0x17d5000] using SAR=1/1 [libx264 @ 0x17d5000] using cpu capabilities: MMX2 SSE2Slow SlowCTZ [libx264 @ 0x17d5000] profile Main, level 4.0 Output #0, mp4, to ''Shallows' (Live @ Air Studios)1980p-192k.mp4': Metadata: major_brand : dash minor_version : 0 compatible_brands: iso6avc1mp41 creation_time : 2014-04-17 10:49:41 encoder : Lavf53.21.1 Stream #0.0(und): Video: libx264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=-1--1, 25 tbn, 25 tbc Metadata: creation_time : 2014-04-17 10:49:41 Stream #0.1(und): Audio: libvo_aacenc, 44100 Hz, stereo, s16, 200 kb/s Metadata: creation_time : 2014-04-17 10:50:26 Stream mapping: Stream #0.0 -> #0.0 Stream #1.0 -> #0.1 Press ctrl-c to stop encoding frame= 10 fps= 0 q=0.0 size= 0kB time=10000000000.00 time=10000000000.00 bitrate= 0.0kbiframe=11286 fps= 2 q=28.0 Lsize= 169808kB time=451.40 bitrate=3081.7kbits/s video:158518kB audio:11022kB global headers:0kB muxing overhead 0.158873% frame I:182 Avg QP:18.64 size: 53017 real 96m16.446s user 71m15.956s sys 0m52.261s shantiq@shantiq-00000000000000000000000:~/Videos/mux$ mediainfo "'Shallows' (Live @ Air Studios)1980p-192k".mp4General Complete name : 'Shallows' (Live @ Air Studios)1980p-192k.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom File size : 166 MiB Duration : 7mn 31s Overall bit rate mode : Variable Overall bit rate : 3 081 Kbps Encoded date : UTC 2014-04-17 10:49:41 Tagged date : UTC 2014-04-17 10:49:41 Writing application : Lavf53.21.1 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Main@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 877 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.055 Stream size : 155 MiB (93%) Writing library : x264 core 123 r2189 35cf912 Encoded date : UTC 2014-04-17 10:49:41 Tagged date : UTC 2014-04-17 10:49:41 Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : 40 Duration : 7mn 31s Bit rate mode : Variable Bit rate : 200 Kbps Channel count : 2 channels Channel positions : Front: L R Sampling rate : 44.1 KHz Compression mode : Lossy Delay relative to video : 40ms Stream size : 10.8 MiB (6%) Encoded date : UTC 2014-04-17 10:49:41 Tagged date : UTC 2014-04-17 10:49:41 |
#14
|
|||
|
|||
Re: muxing 1080p-192kQuote:
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 Code:
youtube-dl -f 22 -x -o audio.mp4 https://www.youtube.com/watch?v=qPK67Px8sR8 Code:
ffmpeg -i video.mp4 -i audio.m4a -c copy "'Shallows' (Live @ Air Studios)1980p-192k".mp4 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%) |
#15
|
|||
|
|||
-c optionhhmmmm i had that -c option before but look what it does here
any ideas? Quote:
|
#16
|
|||
|
|||
Re: -c optionQuote:
Code:
-c copy Code:
-vcodec copy -acodec copy |
#17
|
|||
|
|||
Re: some new youtube videos are now impossible to keep ????In fact there is a dash audio 256k itag 141. Atresdownloader downloads both streams (video+audio->256) and mux them
|
#18
|
|||
|
|||
Re: some new youtube videos are now impossible to keep ????Quote:
there is sometimes Denobis but not here i do not think Also I do not see where to get Atresdownloader Would love to try it; it is your handiwork right? Can you show me a link to a download/install for Ubuntu? Gracias Quote:
|
#19
|
|||
|
|||
Re: -c optionQuote:
well Bat I must have a really dicky version of ffmpeg because it gives a half second mux with -vcodec copy -acodec copy leaving me with only the audio in the outcoming file I had tried the -c option before I did my reencode because I had had no joy that route maybe I need a different ffmpeg .... will update my current one and try again Quote:
Last edited by shantiq : 05-31-2014 at 04:39 AM. |
#20
|
|||
|
|||
Re: some new youtube videos are now impossible to keep ????From the dash
[2]=> object(SimpleXMLElement)#8 (4) { ["@attributes"]=> array(5) { ["id"]=> string(3) "141" ["codecs"]=> string(9) "mp4a.40.2" ["audioSamplingRate"]=> string(5) "44100" ["startWithSAP"]=> string(1) "1" ["bandwidth"]=> string(6) "255980" } ["AudioChannelConfiguration"]=> object(SimpleXMLElement)#9 (1) { ["@attributes"]=> array(2) { ["schemeIdUri"]=> string(54) "urn:mpeg:dash:23003:3:audio_channel_configuration :2011" ["value"]=> string(1) "2" } } ["BaseURL"]=> string(572) "http://r7---sn-h5q7dn76.googlevideo.com/videoplayback?id=a8f2baecfc7cb11f&itag=141&source= youtube&cmbypass=yes&playback_host=r7---sn-h5q7dn76.googlevideo.com&ratebypass=yes&mime=audio/mp4&gir=yes&clen=14395085&lmt=1397818127336409&dur =451.488&key=dg_yt0&upn=TkvDJ7hSZFg&fexp=902403,90 2547,913434,923341,930008&signature=83D5552DC70FEA 6589FD1734A293A9A22CB2734D.5D3B746DF032C90B5DEF46B A6D13AE0A4DE55E&mv=m&mt=1401527166&ms=au&sver=3&ip =x.x.x.x&ipbits=0&expire=1401551384&sparams=ip,ipb its,expire,id,itag,source,cmbypass,playback_host,r atebypass,mime,gir,clen,lmt,dur" ["SegmentBase"]=> object(SimpleXMLElement)#10 (2) { ["@attributes"]=> array(2) { ["indexRange"]=> string(8) "592-1175" ["indexRangeExact"]=> string(4) "true" } [0]=> object(SimpleXMLElement)#11 (1) { ["@attributes"]=> array(1) { ["range"]=> string(5) "0-591" } } } } } |
Tags: youtube |
Thread Tools | |
Display Modes | |
|
|