It would be great if someone could give me a helping hand on this. The sudo is needed as only root is allowed to use vaapi device on Synology (maybe on all systems).The mapping is done to get rid of non-supported streams such as teletext and also reduce some streams as I get more than one language stream normally.H.264 VS MPEG4 quality: The image quality of H.264 is better and playback is more fluent than MPEG4. Supported codecs will continue to be added. The supported codecs are H.264, AAC(ADTS). To put it in another way, the high compression rate makes it possible to store more information on the same hard disk. From version 0.10.4, MPEG-2 TS input is supported as a beta version. Processor is a 2.33GHz AthlonXP (Barton) with SSE. One of the advantages of H.264 is the high compression rate that is about 2 times more efficient than MPEG-4 encoding. A two pass MPEG2 encode took eight hours thirty two minutes, in TMPEGEnc. To me it looks like it's not recognizing that I want to encode using h264 and not the default encoder for transport streams. A two pass x264 encode took six hours twelve minutes, in VirtualDubMod. Please choose an encoder manually.Įrror selecting an encoder for stream 0:1 Default encoder for format mpegts (codec mp2) is probably disabled. Now, I always get an error: Automatic encoder selection failed for output stream #0:1. MPEG2 has a larger file size than MPEG4 and H264 which makes it difficult to be compatible with portable devices, along with internet video streaming. However, MPEG2 produces the best when it comes to video quality. I'm using this command at the moment: sudo ffmpeg -hide_banner -loglevel verbose -vaapi_device /dev/dri/renderD128 -i my_input_file.ts -map 0:v -map 0:a -c:v h264_vaapi -vf yadif,format=nv12,hwupload -y -b:v my_bitrate my_output_file.ts Both MPEG4 and MPEG2 provide high-definition video quality, which is higher than H264. Therefore, I'd like to encode to a transport stream again. The only thing that's missing: I don't want to encode to MKV as it's hard to work on these files with my other software for cutting. What I'm not sure about is the ffmpeg command to use.Īctually, the DiskStation supports hardware encoding and it works quite well encoding to MKV files. Currently, I'm struggling with a task I want to implement using a perl script on a Synology DiskStation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |