How to insert a video from YouTube into a post

How this Forum Works - Questions and Answers

Moderator: ame

User avatar
Felis silvestris
Site Admin
Posts: 20038
Joined: February 20th, 2011, 4:54 pm
Location: Germany

Re: How to insert a video from YouTube into a post

Post by Felis silvestris »

Have you tested it already, unp? Is the discrepancy between picture and sound repaired?
“One can measure the greatness and the moral progress of a nation by looking at how it treats its animals” (Mahatma Gandhi)
"You can judge a man's true character by the way he treats his fellow animals" (Paul McCartney)



The Aquila Pomarina Collection
unp
Registered user
Posts: 228
Joined: November 17th, 2008, 11:52 am

Post by unp »

Felis silvestris wrote:Have you tested it already, unp? Is the discrepancy between picture and sound repaired?
Hard to say. Here is a test video (YouTube says it's unsynchronized) and its parameters according to MediaInfo.



General
Complete name : C:\Users\...\Videos\vlc-record-2013-04-18-14h24m44s-rtsp___193.40.133.138_80_live_kalakotkas-.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 4.93 MiB
Duration : 59s 971ms
Overall bit rate mode : Variable
Overall bit rate : 690 Kbps
Encoded date : UTC 2013-04-18 10:25:44
Tagged date : UTC 2013-04-18 10:25:44
Writing application : vlc 2.0.6 stream output
Comment : QuickTime 6.0 or greater

Video
ID : 2
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 59s 971ms
Source duration : 1mn 4s
Bit rate : 593 Kbps
Width : 768 pixels
Height : 576 pixels
Display aspect ratio : 4:3
Frame rate mode : Variable
Frame rate : 22.077 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.061
Stream size : 4.24 MiB (86%)
Source stream size : 4.53 MiB (92%)
Language : English
Encoded date : UTC 2013-04-18 10:25:44
Tagged date : UTC 2013-04-18 10:25:44
mdhd_Duration : 59971

Audio
ID : 1
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 59s 904ms
Source duration : 59s 926ms
Bit rate mode : Variable
Bit rate : 50.2 Kbps
Maximum bit rate : 69.4 Kbps
Channel(s) : 1 channel
Channel positions : Front: C
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 367 KiB (7%)
Source stream size : 367 KiB (7%)
Language : English
Encoded date : UTC 2013-04-18 10:25:44
Tagged date : UTC 2013-04-18 10:25:44
mdhd_Duration : 59904


Usually, audio is ahead of video when the Source duration value exceeds the Duration value in the Video section. However, in another test file:

General
Complete name : C:\Users\...\Videos\vlc-record-2013-04-18-13h20m24s-rtsp___193.40.133.138_80_live_kalakotkas-.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 7.91 MiB
Duration : 59s 978ms
Overall bit rate mode : Variable
Overall bit rate : 1 106 Kbps
Encoded date : UTC 2013-04-18 09:21:24
Tagged date : UTC 2013-04-18 09:21:24
Writing application : vlc 2.0.6 stream output
Comment : QuickTime 6.0 or greater

Video
ID : 2
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 59s 978ms
Source duration : 56s 122ms
Bit rate : 1 053 Kbps
Width : 768 pixels
Height : 576 pixels
Display aspect ratio : 4:3
Frame rate mode : Variable
Frame rate : 22.625 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.105
Stream size : 7.53 MiB (95%)
Source stream size : 7.53 MiB (95%)
Language : English
Encoded date : UTC 2013-04-18 09:21:24
Tagged date : UTC 2013-04-18 09:21:24
mdhd_Duration : 59978

Audio
ID : 1
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 59s 867ms
Source duration : 59s 889ms
Bit rate mode : Variable
Bit rate : 48.0 Kbps
Maximum bit rate : 60.4 Kbps
Channel(s) : 1 channel
Channel positions : Front: C
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 345 KiB (4%)
Source stream size : 345 KiB (4%)
Language : English
Encoded date : UTC 2013-04-18 09:21:24
Tagged date : UTC 2013-04-18 09:21:24
mdhd_Duration : 59867


- the situation is reversed. The quality (Bits/(Pixel*Frame)) is higher too. Seems that video is ahead of audio and the bird certainly stops moving before the clip ends. (Couldn't upload the second video, there was some error, will try later.)

Same player, same camera, different time. Maybe it's not VLC's behavior but that of the stream that varies.

Edited to add:
The second video
pirjam
Registered user
Posts: 31
Joined: April 25th, 2013, 6:56 am

Post by pirjam »

--
User avatar
Annliz
Registered user
Posts: 25
Joined: August 25th, 2013, 1:23 pm
Location: The middle of Sweden

Post by Annliz »

I was just going to throw in a question about vlc and not syncronized videos and saw that you others already have a discussion about it. I have been struggling with that issue for several weeks and have been reading vlc forum and other places too and what I have found is that it doesn't matter what OS you have, what PC you have or how much RAM or CPU or video card, vlc does not treat the recorded streams well. VLC have its own codecs while other players have the option to add more codecs. But in the end, there is no other free good program that can stream MPEG4, H264 and AAC as vlc does. So I guess we have to live with it or learn the best settings.
User avatar
Felis silvestris
Site Admin
Posts: 20038
Joined: February 20th, 2011, 4:54 pm
Location: Germany

Post by Felis silvestris »

I think Videolan/VLC knows about it, at least I found something on their forums last time I looked. I did not look though recently if they work on it or not. I just read somewhere that the next version is due to come out soon. We patiently wait and see if the issue is solved.
“One can measure the greatness and the moral progress of a nation by looking at how it treats its animals” (Mahatma Gandhi)
"You can judge a man's true character by the way he treats his fellow animals" (Paul McCartney)



The Aquila Pomarina Collection
User avatar
Annliz
Registered user
Posts: 25
Joined: August 25th, 2013, 1:23 pm
Location: The middle of Sweden

Post by Annliz »

Felis silvestris wrote:I think Videolan/VLC knows about it, at least I found something on their forums last time I looked. I did not look though recently if they work on it or not. I just read somewhere that the next version is due to come out soon. We patiently wait and see if the issue is solved.
Let's hope so. :)
User avatar
ame
Moderator
Posts: 75823
Joined: April 7th, 2009, 10:26 pm
Location: Turku, Finland
Contact:

Post by ame »

i have recently downloaded and watched some Pontu-videos from last spring recorded at Linda's and Sulev's nest. the sound and picture are in synchrony in those videos, no problem there, even though the recordings are 4 hours long. i have re-recorded some shorter clips from these 4-hour-videos with VLC and in these re-recordings the sound and picture match. therefore i think that the un-synchrony is not a general problem with VLC.

in the VLC-recordings that we made from the livestream the picture got more and more delayed from sound (or sound ahead of picture). the mismatch was in constant proportion so that the length of the soundtrack was 80 % of the length of the "picturetrack". when such a video was uploaded to Youtube the lenght of the soundtrack became the lenght of the resulting tube-video. after i had realized that i always had to record live stream for a some time after an interesting event to get it on the film.

i think that Fireblade suspected at one stage that the un-synchronization was a problem of VLC recording live stream... he had used some other recording and that worked ok...? :puzzled:
User avatar
Fleur
Registered user
Posts: 35373
Joined: November 11th, 2009, 10:01 am
Location: Netherlands

Post by Fleur »

there is a new update of VLC. version 2.1.1
It takes some getting used :blush:
pirjam
Registered user
Posts: 31
Joined: April 25th, 2013, 6:56 am

Post by pirjam »

-
Jo UK
Site Admin
Posts: 20682
Joined: September 20th, 2008, 1:40 am
Location: Winchester, UK

Post by Jo UK »

pirjam, did you want to ask a question, or make a comment?
User avatar
ame
Moderator
Posts: 75823
Joined: April 7th, 2009, 10:26 pm
Location: Turku, Finland
Contact:

Post by ame »

Youtube and Gmail are parts of Google. Google has been recently urging people to create GooglePlus accounts if they are using Youtube and/or Gmail. some people wish not to do that. i am one of those stubborn people.

the Google's tactic seems to be to almost force people to create these accounts. in that attemp they have for example hidden the old, "normal" Youtube accounts. yesterday i had some hard time to find my account and finally i did not remember how i got there. this morning i managed to keep a more cool head and now i can show how to get there. :D

what you'll probably see is the top row where your e-mail address is on the left side of the person icon and a blue line under them, nothing more (black arrow). click the icon and the text in the orange circle will pop out. click on the "Switch account" and you'll get a list of your Youtube accounts. select the one that you want to use.
Image
User avatar
alice44
Registered user
Posts: 16489
Joined: April 8th, 2009, 8:59 pm
Location: Oregon, Western USA

Post by alice44 »

So far I seem to get sent immediately to my G+ (MINUS) account. I am now attempting to upload my video via G+.

Lucy solved my problem -- click on your written name, not the avatar.
Post Reply

Return to “Questions and Help”