Answers.Body: <p>If I wanted to upload it to YouTube, you neeed convert ts video to webm mp4 first,  total video converter is a converter transcoding .. avhcd mts <a href="http://www.convertmxffiles.com/tsconverter.htm" rel="nofollow noreferrer">ts file</a> to mp4 with raw quality.  </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-09T10:08:47.473Z
Answers.LastActivityDate: 2017-04-09T10:08:47.473Z
Answers.UserDisplayName: bean Chao
Answers.Body: <p>"Raw" ususally refers to uncompressed video (though this is <em>technically</em> wrong), meaning you probably have a very large file. Rendering is the process of re-encoding the video using another codec, usually to reduce file-size while maintaining a decent enough video quality. The reason that .mp4-files with the H264-codec are widely used is that they offer a very good filesize-quality-ratio.</p>
  
  <p>In your case, a very compressed file is <strong>not</strong> what you might want, since Youtube reencodes your video when you upload it. Every reencoding reduces the video quality, so the double reencoding will result in poor quality.</p>
  
  <p>If you cant upload the .ts-file directly (I don't think Youtube allows this), you could reencode it to an mp4 or avi (imho, the latter is better in this case, though getting the encoding settings right is a bit tougher for beginners). The key is to chose a very <strong>high bitrate</strong> and the <strong>same framerate and resolution</strong> as the original video. Using a high bitrate, the quality-loss resulting from the reencoding can be minimized. However, this will result in very large files (espacially if you choose avi), which depending on your internet connection might take very long to upload.</p>
  
  <p>There is a range of free encoding programs out there. I'd recommend <a href="http://www.xmedia-recode.de/en/index.html" rel="nofollow">XMedia-Recode</a>, but you could also try <a href="http://www.xilisoft.com/" rel="nofollow">Xilisoft Video Converter</a> or <a href="http://www.pcfreetime.com/" rel="nofollow">Format Factory</a>.</p>
  
  <p><strong>Edit:</strong> If you want to <strong>cut</strong> your video (i.e. add an intro and an outro, put different videos together, remove unwanted parts, ...), you'll need a video editing program. There are some freeware programs for this (none of which are as good as professional, paid programs), you can find a <a href="http://en.wikipedia.org/wiki/List_of_video_editing_software" rel="nofollow">list of video editing software at wikipedia</a>.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-03-01T14:59:32.363Z
Answers.Text: What bitrate do I use? The default in XMedia Recode is 2000. Is this sufficient?
  
  Update: I used mp4, the result was higher quality but it's still not very HD. If you don't mind, I can upload the TS file somewhere today and see if you can help.
Answers.UserDisplayName: A.J. Ruckman
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-03-01T15:04:31.190Z
Answers.Text: That depends on your original file. You can check it's bitrate with software like [MediaInfo](https://mediaarea.net/de/MediaInfo). To minimize quality loss, I would set the bitrate to roughly equal the original video's bitrate or slightly lower. Make sure to use a variable bitrate as well. If the resulting file is to big for you to upload, lower the bitrate before trying anything else.
  If the bitrate is over 8000~10000 kb, don't use a bitrate that high for reencoding. Above that, you won't see much of a difference with gaming videos and the file would get **really** big ...
Answers.UserDisplayName: MoritzLost
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-03-03T23:29:57.063Z
Answers.Text: Assuming you want to use h.264 instead of next-gen VP9 or h.265, then you should use x264, or a GUI that uses libx264.  mediainfo on the resulting file will show that it was encoded with x264, if you aren't sure what a GUI uses.  You can trade off more CPU time for smaller files with the same quality by using `--preset slower`, or even `--preset veryslow`.  For rate-control, you might want to use CRF 20 or so, rather than a target bitrate.  A given CRF will give you similar quality for all inputs, and the output bitrate will vary depending on how compressible it was.
Answers.UserDisplayName: Peter Cordes
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-03-01T13:20:19.223Z
Answers.LastActivityDate: 2015-03-01T13:30:07.210Z
Answers.LastEditDate: 2015-03-01T13:30:07.210Z
Answers.UserDisplayName: MoritzLost
Body: <p>(I decided to post this here because it doesn't fit very well into the Gaming category, but it is a gaming question.)</p>
  
  <p>I had the idea to try streaming video to Twitch one on computer and to record it with VLC on another, using Livestreamer. The result is a TS file. </p>
  
  <p>If I wanted to upload it to YouTube, how would I convert it to mp4 (Or is there a better format?) without loosing quality?</p>
  
  <p>Also, I hear people talk about rendering their video. I understand that when a video is first recorded it is in 'raw' format. What does rendering entail?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-03-03T05:44:30.673Z
Comments.Text: Post the output of mediainfo (https://mediaarea.net/en/MediaInfo, or `apt-get install mediainfo` on Debian/Ubuntu.)  The MPEG-TS container format can hold multiple different formats.  If it's just the same h.264 stream that your desktop encoded and sent to twitch (so there haven't been any lossy re-encode steps), and it's not too big a file to upload to youtube, then just upload it directly.  Or remux it to an mp4 container (without transcoding).  I assume there's a gui for this, if you don't have command-line `MP4Box` installed.
Comments.UserDisplayName: Peter Cordes
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-03-03T05:45:15.543Z
Comments.Text: You can tell you're remuxing instead of transcoding because it goes as fast as a file copy, instead of at best a few times faster than realtime.
Comments.UserDisplayName: Peter Cordes
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-03-04T13:19:57.203Z
Comments.Text: Here is the output: http://pastebin.com/5MRLNJY9
Comments.UserDisplayName: A.J. Ruckman
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-03-04T13:21:23.143Z
Comments.Text: I've since realized, though, that the stream wasn't as HD as I thought. I do have one final question though: I read a while ago that sometimes video uses a technique to decrease size by 'chunking'? areas of the video. When the video moves a lot it then becomes all pixelated. What is this called?
Comments.UserDisplayName: A.J. Ruckman
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-03-05T17:11:11.077Z
Comments.Text: ya that stream is weird.  H.264 Main (not high) profile, and 1088x576p30.  mp3 audio.  Does Vlc use a lot of CPU time while recording?  (It might be transcoding, instead of just saving the stream.)  If no, then that's what your twitch streaming setup is outputting.  And yeah, it should be fine to just upload it to youtube.  3500kb/s is a reasonable bitrate.
Comments.UserDisplayName: Peter Cordes
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-03-05T17:15:34.187Z
Comments.Text: never heard of "chunking" in this context, unless you're talking about blocks / macroblocks.  Or possibly NAL units for streaming.  Or maybe slices for parallelism, instead of frame-level multithreading.
Comments.UserDisplayName: Peter Cordes
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-03-05T17:21:52.620Z
Comments.Text: re: pixelation during movement.  This kind of artifact is called blocking.  You'll often see ringing ("detail" at edges that shouldn't be there), too.  This is what happens when an encoder doesn't have enough bits to spend to make the output look much like the input.  It's the same thing you get when you turn down the quality on a JPEG (the math is the same, they're both based on a DCT of blocks).  It happens during high motion because when the image is changing a lot, most blocks can't be encoded as "same as a block in the previous frame" (which saves a TON of space).
Comments.UserDisplayName: Peter Cordes
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-03-06T15:05:50.543Z
Comments.Text: How do I fix it? Is this my PC's specs or a setting I need to configure?
Comments.UserDisplayName: A.J. Ruckman
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-03-07T14:55:33.163Z
Comments.Text: Configure your streaming setup to use more CPU time and/or bandwidth for the video stream leaving your desktop.  Like always, video encoding trades off encode time vs. bitrate vs. distortion.  (assuming you're not decoding / encoding the video again when you record it, which would be introducing more distortion.)
Comments.UserDisplayName: Peter Cordes
Tags: <video><video-quality><file-formats>
Title: I have a TS file. How do I render it?
UserDisplayName: A.J. Ruckman
ThreadText: # I have a TS file. How do I render it?
  
  (Asked by: username_0 on 2015-03-01)
  
  (I decided to post this here because it doesn't fit very well into the Gaming category, but it is a gaming question.)
  
  I had the idea to try streaming video to Twitch one on computer and to record it with VLC on another, using Livestreamer. The result is a TS file.
  
  If I wanted to upload it to YouTube, how would I convert it to mp4 (Or is there a better format?) without loosing quality?
  
  Also, I hear people talk about rendering their video. I understand that when a video is first recorded it is in 'raw' format. What does rendering entail?
  
  **Tags:** video, video-quality, file-formats
  
  > **Comments:**
  > **username_1**: Post the output of mediainfo (https://mediaarea.net/en/MediaInfo, or `apt-get install mediainfo` on Debian/Ubuntu.)  The MPEG-TS container format can hold multiple different formats.  If it's just the same h.264 stream that your desktop encoded and sent to twitch (so there haven't been any lossy re-encode steps), and it's not too big a file to upload to youtube, then just upload it directly.  Or remux it to an mp4 container (without transcoding).  I assume there's a gui for this, if you don't have command-line `MP4Box` installed.  
  > **username_1**: You can tell you're remuxing instead of transcoding because it goes as fast as a file copy, instead of at best a few times faster than realtime.  
  > **username_0**: Here is the output: http://pastebin.com/5MRLNJY9  
  > **username_0**: I've since realized, though, that the stream wasn't as HD as I thought. I do have one final question though: I read a while ago that sometimes video uses a technique to decrease size by 'chunking'? areas of the video. When the video moves a lot it then becomes all pixelated. What is this called?  
  > **username_1**: ya that stream is weird.  H.264 Main (not high) profile, and 1088x576p30.  mp3 audio.  Does Vlc use a lot of CPU time while recording?  (It might be transcoding, instead of just saving the stream.)  If no, then that's what your twitch streaming setup is outputting.  And yeah, it should be fine to just upload it to youtube.  3500kb/s is a reasonable bitrate.  
  > **username_1**: never heard of "chunking" in this context, unless you're talking about blocks / macroblocks.  Or possibly NAL units for streaming.  Or maybe slices for parallelism, instead of frame-level multithreading.  
  > **username_1**: re: pixelation during movement.  This kind of artifact is called blocking.  You'll often see ringing ("detail" at edges that shouldn't be there), too.  This is what happens when an encoder doesn't have enough bits to spend to make the output look much like the input.  It's the same thing you get when you turn down the quality on a JPEG (the math is the same, they're both based on a DCT of blocks).  It happens during high motion because when the image is changing a lot, most blocks can't be encoded as "same as a block in the previous frame" (which saves a TON of space).  
  > **username_0**: How do I fix it? Is this my PC's specs or a setting I need to configure?  
  > **username_1**: Configure your streaming setup to use more CPU time and/or bandwidth for the video stream leaving your desktop.  Like always, video encoding trades off encode time vs. bitrate vs. distortion.  (assuming you're not decoding / encoding the video again when you record it, which would be introducing more distortion.)  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_3 on 2015-03-01. Score: 3 | Accepted answer
  
  "Raw" ususally refers to uncompressed video (though this is *technically* wrong), meaning you probably have a very large file. Rendering is the process of re-encoding the video using another codec, usually to reduce file-size while maintaining a decent enough video quality. The reason that .mp4-files with the H264-codec are widely used is that they offer a very good filesize-quality-ratio.
  
  In your case, a very compressed file is **not** what you might want, since Youtube reencodes your video when you upload it. Every reencoding reduces the video quality, so the double reencoding will result in poor quality.
  
  If you cant upload the .ts-file directly (I don't think Youtube allows this), you could reencode it to an mp4 or avi (imho, the latter is better in this case, though getting the encoding settings right is a bit tougher for beginners). The key is to chose a very **high bitrate** and the **same framerate and resolution** as the original video. Using a high bitrate, the quality-loss resulting from the reencoding can be minimized. However, this will result in very large files (espacially if you choose avi), which depending on your internet connection might take very long to upload.
  
  There is a range of free encoding programs out there. I'd recommend [XMedia-Recode](http://www.xmedia-recode.de/en/index.html), but you could also try [Xilisoft Video Converter](http://www.xilisoft.com/) or [Format Factory](http://www.pcfreetime.com/).
  
  **Edit:** If you want to **cut** your video (i.e. add an intro and an outro, put different videos together, remove unwanted parts, ...), you'll need a video editing program. There are some freeware programs for this (none of which are as good as professional, paid programs), you can find a [list of video editing software at wikipedia](http://en.wikipedia.org/wiki/List_of_video_editing_software).
  
  > **Comments:**
  > **username_0**: What bitrate do I use? The default in XMedia Recode is 2000. Is this sufficient?  Update: I used mp4, the result was higher quality but it's still not very HD. If you don't mind, I can upload the TS file somewhere today and see if you can help.  
  > **username_3**: That depends on your original file. You can check it's bitrate with software like [MediaInfo](https://mediaarea.net/de/MediaInfo). To minimize quality loss, I would set the bitrate to roughly equal the original video's bitrate or slightly lower. Make sure to use a variable bitrate as well. If the resulting file is to big for you to upload, lower the bitrate before trying anything else. If the bitrate is over 8000~10000 kb, don't use a bitrate that high for reencoding. Above that, you won't see much of a difference with gaming videos and the file would get **really** big ...  
  > **username_1**: Assuming you want to use h.264 instead of next-gen VP9 or h.265, then you should use x264, or a GUI that uses libx264.  mediainfo on the resulting file will show that it was encoded with x264, if you aren't sure what a GUI uses.  You can trade off more CPU time for smaller files with the same quality by using `--preset slower`, or even `--preset veryslow`.  For rate-control, you might want to use CRF 20 or so, rather than a target bitrate.  A given CRF will give you similar quality for all inputs, and the output bitrate will vary depending on how compressible it was.  
  
  ---
  
  ### Answer by username_2 on 2017-04-09. Score: -1
  
  If I wanted to upload it to YouTube, you neeed convert ts video to webm mp4 first, total video converter is a converter transcoding .. avhcd mts [ts file](http://www.convertmxffiles.com/tsconverter.htm) to mp4 with raw quality.
  
  
  ---
  
  