problem about mpeg2-ts-Collection of common programming errors
Christian P.
c h.264 libav mpeg2-ts
I have written some C code that takes an mp4 file with h264-encoded video and AAC-encoded audio and writes it to segmented .ts files.The code can be seen here: http://pastebin.com/JVdgjM9GThe problem is that the code chokes on audio packets. Because I am converting from h264, I have to use the “h264_mp4toannexb” which I finally got working for video frames. However, as soon as the program reaches the first audio packet (stream 1 below) it crashes.Sample output:Output #0, mpegts, to ‘testvideo’:S
user2401229
android mpeg2-ts
I’m using an Android application (On Android 4.1.2) which get a ts stream in input but i have only the audio and don’t have the video. I think it is due to this message: avc_utils( 1040): found AVC codec config (480 x 270, Baseline-profile level 2.1) OMXNodeInstance( 1040): OMX_GetExtensionIndex failedW/ ( 2591): Warning message AMessage(what = ‘omx ‘, target = 5) = {W/ ( 2591): int32_t type = 0W/ ( 2591): void *node = 0x1W/ ( 2591): int32_t event = 3W/ (
Web site is in building