I am trying to help a friend. I'm in the US and she's in Canada, so I can't just pop over and help her in person. She has a bunch of videos from various sources (phone, camera, sent to her, etc), and she wants to give them to her brother to view on his smart TV via USB.
Some of the videos play, and some don't, but they have no idea why only some of them work, even when they appear to be the same type of video.
I figured that I could send her a copy of ffmpeg along with a simple script that would re-encode all the videos in the current directory. However, I know next to nothing about video encoding beyond the absolute basics, so I have no idea what options I should include to produce videos that will hopefully be compatible with his TV.
I know there's no 100% guaranteed set of parameters that are sure to work on every device, but I was hoping there might be a set that is considered to produce the most compatible file for TVs, Blu-Ray players, and the like.
Can someone recommend a sample command line for converting videos to something that will hopefully play on most devices?
+ Reply to Thread
Results 1 to 11 of 11
-
-
-
Yes, I was planning to have it convert to MP4.
No, but she has promised to check and let me know.
A USB flash drive.
I ran into the same problem myself with my friend's Blu-Ray player. I gave him a video that wouldn't play, so I tried just running it through ffmpeg with no options hoping that would fix the problem. It didn't. -
-
Have a look at FFmpegBatch, it basically does exactly what you're looking for but with a GUI
Just select the files or folder and it will convert them to MP4
I use it to convert MKV to MP4 for my EMBY MediaStreamer, I know I don't need to but I want everything uniform and it enables me to strip unwanted audio tracks or add/remove subtitles
https://www.videohelp.com/software/FFmpeg-Batch
https://www.videohelp.com/download/FFmpeg_Batch_AV_Converter_Portable_2.8.1_x64.zip
You can download the portable version, just extract the ZIP archive and it will run from anywhere
Choose the "Video : MP4 Stream Copy", in the presets and it will literally encode every video format to MP4 without encoding anything unless it has to so should be no loss of quality from the original video. Its also very fast as its just rewriting the video/audio as MP4
Click the "Sequential Encoding" to convert one file at a time, or click the "Multi-File Encoding" to convert multiple files at once. It will save the files into the folder "FFBatch" in the same folder without deleting or overwriting anything
There are plenty of options to mess with if you want to see what FFmpeg can do. I've tried a few FFmpeg GUI's and this seems to suit me and enable me to change almost every FFmpeg option
Plus, its 100% free. Not trialware, no malware -
I can do direct stream copy with a batch file. I don't think that will fix the problem. There's something about the files that the TV doesn't like, and if all it does is copy the streams to a new file, it's highly likely that file isn't going to play either. The files need to be reencoded to make them compatible.
-
IMHO most compatible format is H.264 (BD-like i.e. HP@L4.0) with MPEG Transport Stream... this is probably most common denominator for TV hardware since at least 10 years.
-
-
If H.264 HP@L4.0 don't work then probably MPEG-2 MP@HL is maximum supported by TV HW. This may be true for older US (ATSC) TV's.
MPEG-TS container is native container for worldwide TV broadcast and it is also implemented in TV HW so it may be more compatible than any other container.
Similar Threads
-
Color options for ffmpeg burning subtitles?
By tomasrage in forum SubtitleReplies: 1Last Post: 11th Apr 2020, 07:32 -
What are the max options for Turing NVENC HEVC in FFMPEG?
By Cumberiron in forum Video ConversionReplies: 0Last Post: 28th May 2019, 01:25 -
FFmpeg options for Apple TV 4K
By Aleksid1 in forum Video ConversionReplies: 3Last Post: 23rd Jan 2019, 11:01 -
Best GUI for ffmpeg encoding
By usta in forum Video ConversionReplies: 25Last Post: 17th Jan 2019, 11:23 -
ffmpeg videotoolbox options ?
By Selur in forum MacReplies: 2Last Post: 4th Jan 2018, 22:33