-b:v above 9.8M for DVD-Video

Details of Nache1080.mp4:- resolution=1920×1080 fps=60 Avg Video Bit Rate=11610 kbps duration=00:00:14 size=19.6 MB I produced mpeg2 video from this mp4 video using below command: ffmpeg -i Nache1080.mp4 -c:v mpeg2video -s 720×576 -r 25 -b:v 20000k Nache_dvd_20000.mpg Details of produced mpeg2 video namely Nache_dvd_20000.mpg:- min Video Bit Rate=3298 kbps max Video Bit Rate=5954 kbps avg Video … Read more

Issue transcode MPEG2 to DNxHD120

I use the software Kdenlive in Archlinux OS to transcode a 1 hour of video (1:12 :10) in Mpeg2 format in 1440x1080px 50i to DNxHD120 1920×1080 25p. Kdenlive print those parameters in the transcode’s window : -s 1920×1080 -r 25 -vb 120000k -threads 0 -vcodec dnxhd -acodec pcm_s16le -ar 48000 %1.mov. The problem is : … Read more

Mpeg2 decode on a webcam?

I’ve got a situation here. I’m trying to use a camera hooked up to a capture card as a webcam, however the capture card stream is MPEG2 encoded. Which basically means, since no webcam-using programs actually are able to decode MPEG2 streams (CL-Eye Test seems to be the only working program) I can’t use this … Read more

Transport Stream Duplicate Packet

When do we send duplicate Transport stream packets ? What should be done at demultiplexer when we receive duplicate TS packet? Answer MPEG-2 allows a maximum of two consecutive packets with the same PID and the same CC value. Duplicate and identical packets can be included for redundancy if the original packet holds important information. … Read more

ffmpeg Duplicating Frames

A very annoying situation… I have an MPG2 video that is at the framerate of 29.97, yet when converting to MP4 frames are duplicated. That command (straight conversion, no options): ffmpeg -i ~/Desktop/file.mpg ~/Desktop/file.mp4 causes duplicated frames… While setting the framerate with: ffmpeg -i ~/Desktop/file.mpg -framerate 29.97 ~/Desktop/file.mp4 Doesn’t work either! Leading me to try: … Read more

ffmpeg: Output mpegts with a single program containing 1 audio and 3 video

I’m trying to make a simulated live HLS/DASH server using the equivalent of the following chain: tsplay -loop multi_resolution.ts | shaka_packager | nginx The problem is creating the file “multi_resolution.ts”: It needs to contain a single program with 1 audio and 3 video PIDs, one each for 720p, 480p and 360p. Why? Because that’s the … Read more

How to make an MPEG2 video file with the highest quality possible using FFMPEG?

I have got a WMV (v9 (WMV3), 960×720, 30.000030 fps, planar 4:2:0 YUV, produced by PowerPoint 2010) file and need to convert it to MPEG2 – the only format my TVset can read from an USB flash drive (I have also tried MP4/h.264, AVI/XVID – nothing but MPEG2 works). I have managed to to the … Read more